Android.mk 768 Bytes
Newer Older
1
# Build the unit tests.
2 3 4 5 6 7 8 9 10
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

LOCAL_C_INCLUDES:= \
    bionic \
    bionic/libstdc++/include \
    external/gtest/include \
Glenn Kasten's avatar
Glenn Kasten committed
11
    $(call include-path-for, wilhelm) \
12
    external/stlport/stlport \
Glenn Kasten's avatar
Glenn Kasten committed
13
    $(call include-path-for, wilhelm-ut)
14 15 16 17 18 19 20 21 22 23

LOCAL_SRC_FILES:= \
    BufferQueue_test.cpp

LOCAL_SHARED_LIBRARIES := \
	libutils \
	libOpenSLES \
    libstlport

LOCAL_STATIC_LIBRARIES := \
24
    libOpenSLESUT \
25 26 27 28 29 30 31 32 33
    libgtest

ifeq ($(TARGET_OS),linux)
	LOCAL_CFLAGS += -DXP_UNIX
	#LOCAL_SHARED_LIBRARIES += librt
endif

LOCAL_MODULE:= BufferQueue_test

34 35
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest

36
include $(BUILD_EXECUTABLE)
Wink Saville's avatar
Wink Saville committed
37

38 39
# Build the manual test programs.
include $(call all-subdir-makefiles)