Android.mk revision 5bb641dc3b855679e0932cb5c366b1b39fbb72f4
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
21ifeq ($(TARGET_OS),linux)
22	LOCAL_CFLAGS += -DXP_UNIX
23endif
24
25LOCAL_MODULE:= BufferQueue_test
26
27include $(BUILD_NATIVE_TEST)
28
29# Build the manual test programs.
30include $(call all-makefiles-under,$(LOCAL_PATH))
31