annotate 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
rev   line source
493
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 LOCAL_PATH:= $(call my-dir)
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 include $(CLEAR_VARS)
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 LOCAL_MODULE := mbfly-java
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 LOCAL_MODULE_CLASS := JAVA_LIBRARIES
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 LOCAL_SRC_FILES := \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 org/madbutterfly/_jni.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 org/madbutterfly/MBView.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
10 org/madbutterfly/redraw_man.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
11 org/madbutterfly/coord.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
12 org/madbutterfly/shape.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
13 org/madbutterfly/paint.java \
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14 org/madbutterfly/InvalidStateException.java
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15
1b6228092a57 Java code for MadButterfly JNI.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
16 include $(BUILD_JAVA_LIBRARY)
500
f06eba21db1c Add mbfly-java.jar to SDK libraries
Thinker K.F. Li <thinker@branda.to>
parents: 493
diff changeset
17
503
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
18 ########################
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
19 include $(CLEAR_VARS)
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
20
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
21 LOCAL_MODULE := mbfly-permissions.xml
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
22
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
23 LOCAL_MODULE_TAGS := user
500
f06eba21db1c Add mbfly-java.jar to SDK libraries
Thinker K.F. Li <thinker@branda.to>
parents: 493
diff changeset
24
503
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
25 LOCAL_MODULE_CLASS := ETC
500
f06eba21db1c Add mbfly-java.jar to SDK libraries
Thinker K.F. Li <thinker@branda.to>
parents: 493
diff changeset
26
503
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
27 # This will install the file in /system/etc/permissions
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
28 #
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
29 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
30
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
31 LOCAL_SRC_FILES := $(LOCAL_MODULE)
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
32
a5958244bcb8 Make mbfly-java can be called by Android applications.
Thinker K.F. Li <thinker@branda.to>
parents: 500
diff changeset
33 include $(BUILD_PREBUILT)