| Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 1 | ##################################################### | 
|  | 2 | ## Shared definitions for all host test compilations. | 
|  | 3 | ##################################################### | 
|  | 4 |  | 
| Adam Lesinski | 318217a | 2014-10-20 16:06:44 -0700 | [diff] [blame] | 5 | ifeq ($(HOST_OS),windows) | 
|  | 6 | LOCAL_CFLAGS += -DGTEST_OS_WINDOWS | 
|  | 7 | else | 
|  | 8 | LOCAL_CFLAGS += -DGTEST_OS_LINUX | 
|  | 9 | LOCAL_LDLIBS += -lpthread | 
|  | 10 | endif | 
|  | 11 |  | 
|  | 12 | LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g | 
| Christopher Ferris | 70ca5e5 | 2014-02-04 22:09:16 -0800 | [diff] [blame] | 13 | LOCAL_C_INCLUDES +=  external/gtest/include | 
|  | 14 |  | 
|  | 15 | LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host |