blob: 43b1a355334a4d26ba8f61ac89c047f78f92bd52 [file] [log] [blame]
Bob Badoure539dba2021-02-12 17:07:05 -08001package {
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
Francois Gaffie8650e2d2020-04-08 13:49:56 +020010android_test {
11 name: "audiopolicytest",
12 srcs: ["**/*.java"],
Francois Gaffie8650e2d2020-04-08 13:49:56 +020013 static_libs: [
Jan Sebechlebskyd6f0bdb2022-09-19 15:10:10 +020014 "androidx.test.ext.junit",
Francois Gaffie8650e2d2020-04-08 13:49:56 +020015 "androidx.test.rules",
Jan Sebechlebskyd6f0bdb2022-09-19 15:10:10 +020016 "guava",
Jan Sebechlebskyd22b7e12023-03-07 13:32:55 +010017 "guava-android-testlib",
Jan Sebechlebsky28592152022-09-20 10:40:13 +020018 "hamcrest-library",
Jan Sebechlebskyd6f0bdb2022-09-19 15:10:10 +020019 "platform-test-annotations",
Raj Goparaju7771e3b2023-10-13 10:35:08 -070020 "truth",
Francois Gaffie8650e2d2020-04-08 13:49:56 +020021 ],
22 platform_apis: true,
23 certificate: "platform",
24 resource_dirs: ["res"],
Eric Laurent17bfc3e2022-12-21 11:08:32 +010025 test_suites: ["device-tests"],
Francois Gaffie8650e2d2020-04-08 13:49:56 +020026}
Ronald Braunstein71257242024-08-30 14:53:51 +000027
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}