Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build Commits: 67b08c8d by Pier Angelo Vendrame at 2026-06-30T15:50:00+02:00 Bug 41830: Use omni.ja.xz on Android. As a workaround to keep our APK size within the Play Store threshold we decided to compress omni.ja with xz (tor-browser#45086). This commit adapts tor-browser-build scripts to that change. - - - - - 2 changed files: - projects/browser/build.android - projects/geckoview/gradle-dependencies-list.txt Changes: ===================================== projects/browser/build.android ===================================== @@ -52,7 +52,8 @@ function generate_apk { $rootdir/sort-baseline.py --apk $apk $sorted_baseline_apk mv $sorted_baseline_apk $apk - unzip -j "$apk" assets/omni.ja + unzip -j "$apk" assets/omni.ja.xz + xz -d omni.ja.xz mkdir omni pushd omni unzip ../omni.ja @@ -72,9 +73,12 @@ function generate_apk { # Be sure to change any `rm` with the appropriate command, shall this change. [% c('zip', { zip_src => [ '.' ], - zip_args => '-0 ../assets/omni.ja', + zip_args => '-0 ../omni.ja', }) %] popd + sha256sum omni.ja | awk '{ print $1 }' > assets/omni.ja.sha256 + xz -9e omni.ja + mv omni.ja.xz assets/ mkdir apk pushd apk @@ -101,7 +105,6 @@ function generate_apk { # Clean up rm -rf omni - rm omni.ja rm -rf apk rm repacked.apk rm $aligned_apk ===================================== projects/geckoview/gradle-dependencies-list.txt ===================================== @@ -1365,6 +1365,8 @@ cc8caa4101a35d0cf0433a63e8ad38911a4c848073fcc94f43ae0251f33e4daf | https://plugi 10d6bd66abb088eca5be360ff72550c96154d2676efedd74af31c450017c3909 | https://plugins.gradle.org/m2/org/gradle/kotlin/gradle-kotlin-dsl-plugins/6.... abe9f3960fa7359722a8752e61bfc496761e15d14735e4c6422079707606abbe | https://plugins.gradle.org/m2/org/gradle/kotlin/gradle-kotlin-dsl-plugins/6.... 2dd836cc09712cdaddfeefc680d2ea66eb43d8dc63386bd595265813497f472d | https://plugins.gradle.org/m2/org/gradle/kotlin/kotlin-dsl/org.gradle.kotlin... +937b44d869c059c39f07ae194d8cd6219f5aebf2200ef9707f0b50b7837da281 | https://plugins.gradle.org/m2/org/tukaani/xz/1.12/xz-1.12.pom +3e158a87bd73d8afb4b6e8239c013b7d049c48563f45860ce99cd2e448cf4a6b | https://plugins.gradle.org/m2/org/tukaani/xz/1.12/xz-1.12.jar 243a64470fda0e86a6fddeb0af4c7aa9426ce84e68cbfe18d75ee5da4b7e0b92 | https://repo.maven.apache.org/maven2/com/almworks/sqlite4java/sqlite4java/1.... 139552c586a57bf6d98f87d6b7e23fef4db53cf74097be962f7868e3606c79d2 | https://repo.maven.apache.org/maven2/com/almworks/sqlite4java/sqlite4java/1.... 348924b116b7b251113af50c1bf1b57c0df7c89b8f56406c1ff1be2d5b469fbd | https://repo.maven.apache.org/maven2/com/autonomousapps/antlr/4.13.2.0/antlr... View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/67... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/67... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
Pier Angelo Vendrame (@pierov)