1//########################################################################
2// Build MediaProjectionTests 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: "MediaProjectionTests",
16
17    srcs: ["**/*.java"],
18
19    libs: [
20        "android.test.base",
21        "android.test.mock",
22        "android.test.runner",
23    ],
24
25    static_libs: [
26        "androidx.test.runner",
27        "androidx.test.rules",
28        "androidx.test.ext.junit",
29        "mockito-target-extended-minus-junit4",
30        "platform-test-annotations",
31        "testng",
32        "testables",
33        "truth-prebuilt",
34        "platform-compat-test-rules",
35    ],
36
37    // Needed for mockito-target-extended-minus-junit4
38    jni_libs: [
39        "libdexmakerjvmtiagent",
40        "libstaticjvmtiagent",
41    ],
42
43    test_suites: ["device-tests"],
44
45    platform_apis: true,
46
47    certificate: "platform",
48}
49