ea93ae61e3
The libstdc++ linked gtest libraries are no longer necessary. Change-Id: Ia98263bc2541b6c8fd0b3e22bb6fec85104a2210
15 lines
445 B
Makefile
15 lines
445 B
Makefile
#####################################################
|
|
## 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
|