Home | History | Annotate | Download | only in core
      1 ###########################################
      2 ## A thin wrapper around BUILD_EXECUTABLE
      3 ## Common flags for native tests are added.
      4 ###########################################
      5 
      6 LOCAL_CFLAGS += -DGTEST_OS_LINUX -DGTEST_HAS_STD_STRING
      7 LOCAL_C_INCLUDES += bionic \
      8                     bionic/libstdc++/include \
      9                     external/gtest/include \
     10                     external/stlport/stlport
     11 LOCAL_STATIC_LIBRARIES += libgtest libgtest_main
     12 LOCAL_SHARED_LIBRARIES += libstlport
     13 
     14 ifndef LOCAL_MODULE_PATH
     15 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
     16 endif
     17 
     18 include $(BUILD_EXECUTABLE)
     19