Bug 43564: Update ./mach bootstrap to work for non-artifact Android bulds
Merge Info
Issues
Resolves
Merging
Target Branches
-
tor-browser-!fixupstotor-browser-specific commits, new features, security backports -
base-browserandmullvad-browser-!fixupstobase-browser-specific commits, new features to be shared withmullvad-browser, and security backports-
⚠️ IMPORTANT: Please list thebase-browser-specific commits which need to be cherry-picked to thebase-browserandmullvad-browserbranches here
-
Target Channels
-
Alpha: esr140-15.0 -
Stable: esr128-14.5 -
Legacy: esr115-13.5
Backporting
Timeline
-
No Backport (preferred): patchset for the next major stable -
Immediate: patchset needed as soon as possible (fixes CVEs, 0-days, etc) -
Next Minor Stable Release: patchset that needs to be verified in nightly before backport -
Eventually: patchset that needs to be verified in alpha before backport
Review
Change Description
This merge request modifies ./mach bootstrap so that it will fetch and check for the existence of the resources needed to build tor-browser for Android. This fully replaces tba-fetch-deps.sh, but I kept it and left a deprecation notice which we can remove in a few months.
It is now possible to build for Android in a clean repo, with just:
./mach bootstrap --application-choice mobile_android
MOZCONFIG=mozconfig-android-aarch64 ./mach build
./gradlew -PdisableOptimize fenix:assembleDebug
These should all be run in the root of the repository.
How Tested
Building as described above works.