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