• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//########################################################################
2// Build MediaProjectionTests package
3//########################################################################
4
5package {
6    default_team: "trendy_team_media_projection",
7    // See: http://go/android-license-faq
8    // A large-scale-change added 'default_applicable_licenses' to import
9    // all of the 'license_kinds' from "frameworks_base_license"
10    // to get the below license kinds:
11    //   SPDX-license-identifier-Apache-2.0
12    default_applicable_licenses: ["frameworks_base_license"],
13}
14
15android_test {
16    name: "MediaProjectionTests",
17
18    srcs: ["**/*.java"],
19    libs: [
20        "android.test.base.stubs.system",
21        "android.test.mock.stubs.system",
22        "android.test.runner.stubs.system",
23    ],
24
25    static_libs: [
26        "androidx.test.runner",
27        "androidx.test.rules",
28        "androidx.test.ext.junit",
29        "flag-junit",
30        "frameworks-base-testutils",
31        "mockito-target-extended-minus-junit4",
32        "platform-test-annotations",
33        "cts-mediaprojection-common",
34        "testng",
35        "testables",
36        "truth",
37        "platform-compat-test-rules",
38    ],
39
40    // Needed for mockito-target-extended-minus-junit4
41    jni_libs: [
42        "libdexmakerjvmtiagent",
43        "libstaticjvmtiagent",
44    ],
45
46    data: [
47        ":CtsMediaProjectionTestCasesHelperApp",
48    ],
49
50    test_suites: ["general-tests"],
51
52    platform_apis: true,
53
54    certificate: "platform",
55}
56