1 cc_defaults { 2 name: "libaaudio_tests_defaults", 3 cflags: [ 4 "-Wall", 5 "-Werror", 6 ], 7 } 8 9 cc_test { 10 name: "test_aaudio_marshalling", 11 defaults: ["libaaudio_tests_defaults"], 12 srcs: ["test_marshalling.cpp"], 13 shared_libs: [ 14 "libaaudio", 15 "libbinder", 16 "libcutils", 17 "libutils", 18 ], 19 } 20 21 cc_test { 22 name: "test_clock_model", 23 defaults: ["libaaudio_tests_defaults"], 24 srcs: ["test_clock_model.cpp"], 25 shared_libs: [ 26 "libaaudio", 27 "libaudioutils", 28 "libcutils", 29 "libutils", 30 ], 31 } 32 33 cc_test { 34 name: "test_block_adapter", 35 defaults: ["libaaudio_tests_defaults"], 36 srcs: ["test_block_adapter.cpp"], 37 shared_libs: ["libaaudio"], 38 } 39 40 cc_test { 41 name: "test_timestamps", 42 defaults: ["libaaudio_tests_defaults"], 43 srcs: ["test_timestamps.cpp"], 44 header_libs: ["libaaudio_example_utils"], 45 shared_libs: ["libaaudio"], 46 } 47 48 cc_test { 49 name: "test_open_params", 50 defaults: ["libaaudio_tests_defaults"], 51 srcs: ["test_open_params.cpp"], 52 shared_libs: [ 53 "libaaudio", 54 "libbinder", 55 "libcutils", 56 "libutils", 57 ], 58 } 59 60 cc_test { 61 name: "test_no_close", 62 defaults: ["libaaudio_tests_defaults"], 63 srcs: ["test_no_close.cpp"], 64 shared_libs: [ 65 "libaaudio", 66 "libbinder", 67 "libcutils", 68 "libutils", 69 ], 70 } 71 72 cc_test { 73 name: "test_aaudio_recovery", 74 defaults: ["libaaudio_tests_defaults"], 75 srcs: ["test_recovery.cpp"], 76 shared_libs: [ 77 "libaaudio", 78 "libbinder", 79 "libcutils", 80 "libutils", 81 ], 82 } 83 84 cc_test { 85 name: "test_n_streams", 86 defaults: ["libaaudio_tests_defaults"], 87 srcs: ["test_n_streams.cpp"], 88 shared_libs: [ 89 "libaaudio", 90 "libbinder", 91 "libcutils", 92 "libutils", 93 ], 94 } 95 96 cc_test { 97 name: "test_bad_disconnect", 98 defaults: ["libaaudio_tests_defaults"], 99 srcs: ["test_bad_disconnect.cpp"], 100 shared_libs: [ 101 "libaaudio", 102 "libbinder", 103 "libcutils", 104 "libutils", 105 ], 106 } 107 108 cc_test { 109 name: "test_various", 110 defaults: ["libaaudio_tests_defaults"], 111 srcs: ["test_various.cpp"], 112 shared_libs: [ 113 "libaaudio", 114 "libbinder", 115 "libcutils", 116 "libutils", 117 ], 118 } 119 120 cc_test { 121 name: "test_session_id", 122 defaults: ["libaaudio_tests_defaults"], 123 srcs: ["test_session_id.cpp"], 124 shared_libs: [ 125 "libaaudio", 126 "libbinder", 127 "libcutils", 128 "libutils", 129 ], 130 } 131 132 cc_test { 133 name: "test_aaudio_monkey", 134 defaults: ["libaaudio_tests_defaults"], 135 srcs: ["test_aaudio_monkey.cpp"], 136 header_libs: ["libaaudio_example_utils"], 137 shared_libs: [ 138 "libaaudio", 139 "libbinder", 140 "libcutils", 141 "libutils", 142 ], 143 } 144 145 cc_test { 146 name: "test_attributes", 147 defaults: ["libaaudio_tests_defaults"], 148 srcs: ["test_attributes.cpp"], 149 shared_libs: [ 150 "libaaudio", 151 "libbinder", 152 "libcutils", 153 "libutils", 154 ], 155 } 156 157 cc_test { 158 name: "test_interference", 159 defaults: ["libaaudio_tests_defaults"], 160 srcs: ["test_interference.cpp"], 161 shared_libs: [ 162 "libaaudio", 163 "libbinder", 164 "libcutils", 165 "libutils", 166 ], 167 } 168 169 cc_test { 170 name: "test_atomic_fifo", 171 defaults: ["libaaudio_tests_defaults"], 172 srcs: ["test_atomic_fifo.cpp"], 173 shared_libs: ["libaaudio"], 174 } 175 176 cc_test { 177 name: "test_flowgraph", 178 defaults: ["libaaudio_tests_defaults"], 179 srcs: ["test_flowgraph.cpp"], 180 shared_libs: [ 181 "libaaudio", 182 "libbinder", 183 "libcutils", 184 "libutils", 185 ], 186 } 187 188 cc_test { 189 name: "test_return_stop", 190 defaults: ["libaaudio_tests_defaults"], 191 srcs: ["test_return_stop.cpp"], 192 shared_libs: [ 193 "libaaudio", 194 "libbinder", 195 "libcutils", 196 "libutils", 197 ], 198 } 199 200 cc_test { 201 name: "test_stop_hang", 202 defaults: ["libaaudio_tests_defaults"], 203 srcs: ["test_stop_hang.cpp"], 204 shared_libs: [ 205 "libaaudio", 206 "libbinder", 207 "libcutils", 208 "libutils", 209 ], 210 } 211 212 cc_test { 213 name: "test_full_queue", 214 defaults: ["libaaudio_tests_defaults"], 215 srcs: ["test_full_queue.cpp"], 216 shared_libs: ["libaaudio"], 217 } 218