blob: 7f6aff0cef702a5e9653207513a5f43f6f9766a1 [file] [log] [blame]
Christopher Ferris70ca5e52014-02-04 22:09:16 -08001#####################################################
2## Shared definitions for all host test compilations.
3#####################################################
4
Dan Willemsen7a549852015-08-13 17:51:40 -07005LOCAL_CFLAGS_windows += -DGTEST_OS_WINDOWS
6LOCAL_CFLAGS_linux += -DGTEST_OS_LINUX
7LOCAL_LDLIBS_linux += -lpthread
8LOCAL_CFLAGS_darwin += -DGTEST_OS_LINUX
9LOCAL_LDLIBS_darwin += -lpthread
Adam Lesinski318217a2014-10-20 16:06:44 -070010
11LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
Christopher Ferris70ca5e52014-02-04 22:09:16 -080012LOCAL_C_INCLUDES += external/gtest/include
13
Colin Cross3a0a8912015-09-25 16:11:31 -070014LOCAL_STATIC_LIBRARIES += libgtest_main_host libgtest_host