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_ANDROID -DGTEST_HAS_STD_STRING
      7 
      8 LOCAL_C_INCLUDES += external/gtest/include
      9 LOCAL_STATIC_LIBRARIES += libgtest libgtest_main
     10 
     11 ifndef LOCAL_SDK_VERSION
     12 LOCAL_C_INCLUDES += bionic \
     13                     bionic/libstdc++/include \
     14                     external/stlport/stlport
     15 LOCAL_SHARED_LIBRARIES += libstlport
     16 endif
     17 
     18 ifndef LOCAL_MODULE_PATH
     19 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_NATIVE_TESTS)/$(LOCAL_MODULE)
     20 endif
     21 
     22 include $(BUILD_EXECUTABLE)
     23