Last active
August 29, 2015 14:27
-
-
Save illuzor/bf480543f9534e798765 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-compile.for.android" description="Compiling swf for android"> | |
<java jar="${asc2.compiler}" failonerror="true" fork="true"> | |
<arg value="-load-config+=${air.config}"/> | |
<arg value="-load-config+=${compile.config}"/> | |
<arg value="-debug=${debug.build}"/> | |
<arg value="+configname=airmobile"/> | |
<arg value="-swf-version=29"/> | |
<arg value="-define=CONFIG::flashplayer,false"/> | |
<arg value="-define=CONFIG::android,true"/> | |
<arg value="-define=CONFIG::ios,false"/> | |
</java> | |
<move file="src/com/illuzor/antbuilddemo/Main.swf" tofile="bin/AntBuildDemo.swf"/> | |
</target> | |
<target name="-make.android.apk" description="Making apk for android"> | |
<echo message="Starting build android armv7 apk"/> | |
<java jar="${adt}" failonerror="true" fork="true"> | |
<arg value="-package"/> | |
<arg value="-target"/> | |
<arg value="apk-captive-runtime"/> | |
<arg value="-arch"/> | |
<arg value="armv7"/> | |
<arg value="-storetype"/> | |
<arg value="pkcs12"/> | |
<arg value="-keystore"/> | |
<arg value="${android.cert}"/> | |
<arg value="-storepass"/> | |
<arg value="${android.cert.pass}"/> | |
<arg value="${release.folder}/android_armv7.apk"/> | |
<arg value="application.xml"/> | |
<arg value="-C"/> | |
<arg value="bin"/> | |
<arg value="."/> | |
<arg value="-C"/> | |
<arg value="icons/android"/> | |
<arg value="."/> | |
</java> | |
<echo message="Starting build android x86 apk"/> | |
<java jar="${adt}" failonerror="true" fork="true"> | |
<arg value="-package"/> | |
<arg value="-target"/> | |
<arg value="apk-captive-runtime"/> | |
<arg value="-arch"/> | |
<arg value="x86"/> | |
<arg value="-storetype"/> | |
<arg value="pkcs12"/> | |
<arg value="-keystore"/> | |
<arg value="${android.cert}"/> | |
<arg value="-storepass"/> | |
<arg value="${android.cert.pass}"/> | |
<arg value="${release.folder}/android_x86.apk"/> | |
<arg value="application.xml"/> | |
<arg value="-C"/> | |
<arg value="bin"/> | |
<arg value="."/> | |
<arg value="-C"/> | |
<arg value="icons/android"/> | |
<arg value="."/> | |
</java> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment