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