blob: 7bba05baaabbda39796eac03d475fa78d822f234 [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 \
13 libstlport \
14 libaudioutils \
15 libaudioresampler
16
17LOCAL_STATIC_LIBRARIES := \
18 libgtest \
19 libgtest_main
20
21LOCAL_C_INCLUDES := \
22 bionic \
23 bionic/libstdc++/include \
24 external/gtest/include \
25 external/stlport/stlport \
Andy Hungc0e5ec82014-06-17 14:33:39 -070026 $(call include-path-for, audio-utils) \
Andy Hung546734b2014-04-01 18:31:42 -070027 frameworks/av/services/audioflinger
28
29LOCAL_SRC_FILES := \
30 resampler_tests.cpp
31
32LOCAL_MODULE := resampler_tests
33LOCAL_MODULE_TAGS := tests
34
35include $(BUILD_EXECUTABLE)
Andy Hunge4fc4232014-06-17 15:10:51 -070036
37#
38# audio mixer test tool
39#
40include $(CLEAR_VARS)
41
42LOCAL_SRC_FILES:= \
43 test-mixer.cpp \
44 ../AudioMixer.cpp.arm \
45
46LOCAL_C_INCLUDES := \
47 bionic \
48 bionic/libstdc++/include \
49 external/stlport/stlport \
50 $(call include-path-for, audio-effects) \
51 $(call include-path-for, audio-utils) \
52 frameworks/av/services/audioflinger
53
54LOCAL_STATIC_LIBRARIES := \
55 libsndfile
56
57LOCAL_SHARED_LIBRARIES := \
58 libstlport \
59 libeffects \
60 libnbaio \
61 libcommon_time_client \
62 libaudioresampler \
63 libaudioutils \
64 libdl \
65 libcutils \
66 libutils \
67 liblog
68
69LOCAL_MODULE:= test-mixer
70
71LOCAL_MODULE_TAGS := optional
72
73include $(BUILD_EXECUTABLE)