1# Build the unit tests for audioflinger 2 3# 4# resampler unit test 5# 6LOCAL_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 \ 26 $(call include-path-for, audio-utils) \ 27 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) 36 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) 74