OSDN Git Service

kernel.mk: remove the module dir on errors
[android-x86/build.git] / core / host_test_internal.mk
1 #####################################################
2 ## Shared definitions for all host test compilations.
3 #####################################################
4
5 LOCAL_CFLAGS_windows += -DGTEST_OS_WINDOWS
6 LOCAL_CFLAGS_linux += -DGTEST_OS_LINUX
7 LOCAL_LDLIBS_linux += -lpthread
8 LOCAL_CFLAGS_darwin += -DGTEST_OS_LINUX
9 LOCAL_LDLIBS_darwin += -lpthread
10
11 LOCAL_CFLAGS += -DGTEST_HAS_STD_STRING -O0 -g
12 LOCAL_C_INCLUDES +=  external/gtest/include
13
14 LOCAL_STATIC_LIBRARIES += libgtest_main_host libgtest_host