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 libaudioutils \ 14 libaudioresampler 15 16LOCAL_C_INCLUDES := \ 17 $(call include-path-for, audio-utils) \ 18 frameworks/av/services/audioflinger 19 20LOCAL_SRC_FILES := \ 21 resampler_tests.cpp 22 23LOCAL_MODULE := resampler_tests 24LOCAL_MODULE_TAGS := tests 25 26LOCAL_CFLAGS := -Werror -Wall 27 28include $(BUILD_NATIVE_TEST) 29 30# 31# audio mixer test tool 32# 33include $(CLEAR_VARS) 34 35LOCAL_SRC_FILES:= \ 36 test-mixer.cpp \ 37 ../AudioMixer.cpp.arm \ 38 ../BufferProviders.cpp 39 40LOCAL_C_INCLUDES := \ 41 $(call include-path-for, audio-effects) \ 42 $(call include-path-for, audio-utils) \ 43 frameworks/av/services/audioflinger \ 44 external/sonic 45 46LOCAL_STATIC_LIBRARIES := \ 47 libsndfile 48 49LOCAL_SHARED_LIBRARIES := \ 50 libeffects \ 51 libnbaio \ 52 libaudioresampler \ 53 libaudioutils \ 54 libdl \ 55 libcutils \ 56 libutils \ 57 liblog \ 58 libsonic 59 60LOCAL_MODULE:= test-mixer 61 62LOCAL_MODULE_TAGS := optional 63 64LOCAL_CXX_STL := libc++ 65 66LOCAL_CFLAGS := -Werror -Wall 67 68include $(BUILD_EXECUTABLE) 69