Android.mk revision 262059f71a68edc5e510427c63f5f1623d3672a8
1# Build the unit tests. 2ifneq ($(TARGET_SIMULATOR),true) 3 4LOCAL_PATH:= $(call my-dir) 5include $(CLEAR_VARS) 6 7LOCAL_MODULE_TAGS := tests 8 9LOCAL_C_INCLUDES:= \ 10 bionic \ 11 bionic/libstdc++/include \ 12 external/gtest/include \ 13 system/media/wilhelm/include \ 14 external/stlport/stlport \ 15 system/media/wilhelm/src/ut 16 17LOCAL_SRC_FILES:= \ 18 BufferQueue_test.cpp 19 20LOCAL_SHARED_LIBRARIES := \ 21 libutils \ 22 libOpenSLES \ 23 libstlport 24 25LOCAL_STATIC_LIBRARIES := \ 26 libOpenSLESUT \ 27 libgtest 28 29ifeq ($(TARGET_OS),linux) 30 LOCAL_CFLAGS += -DXP_UNIX 31 #LOCAL_SHARED_LIBRARIES += librt 32endif 33 34LOCAL_MODULE:= BufferQueue_test 35 36LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest 37 38include $(BUILD_EXECUTABLE) 39 40endif 41# Build the manual test programs. 42include $(call all-subdir-makefiles) 43