Android.mk revision 456d8452cb6ceeda3b2134b9077f19ca0f4a1890
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 libaudioutils \ 333 libutils \ 334 libOpenSLES 335 336LOCAL_STATIC_LIBRARIES := \ 337 libOpenSLESUT \ 338 libsndfile 339 340ifeq ($(TARGET_OS),linux) 341 LOCAL_CFLAGS += -DXP_UNIX 342endif 343 344LOCAL_CFLAGS += -UNDEBUG 345 346LOCAL_MODULE:= slesTest_playbq 347 348include $(BUILD_EXECUTABLE) 349 350# monkey 351 352include $(CLEAR_VARS) 353 354LOCAL_MODULE_TAGS := tests 355 356LOCAL_C_INCLUDES:= \ 357 $(call include-path-for, wilhelm) 358 359LOCAL_SRC_FILES:= \ 360 monkey.c 361 362LOCAL_SHARED_LIBRARIES := \ 363 libutils \ 364 libOpenSLES 365 366LOCAL_STATIC_LIBRARIES := \ 367 libOpenSLESUT 368 369ifeq ($(TARGET_OS),linux) 370 LOCAL_CFLAGS += -DXP_UNIX 371endif 372 373LOCAL_CFLAGS += -UNDEBUG 374 375LOCAL_MODULE:= slesTest_monkey 376 377include $(BUILD_EXECUTABLE) 378 379# xa 380 381include $(CLEAR_VARS) 382 383LOCAL_MODULE_TAGS := tests 384 385LOCAL_C_INCLUDES:= \ 386 $(call include-path-for, wilhelm) 387 388LOCAL_SRC_FILES:= \ 389 xa.c 390 391LOCAL_SHARED_LIBRARIES := \ 392 libutils \ 393 libOpenMAXAL 394 395LOCAL_STATIC_LIBRARIES := \ 396 libOpenSLESUT 397 398ifeq ($(TARGET_OS),linux) 399 LOCAL_CFLAGS += -DXP_UNIX 400endif 401 402LOCAL_CFLAGS += -UNDEBUG 403 404LOCAL_MODULE:= slesTest_xa 405 406include $(BUILD_EXECUTABLE) 407 408# dual 409 410include $(CLEAR_VARS) 411 412LOCAL_MODULE_TAGS := tests 413 414LOCAL_C_INCLUDES:= \ 415 $(call include-path-for, wilhelm) 416 417LOCAL_SRC_FILES:= \ 418 dual.c 419 420LOCAL_SHARED_LIBRARIES := \ 421 libutils \ 422 libOpenSLES \ 423 libOpenMAXAL 424 425LOCAL_STATIC_LIBRARIES := \ 426 libOpenSLESUT 427 428ifeq ($(TARGET_OS),linux) 429 LOCAL_CFLAGS += -DXP_UNIX 430endif 431 432LOCAL_CFLAGS += -UNDEBUG 433 434LOCAL_MODULE:= slesTest_dual 435 436include $(BUILD_EXECUTABLE) 437 438# xaplay 439 440include $(CLEAR_VARS) 441 442LOCAL_MODULE_TAGS := tests 443 444LOCAL_C_INCLUDES:= \ 445 $(call include-path-for, wilhelm) 446 447LOCAL_SRC_FILES:= \ 448 xaplay.c nativewindow.cpp 449 450LOCAL_SHARED_LIBRARIES := \ 451 libutils \ 452 libOpenMAXAL \ 453 libgui \ 454 libbinder \ 455 libandroid 456 457LOCAL_STATIC_LIBRARIES := \ 458 libOpenSLESUT 459 460ifeq ($(TARGET_OS),linux) 461 LOCAL_CFLAGS += -DXP_UNIX 462endif 463 464LOCAL_CFLAGS += -UNDEBUG 465 466LOCAL_MODULE:= xaplay 467 468include $(BUILD_EXECUTABLE) 469