blob: 19c56d3b0a91bf97e557c03180d056d8ff43e7ec [file] [log] [blame]
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -08001cc_defaults {
2 name: "libaaudio_tests_defaults",
3 cflags: [
4 "-Wall",
5 "-Werror",
6 ],
7}
8
Dan Willemsen0230b1a2017-10-23 17:15:03 -07009cc_test {
10 name: "test_aaudio_marshalling",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080011 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070012 srcs: ["test_marshalling.cpp"],
13 shared_libs: [
14 "libaaudio",
15 "libbinder",
16 "libcutils",
17 "libutils",
18 ],
19}
20
21cc_test {
22 name: "test_block_adapter",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080023 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070024 srcs: ["test_block_adapter.cpp"],
25 shared_libs: ["libaaudio"],
26}
27
28cc_test {
29 name: "test_timestamps",
30 srcs: ["test_timestamps.cpp"],
31 header_libs: ["libaaudio_example_utils"],
32 shared_libs: ["libaaudio"],
33}
34
35cc_test {
36 name: "test_linear_ramp",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080037 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070038 srcs: ["test_linear_ramp.cpp"],
39 shared_libs: ["libaaudio"],
40}
41
42cc_test {
43 name: "test_open_params",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080044 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070045 srcs: ["test_open_params.cpp"],
46 shared_libs: [
47 "libaaudio",
48 "libbinder",
49 "libcutils",
50 "libutils",
51 ],
52}
53
54cc_test {
55 name: "test_no_close",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080056 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070057 srcs: ["test_no_close.cpp"],
58 shared_libs: [
59 "libaaudio",
60 "libbinder",
61 "libcutils",
62 "libutils",
63 ],
64}
65
66cc_test {
67 name: "test_aaudio_recovery",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080068 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070069 srcs: ["test_recovery.cpp"],
70 shared_libs: [
71 "libaaudio",
72 "libbinder",
73 "libcutils",
74 "libutils",
75 ],
76}
77
78cc_test {
79 name: "test_n_streams",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080080 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen0230b1a2017-10-23 17:15:03 -070081 srcs: ["test_n_streams.cpp"],
82 shared_libs: [
83 "libaaudio",
84 "libbinder",
85 "libcutils",
86 "libutils",
87 ],
88}