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