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