[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-build/maint-9.0] Bug 32342 - Store omni.ja after recreating apk



commit f9d0383fb9e7585e8476029913c1a22572fa042e
Author: Matthew Finkel <sysrqb@xxxxxxxxxxxxxx>
Date:   Fri Nov 1 13:38:19 2019 +0000

    Bug 32342 - Store omni.ja after recreating apk
---
 projects/tor-browser/build.android | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/projects/tor-browser/build.android b/projects/tor-browser/build.android
index 2c1c3b2..5148c36 100644
--- a/projects/tor-browser/build.android
+++ b/projects/tor-browser/build.android
@@ -54,5 +54,9 @@ cd tmp
    zip_args => '$apk',
    }) %]
 
+# omni.ja was likely deflated in the above zipping operation. It must be stored, instead.
+zip $apk -d assets/omni.ja
+zip -Z store $apk assets/omni.ja
+
 # Sign a QA build. This apk is not a debug version and doesn't contain a debug flag in the manifest
 java -jar /usr/share/apksigner/apksigner.jar sign --verbose --min-sdk-version [% c("var/android_min_api") %] --ks $rootdir/android-qa.keystore --out $qa_apk --in $apk --ks-key-alias androidqakey --key-pass pass:android --ks-pass pass:android



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits