• Ying Wang's avatar
    Flags common for native tests · 4c681745
    Ying Wang authored
    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
    4c681745
host_native_test.mk 547 Bytes
################################################
## 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)