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