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:
parent
002228b032
commit
dc30d2c0a8
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user