Closed Bug 2001450 Opened 1 month ago Closed 1 month ago

Optimize NimbusGradlePlugin configuration

Categories

(Firefox Build System :: Android Studio and Gradle Integration, task, P2)

task

Tracking

(firefox147 fixed)

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

Details

Attachments

(4 files, 1 obsolete file)

Nick brought this to my attention after I made some improvements to the glean-gradle-plugin. There's various improvements that can be done here, mostly importantly I think is only downloading and extracting the fml binary once. Right now we download and extract a separate binary and archive for each project, eg:

:fenix:assembleNimbusTools
:components:feature-fxsuggest:assembleNimbusTools
:focus-android:assembleNimbusTools
:components:service-nimbus:assembleNimbusTools	
:components:browser-engine-gecko:assembleNimbusTools

This ensures that download only runs once, and that the
binary is also only extracted once to a shared location.

Attachment #9528196 - Attachment is obsolete: true
Pushed by ahochheiden@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/aef968f913e5 https://hg.mozilla.org/integration/autoland/rev/228a02eeeb7b Configuration time optimizations for `NimbusGradlePlugin` r=nalexander,geckoview-reviewers https://github.com/mozilla-firefox/firefox/commit/74bbf1e7d522 https://hg.mozilla.org/integration/autoland/rev/3f8bbee46542 Improve `NimbusGradlePlugin` network I/O with timeouts and connection handling r=nalexander,geckoview-reviewers https://github.com/mozilla-firefox/firefox/commit/6e1e4fa31c44 https://hg.mozilla.org/integration/autoland/rev/6aca563a3370 Centralize `nimbus-fml` archive caching r=nalexander,geckoview-reviewers https://github.com/mozilla-firefox/firefox/commit/6de050c36772 https://hg.mozilla.org/integration/autoland/rev/5a87c2f976c0 Make all projects use a single `assembleNimbusTools` task will only run once at the root level r=nalexander,geckoview-reviewers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: