1// Build the unit tests for libaudioprocessing 2 3cc_defaults { 4 name: "libaudioprocessing_test_defaults", 5 6 header_libs: ["libbase_headers"], 7 shared_libs: [ 8 "libaudioprocessing", 9 "libaudioutils", 10 "libcutils", 11 "liblog", 12 "libutils", 13 "libvibrator", 14 ], 15 16 cflags: [ 17 "-Werror", 18 "-Wall", 19 ], 20} 21 22// 23// resampler unit test 24// 25cc_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// 35cc_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// 46cc_binary { 47 name: "test-resampler", 48 defaults: ["libaudioprocessing_test_defaults"], 49 50 srcs: ["test-resampler.cpp"], 51 static_libs: ["libsndfile"], 52} 53