| package { | |
| // See: http://go/android-license-faq | |
| // A large-scale-change added 'default_applicable_licenses' to import | |
| // all of the 'license_kinds' from "frameworks_base_license" | |
| // to get the below license kinds: | |
| // SPDX-license-identifier-Apache-2.0 | |
| default_applicable_licenses: ["frameworks_base_license"], | |
| } | |
| android_test { | |
| name: "audiopolicytest", | |
| srcs: ["**/*.java"], | |
| static_libs: [ | |
| "androidx.test.ext.junit", | |
| "androidx.test.rules", | |
| "guava", | |
| "guava-android-testlib", | |
| "hamcrest-library", | |
| "platform-test-annotations", | |
| "truth", | |
| ], | |
| platform_apis: true, | |
| certificate: "platform", | |
| resource_dirs: ["res"], | |
| test_suites: ["device-tests"], | |
| } | |
| test_module_config { | |
| name: "audiopolicytest_audiopolicytest_audiopolicydeathtest_Presubmit", | |
| base: "audiopolicytest", | |
| test_suites: ["device-tests"], | |
| include_filters: ["com.android.audiopolicytest.AudioPolicyDeathTest"], | |
| include_annotations: ["android.platform.test.annotations.Presubmit"], | |
| } |