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