blob: e152468a5d6e4e00d57e49ca1aabc89eaa06b458 [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 \
Andy Hung857d5a22015-03-26 18:46:00 -070036 ../BufferProviders.cpp
Andy Hunge4fc4232014-06-17 15:10:51 -070037
38LOCAL_C_INCLUDES := \
Andy Hunge4fc4232014-06-17 15:10:51 -070039 $(call include-path-for, audio-effects) \
40 $(call include-path-for, audio-utils) \
Ricardo Garciaf097cae2015-04-13 12:17:21 -070041 frameworks/av/services/audioflinger \
42 external/sonic
Andy Hunge4fc4232014-06-17 15:10:51 -070043
44LOCAL_STATIC_LIBRARIES := \
45 libsndfile
46
47LOCAL_SHARED_LIBRARIES := \
Andy Hunge4fc4232014-06-17 15:10:51 -070048 libeffects \
49 libnbaio \
50 libcommon_time_client \
51 libaudioresampler \
52 libaudioutils \
53 libdl \
54 libcutils \
55 libutils \
Ricardo Garciaf097cae2015-04-13 12:17:21 -070056 liblog \
57 libsonic
Andy Hunge4fc4232014-06-17 15:10:51 -070058
59LOCAL_MODULE:= test-mixer
60
61LOCAL_MODULE_TAGS := optional
62
Dan Alberteffaa782014-11-10 14:47:41 -080063LOCAL_CXX_STL := libc++
64
Andy Hunge4fc4232014-06-17 15:10:51 -070065include $(BUILD_EXECUTABLE)