Home | History | Annotate | Download | only in tests
      1 # Build the unit tests for libaudioprocessing
      2 
      3 LOCAL_PATH := $(call my-dir)
      4 
      5 #
      6 # resampler unit test
      7 #
      8 include $(CLEAR_VARS)
      9 
     10 LOCAL_SHARED_LIBRARIES := \
     11     libaudioutils \
     12     libaudioprocessing \
     13     libcutils \
     14     liblog \
     15     libutils \
     16 
     17 LOCAL_C_INCLUDES := \
     18     $(call include-path-for, audio-utils) \
     19 
     20 LOCAL_SRC_FILES := \
     21     resampler_tests.cpp
     22 
     23 LOCAL_MODULE := resampler_tests
     24 
     25 LOCAL_MODULE_TAGS := tests
     26 
     27 LOCAL_CFLAGS := -Werror -Wall
     28 
     29 include $(BUILD_NATIVE_TEST)
     30 
     31 #
     32 # audio mixer test tool
     33 #
     34 include $(CLEAR_VARS)
     35 
     36 LOCAL_SRC_FILES := \
     37     test-mixer.cpp \
     38 
     39 LOCAL_C_INCLUDES := \
     40     $(call include-path-for, audio-utils) \
     41 
     42 LOCAL_STATIC_LIBRARIES := \
     43     libsndfile \
     44 
     45 LOCAL_SHARED_LIBRARIES := \
     46     libaudioprocessing \
     47     libaudioutils \
     48     libcutils \
     49     liblog \
     50     libutils \
     51 
     52 LOCAL_MODULE := test-mixer
     53 
     54 LOCAL_MODULE_TAGS := optional
     55 
     56 LOCAL_CFLAGS := -Werror -Wall
     57 
     58 include $(BUILD_EXECUTABLE)
     59 
     60 #
     61 # build audio resampler test tool
     62 #
     63 include $(CLEAR_VARS)
     64 
     65 LOCAL_SRC_FILES := \
     66     test-resampler.cpp \
     67 
     68 LOCAL_C_INCLUDES := \
     69     $(call include-path-for, audio-utils) \
     70 
     71 LOCAL_STATIC_LIBRARIES := \
     72     libsndfile \
     73 
     74 LOCAL_SHARED_LIBRARIES := \
     75     libaudioprocessing \
     76     libaudioutils \
     77     libcutils \
     78     liblog \
     79     libutils \
     80 
     81 LOCAL_MODULE := test-resampler
     82 
     83 LOCAL_MODULE_TAGS := optional
     84 
     85 LOCAL_CFLAGS := -Werror -Wall
     86 
     87 include $(BUILD_EXECUTABLE)
     88