diff options
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml index b1b8616..89426ec 100644 --- a/make/build.xml +++ b/make/build.xml @@ -687,20 +687,28 @@ </target> <target name="android.package" depends="gluegen.cpptasks.detect.os,gluegen.build.check.java" if="isAndroid"> + <mkdir dir="${build}/apk-temp/bin/lib/armeabi" /> + <copy todir="${build}/apk-temp/bin/lib/armeabi"> + <fileset dir="${build}/obj"> + <include name="*gluegen-rt.${native.library.suffix}" /> + </fileset> + </copy> + <delete file="${build}/gluegen-rt.apk" includeEmptyDirs="true" quiet="true" failonerror="false" /> <exec dir="." executable="dx" logError="true" failonerror="true" failifexecutionfails="true"> <arg line="--dex"/> <arg line="--output=${build}/gluegen-rt.apk"/> <arg line="${build}/gluegen-rt.jar"/> - <!-- CHECK HOW TO LOAD NATIVE LIBS FROM APK.. arg line="${build}/gluegen-rt-natives-${os.and.arch}.jar"/--> + <arg line="${build}/apk-temp/"/> <!-- need to be installed .. etc --> </exec> <delete file="${build}/gluegen.apk" includeEmptyDirs="true" quiet="true" failonerror="false" /> <exec dir="." executable="dx" logError="true" failonerror="true" failifexecutionfails="true"> <arg line="--dex"/> <arg line="--output=${build}/gluegen.apk"/> <arg line="${build}/gluegen.jar"/> - <!-- CHECK HOW TO LOAD NATIVE LIBS FROM APK.. arg line="${build}/gluegen-rt-natives-${os.and.arch}.jar"/ --> + <arg line="${build}/apk-temp/"/> <!-- need to be installed .. etc --> </exec> + <delete dir="${build}/apk-temp" includeEmptyDirs="true" quiet="true" failonerror="false" /> </target> <target name="base.compile" depends="init, gluegen.build.java, gluegen.build.c, tag.build" /> |