blob: fcb9eebac3a0c9f7e89a824b63e5fcc10128e3a9 [file] [log] [blame]
# Build the unit tests.
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := tests
LOCAL_C_INCLUDES:= \
bionic \
bionic/libstdc++/include \
external/gtest/include \
system/media/wilhelm/include \
external/stlport/stlport \
system/media/wilhelm/src/ut
LOCAL_SRC_FILES:= \
BufferQueue_test.cpp
LOCAL_SHARED_LIBRARIES := \
libutils \
libOpenSLES \
libstlport
LOCAL_STATIC_LIBRARIES := \
libOpenSLESUT \
libgtest
ifeq ($(TARGET_OS),linux)
LOCAL_CFLAGS += -DXP_UNIX
#LOCAL_SHARED_LIBRARIES += librt
endif
LOCAL_MODULE:= BufferQueue_test
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest
include $(BUILD_EXECUTABLE)
# Build the manual test programs.
include $(call all-subdir-makefiles)