boklm pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
-
3faf8d3e
by Nicolas Vigier at 2025-06-18T12:02:43+02:00
-
7d4088cb
by Nicolas Vigier at 2025-06-18T12:02:43+02:00
1 changed file:
Changes:
| ... | ... | @@ -26,18 +26,6 @@ current='[% pc("android-toolchain", "version") %]' |
| 26 | 26 | check_update_needed build_tools "$needed" "$current"
|
| 27 | 27 | |
| 28 | 28 | |
| 29 | -# target_sdk
|
|
| 30 | -read -d '' p << 'EOF' || true
|
|
| 31 | -if (m/target_sdk_version\\s*=\\s*"(.+)"/) {
|
|
| 32 | - print $1;
|
|
| 33 | - exit;
|
|
| 34 | -}
|
|
| 35 | -EOF
|
|
| 36 | -needed=$(cat build/moz.configure/android-sdk.configure | perl -ne "$p")
|
|
| 37 | -current='[% pc("android-toolchain", "var/android_api_level") %]'
|
|
| 38 | -check_update_needed target_sdk "$needed" "$current"
|
|
| 39 | - |
|
| 40 | - |
|
| 41 | 29 | # cmdline-tools
|
| 42 | 30 | read -d '' p << 'EOF' || true
|
| 43 | 31 | my $v, $s;
|
| ... | ... | @@ -104,3 +92,27 @@ EOF |
| 104 | 92 | needed=$(cat gradle/wrapper/gradle-wrapper.properties | perl -ne "$p")
|
| 105 | 93 | current='[% c("var/gradle_version") %]'
|
| 106 | 94 | check_update_needed gradle "$needed" "$current"
|
| 95 | + |
|
| 96 | + |
|
| 97 | +# bundletool
|
|
| 98 | +read -d '' p << 'EOF' || true
|
|
| 99 | +if (m{^BUNDLETOOL_VERSION\\s*=\\s*"(.+)"}) {
|
|
| 100 | + print $1;
|
|
| 101 | + exit;
|
|
| 102 | +}
|
|
| 103 | +EOF
|
|
| 104 | +needed=$(cat python/mozboot/mozboot/android.py | perl -ne "$p")
|
|
| 105 | +current='[% c("var/bundletool_version") %]'
|
|
| 106 | +check_update_needed bundletool "$needed" "$current"
|
|
| 107 | + |
|
| 108 | + |
|
| 109 | +# oss-licenses-plugin
|
|
| 110 | +read -d '' p << 'EOF' || true
|
|
| 111 | +if (m{^osslicenses-plugin\\s*=\\s*"(.+)"}) {
|
|
| 112 | + print $1;
|
|
| 113 | + exit;
|
|
| 114 | +}
|
|
| 115 | +EOF
|
|
| 116 | +needed=$(cat gradle/libs.versions.toml | perl -ne "$p")
|
|
| 117 | +current='[% pc("oss-licenses-plugin", "version") %]'
|
|
| 118 | +check_update_needed oss-licenses-plugin "$needed" "$current" |