blob: 45d417f7660d40fe838a678a4cd8a862364babfb [file] [log] [blame]
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -07001cc_defaults {
2 name: "libaaudio_tests_defaults",
3 cflags: [
4 "-Wall",
5 "-Werror",
6 ],
7}
8
Dan Willemsenb44c69e2017-10-23 17:15:03 -07009cc_test {
10 name: "test_aaudio_marshalling",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070011 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-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 Hsieh68326fe2017-10-31 13:49:24 -070023 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070024 srcs: ["test_block_adapter.cpp"],
25 shared_libs: ["libaaudio"],
26}
27
28cc_test {
29 name: "test_timestamps",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070030 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070031 srcs: ["test_timestamps.cpp"],
32 header_libs: ["libaaudio_example_utils"],
33 shared_libs: ["libaaudio"],
34}
35
36cc_test {
37 name: "test_linear_ramp",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070038 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070039 srcs: ["test_linear_ramp.cpp"],
40 shared_libs: ["libaaudio"],
41}
42
43cc_test {
44 name: "test_open_params",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070045 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070046 srcs: ["test_open_params.cpp"],
47 shared_libs: [
48 "libaaudio",
49 "libbinder",
50 "libcutils",
51 "libutils",
52 ],
53}
54
55cc_test {
56 name: "test_no_close",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070057 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070058 srcs: ["test_no_close.cpp"],
59 shared_libs: [
60 "libaaudio",
61 "libbinder",
62 "libcutils",
63 "libutils",
64 ],
65}
66
67cc_test {
68 name: "test_aaudio_recovery",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070069 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070070 srcs: ["test_recovery.cpp"],
71 shared_libs: [
72 "libaaudio",
73 "libbinder",
74 "libcutils",
75 "libutils",
76 ],
77}
78
79cc_test {
80 name: "test_n_streams",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070081 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070082 srcs: ["test_n_streams.cpp"],
83 shared_libs: [
84 "libaaudio",
85 "libbinder",
86 "libcutils",
87 "libutils",
88 ],
89}
90
91cc_test {
92 name: "test_bad_disconnect",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070093 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070094 srcs: ["test_bad_disconnect.cpp"],
95 shared_libs: [
96 "libaaudio",
97 "libbinder",
98 "libcutils",
99 "libutils",
100 ],
101}
Phil Burk9a9e6002017-11-17 12:17:37 -0800102
103cc_test {
104 name: "test_various",
105 defaults: ["libaaudio_tests_defaults"],
106 srcs: ["test_various.cpp"],
107 shared_libs: [
108 "libaaudio",
109 "libbinder",
110 "libcutils",
111 "libutils",
112 ],
113}
Phil Burk86938672017-11-27 13:49:40 -0800114
115cc_test {
Phil Burka11f9352018-01-03 15:53:25 -0800116 name: "test_session_id",
117 defaults: ["libaaudio_tests_defaults"],
118 srcs: ["test_session_id.cpp"],
119 shared_libs: [
120 "libaaudio",
121 "libbinder",
122 "libcutils",
123 "libutils",
124 ],
125}
126
127cc_test {
Phil Burk86938672017-11-27 13:49:40 -0800128 name: "test_aaudio_monkey",
129 defaults: ["libaaudio_tests_defaults"],
130 srcs: ["test_aaudio_monkey.cpp"],
131 header_libs: ["libaaudio_example_utils"],
132 shared_libs: [
133 "libaaudio",
134 "libbinder",
135 "libcutils",
136 "libutils",
137 ],
138}
Phil Burkf9d1b992017-12-21 16:54:18 -0800139
140cc_test {
141 name: "test_attributes",
142 defaults: ["libaaudio_tests_defaults"],
143 srcs: ["test_attributes.cpp"],
144 shared_libs: [
145 "libaaudio",
146 "libbinder",
147 "libcutils",
148 "libutils",
149 ],
150}