• 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: "MediaRouterServiceTests",
12    defaults: [
13        // For ExtendedMockito dependencies.
14        "modules-utils-testable-device-config-defaults",
15    ],
16    srcs: [
17        "src/**/*.java",
18    ],
19
20    static_libs: [
21        "androidx.test.core",
22        "androidx.test.rules",
23        "androidx.test.runner",
24        "compatibility-device-util-axt",
25        "junit",
26        "platform-test-annotations",
27        "services.core",
28        "truth",
29    ],
30    libs: [
31        "android.test.base.stubs",
32        "android.test.runner.stubs",
33    ],
34
35    platform_apis: true,
36
37    test_suites: [
38        // "device-tests",
39        "general-tests",
40        "mts-statsd",
41    ],
42
43    certificate: "platform",
44    dxflags: ["--multi-dex"],
45    optimize: {
46        enabled: false,
47    },
48    min_sdk_version: "30",
49}
50