1//########################################################################
2// Build FrameworksUtilTests package
3//########################################################################
4
5package {
6    // See: http://go/android-license-faq
7    // A large-scale-change added 'default_applicable_licenses' to import
8    // all of the 'license_kinds' from "frameworks_base_license"
9    // to get the below license kinds:
10    //   SPDX-license-identifier-Apache-2.0
11    default_applicable_licenses: ["frameworks_base_license"],
12}
13
14android_test {
15    name: "FrameworksUtilTests",
16
17    // We only want this apk build for tests.
18
19    // Include all test java files.
20    srcs: [
21        "src/**/*.java",
22        "src/android/util/IRemoteMemoryIntArray.aidl",
23    ],
24
25    jni_libs: [
26        "libmemoryintarraytest",
27        "libcutils",
28        "libc++",
29    ],
30
31    static_libs: [
32        "androidx.test.rules",
33        "frameworks-base-testutils",
34        "mockito-target-minus-junit4",
35        "androidx.test.ext.junit",
36        "truth-prebuilt",
37        "servicestests-utils",
38    ],
39
40    libs: [
41        "android.test.runner",
42        "android.test.base",
43        "android.test.mock",
44    ],
45
46    platform_apis: true,
47
48    certificate: "platform",
49
50    test_suites: ["device-tests"],
51
52}
53