host_test_internal.mk revision 965bfefb6b5f7a89d10fa5c03d06591e99314c4d
1#####################################################
2## Shared definitions for all host test compilations.
3#####################################################
4
5LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING -O0 -g
6LOCAL_C_INCLUDES +=  external/gtest/include
7
8ifneq ($(filter libc++,$(LOCAL_SHARED_LIBRARIES)),)
9LOCAL_STATIC_LIBRARIES += libgtest_libcxx_host libgtest_main_libcxx_host
10else
11LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
12LOCAL_SHARED_LIBRARIES +=
13endif
14
15LOCAL_LDLIBS += -lpthread
16