2012-06-21 16:50:05 +02:00
|
|
|
#---------------------------------------------------------------------
|
|
|
|
# Native test application
|
|
|
|
#---------------------------------------------------------------------
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
Tests/gtest/gtest-all.cpp \
|
|
|
|
BinderComponent/ProcReader.cpp \
|
|
|
|
BinderComponent/TegraDetector.cpp \
|
|
|
|
BinderComponent/HardwareDetector.cpp \
|
|
|
|
Tests/PackageManagerStub.cpp \
|
|
|
|
NativeService/CommonPackageManager.cpp \
|
|
|
|
NativeService/PackageInfo.cpp \
|
|
|
|
Tests/PackageManagmentTest.cpp \
|
|
|
|
Tests/PackageInfoTest.cpp \
|
|
|
|
Tests/OpenCVEngineTest.cpp \
|
2012-07-12 13:50:40 +02:00
|
|
|
Tests/TestMain.cpp
|
2012-06-21 16:50:05 +02:00
|
|
|
# Tests/HardwareDetectionTest.cpp \
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES := \
|
|
|
|
$(LOCAL_PATH)/Tests \
|
|
|
|
$(LOCAL_PATH)/Tests/gtest \
|
|
|
|
$(LOCAL_PATH)/include \
|
|
|
|
$(LOCAL_PATH)/BinderComponent \
|
|
|
|
$(LOCAL_PATH)/NativeService \
|
|
|
|
$(LOCAL_PATH)/Tests/gtest/include \
|
|
|
|
$(TOP)/frameworks/base/include \
|
|
|
|
$(TOP)/system/core/include
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -O0 -DGTEST_HAS_CLONE=0 -DGTEST_OS_LINUX_ANDROID=1 -DGTEST_HAS_TR1_TUPLE=0
|
2012-07-12 13:50:40 +02:00
|
|
|
LOCAL_CFLAGS += -D__SUPPORT_ARMEABI_V7A_FEATURES
|
2012-07-16 09:56:12 +02:00
|
|
|
LOCAL_CFLAGS += -D__SUPPORT_TEGRA3
|
2012-10-02 13:02:04 +02:00
|
|
|
LOCAL_CFLAGS += -D__SUPPORT_MIPS
|
2012-07-12 10:02:41 +02:00
|
|
|
#LOCAL_CFLAGS += -D__SUPPORT_ARMEABI_FEATURES
|
2012-06-21 16:50:05 +02:00
|
|
|
|
|
|
|
LOCAL_LDFLAGS = -Wl,-allow-shlib-undefined
|
|
|
|
|
|
|
|
LOCAL_MODULE := OpenCVEngineTestApp
|
|
|
|
|
2012-09-04 08:39:44 +02:00
|
|
|
LOCAL_LDLIBS += -lz -lbinder -llog -lutils
|
2012-06-21 16:50:05 +02:00
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES += libOpenCVEngine
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|