Home | History | Annotate | Download | only in automated
      1 # Build the unit tests.
      2 LOCAL_PATH:= $(call my-dir)
      3 include $(CLEAR_VARS)
      4 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
      5 
      6 LOCAL_MODULE_TAGS := tests
      7 
      8 LOCAL_C_INCLUDES:= \
      9     $(call include-path-for, wilhelm) \
     10     $(call include-path-for, wilhelm-ut)
     11 
     12 LOCAL_SRC_FILES:= \
     13     BufferQueue_test.cpp
     14 
     15 LOCAL_SHARED_LIBRARIES := \
     16 	libOpenSLES \
     17 
     18 LOCAL_STATIC_LIBRARIES := \
     19     libOpenSLESUT \
     20 
     21 LOCAL_CFLAGS := -Werror -Wall
     22 ifeq ($(TARGET_OS),linux)
     23 	LOCAL_CFLAGS += -DXP_UNIX
     24 endif
     25 
     26 LOCAL_MODULE:= BufferQueue_test
     27 
     28 include $(BUILD_NATIVE_TEST)
     29 
     30 # Build the manual test programs.
     31 include $(call all-makefiles-under,$(LOCAL_PATH))
     32