blob: 811c16b8d90b7d40fd003eb7d00eed510a5731a9 [file] [log] [blame]
Dan Willemsen9c99f152018-11-16 15:30:38 -08001// Build the unit tests for libaudioprocessing
2
3cc_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//
24cc_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//
34cc_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//
45cc_binary {
46 name: "test-resampler",
47 defaults: ["libaudioprocessing_test_defaults"],
48
49 srcs: ["test-resampler.cpp"],
50 static_libs: ["libsndfile"],
51}