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