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