blob: 31ffbdc05c25b52cd10617e76a5aeeff17527338 [file] [log] [blame]
Andy Hung068561c2017-01-03 17:09:32 -08001# Build the unit tests for libaudioprocessing
2
3LOCAL_PATH := $(call my-dir)
4
5#
6# resampler unit test
7#
8include $(CLEAR_VARS)
9
10LOCAL_SHARED_LIBRARIES := \
11 libaudioutils \
12 libaudioprocessing \
13 libcutils \
14 liblog \
15 libutils \
16
17LOCAL_C_INCLUDES := \
18 $(call include-path-for, audio-utils) \
19
20LOCAL_SRC_FILES := \
21 resampler_tests.cpp
22
Chih-Hung Hsieh6fd8b602018-10-11 13:49:51 -070023LOCAL_HEADER_LIBRARIES := libbase_headers
24
Andy Hung068561c2017-01-03 17:09:32 -080025LOCAL_MODULE := resampler_tests
26
27LOCAL_MODULE_TAGS := tests
28
29LOCAL_CFLAGS := -Werror -Wall
30
31include $(BUILD_NATIVE_TEST)
32
33#
34# audio mixer test tool
35#
36include $(CLEAR_VARS)
37
38LOCAL_SRC_FILES := \
39 test-mixer.cpp \
40
41LOCAL_C_INCLUDES := \
42 $(call include-path-for, audio-utils) \
43
44LOCAL_STATIC_LIBRARIES := \
45 libsndfile \
46
47LOCAL_SHARED_LIBRARIES := \
48 libaudioprocessing \
49 libaudioutils \
50 libcutils \
51 liblog \
52 libutils \
53
Chih-Hung Hsieh6fd8b602018-10-11 13:49:51 -070054LOCAL_HEADER_LIBRARIES := libbase_headers
55
Andy Hung068561c2017-01-03 17:09:32 -080056LOCAL_MODULE := test-mixer
57
58LOCAL_MODULE_TAGS := optional
59
60LOCAL_CFLAGS := -Werror -Wall
61
62include $(BUILD_EXECUTABLE)
63
64#
65# build audio resampler test tool
66#
67include $(CLEAR_VARS)
68
69LOCAL_SRC_FILES := \
70 test-resampler.cpp \
71
72LOCAL_C_INCLUDES := \
73 $(call include-path-for, audio-utils) \
74
75LOCAL_STATIC_LIBRARIES := \
76 libsndfile \
77
78LOCAL_SHARED_LIBRARIES := \
79 libaudioprocessing \
80 libaudioutils \
81 libcutils \
82 liblog \
83 libutils \
84
Chih-Hung Hsieh2b487032018-09-13 14:16:02 -070085LOCAL_HEADER_LIBRARIES := libbase_headers
86
Andy Hung068561c2017-01-03 17:09:32 -080087LOCAL_MODULE := test-resampler
88
89LOCAL_MODULE_TAGS := optional
90
91LOCAL_CFLAGS := -Werror -Wall
92
93include $(BUILD_EXECUTABLE)