1LOCAL_PATH := $(call my-dir) 2 3do_test = \ 4$(eval include $$(CLEAR_VARS))\ 5$(eval LOCAL_MODULE := test_gabixx_static_$1)\ 6$(eval LOCAL_SRC_FILES := $2)\ 7$(eval LOCAL_CFLAGS := $3)\ 8$(eval LOCAL_STATIC_LIBRARIES := gabi++_static)\ 9$(eval include $$(BUILD_EXECUTABLE))\ 10\ 11$(eval include $$(CLEAR_VARS))\ 12$(eval LOCAL_MODULE := test_gabixx_shared_$1)\ 13$(eval LOCAL_SRC_FILES := $2)\ 14$(eval LOCAL_CFLAGS := $3)\ 15$(eval LOCAL_SHARED_LIBRARIES := gabi++_shared)\ 16$(eval include $$(BUILD_EXECUTABLE))\ 17 18do_test_simple = $(call do_test,$1,$1.cpp,$2) 19 20$(call do_test,rtti,test_gabixx_rtti.cpp) 21$(call do_test,exceptions,test_gabixx_exceptions.cpp) 22$(call do_test,aux_runtime,test_aux_runtime.cpp) 23$(call do_test_simple,test_guard) 24$(call do_test_simple,catch_array_01) 25$(call do_test_simple,catch_array_02) 26$(call do_test_simple,catch_class_01) 27$(call do_test_simple,catch_class_02) 28$(call do_test_simple,catch_class_03) 29$(call do_test_simple,catch_class_04) 30$(call do_test_simple,catch_const_pointer_nullptr,-std=c++11) 31$(call do_test_simple,catch_function_01) 32$(call do_test_simple,catch_function_02) 33$(call do_test_simple,catch_member_data_pointer_01) 34$(call do_test_simple,catch_member_function_pointer_01) 35$(call do_test_simple,catch_member_pointer_nullptr,-std=c++11) 36$(call do_test_simple,catch_pointer_nullptr,-std=c++11) 37$(call do_test_simple,catch_ptr) 38$(call do_test_simple,catch_ptr_02) 39$(call do_test_simple,dynamic_cast3) 40$(call do_test_simple,dynamic_cast5) 41$(call do_test_simple,test_vector1) 42$(call do_test_simple,test_vector2) 43$(call do_test_simple,test_vector3) 44$(call do_test_simple,unexpected_01,-std=c++11) 45$(call do_test_simple,unexpected_02,-std=c++11) 46$(call do_test_simple,unexpected_03) 47$(call do_test_simple,unwind_01) 48$(call do_test_simple,unwind_02) 49$(call do_test_simple,unwind_03) 50$(call do_test_simple,unwind_04) 51$(call do_test_simple,unwind_05) 52 53include $(CLEAR_VARS) 54LOCAL_MODULE := libtest_malloc_lockup 55LOCAL_SRC_FILES := libtest_malloc_lockup.cpp 56LOCAL_STATIC_LIBRARIES := gabi++_static 57include $(BUILD_SHARED_LIBRARY) 58 59include $(CLEAR_VARS) 60LOCAL_MODULE := malloc_lockup 61LOCAL_SRC_FILES := malloc_lockup.cpp 62include $(BUILD_EXECUTABLE) 63 64$(call import-module,cxx-stl/gabi++) 65