view Android/mb/Android.mk @ 492:e95598916dfb Android_Skia

Make path data constant.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 26 Nov 2009 14:49:39 +0800
parents aebfb7c7de46
children ebc431f2af70
line wrap: on
line source

LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE := MadButterfly
LOCAL_CONFIGURE := $(LOCAL_PATH)/../../configure
LOCAL_CONFIGURE_ARGS := --enable-skia
LOCAL_CFLAGS := -I$(shell pwd)/$(call include-path-for,corecg) \
	-I$(shell pwd)/$(call include-path-for,corecg)/../effects/ \
	-I$(shell pwd)/$(call include-path-for,frameworks-base)

include $(BUILD_AUTOCONF)

MB_INTERMEDIATES:=$(strip $(intermediates))

include $(CLEAR_VARS)

LOCAL_MODULE:= libmbfly
LOCAL_MODULE_SUFFIX:= .a
LOCAL_SRC_FILES:= $(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a
LOCAL_MODULE_CLASS:= STATIC_LIBRARIES
LOCAL_REQUIRED_MODULES:= MadButterfly
LOCAL_COPY_HEADERS:= \
		../../src/include/mb_prop.h \
		../../src/include/mb_graph_engine.h \
		../../src/include/mb_redraw_man.h \
		../../src/include/mb.h \
		../../src/include/mb_graph_engine_cairo.h \
		../../src/include/mb_shapes.h \
		../../src/include/mb_X_supp.h \
		../../src/include/mb_graph_engine_skia.h \
		../../src/include/mb_so.h \
		../../src/include/mb_af.h \
		../../src/include/mb_img_ldr.h \
		../../src/include/mb_timer.h \
		../../src/include/mb_ani_menu.h \
		../../src/include/mb_obj.h \
		../../src/include/mb_tools.h \
		../../src/include/mb_animate.h \
		../../src/include/mb_observer.h \
		../../src/include/mb_types.h \
		../../src/include/mb_basic_types.h \
		../../src/include/mb_paint.h \
		../../src/include/mbbutton.h
LOCAL_COPY_HEADERS_TO:= libmbfly

include $(BUILD_DUMMY)

$(eval $(call copy-one-header,$(MB_INTERMEDIATES)/build/include/mb_config.h,$(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h))
all_copied_headers: $(TARGET_OUT_HEADERS)/$(LOCAL_COPY_HEADERS_TO)/mb_config.h

$(MB_INTERMEDIATES)/build/src/.libs/libmbfly.a: MadButterfly