2014-02-05 06:09:16 +00:00
|
|
|
#####################################################
|
|
|
|
## Shared definitions for all host test compilations.
|
|
|
|
#####################################################
|
|
|
|
|
2015-08-14 00:51:40 +00:00
|
|
|
LOCAL_CFLAGS_windows += -DGTEST_OS_WINDOWS
|
|
|
|
LOCAL_CFLAGS_linux += -DGTEST_OS_LINUX
|
|
|
|
LOCAL_LDLIBS_linux += -lpthread
|
|
|
|
LOCAL_CFLAGS_darwin += -DGTEST_OS_LINUX
|
|
|
|
LOCAL_LDLIBS_darwin += -lpthread
|
2014-10-20 23:06:44 +00:00
|
|
|
|
|
|
|
LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
|
2014-02-05 06:09:16 +00:00
|
|
|
LOCAL_C_INCLUDES += external/gtest/include
|
|
|
|
|
2015-09-25 23:11:31 +00:00
|
|
|
LOCAL_STATIC_LIBRARIES += libgtest_main_host libgtest_host
|