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