• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    ],
37
38    libs: [
39        "android.test.runner",
40        "android.test.base",
41        "android.test.mock",
42    ],
43
44    platform_apis: true,
45
46    certificate: "platform",
47
48    test_suites: ["device-tests"],
49
50}
51