From 4c681745e622cc2887c114d963b62869a9ef93af Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Tue, 20 Jul 2010 11:08:47 -0700 Subject: 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 --- core/host_native_test.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 core/host_native_test.mk (limited to 'core/host_native_test.mk') diff --git a/core/host_native_test.mk b/core/host_native_test.mk new file mode 100644 index 0000000..2a77f1e --- /dev/null +++ b/core/host_native_test.mk @@ -0,0 +1,14 @@ +################################################ +## 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) -- cgit v1.1