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