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 "cts_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    //   SPDX-license-identifier-BSD
8    //   SPDX-license-identifier-CC-BY
9    default_applicable_licenses: ["cts_license"],
10}
11
12filegroup {
13    name: "CtsVerifierMockVrListenerServiceFiles",
14    srcs: ["src/com/android/cts/verifier/vr/MockVrListenerService.java"],
15}
16
17android_test {
18    name: "CtsVerifier",
19    defaults: ["cts_error_prone_rules_tests"],
20    additional_manifests: ["AndroidManifest-common.xml"],
21
22    compile_multilib: "both",
23
24    srcs: [
25        "src/**/*.java",
26        "src/**/I*.aidl",
27    ],
28
29    aidl: {
30        include_dirs: ["frameworks/native/aidl/gui"],
31    },
32
33    static_libs: [
34        "android-ex-camera2",
35        "compatibility-common-util-devicesidelib",
36        "cts-sensors-tests",
37        "cts-camera-performance-tests",
38        "ctstestrunner-axt",
39        "apache-commons-math",
40        "androidplot",
41        "ctsverifier-opencv",
42        "core-tests-support",
43        "androidx.legacy_legacy-support-v4",
44        "mockito-target-minus-junit4",
45        "mockwebserver",
46        "compatibility-device-util-axt",
47        "platform-test-annotations",
48        "cts-security-test-support-library",
49        "cts-midi-lib",
50        "cbor-java",
51        "CtsCameraUtils",
52        "androidx.legacy_legacy-support-v4",
53        "CtsForceStopHelper-constants",
54        "ctsmediautil",
55        "DpmWrapper"
56    ],
57
58    libs: ["telephony-common"] + ["android.test.runner.stubs"] + ["android.test.base.stubs"] + ["android.test.mock.stubs"] + ["android.car"] + ["voip-common"] + ["truth-prebuilt"],
59
60    platform_apis: true,
61
62    jni_libs: [
63        "libctsverifier_jni",
64        "libctsnativemidi_jni",
65        "libaudioloopback_jni",
66        "libmegaaudio_jni",
67    ],
68
69    optimize: {
70        proguard_flags_files: ["proguard.flags"],
71    },
72
73    dex_preopt: {
74        enabled: false,
75    },
76}
77
78// opencv library
79java_import {
80    name: "ctsverifier-opencv",
81    jars: ["libs/opencv3-android.jar"],
82}
83