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