Closed Bug 1709640 Opened 4 years ago Closed 3 years ago

Add GeckoView lite build type

Categories

(GeckoView :: General, task, P1)

Unspecified
All
task

Tracking

(firefox92 fixed)

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: agi, Assigned: agi)

References

Details

(Whiteboard: [geckoview:m90][geckoview:m91][geckoview:m92], [wptsync upstream])

Attachments

(5 files)

With the upcoming addition of Glean to the GeckoView build we want to provide a version of GeckoView without any additional libraries. To do that we need to add a new build variant in our automation.

We don't offer API splits any more, and with the separation of GeckoView with
the rest of the front-end it's increasingly unlikely that we will in the
future.

This change makes it so that the build name doesn't contain the API version so
that we can update it without breaking all the automation that relies on the
build name.

Assignee: nobody → agi
Status: NEW → ASSIGNED

This patch adds a new GeckoView build variant dubbed "lite". We are in the
process of adding some optional dependencies to GeckoView that are needed by
Fenix (like Glean and Nimbus) which are likely not going to be used by anyone
else at Mozilla. To avoid bloating third party consumers, we provide a
geckoview-lite build that doesn't contain any optional dependency.

The min SDK version of GeckoView (non-lite) is being increased to 21 to match
Glean's min SDK. Given that Fenix's min SDK version is already 21 and that the
lite version's min SDK is still at 16 this change is safe to do and will not
incur in any loss of usability.

Severity: -- → S3
Priority: -- → P1
Whiteboard: [geckoview:m90]

Gonna land this slowly since the patches are fairly big.

Keywords: leave-open
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/453cb34e4a4a Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara
Flags: needinfo?(agi)
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5eb71cf51d5 Rename android-api-16 to android-arm. r=marionette-reviewers,firefox-build-system-reviewers,nalexander,whimboo,aklotz,releng-reviewers,mhentges,glandium,mtabara

Not sure how it happened (probably copy-paste?) but a lot of Android jobs are
marked for "Android 4.0" (API 14) or "Android 4.2" (API 18) while really they
are all for Android 4.1 (API 16). This patch fixes that.

Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/decc4edd47f9 Label Android build jobs for 4.1. r=nalexander https://hg.mozilla.org/integration/autoland/rev/3a6a274dae0d Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium https://hg.mozilla.org/integration/autoland/rev/d8f2f3cc4da7 Remove unused variables in android/confvars.sh r=nalexander,aklotz
Flags: needinfo?(agi)
Flags: needinfo?(agi)
Whiteboard: [geckoview:m90] → [geckoview:m90][geckoview:m91]
Depends on: 1718341
Whiteboard: [geckoview:m90][geckoview:m91] → [geckoview:m90][geckoview:m91][geckoview:m92]
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/667e768fd75e Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium https://hg.mozilla.org/integration/autoland/rev/7c45682a8f98 Label Android build jobs for 4.1. r=nalexander https://hg.mozilla.org/integration/autoland/rev/20645ae32b84 Remove unused variables in android/confvars.sh r=nalexander,aklotz
Whiteboard: [geckoview:m90][geckoview:m91][geckoview:m92] → [geckoview:m90][geckoview:m91][geckoview:m92], [wptsync upstream]
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/45b07d37f247 Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium https://hg.mozilla.org/integration/autoland/rev/c7f2fa8d7535 Label Android build jobs for 4.1. r=nalexander https://hg.mozilla.org/integration/autoland/rev/abc4249b08a0 Remove unused variables in android/confvars.sh r=nalexander,aklotz
Pushed by asferro@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f918535301cb Add GeckoView Lite build variant. r=jmaher,aklotz,mhentges,glandium https://hg.mozilla.org/integration/autoland/rev/62d01bf315a4 Label Android build jobs for 4.1. r=nalexander https://hg.mozilla.org/integration/autoland/rev/2f8bbf2478c7 Remove unused variables in android/confvars.sh r=nalexander,aklotz

Are their redundant test tasks which should return the same results for lite and non-lite builds? E.g. are there difference between the web platform features enabled (web-platform-tests) or the graphics and layout stack (reftests)? Similar for mochitest plain.

There aren't (intentional) content differences between lite and non-lite builds. I would wait until we migrate Fenix to the non-lite build before stopping running the tests though.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(agi)
Resolution: --- → FIXED
No longer regressions: 1722266
Regressions: 1734747
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: