It shows the path of the base filename. Test: atest FrameworksUtilTests:android.util.AtomicFileTest Fixes: 203131233 Change-Id: Ib8d36610a4c34d210cc465ec8006d4df33ef638d
52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
//########################################################################
|
|
// Build FrameworksUtilTests package
|
|
//########################################################################
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
android_test {
|
|
name: "FrameworksUtilTests",
|
|
|
|
// We only want this apk build for tests.
|
|
|
|
// Include all test java files.
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/android/util/IRemoteMemoryIntArray.aidl",
|
|
],
|
|
|
|
jni_libs: [
|
|
"libmemoryintarraytest",
|
|
"libcutils",
|
|
"libc++",
|
|
],
|
|
|
|
static_libs: [
|
|
"androidx.test.rules",
|
|
"frameworks-base-testutils",
|
|
"mockito-target-minus-junit4",
|
|
"androidx.test.ext.junit",
|
|
"truth-prebuilt",
|
|
],
|
|
|
|
libs: [
|
|
"android.test.runner",
|
|
"android.test.base",
|
|
"android.test.mock",
|
|
],
|
|
|
|
platform_apis: true,
|
|
|
|
certificate: "platform",
|
|
|
|
test_suites: ["device-tests"],
|
|
|
|
}
|