1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := libfoo_static 5 LOCAL_SRC_FILES := foo.cpp 6 LOCAL_CPP_FEATURES := exceptions 7 LOCAL_SHARED_LIBRARIES := gnustl_static 8 include $(BUILD_SHARED_LIBRARY) 9 10 include $(CLEAR_VARS) 11 LOCAL_MODULE := test_exception_crash_static 12 LOCAL_SRC_FILES := main.cpp 13 LOCAL_SHARED_LIBRARIES := libfoo_static 14 include $(BUILD_EXECUTABLE) 15 16 include $(CLEAR_VARS) 17 LOCAL_MODULE := libfoo_shared 18 LOCAL_SRC_FILES := foo.cpp 19 LOCAL_CPP_FEATURES := exceptions 20 LOCAL_SHARED_LIBRARIES := gnustl_shared 21 include $(BUILD_SHARED_LIBRARY) 22 23 include $(CLEAR_VARS) 24 LOCAL_MODULE := test_exception_crash_shared 25 LOCAL_SRC_FILES := main.cpp 26 LOCAL_SHARED_LIBRARIES := libfoo_shared 27 include $(BUILD_EXECUTABLE) 28 29 $(call import-module,cxx-stl/gnu-libstdc++)