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