blob: d990111bd6759f3f60f62496f7983ff4b040c8cc [file] [log] [blame]
// Build the unit tests for libaudioprocessing
cc_defaults {
name: "libaudioprocessing_test_defaults",
header_libs: ["libbase_headers"],
shared_libs: [
"libaudioprocessing",
"libaudioutils",
"libcutils",
"liblog",
"libutils",
"libvibrator",
],
cflags: [
"-Werror",
"-Wall",
],
}
//
// resampler unit test
//
cc_test {
name: "resampler_tests",
defaults: ["libaudioprocessing_test_defaults"],
srcs: ["resampler_tests.cpp"],
}
//
// audio mixer test tool
//
cc_binary {
name: "test-mixer",
defaults: ["libaudioprocessing_test_defaults"],
srcs: ["test-mixer.cpp"],
static_libs: ["libsndfile"],
}
//
// build audio resampler test tool
//
cc_binary {
name: "test-resampler",
defaults: ["libaudioprocessing_test_defaults"],
srcs: ["test-resampler.cpp"],
static_libs: ["libsndfile"],
}