| 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", | 
| jiabin | bf6b0ec | 2019-02-12 12:30:12 -0800 | [diff] [blame^] | 13 | "libvibrator", | 
| Dan Willemsen | 9c99f15 | 2018-11-16 15:30:38 -0800 | [diff] [blame] | 14 | ], | 
|  | 15 |  | 
|  | 16 | cflags: [ | 
|  | 17 | "-Werror", | 
|  | 18 | "-Wall", | 
|  | 19 | ], | 
|  | 20 | } | 
|  | 21 |  | 
|  | 22 | // | 
|  | 23 | // resampler unit test | 
|  | 24 | // | 
|  | 25 | cc_test { | 
|  | 26 | name: "resampler_tests", | 
|  | 27 | defaults: ["libaudioprocessing_test_defaults"], | 
|  | 28 |  | 
|  | 29 | srcs: ["resampler_tests.cpp"], | 
|  | 30 | } | 
|  | 31 |  | 
|  | 32 | // | 
|  | 33 | // audio mixer test tool | 
|  | 34 | // | 
|  | 35 | cc_binary { | 
|  | 36 | name: "test-mixer", | 
|  | 37 | defaults: ["libaudioprocessing_test_defaults"], | 
|  | 38 |  | 
|  | 39 | srcs: ["test-mixer.cpp"], | 
|  | 40 | static_libs: ["libsndfile"], | 
|  | 41 | } | 
|  | 42 |  | 
|  | 43 | // | 
|  | 44 | // build audio resampler test tool | 
|  | 45 | // | 
|  | 46 | cc_binary { | 
|  | 47 | name: "test-resampler", | 
|  | 48 | defaults: ["libaudioprocessing_test_defaults"], | 
|  | 49 |  | 
|  | 50 | srcs: ["test-resampler.cpp"], | 
|  | 51 | static_libs: ["libsndfile"], | 
|  | 52 | } |