xref: /aosp_15_r20/frameworks/base/media/tests/AudioPolicyTest/Android.bp (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
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: "audiopolicytest",
12    srcs: ["**/*.java"],
13    static_libs: [
14        "androidx.test.ext.junit",
15        "androidx.test.rules",
16        "guava",
17        "guava-android-testlib",
18        "hamcrest-library",
19        "platform-test-annotations",
20        "truth",
21    ],
22    platform_apis: true,
23    certificate: "platform",
24    resource_dirs: ["res"],
25    test_suites: ["device-tests"],
26}
27
28test_module_config {
29    name: "audiopolicytest_audiopolicytest_audiopolicydeathtest_Presubmit",
30    base: "audiopolicytest",
31    test_suites: ["device-tests"],
32    include_filters: ["com.android.audiopolicytest.AudioPolicyDeathTest"],
33    include_annotations: ["android.platform.test.annotations.Presubmit"],
34}
35