Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame^] | 1 | // Build the unit tests for libaudioprocessing |
| 2 | |
| 3 | cc_defaults { |
| 4 | name: "libaudioprocessing_test_defaults", |
| 5 | |
| 6 | header_libs: ["libbase_headers"], |
| 7 | shared_libs: [ |
| 8 | "libaudioutils", |
| 9 | "libaudioprocessing", |
| 10 | "libcutils", |
| 11 | "liblog", |
| 12 | "libutils", |
| 13 | ], |
| 14 | |
| 15 | cflags: [ |
| 16 | "-Werror", |
| 17 | "-Wall", |
| 18 | ], |
| 19 | } |
| 20 | |
| 21 | // |
| 22 | // resampler unit test |
| 23 | // |
| 24 | cc_test { |
| 25 | name: "resampler_tests", |
| 26 | defaults: ["libaudioprocessing_test_defaults"], |
| 27 | |
| 28 | srcs: ["resampler_tests.cpp"], |
| 29 | } |
| 30 | |
| 31 | // |
| 32 | // audio mixer test tool |
| 33 | // |
| 34 | cc_binary { |
| 35 | name: "test-mixer", |
| 36 | defaults: ["libaudioprocessing_test_defaults"], |
| 37 | |
| 38 | srcs: ["test-mixer.cpp"], |
| 39 | static_libs: ["libsndfile"], |
| 40 | } |
| 41 | |
| 42 | // |
| 43 | // build audio resampler test tool |
| 44 | // |
| 45 | cc_binary { |
| 46 | name: "test-resampler", |
| 47 | defaults: ["libaudioprocessing_test_defaults"], |
| 48 | |
| 49 | srcs: ["test-resampler.cpp"], |
| 50 | static_libs: ["libsndfile"], |
| 51 | } |