Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
43f7cf99
by Pier Angelo Vendrame at 2025-12-16T09:10:56+01:00
-
c1a2d204
by Pier Angelo Vendrame at 2025-12-16T10:44:28+01:00
6 changed files:
- projects/browser/build.android
- projects/browser/config
- + projects/uglifyjs/README.md
- + projects/uglifyjs/build
- + projects/uglifyjs/config
- rbm.conf
Changes:
| ... | ... | @@ -2,6 +2,12 @@ |
| 2 | 2 | [% c("var/set_default_env") -%]
|
| 3 | 3 | [% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
| 4 | 4 | |
| 5 | +[% IF c("var/android-x86_64") -%]
|
|
| 6 | + tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/node') %]
|
|
| 7 | + export PATH=/var/tmp/dist/node/bin:$PATH
|
|
| 8 | + tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/uglifyjs') %]
|
|
| 9 | +[% END -%]
|
|
| 10 | + |
|
| 5 | 11 | # Bundle our extension(s).
|
| 6 | 12 | #
|
| 7 | 13 | # NoScript will be copied over to the profile folder
|
| ... | ... | @@ -58,6 +64,11 @@ function generate_apk { |
| 58 | 64 | [% IF c("var/tor-browser") -%]
|
| 59 | 65 | cp -a ../moat_countries.json ../tor/pluggable_transports/pt_config.json chrome/toolkit/content/global/
|
| 60 | 66 | [% END -%]
|
| 67 | + [% IF c("var/android-x86_64") -%]
|
|
| 68 | + find actors chrome modules moz-src \
|
|
| 69 | + -name '*.js' -or -name '*.mjs' \
|
|
| 70 | + -exec /var/tmp/dist/uglifyjs/bin/uglifyjs --in-situ {} \;
|
|
| 71 | + [% END -%]
|
|
| 61 | 72 | [% c('zip', {
|
| 62 | 73 | zip_src => [ '.' ],
|
| 63 | 74 | zip_args => '-0 ../assets/omni.ja',
|
| ... | ... | @@ -158,3 +158,9 @@ input_files: |
| 158 | 158 | # tor-browser-build#40920
|
| 159 | 159 | - filename: sort-baseline.py
|
| 160 | 160 | enable: '[% c("var/android") %]'
|
| 161 | + - project: node
|
|
| 162 | + name: node
|
|
| 163 | + enable: '[% c("var/android-x86_64") %]'
|
|
| 164 | + - project: uglifyjs
|
|
| 165 | + name: uglifyjs
|
|
| 166 | + enable: '[% c("var/android-x86_64") %]' |
| 1 | +This project fetches UglifyJS without any other changes. |
| 1 | +#!/bin/bash
|
|
| 2 | +tar -xf [% project %]-[% c('version') %].tar.[% c('compress_tar') %]
|
|
| 3 | +mv [% project %]-[% c('version') %] [% project %]
|
|
| 4 | +tar -caf [% dest_dir %]/[% c("filename") %] [% project %] |
| 1 | +version: 3.19.3
|
|
| 2 | +filename: 'uglifyjs-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
|
|
| 3 | +git_hash: 3ea33afc72462a470466473208a33379b7204765
|
|
| 4 | +git_url: https://github.com/mishoo/UglifyJS.git |
| ... | ... | @@ -82,7 +82,7 @@ buildconf: |
| 82 | 82 | |
| 83 | 83 | var:
|
| 84 | 84 | torbrowser_version: '16.0a1'
|
| 85 | - torbrowser_build: 'build2'
|
|
| 85 | + torbrowser_build: 'build3'
|
|
| 86 | 86 | # This should be the date of when the build is started. For the build
|
| 87 | 87 | # to be reproducible, browser_release_date should always be in the past.
|
| 88 | 88 | browser_release_date: '2025/12/11 14:20:12'
|