<echo message="compiling natives code"/>\r
<ant antfile="build.xml" target="clean" dir="${jni}"/>\r
<ant antfile="build.xml" target="all" dir="${jni}"/>\r
- <!-- copy shared libs for android -->\r
- <copy failonerror="false" todir="${distDir}/armeabi">\r
- <fileset dir="${libs}/armeabi">\r
- <include name="**/*.so"/>\r
- </fileset>\r
- </copy>\r
- <copy failonerror="false" todir="${distDir}/armeabi-v7a">\r
- <fileset dir="${libs}/armeabi-v7a">\r
- <include name="**/*.so"/>\r
- </fileset>\r
- </copy>\r
- <copy failonerror="false" todir="${distDir}/x86">\r
- <fileset dir="${libs}/x86">\r
- <include name="**/*.so"/>\r
- </fileset>\r
- </copy>\r
</target>\r
\r
<!-- create source and class jar -->\r
</fileset>\r
</copy>\r
\r
- <!-- copy shared libs for android -->\r
+ <!-- copy shared libs for android & ios -->\r
<copy failonerror="false" todir="${distDir}/armeabi">\r
<fileset dir="${libs}/armeabi">\r
<include name="**/*.so"/>\r
<include name="**/*.so"/>\r
</fileset>\r
</copy>\r
+ <copy failonerror="false" todir="${distDir}/ios">\r
+ <fileset dir="${libs}/ios32">\r
+ <include name="**/*.a"/>\r
+ </fileset>\r
+ </copy>\r
\r
<!-- class jar -->\r
<jar destfile="${distDir}/${jar}.jar">\r
<exclude name="*-natives.jar"/>\r
<exclude name="*-debug.jar"/>\r
<exclude name="android-*.jar"/>\r
+ <exclude name="robovm-*.jar"/>\r
<exclude name="gwt*.jar"/>\r
</zipgroupfileset>\r
<!-- merge dependencies specified in parent build.xml -->\r