• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10android_test {
11    name: "DisplayServiceTests",
12
13    srcs: [
14        "src/**/*.java",
15        "src/**/*.kt",
16    ],
17
18    libs: [
19        "android.test.mock",
20    ],
21
22    static_libs: [
23        "androidx.test.ext.junit",
24        "androidx.test.rules",
25        "flag-junit",
26        "frameworks-base-testutils",
27        "junit",
28        "junit-params",
29        "kotlin-test",
30        "mockito-kotlin2",
31        "mockingservicestests-utils-mockito",
32        "platform-compat-test-rules",
33        "platform-test-annotations",
34        "service-permission.stubs.system_server",
35        "services.core",
36        "servicestests-utils",
37        "testables",
38        "TestParameterInjector",
39    ],
40
41    defaults: [
42        "modules-utils-testable-device-config-defaults",
43    ],
44
45    platform_apis: true,
46    test_suites: [
47        "device-tests",
48        "automotive-tests",
49    ],
50
51    certificate: "platform",
52
53    dxflags: ["--multi-dex"],
54
55    optimize: {
56        enabled: false,
57    },
58}
59