android_build/core/host_native_test.mk
Ying Wang 4c681745e6 Flags common for native tests
With the CL, "include $(BUILD_NATIVE_TEST)" to build native test;
"include $(BUILD_HOST_NATIVE_TEST)" to build a host native test.

Change-Id: Icdbbcf906cd4c5c35e65962897490052cd051102
2010-07-21 11:22:52 -07:00

15 lines
547 B
Makefile

################################################
## A thin wrapper around BUILD_HOST_EXECUTABLE
## Common flags for host native tests are added.
################################################
LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING -O0 -g
LOCAL_C_INCLUDES += \
bionic/libstdc++/include \
external/gtest/include \
external/astl/include
LOCAL_STATIC_LIBRARIES += libgtest_host libgtest_main_host libastl_host
LOCAL_SHARED_LIBRARIES +=
include $(BUILD_HOST_EXECUTABLE)