blob: 6c52e64728df27e2c082b063535ebfb7fcec321e [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
Dan Willemsen66fced62016-03-09 11:01:43 -08008LOCAL_CFLAGS_darwin += -DGTEST_OS_MAC
Dan Willemsen7a549852015-08-13 17:51:40 -07009LOCAL_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 -080012
Colin Cross3a0a8912015-09-25 16:11:31 -070013LOCAL_STATIC_LIBRARIES += libgtest_main_host libgtest_host