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