1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-23 16:18:50 -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-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-zipaligned-package" value="${out-folder}/${ant.project.name}-signed-zipaligned.apk"/>
<!-- Tools -->
@ -264,6 +265,11 @@
<arg value="fsckcom" />
</exec>
<exec executable="zipalign" failonerror="true">
<arg value="4"/>
<arg value="${out-signed-package}" />
<arg value="${out-zipaligned-package}" />
</exec>
</target>
<!-- Install the package on the default emulator -->