Closed Bug 1960055 Opened 1 year ago Closed 1 year ago

Make `mach bootstap` update out-of-date Android SDK directories

Categories

(Firefox Build System :: Bootstrap Configuration, enhancement)

enhancement

Tracking

(firefox139 fixed)

RESOLVED FIXED
139 Branch
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".

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).

Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Pushed by nalexander@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f2c324291ab0 Make `mach bootstap` update out-of-date Android SDK directories. r=tcampbell
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: