blob: e0070c1b530770ef5cf6a2926bacaade96130983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#####################################################
## Shared definitions for all host test compilations.
#####################################################
ifeq ($(HOST_OS),windows)
LOCAL_CFLAGS += -DGTEST_OS_WINDOWS
else
LOCAL_CFLAGS += -DGTEST_OS_LINUX
LOCAL_LDLIBS += -lpthread
endif
LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
LOCAL_C_INCLUDES += external/gtest/include
LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
|