2010-07-20 20:08:47 +02:00
|
|
|
###########################################
|
|
|
|
## A thin wrapper around BUILD_EXECUTABLE
|
|
|
|
## Common flags for native tests are added.
|
|
|
|
###########################################
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING
|
|
|
|
LOCAL_C_INCLUDES += bionic \
|
|
|
|
bionic/libstdc++/include \
|
|
|
|
external/gtest/include \
|
|
|
|
external/stlport/stlport
|
2010-07-22 01:18:21 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES += libgtest libgtest_main
|
2010-07-20 20:08:47 +02:00
|
|
|
LOCAL_SHARED_LIBRARIES += libstlport
|
|
|
|
|
|
|
|
ifndef LOCAL_MODULE_PATH
|
2010-07-27 01:25:55 +02:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
|
2010-07-20 20:08:47 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|