summaryrefslogtreecommitdiffstats
path: root/core/host_test_internal.mk
blob: 426c400ad2d88ba305252dd9c487d8154787eb5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#####################################################
## Shared definitions for all host test compilations.
#####################################################

LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING -O0 -g
LOCAL_C_INCLUDES +=  external/gtest/include

ifneq ($(filter libc++,$(LOCAL_SHARED_LIBRARIES)),)
LOCAL_STATIC_LIBRARIES += libgtest_libc++_host libgtest_main_libc++_host
else
LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
LOCAL_SHARED_LIBRARIES +=
endif

LOCAL_LDLIBS += -lpthread