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