blob: 06949ed3e04fc045b3f4e42c371688a3bbe399b4 [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
14LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host