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 | |
| 21 | static_libs: ["libaudiopolicycomponents"], |
| 22 | |
| 23 | header_libs: [ |
| 24 | "libaudiopolicycommon", |
| 25 | "libaudiopolicyengine_interface_headers", |
| 26 | "libaudiopolicymanager_interface_headers", |
| 27 | ], |
| 28 | |
| 29 | srcs: ["audiopolicymanager_tests.cpp"], |
| 30 | |
| 31 | data: [":audiopolicytest_configuration_files",], |
| 32 | |
| 33 | cflags: [ |
| 34 | "-Werror", |
| 35 | "-Wall", |
| 36 | ], |
| 37 | |
| 38 | test_suites: ["device-tests"], |
| 39 | |
| 40 | } |
jiabin | b3f9804 | 2019-09-26 17:56:44 -0700 | [diff] [blame^] | 41 | |
| 42 | |
| 43 | cc_test { |
| 44 | name: "audio_health_tests", |
| 45 | |
| 46 | shared_libs: [ |
| 47 | "libaudiofoundation", |
| 48 | "libaudioclient", |
| 49 | "libaudiopolicymanagerdefault", |
| 50 | "liblog", |
| 51 | "libmedia_helper", |
| 52 | "libutils", |
| 53 | ], |
| 54 | |
| 55 | static_libs: ["libaudiopolicycomponents"], |
| 56 | |
| 57 | header_libs: [ |
| 58 | "libaudiopolicyengine_interface_headers", |
| 59 | "libaudiopolicymanager_interface_headers", |
| 60 | ], |
| 61 | |
| 62 | srcs: ["audio_health_tests.cpp"], |
| 63 | |
| 64 | cflags: [ |
| 65 | "-Werror", |
| 66 | "-Wall", |
| 67 | ], |
| 68 | |
| 69 | test_suites: ["device-tests"], |
| 70 | |
| 71 | } |