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