blob: 0c8e5bb066d3d28b9a132a32e67d93408c6ced50 [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",
jiabinbf6b0ec2019-02-12 12:30:12 -080013 "libvibrator",
Dan Willemsen9c99f152018-11-16 15:30:38 -080014 ],
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}