1// intbufq 2 3cc_test { 4 name: "slesTest_intbufq", 5 gtest: false, 6 7 srcs: [ 8 "intbufq.c", 9 "getch.c", 10 ], 11 12 shared_libs: [ 13 "liblog", 14 "libOpenSLES", 15 ], 16 17 cflags: [ 18 "-Werror", 19 "-Wall", 20 21 "-UNDEBUG", 22 "-Wno-deprecated-declarations", 23 ], 24} 25 26// multiplay 27 28cc_test { 29 name: "slesTest_multiplay", 30 gtest: false, 31 32 srcs: ["multiplay.c"], 33 34 shared_libs: [ 35 "liblog", 36 "libOpenSLES", 37 ], 38 39 cflags: [ 40 "-Werror", 41 "-Wall", 42 43 "-UNDEBUG", 44 "-Wno-deprecated-declarations", 45 ], 46 47} 48 49// engine 50 51cc_test { 52 name: "slesTest_engine", 53 gtest: false, 54 55 srcs: ["engine.c"], 56 57 shared_libs: [ 58 "liblog", 59 "libOpenSLES", 60 "libOpenMAXAL", 61 ], 62 63 static_libs: [ 64 "libOpenSLESUT", 65 "liblog", 66 ], 67 68 cflags: [ 69 "-Werror", 70 "-Wall", 71 72 "-UNDEBUG", 73 "-Wno-deprecated-declarations", 74 ], 75} 76 77// object 78 79cc_test { 80 name: "slesTest_object", 81 gtest: false, 82 83 srcs: ["object.c"], 84 85 shared_libs: [ 86 "liblog", 87 "libOpenSLES", 88 "libOpenMAXAL", 89 ], 90 91 static_libs: [ 92 "libOpenSLESUT", 93 "liblog", 94 ], 95 96 cflags: [ 97 "-Werror", 98 "-Wall", 99 100 "-UNDEBUG", 101 "-Wno-deprecated-declarations", 102 ], 103} 104 105// configbq 106 107cc_test { 108 name: "slesTest_configbq", 109 gtest: false, 110 111 srcs: ["configbq.c"], 112 113 shared_libs: [ 114 "liblog", 115 "libOpenSLES", 116 ], 117 118 cflags: [ 119 "-Werror", 120 "-Wall", 121 122 "-UNDEBUG", 123 "-Wno-deprecated-declarations", 124 ], 125} 126 127// reverb 128 129cc_test { 130 name: "slesTest_reverb", 131 gtest: false, 132 133 srcs: ["reverb.c"], 134 135 shared_libs: [ 136 "liblog", 137 "libOpenSLES", 138 ], 139 140 static_libs: [ 141 "libOpenSLESUT", 142 "liblog", 143 ], 144 145 cflags: [ 146 "-Werror", 147 "-Wall", 148 149 "-UNDEBUG", 150 "-Wno-deprecated-declarations", 151 ], 152} 153 154// srcsink 155 156cc_test { 157 name: "slesTest_srcsink", 158 gtest: false, 159 160 srcs: ["srcsink.c"], 161 162 shared_libs: [ 163 "liblog", 164 "libOpenSLES", 165 ], 166 167 static_libs: [ 168 "libOpenSLESUT", 169 "liblog", 170 ], 171 172 cflags: [ 173 "-Werror", 174 "-Wall", 175 176 "-UNDEBUG", 177 "-Wno-deprecated-declarations", 178 ], 179} 180 181// outputmix 182 183cc_test { 184 name: "slesTest_outputmix", 185 gtest: false, 186 187 srcs: ["outputmix.c"], 188 189 shared_libs: [ 190 "liblog", 191 "libOpenSLES", 192 "libOpenMAXAL", 193 ], 194 195 static_libs: [ 196 "libOpenSLESUT", 197 "liblog", 198 ], 199 200 cflags: [ 201 "-Werror", 202 "-Wall", 203 204 "-UNDEBUG", 205 "-Wno-deprecated-declarations", 206 ], 207} 208 209// urimime 210 211cc_test { 212 name: "slesTest_urimime", 213 gtest: false, 214 215 srcs: ["urimime.c"], 216 217 shared_libs: [ 218 "liblog", 219 "libOpenSLES", 220 "libOpenMAXAL", 221 ], 222 223 static_libs: [ 224 "libOpenSLESUT", 225 "liblog", 226 ], 227 228 cflags: [ 229 "-Werror", 230 "-Wall", 231 232 "-UNDEBUG", 233 "-Wno-deprecated-declarations", 234 ], 235} 236 237// dim 238 239cc_test { 240 name: "slesTest_dim", 241 gtest: false, 242 243 srcs: ["dim.c"], 244 245 shared_libs: [ 246 "liblog", 247 "libOpenSLES", 248 "libOpenMAXAL", 249 ], 250 251 static_libs: [ 252 "libOpenSLESUT", 253 "liblog", 254 ], 255 256 cflags: [ 257 "-Werror", 258 "-Wall", 259 260 "-UNDEBUG", 261 "-Wno-deprecated-declarations", 262 ], 263} 264 265// multithread 266 267cc_test { 268 name: "slesTest_multithread", 269 gtest: false, 270 271 srcs: ["multithread.c"], 272 273 shared_libs: [ 274 "liblog", 275 "libOpenSLES", 276 "libOpenMAXAL", 277 ], 278 279 static_libs: [ 280 "libOpenSLESUT", 281 "liblog", 282 ], 283 284 cflags: [ 285 "-Werror", 286 "-Wall", 287 288 "-UNDEBUG", 289 "-Wno-deprecated-declarations", 290 ], 291} 292 293// playbq 294 295cc_test { 296 name: "slesTest_playbq", 297 gtest: false, 298 299 srcs: ["playbq.cpp"], 300 301 shared_libs: [ 302 "libaudioutils", 303 "libnbaio", 304 "liblog", 305 "libOpenSLES", 306 "libOpenMAXAL", 307 ], 308 309 static_libs: [ 310 "libOpenSLESUT", 311 "libsndfile", 312 "liblog", 313 ], 314 315 cflags: [ 316 "-Werror", 317 "-Wall", 318 319 "-UNDEBUG", 320 "-Wno-deprecated-declarations", 321 ], 322} 323 324// monkey 325 326cc_test { 327 name: "slesTest_monkey", 328 gtest: false, 329 330 srcs: ["monkey.c"], 331 332 shared_libs: [ 333 "liblog", 334 "libOpenSLES", 335 "libOpenMAXAL", 336 ], 337 338 static_libs: [ 339 "libOpenSLESUT", 340 "liblog", 341 ], 342 343 cflags: [ 344 "-Werror", 345 "-Wall", 346 347 "-UNDEBUG", 348 "-Wno-deprecated-declarations", 349 ], 350} 351 352// xa 353 354cc_test { 355 name: "slesTest_xa", 356 gtest: false, 357 358 srcs: ["xa.c"], 359 360 shared_libs: [ 361 "liblog", 362 "libOpenMAXAL", 363 ], 364 365 static_libs: [ 366 "libOpenSLESUT", 367 "liblog", 368 ], 369 370 cflags: [ 371 "-Werror", 372 "-Wall", 373 374 "-UNDEBUG", 375 ], 376} 377 378// dual 379 380cc_test { 381 name: "slesTest_dual", 382 gtest: false, 383 384 srcs: ["dual.c"], 385 386 shared_libs: [ 387 "liblog", 388 "libOpenSLES", 389 "libOpenMAXAL", 390 ], 391 392 static_libs: [ 393 "libOpenSLESUT", 394 "liblog", 395 ], 396 397 cflags: [ 398 "-Werror", 399 "-Wall", 400 401 "-UNDEBUG", 402 "-Wno-deprecated-declarations", 403 ], 404} 405 406// xaplay 407 408cc_test { 409 name: "slesTest_xaplay", 410 gtest: false, 411 412 srcs: [ 413 "xaplay.c", 414 "nativewindow.cpp", 415 ], 416 417 shared_libs: [ 418 "libutils", 419 "liblog", 420 "libOpenMAXAL", 421 "libui", 422 "libgui", 423 "libbinder", 424 "libandroid", 425 ], 426 427 static_libs: [ 428 "libOpenSLESUT", 429 "liblog", 430 ], 431 432 cflags: [ 433 "-UNDEBUG", 434 "-Wall", 435 "-Wextra", 436 "-Werror", 437 ], 438} 439 440subdirs = ["streamSource"] 441