Make `mach bootstap` update out-of-date Android SDK directories
Categories
(Firefox Build System :: Bootstrap Configuration, enhancement)
Tracking
(firefox139 fixed)
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: nalexander, Assigned: nalexander)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
When bootstrapping android and there's already an SDK directory present there's this awkward build failure caused by this code which says
# We don't want to blindly overwrite, since we use the
# |sdkmanager| tool to install additional parts of the Android
# toolchain. If we overwrite, we lose whatever Android packages
# the user may have already installed.
This used to be hard to arrange, but is now pretty easy. (I think!) So let's do it automatically, or at least try. This is slightly different from Bug 1958986, which I interpret as making it easier to force (re-)bootstrapping, including when the existing SDK "looks right".
| Assignee | ||
Comment 1•1 year ago
|
||
IIRC, this used to be hard due to the on-disk layout of the command
line tools packages. But now, I don't think it is hard: we can try to
install the required version next to the outdated version without any
other destructive modifications, and then try to run it like normal.
If that works, great! If not, back to the developer (for now -- see
Bug 1958986).
Updated•1 year ago
|
Description
•