Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
c89ca221
by Pier Angelo Vendrame at 2026-01-26T15:02:44+01:00
1 changed file:
Changes:
| ... | ... | @@ -70,6 +70,17 @@ function generate_apk { |
| 70 | 70 | -name '*.js' -or -name '*.mjs' \
|
| 71 | 71 | -exec /var/tmp/dist/uglifyjs/bin/uglifyjs --in-situ {} \;
|
| 72 | 72 | [% END -%]
|
| 73 | + [% IF !c("var/android-armv7") -%]
|
|
| 74 | + rm -rf armeabi-v7a
|
|
| 75 | + [% END -%]
|
|
| 76 | + [% IF !c("var/android-aarch64") -%]
|
|
| 77 | + rm -rf arm64-v8a
|
|
| 78 | + [% END -%]
|
|
| 79 | + [% IF !c("var/android-x86_64") -%]
|
|
| 80 | + rm -rf x86_64
|
|
| 81 | + [% END -%]
|
|
| 82 | + # Notice: we take for granted we never rewrite on the source archive!
|
|
| 83 | + # Be sure to change any `rm` with the appropriate command, shall this change.
|
|
| 73 | 84 | [% c('zip', {
|
| 74 | 85 | zip_src => [ '.' ],
|
| 75 | 86 | zip_args => '-0 ../assets/omni.ja',
|