blob: 42f0342b124d1cc394acab884efcd25011ab3125 [file] [log] [blame]
Bob Badour948e6aa2021-02-12 21:02:31 -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_av_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_av_license"],
8}
9
jiabin723ed132019-08-28 15:31:47 -070010cc_test {
11 name: "audiopolicy_tests",
12
13 include_dirs: [
14 "frameworks/av/services/audiopolicy",
15 ],
16
17 shared_libs: [
18 "libaudioclient",
19 "libaudiofoundation",
20 "libaudiopolicy",
21 "libaudiopolicymanagerdefault",
22 "libbase",
23 "libhidlbase",
24 "liblog",
25 "libmedia_helper",
26 "libutils",
27 "libxml2",
28 ],
29
Jiabin Huang6e468242020-09-03 17:54:16 +000030 static_libs: [
31 "libaudiopolicycomponents",
32 "libgmock"
33 ],
jiabin723ed132019-08-28 15:31:47 -070034
35 header_libs: [
36 "libaudiopolicycommon",
37 "libaudiopolicyengine_interface_headers",
38 "libaudiopolicymanager_interface_headers",
39 ],
40
41 srcs: ["audiopolicymanager_tests.cpp"],
42
43 data: [":audiopolicytest_configuration_files",],
44
45 cflags: [
46 "-Werror",
47 "-Wall",
48 ],
49
50 test_suites: ["device-tests"],
51
52}
jiabin38b2c5d2019-09-26 17:56:44 -070053
54
55cc_test {
56 name: "audio_health_tests",
57
58 shared_libs: [
59 "libaudiofoundation",
60 "libaudioclient",
61 "libaudiopolicymanagerdefault",
62 "liblog",
63 "libmedia_helper",
64 "libutils",
65 ],
66
67 static_libs: ["libaudiopolicycomponents"],
68
69 header_libs: [
70 "libaudiopolicyengine_interface_headers",
71 "libaudiopolicymanager_interface_headers",
72 ],
73
74 srcs: ["audio_health_tests.cpp"],
75
76 cflags: [
77 "-Werror",
78 "-Wall",
79 ],
80
81 test_suites: ["device-tests"],
82
83}