blob: 05135df2959a2b5f4c3d65ccc9520fda89bc1ee8 [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 Willemsen29ca1b32017-10-23 17:15:03 -07009cc_test {
10 name: "test_handle_tracker",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080011 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen29ca1b32017-10-23 17:15:03 -070012 srcs: ["test_handle_tracker.cpp"],
13 shared_libs: ["libaaudio"],
14}
15
16cc_test {
17 name: "test_aaudio_marshalling",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080018 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen29ca1b32017-10-23 17:15:03 -070019 srcs: ["test_marshalling.cpp"],
20 shared_libs: [
21 "libaaudio",
22 "libbinder",
23 "libcutils",
24 "libutils",
25 ],
26}
27
28cc_test {
29 name: "test_block_adapter",
Chih-Hung Hsiehabf85fc2017-11-09 10:18:04 -080030 defaults: ["libaaudio_tests_defaults"],
Dan Willemsen29ca1b32017-10-23 17:15:03 -070031 srcs: ["test_block_adapter.cpp"],
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 Willemsen29ca1b32017-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 Willemsen29ca1b32017-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 Willemsen29ca1b32017-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 Willemsen29ca1b32017-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 Willemsen29ca1b32017-10-23 17:15:03 -070081 srcs: ["test_n_streams.cpp"],
82 shared_libs: [
83 "libaaudio",
84 "libbinder",
85 "libcutils",
86 "libutils",
87 ],
88}