blob: ef272b0ad5e466fd6a5eb0388d276e66c898d651 [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 {
Dan Willemsenb44c69e2017-10-23 17:15:03 -070037 name: "test_open_params",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070038 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070039 srcs: ["test_open_params.cpp"],
40 shared_libs: [
41 "libaaudio",
42 "libbinder",
43 "libcutils",
44 "libutils",
45 ],
46}
47
48cc_test {
49 name: "test_no_close",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070050 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070051 srcs: ["test_no_close.cpp"],
52 shared_libs: [
53 "libaaudio",
54 "libbinder",
55 "libcutils",
56 "libutils",
57 ],
58}
59
60cc_test {
61 name: "test_aaudio_recovery",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070062 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070063 srcs: ["test_recovery.cpp"],
64 shared_libs: [
65 "libaaudio",
66 "libbinder",
67 "libcutils",
68 "libutils",
69 ],
70}
71
72cc_test {
73 name: "test_n_streams",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070074 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070075 srcs: ["test_n_streams.cpp"],
76 shared_libs: [
77 "libaaudio",
78 "libbinder",
79 "libcutils",
80 "libutils",
81 ],
82}
83
84cc_test {
85 name: "test_bad_disconnect",
Chih-Hung Hsieh68326fe2017-10-31 13:49:24 -070086 defaults: ["libaaudio_tests_defaults"],
Dan Willemsenb44c69e2017-10-23 17:15:03 -070087 srcs: ["test_bad_disconnect.cpp"],
88 shared_libs: [
89 "libaaudio",
90 "libbinder",
91 "libcutils",
92 "libutils",
93 ],
94}
Phil Burk9a9e6002017-11-17 12:17:37 -080095
96cc_test {
97 name: "test_various",
98 defaults: ["libaaudio_tests_defaults"],
99 srcs: ["test_various.cpp"],
100 shared_libs: [
101 "libaaudio",
102 "libbinder",
103 "libcutils",
104 "libutils",
105 ],
106}
Phil Burk86938672017-11-27 13:49:40 -0800107
108cc_test {
Phil Burka11f9352018-01-03 15:53:25 -0800109 name: "test_session_id",
110 defaults: ["libaaudio_tests_defaults"],
111 srcs: ["test_session_id.cpp"],
112 shared_libs: [
113 "libaaudio",
114 "libbinder",
115 "libcutils",
116 "libutils",
117 ],
118}
119
120cc_test {
Phil Burk86938672017-11-27 13:49:40 -0800121 name: "test_aaudio_monkey",
122 defaults: ["libaaudio_tests_defaults"],
123 srcs: ["test_aaudio_monkey.cpp"],
124 header_libs: ["libaaudio_example_utils"],
125 shared_libs: [
126 "libaaudio",
127 "libbinder",
128 "libcutils",
129 "libutils",
130 ],
131}
Phil Burkf9d1b992017-12-21 16:54:18 -0800132
133cc_test {
134 name: "test_attributes",
135 defaults: ["libaaudio_tests_defaults"],
136 srcs: ["test_attributes.cpp"],
137 shared_libs: [
138 "libaaudio",
139 "libbinder",
140 "libcutils",
141 "libutils",
142 ],
143}
Phil Burk381708a2018-02-14 16:02:50 -0800144
145cc_test {
146 name: "test_interference",
147 defaults: ["libaaudio_tests_defaults"],
148 srcs: ["test_interference.cpp"],
149 shared_libs: [
150 "libaaudio",
151 "libbinder",
152 "libcutils",
153 "libutils",
154 ],
155}
Phil Burk217a14f2018-04-23 10:33:06 -0700156
157cc_test {
158 name: "test_atomic_fifo",
159 defaults: ["libaaudio_tests_defaults"],
160 srcs: ["test_atomic_fifo.cpp"],
161 shared_libs: ["libaaudio"],
162}
Phil Burkbb78a732018-03-28 15:37:19 -0700163
164cc_test {
165 name: "test_flowgraph",
166 defaults: ["libaaudio_tests_defaults"],
167 srcs: ["test_flowgraph.cpp"],
168 shared_libs: [
169 "libaaudio",
170 "libbinder",
171 "libcutils",
172 "libutils",
173 ],
174}