1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-16 06:25:06 -05:00

add an automated zipalign step to our build process

This commit is contained in:
Jesse Vincent 2009-11-24 16:32:39 +00:00
parent 002228b032
commit dc30d2c0a8

View File

@ -126,6 +126,7 @@
<property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/> <property name="out-debug-package" value="${out-folder}/${ant.project.name}-debug.apk"/>
<property name="out-unsigned-package" value="${out-folder}/${ant.project.name}-unsigned.apk"/> <property name="out-unsigned-package" value="${out-folder}/${ant.project.name}-unsigned.apk"/>
<property name="out-signed-package" value="${out-folder}/${ant.project.name}-signed.apk"/> <property name="out-signed-package" value="${out-folder}/${ant.project.name}-signed.apk"/>
<property name="out-zipaligned-package" value="${out-folder}/${ant.project.name}-signed-zipaligned.apk"/>
<!-- Tools --> <!-- Tools -->
@ -264,6 +265,11 @@
<arg value="fsckcom" /> <arg value="fsckcom" />
</exec> </exec>
<exec executable="zipalign" failonerror="true">
<arg value="4"/>
<arg value="${out-signed-package}" />
<arg value="${out-zipaligned-package}" />
</exec>
</target> </target>
<!-- Install the package on the default emulator --> <!-- Install the package on the default emulator -->