1LOCAL_PATH:= $(call my-dir) 2 3libgabi++_cflags := \ 4 -I$(LOCAL_PATH)/include 5 6libgabi++_common_src_files := \ 7 src/array_type_info.cc \ 8 src/class_type_info.cc \ 9 src/delete.cc \ 10 src/dynamic_cast.cc \ 11 src/enum_type_info.cc \ 12 src/function_type_info.cc \ 13 src/new.cc \ 14 src/pbase_type_info.cc \ 15 src/pointer_type_info.cc \ 16 src/pointer_to_member_type_info.cc \ 17 src/si_class_type_info.cc \ 18 src/type_info.cc \ 19 src/vmi_class_type_info.cc 20 21include $(CLEAR_VARS) 22 23LOCAL_MODULE_TAGS := optional 24 25LOCAL_CPP_EXTENSION := .cc 26 27LOCAL_SRC_FILES:= $(libgabi++_common_src_files) 28 29LOCAL_MODULE:= libgabi++ 30 31LOCAL_CFLAGS := $(libgabi++_cflags) 32 33LOCAL_RTTI_FLAG := -frtti 34 35LOCAL_SYSTEM_SHARED_LIBRARIES := libc 36 37include $(BUILD_SHARED_LIBRARY) 38 39include $(CLEAR_VARS) 40 41LOCAL_MODULE_TAGS := optional 42 43LOCAL_CPP_EXTENSION := .cc 44 45LOCAL_SRC_FILES:= $(libgabi++_common_src_files) 46 47LOCAL_MODULE:= libgabi++ 48 49LOCAL_CFLAGS := $(libgabi++_cflags) 50 51LOCAL_RTTI_FLAG := -frtti 52 53LOCAL_SYSTEM_SHARED_LIBRARIES := libc 54 55include $(BUILD_STATIC_LIBRARY) 56