1# Build the unit tests for audio_utils 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6LOCAL_SHARED_LIBRARIES := \ 7 liblog \ 8 libcutils \ 9 libaudioutils 10 11LOCAL_C_INCLUDES := \ 12 $(call include-path-for, audio-utils) 13 14LOCAL_SRC_FILES := \ 15 primitives_tests.cpp 16 17LOCAL_MODULE := primitives_tests 18LOCAL_MODULE_TAGS := tests 19 20LOCAL_CFLAGS := -Werror -Wall 21include $(BUILD_NATIVE_TEST) 22 23include $(CLEAR_VARS) 24LOCAL_SRC_FILES := fifo_tests.cpp 25LOCAL_MODULE := fifo_tests 26LOCAL_C_INCLUDES := $(call include-path-for, audio-utils) 27LOCAL_SHARED_LIBRARIES := libaudioutils 28# libmedia libbinder libcutils libutils 29LOCAL_STATIC_LIBRARIES := libsndfile 30LOCAL_CFLAGS := -Werror -Wall 31include $(BUILD_EXECUTABLE) 32 33include $(CLEAR_VARS) 34LOCAL_SRC_FILES := fifo_tests.cpp 35LOCAL_MODULE := fifo_tests 36LOCAL_C_INCLUDES := $(call include-path-for, audio-utils) 37# libmedia libbinder libcutils libutils 38LOCAL_STATIC_LIBRARIES := libsndfile libaudioutils liblog 39LOCAL_CFLAGS := -Werror -Wall 40include $(BUILD_HOST_EXECUTABLE) 41 42include $(CLEAR_VARS) 43LOCAL_SRC_FILES := limiter_tests.c 44LOCAL_MODULE := limiter_tests 45LOCAL_C_INCLUDES := $(call include-path-for, audio-utils) 46LOCAL_STATIC_LIBRARIES := libaudioutils 47LOCAL_CFLAGS := -Werror -Wall 48include $(BUILD_HOST_EXECUTABLE) 49