blob: 8935981c4cf075b445d43b9e7748f7ee51408716 [file] [log] [blame]
Andy Hung546734b2014-04-01 18:31:42 -07001# Build the unit tests for audioflinger
2
Andy Hungc0e5ec82014-06-17 14:33:39 -07003#
4# resampler unit test
5#
Andy Hung546734b2014-04-01 18:31:42 -07006LOCAL_PATH:= $(call my-dir)
7include $(CLEAR_VARS)
8
9LOCAL_SHARED_LIBRARIES := \
10 liblog \
11 libutils \
12 libcutils \
Andy Hung546734b2014-04-01 18:31:42 -070013 libaudioutils \
14 libaudioresampler
15
Andy Hung546734b2014-04-01 18:31:42 -070016LOCAL_C_INCLUDES := \
Andy Hungc0e5ec82014-06-17 14:33:39 -070017 $(call include-path-for, audio-utils) \
Andy Hung546734b2014-04-01 18:31:42 -070018 frameworks/av/services/audioflinger
19
20LOCAL_SRC_FILES := \
21 resampler_tests.cpp
22
23LOCAL_MODULE := resampler_tests
24LOCAL_MODULE_TAGS := tests
25
Dan Alberteffaa782014-11-10 14:47:41 -080026include $(BUILD_NATIVE_TEST)
Andy Hunge4fc4232014-06-17 15:10:51 -070027
28#
29# audio mixer test tool
30#
31include $(CLEAR_VARS)
32
33LOCAL_SRC_FILES:= \
34 test-mixer.cpp \
35 ../AudioMixer.cpp.arm \
36
37LOCAL_C_INCLUDES := \
Andy Hunge4fc4232014-06-17 15:10:51 -070038 $(call include-path-for, audio-effects) \
39 $(call include-path-for, audio-utils) \
40 frameworks/av/services/audioflinger
41
42LOCAL_STATIC_LIBRARIES := \
43 libsndfile
44
45LOCAL_SHARED_LIBRARIES := \
Andy Hunge4fc4232014-06-17 15:10:51 -070046 libeffects \
47 libnbaio \
48 libcommon_time_client \
49 libaudioresampler \
50 libaudioutils \
51 libdl \
52 libcutils \
53 libutils \
54 liblog
55
56LOCAL_MODULE:= test-mixer
57
58LOCAL_MODULE_TAGS := optional
59
Dan Alberteffaa782014-11-10 14:47:41 -080060LOCAL_CXX_STL := libc++
61
Andy Hunge4fc4232014-06-17 15:10:51 -070062include $(BUILD_EXECUTABLE)