Home | History | Annotate | Download | only in examples
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 # slesTest_recBuffQueue
      4 
      5 include $(CLEAR_VARS)
      6 
      7 LOCAL_MODULE_TAGS := tests
      8 
      9 LOCAL_C_INCLUDES:= \
     10 	$(call include-path-for, wilhelm) \
     11 	$(call include-path-for, audio-utils)
     12 
     13 LOCAL_SRC_FILES:= \
     14 	slesTestRecBuffQueue.cpp
     15 
     16 LOCAL_SHARED_LIBRARIES := \
     17 	libaudioutils \
     18 	libOpenSLES
     19 
     20 LOCAL_STATIC_LIBRARIES := \
     21 	libsndfile
     22 
     23 ifeq ($(TARGET_OS),linux)
     24 	LOCAL_CFLAGS += -DXP_UNIX
     25 endif
     26 
     27 LOCAL_MODULE:= slesTest_recBuffQueue
     28 
     29 include $(BUILD_EXECUTABLE)
     30 
     31 # slesTest_playFdPath
     32 
     33 include $(CLEAR_VARS)
     34 
     35 LOCAL_MODULE_TAGS := tests
     36 
     37 LOCAL_C_INCLUDES:= \
     38 	$(call include-path-for, wilhelm)
     39 
     40 LOCAL_SRC_FILES:= \
     41 	slesTestPlayFdPath.cpp
     42 
     43 LOCAL_SHARED_LIBRARIES := \
     44 	libOpenSLES
     45 
     46 ifeq ($(TARGET_OS),linux)
     47 	LOCAL_CFLAGS += -DXP_UNIX
     48 endif
     49 
     50 LOCAL_MODULE:= slesTest_playFdPath
     51 
     52 include $(BUILD_EXECUTABLE)
     53 
     54 # slesTest_feedback
     55 
     56 include $(CLEAR_VARS)
     57 
     58 LOCAL_MODULE_TAGS := tests
     59 
     60 LOCAL_C_INCLUDES:= \
     61 	$(call include-path-for, wilhelm) \
     62 	$(call include-path-for, audio-utils)
     63 
     64 LOCAL_SRC_FILES:= \
     65     slesTestFeedback.cpp
     66 
     67 LOCAL_SHARED_LIBRARIES := \
     68 	libaudioutils \
     69 	libOpenSLES
     70 
     71 LOCAL_STATIC_LIBRARIES := \
     72 	libsndfile
     73 
     74 ifeq ($(TARGET_OS),linux)
     75 	LOCAL_CFLAGS += -DXP_UNIX
     76 	#LOCAL_SHARED_LIBRARIES += librt
     77 endif
     78 
     79 LOCAL_CFLAGS += -UNDEBUG
     80 
     81 LOCAL_MODULE:= slesTest_feedback
     82 
     83 include $(BUILD_EXECUTABLE)
     84 
     85 # slesTest_sawtoothBufferQueue
     86 
     87 include $(CLEAR_VARS)
     88 
     89 LOCAL_MODULE_TAGS := tests
     90 
     91 LOCAL_C_INCLUDES:= \
     92 	$(call include-path-for, wilhelm)
     93 
     94 LOCAL_SRC_FILES:= \
     95 	slesTestSawtoothBufferQueue.cpp
     96 
     97 LOCAL_SHARED_LIBRARIES := \
     98 	libOpenSLES
     99 
    100 ifeq ($(TARGET_OS),linux)
    101 	LOCAL_CFLAGS += -DXP_UNIX
    102 	#LOCAL_SHARED_LIBRARIES += librt
    103 endif
    104 
    105 LOCAL_MODULE:= slesTest_sawtoothBufferQueue
    106 
    107 include $(BUILD_EXECUTABLE)
    108 
    109 # slesTest_eqFdPath
    110 
    111 include $(CLEAR_VARS)
    112 
    113 LOCAL_MODULE_TAGS := tests
    114 
    115 LOCAL_C_INCLUDES:= \
    116 	$(call include-path-for, wilhelm)
    117 
    118 LOCAL_SRC_FILES:= \
    119 	slesTestEqFdPath.cpp
    120 
    121 LOCAL_SHARED_LIBRARIES := \
    122 	libOpenSLES
    123 
    124 ifeq ($(TARGET_OS),linux)
    125 	LOCAL_CFLAGS += -DXP_UNIX
    126 endif
    127 
    128 LOCAL_MODULE:= slesTest_eqFdPath
    129 
    130 include $(BUILD_EXECUTABLE)
    131 
    132 # slesTest_eqOutputPath
    133 
    134 include $(CLEAR_VARS)
    135 
    136 LOCAL_MODULE_TAGS := tests
    137 
    138 LOCAL_C_INCLUDES:= \
    139 	$(call include-path-for, wilhelm)
    140 
    141 LOCAL_SRC_FILES:= \
    142 	slesTestEqOutputPath.cpp
    143 
    144 LOCAL_SHARED_LIBRARIES := \
    145 	libOpenSLES
    146 
    147 ifeq ($(TARGET_OS),linux)
    148 	LOCAL_CFLAGS += -DXP_UNIX
    149 endif
    150 
    151 LOCAL_MODULE:= slesTest_eqOutputPath
    152 
    153 include $(BUILD_EXECUTABLE)
    154 
    155 # slesTest_bassboostPath
    156 
    157 include $(CLEAR_VARS)
    158 
    159 LOCAL_MODULE_TAGS := tests
    160 
    161 LOCAL_C_INCLUDES:= \
    162 	$(call include-path-for, wilhelm)
    163 
    164 LOCAL_SRC_FILES:= \
    165 	slesTestBassBoostPath.cpp
    166 
    167 LOCAL_SHARED_LIBRARIES := \
    168 	libOpenSLES
    169 
    170 ifeq ($(TARGET_OS),linux)
    171 	LOCAL_CFLAGS += -DXP_UNIX
    172 endif
    173 
    174 LOCAL_MODULE:= slesTest_bassboostPath
    175 
    176 include $(BUILD_EXECUTABLE)
    177 
    178 # slesTest_virtualizer
    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 	slesTestVirtualizerPath.cpp
    189 
    190 LOCAL_SHARED_LIBRARIES := \
    191 	libOpenSLES
    192 
    193 ifeq ($(TARGET_OS),linux)
    194 	LOCAL_CFLAGS += -DXP_UNIX
    195 endif
    196 
    197 LOCAL_MODULE:= slesTest_virtualizer
    198 
    199 include $(BUILD_EXECUTABLE)
    200 
    201 # slesTest_effectCapabilities
    202 
    203 include $(CLEAR_VARS)
    204 
    205 LOCAL_MODULE_TAGS := tests
    206 
    207 LOCAL_C_INCLUDES:= \
    208 	$(call include-path-for, wilhelm)
    209 
    210 LOCAL_SRC_FILES:= \
    211 	slesTestEffectCapabilities.cpp
    212 
    213 LOCAL_SHARED_LIBRARIES := \
    214 	libOpenSLES
    215 
    216 ifeq ($(TARGET_OS),linux)
    217 	LOCAL_CFLAGS += -DXP_UNIX
    218 endif
    219 
    220 LOCAL_MODULE:= slesTest_effectCapabilities
    221 
    222 include $(BUILD_EXECUTABLE)
    223 
    224 # slesTest_sendToPresetReverb
    225 
    226 include $(CLEAR_VARS)
    227 
    228 LOCAL_MODULE_TAGS := tests
    229 
    230 LOCAL_C_INCLUDES:= \
    231 	$(call include-path-for, wilhelm)
    232 
    233 LOCAL_SRC_FILES:= \
    234 	slesTestSendToPresetReverb.cpp
    235 
    236 LOCAL_SHARED_LIBRARIES := \
    237 	libOpenSLES
    238 
    239 ifeq ($(TARGET_OS),linux)
    240 	LOCAL_CFLAGS += -DXP_UNIX
    241 endif
    242 
    243 LOCAL_MODULE:= slesTest_sendToPresetReverb
    244 
    245 include $(BUILD_EXECUTABLE)
    246 
    247 # slesTest_decodeToBuffQueue
    248 
    249 include $(CLEAR_VARS)
    250 
    251 LOCAL_MODULE_TAGS := tests
    252 
    253 LOCAL_C_INCLUDES:= \
    254 	$(call include-path-for, wilhelm)
    255 
    256 LOCAL_SRC_FILES:= \
    257 	slesTestDecodeToBuffQueue.cpp
    258 
    259 LOCAL_SHARED_LIBRARIES := \
    260 	libOpenSLES
    261 
    262 ifeq ($(TARGET_OS),linux)
    263 	LOCAL_CFLAGS += -DXP_UNIX
    264 endif
    265 
    266 LOCAL_MODULE:= slesTest_decodeToBuffQueue
    267 
    268 include $(BUILD_EXECUTABLE)
    269 
    270 ###################
    271 # slesTestDecodeAac
    272 
    273 include $(CLEAR_VARS)
    274 
    275 LOCAL_MODULE_TAGS := tests
    276 
    277 LOCAL_C_INCLUDES:= \
    278 	$(call include-path-for, wilhelm)
    279 
    280 LOCAL_SRC_FILES:= \
    281 	slesTestDecodeAac.cpp
    282 
    283 LOCAL_SHARED_LIBRARIES := \
    284 	libOpenSLES
    285 
    286 LOCAL_STATIC_LIBRARIES := libcpustats
    287 
    288 ifeq ($(TARGET_OS),linux)
    289 	LOCAL_CFLAGS += -DXP_UNIX
    290 endif
    291 
    292 LOCAL_CFLAGS += -UNDEBUG
    293 
    294 LOCAL_MODULE:= slesTest_decodeAac
    295 
    296 include $(BUILD_EXECUTABLE)
    297 
    298 #######################################
    299 # OpenMAX AL example code
    300 
    301 # xaVideoDecoderCapabilities
    302 
    303 include $(CLEAR_VARS)
    304 
    305 LOCAL_MODULE_TAGS := tests
    306 
    307 LOCAL_C_INCLUDES:= \
    308 	$(call include-path-for, wilhelm)
    309 
    310 LOCAL_SRC_FILES:= \
    311 	xaVideoDecoderCapabilities.cpp
    312 
    313 LOCAL_SHARED_LIBRARIES := \
    314 	libOpenMAXAL
    315 
    316 ifeq ($(TARGET_OS),linux)
    317 	LOCAL_CFLAGS += -DXP_UNIX
    318 endif
    319 
    320 LOCAL_MODULE:= xaVideoDecoderCapabilities
    321 
    322 include $(BUILD_EXECUTABLE)
    323