build/gabi++/Android.mk
author Alessio Placitelli <alessio.placitelli@gmail.com>
Wed, 07 Sep 2016 02:39:00 +0200
changeset 314717 66a2fa62d7601aaae4069bc9a2c4ec13854f65e7
parent 268533 a6e94fdb528e48724e354bede9b1924a05ecae10
permissions -rw-r--r--
Bug 1277806 - Add support for the keyed scalars to the scalar registry. r=gfritzsche MozReview-Commit-ID: 8dKj92Kh2Ev

LOCAL_PATH:= $(call my-dir)

libgabi++_cflags := \
	-I$(LOCAL_PATH)/include 

libgabi++_common_src_files := \
	src/array_type_info.cc \
	src/class_type_info.cc \
        src/delete.cc \
	src/dynamic_cast.cc \
	src/enum_type_info.cc \
	src/function_type_info.cc \
        src/new.cc \
	src/pbase_type_info.cc \
	src/pointer_type_info.cc \
	src/pointer_to_member_type_info.cc \
	src/si_class_type_info.cc \
	src/type_info.cc \
	src/vmi_class_type_info.cc

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_CPP_EXTENSION := .cc

LOCAL_SRC_FILES:= $(libgabi++_common_src_files)

LOCAL_MODULE:= libgabi++

LOCAL_CFLAGS := $(libgabi++_cflags)

LOCAL_RTTI_FLAG := -frtti

LOCAL_SYSTEM_SHARED_LIBRARIES := libc

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_CPP_EXTENSION := .cc

LOCAL_SRC_FILES:= $(libgabi++_common_src_files)

LOCAL_MODULE:= libgabi++

LOCAL_CFLAGS := $(libgabi++_cflags)

LOCAL_RTTI_FLAG := -frtti

LOCAL_SYSTEM_SHARED_LIBRARIES := libc

include $(BUILD_STATIC_LIBRARY)