Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "libaudioclient_tests_defaults", |
| 3 | cflags: [ |
| 4 | "-Wall", |
| 5 | "-Werror", |
| 6 | ], |
| 7 | } |
| 8 | |
| 9 | cc_test { |
Andy Hung | 1131b6e | 2020-12-08 20:47:45 -0800 | [diff] [blame] | 10 | name: "audio_aidl_status_tests", |
| 11 | defaults: ["libaudioclient_tests_defaults"], |
| 12 | srcs: ["audio_aidl_status_tests.cpp"], |
| 13 | shared_libs: [ |
| 14 | "libaudioclient_aidl_conversion", |
| 15 | "libbinder", |
| 16 | "libcutils", |
| 17 | "libutils", |
| 18 | ], |
| 19 | } |
| 20 | |
| 21 | cc_test { |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 22 | name: "test_create_audiotrack", |
| 23 | defaults: ["libaudioclient_tests_defaults"], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 24 | srcs: ["test_create_audiotrack.cpp", |
| 25 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 26 | header_libs: [ |
| 27 | "libmedia_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 28 | "libmediametrics_headers", |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 29 | ], |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 30 | shared_libs: [ |
| 31 | "libaudioclient", |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 32 | "libbinder", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 33 | "libcutils", |
| 34 | "libutils", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 35 | ], |
| 36 | data: ["track_test_input_*.txt"], |
| 37 | } |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 38 | |
| 39 | cc_test { |
| 40 | name: "test_create_audiorecord", |
| 41 | defaults: ["libaudioclient_tests_defaults"], |
| 42 | srcs: ["test_create_audiorecord.cpp", |
| 43 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 44 | header_libs: [ |
| 45 | "libmedia_headers", |
Marco Nelissen | 7c96ea7 | 2020-01-10 15:46:22 -0800 | [diff] [blame] | 46 | "libmediametrics_headers", |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 47 | ], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 48 | shared_libs: [ |
| 49 | "libaudioclient", |
| 50 | "libbinder", |
| 51 | "libcutils", |
| 52 | "libutils", |
| 53 | ], |
| 54 | data: ["record_test_input_*.txt"], |
| 55 | } |