2014-02-05 07:09:16 +01:00
|
|
|
#####################################################
|
|
|
|
## Shared definitions for all host test compilations.
|
|
|
|
#####################################################
|
|
|
|
|
2014-10-21 01:06:44 +02:00
|
|
|
ifeq ($(HOST_OS),windows)
|
|
|
|
LOCAL_CFLAGS += -DGTEST_OS_WINDOWS
|
|
|
|
else
|
|
|
|
LOCAL_CFLAGS += -DGTEST_OS_LINUX
|
|
|
|
LOCAL_LDLIBS += -lpthread
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
|
2014-02-05 07:09:16 +01:00
|
|
|
LOCAL_C_INCLUDES += external/gtest/include
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
|