[SCM] Multi-format 1D/2D barcode image processing library branch, upstream, updated. 24d4480bc48cf9eabf7b2bd2f528248b0e458809
srowen
srowen at 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Wed Aug 4 01:30:57 UTC 2010
The following commit has been merged in the upstream branch:
commit 96fd2cc8d909951594d2a49b570796191550188f
Author: srowen <srowen at 59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Date: Sat Apr 10 22:15:18 2010 +0000
Use zipalign for debug, and reminder to use it after signing a release
git-svn-id: http://zxing.googlecode.com/svn/trunk@1296 59b500cc-1b3d-0410-9834-0bbf25fbcc57
diff --git a/android/build.xml b/android/build.xml
index 5892b8c..1ee9a12 100644
--- a/android/build.xml
+++ b/android/build.xml
@@ -271,6 +271,14 @@ limitations under the License.
<jarfolder path="${external-libs-folder}" />
<nativefolder path="${native-libs-folder}" />
</apkbuilder>
+ <copy file="${out-folder}/BarcodeScanner-debug.apk" tofile="${out-folder}/temp.apk" overwrite="true"/>
+ <exec executable="${android-tools}/zipalign">
+ <arg value="-f"/>
+ <arg value="-v"/>
+ <arg value="4"/>
+ <arg value="${out-folder}/temp.apk"/>
+ <arg value="${out-folder}/BarcodeScanner-debug.apk"/>
+ </exec>
</target>
<!-- Package the application without signing it.
@@ -287,6 +295,7 @@ limitations under the License.
<nativefolder path="${native-libs-folder}" />
</apkbuilder>
<echo>All generated packages need to be signed with jarsigner before they are published.</echo>
+ <echo>Also run zipalign -f -v 4 BarcodeScanner.apk BarcodeScanner-aligned.apk after signing</echo>
</target>
<!-- Install the package on the default emulator -->
--
Multi-format 1D/2D barcode image processing library
More information about the Pkg-google-commits
mailing list