jiabin | f4eb15a | 2019-08-28 15:31:47 -0700 | [diff] [blame] | 1 | cc_test { |
| 2 | name: "audiopolicy_tests", |
| 3 | |
| 4 | include_dirs: [ |
| 5 | "frameworks/av/services/audiopolicy", |
| 6 | ], |
| 7 | |
| 8 | shared_libs: [ |
| 9 | "libaudioclient", |
| 10 | "libaudiofoundation", |
| 11 | "libaudiopolicy", |
| 12 | "libaudiopolicymanagerdefault", |
| 13 | "libbase", |
| 14 | "libhidlbase", |
| 15 | "liblog", |
| 16 | "libmedia_helper", |
| 17 | "libutils", |
| 18 | "libxml2", |
| 19 | ], |
| 20 | |
Jiabin Huang | 3b98d32 | 2020-09-03 17:54:16 +0000 | [diff] [blame^] | 21 | static_libs: [ |
| 22 | "libaudiopolicycomponents", |
| 23 | "libgmock" |
| 24 | ], |
jiabin | f4eb15a | 2019-08-28 15:31:47 -0700 | [diff] [blame] | 25 | |
| 26 | header_libs: [ |
| 27 | "libaudiopolicycommon", |
| 28 | "libaudiopolicyengine_interface_headers", |
| 29 | "libaudiopolicymanager_interface_headers", |
| 30 | ], |
| 31 | |
| 32 | srcs: ["audiopolicymanager_tests.cpp"], |
| 33 | |
| 34 | data: [":audiopolicytest_configuration_files",], |
| 35 | |
| 36 | cflags: [ |
| 37 | "-Werror", |
| 38 | "-Wall", |
| 39 | ], |
| 40 | |
| 41 | test_suites: ["device-tests"], |
| 42 | |
| 43 | } |
jiabin | b3f9804 | 2019-09-26 17:56:44 -0700 | [diff] [blame] | 44 | |
| 45 | |
| 46 | cc_test { |
| 47 | name: "audio_health_tests", |
| 48 | |
| 49 | shared_libs: [ |
| 50 | "libaudiofoundation", |
| 51 | "libaudioclient", |
| 52 | "libaudiopolicymanagerdefault", |
| 53 | "liblog", |
| 54 | "libmedia_helper", |
| 55 | "libutils", |
| 56 | ], |
| 57 | |
| 58 | static_libs: ["libaudiopolicycomponents"], |
| 59 | |
| 60 | header_libs: [ |
| 61 | "libaudiopolicyengine_interface_headers", |
| 62 | "libaudiopolicymanager_interface_headers", |
| 63 | ], |
| 64 | |
| 65 | srcs: ["audio_health_tests.cpp"], |
| 66 | |
| 67 | cflags: [ |
| 68 | "-Werror", |
| 69 | "-Wall", |
| 70 | ], |
| 71 | |
| 72 | test_suites: ["device-tests"], |
| 73 | |
| 74 | } |