build/gabi++/Android.mk
author Stephen A Pohl <spohl.mozilla.bugs@gmail.com>
Wed, 06 Apr 2016 16:10:55 -0400
changeset 491495 94cc6d062da29b6e93255bd8c39477bec31992d5
parent 302182 a6e94fdb528e48724e354bede9b1924a05ecae10
permissions -rw-r--r--
Bug 394984: Enable any admin user on OSX to update Firefox, build config changes. r=mshal

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)