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 { |
| 10 | name: "test_create_audiotrack", |
| 11 | defaults: ["libaudioclient_tests_defaults"], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 12 | srcs: ["test_create_audiotrack.cpp", |
| 13 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 14 | header_libs: [ |
| 15 | "libmedia_headers", |
| 16 | ], |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 17 | shared_libs: [ |
| 18 | "libaudioclient", |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 19 | "libbinder", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 20 | "libcutils", |
| 21 | "libutils", |
Eric Laurent | 4473d78 | 2017-11-28 11:53:36 -0800 | [diff] [blame] | 22 | ], |
| 23 | data: ["track_test_input_*.txt"], |
| 24 | } |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 25 | |
| 26 | cc_test { |
| 27 | name: "test_create_audiorecord", |
| 28 | defaults: ["libaudioclient_tests_defaults"], |
| 29 | srcs: ["test_create_audiorecord.cpp", |
| 30 | "test_create_utils.cpp"], |
Marco Nelissen | 6b28594 | 2019-10-21 14:52:30 -0700 | [diff] [blame] | 31 | header_libs: [ |
| 32 | "libmedia_headers", |
| 33 | ], |
Eric Laurent | 0a7885e | 2017-12-06 16:48:41 -0800 | [diff] [blame] | 34 | shared_libs: [ |
| 35 | "libaudioclient", |
| 36 | "libbinder", |
| 37 | "libcutils", |
| 38 | "libutils", |
| 39 | ], |
| 40 | data: ["record_test_input_*.txt"], |
| 41 | } |