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