Mercurial > MadButterfly
diff Android/java/Android.mk @ 503:a5958244bcb8 Android_Skia
Make mbfly-java can be called by Android applications.
mbfly-permissions.xml is a description that allows pacakge
org.madbutterfly int mbfly-java.jar to be imported by Android
applications. It is copied to /system/etc/permissions/ of devices.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:55:26 +0800 |
parents | f06eba21db1c |
children |
line wrap: on
line diff
--- a/Android/java/Android.mk Tue Dec 01 22:55:26 2009 +0800 +++ b/Android/java/Android.mk Tue Dec 01 22:55:26 2009 +0800 @@ -15,9 +15,19 @@ include $(BUILD_JAVA_LIBRARY) -MBFLY_JAVA:= $(strip $(intermediates))/classes.jar -MADBUTTERFLY_ATREE:= $(strip $(LOCAL_PATH))/madbutterfly.atree +######################## +include $(CLEAR_VARS) + +LOCAL_MODULE := mbfly-permissions.xml + +LOCAL_MODULE_TAGS := user -ALL_SDK_FILES += $(MBFLY_JAVA) +LOCAL_MODULE_CLASS := ETC -ADDITIONAL_ATREE_FILES += $(MADBUTTERFLY_ATREE) +# This will install the file in /system/etc/permissions +# +LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions + +LOCAL_SRC_FILES := $(LOCAL_MODULE) + +include $(BUILD_PREBUILT)