965bfefb6b
Change-Id: I19aa58a83a9da680d441af5f3956a2fbdf18c4e4
15 lines
519 B
Makefile
15 lines
519 B
Makefile
#####################################################
|
|
## 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_libcxx_host libgtest_main_libcxx_host
|
|
else
|
|
LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host
|
|
LOCAL_SHARED_LIBRARIES +=
|
|
endif
|
|
|
|
LOCAL_LDLIBS += -lpthread
|