Closed Bug 1414415 (without-gradle) Opened 8 years ago Closed 7 years ago

[meta] Remove --without-gradle and require Gradle to build Fennec

Categories

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

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nalexander, Unassigned)

References

(Blocks 4 open bugs, Regressed 1 open bug)

Details

(Keywords: meta)

Now that Bug 1405376 has landed, we can talk about removing the old moz.build functionality. This is a classic trade-off: - keeping --without-gradle allows us to roll back to a known good configuration - dropping --without-gradle allows us to actually use the Gradle-specific features that we've wanted for a long time. In particular, we probably can't ever support HLS --without-gradle, so our ability to ship new features --without-gradle is immediately limited.
I've made this a meta ticket, since there's lots of little bits of work and clean up needed to actually remove the old moz.build functionality. Lots of clean up and culling to be done here!
--with-gradle has landed on mozilla-central for 58, and if I understand correctly, that means it's on mozilla-beta already (or will be very shortly). That means it's only 6-7 weeks from mozilla-release. It would be nice to rip out --without-gradle during the 59 cycle -- in particular, while I still have most of this code swapped into my head -- but I can understand that our release management team will have a much stronger interest in maintaining stability. So, let's start the discussion with relman. Gerry Chang, I see from https://wiki.mozilla.org/Release_Management/Release_owners that you are the release driver for 58. Nicole, Gerry: can you help me collect the people who get to say how long we need to be able to revert these (large) changes to the build system?
Flags: needinfo?(nyee)
Flags: needinfo?(gchang)
Depends on: 1255924
Hi Johan, Not sure if you are the right person to ask from Releng's point of view or you can help forward the question to others. Will this have impact on you? Hi Nevin, Do you have other thoughts?
Flags: needinfo?(jlorenzo)
Flags: needinfo?(gchang)
Flags: needinfo?(cnevinchen)
Sorry for the delay. I know Aki has been aware of the Gradle changes (which included something related to single-locales APK). There is also some changes in the releases (as in beta and releases) graphs that are upcoming in beta. I prefer deferring the call to him.
Flags: needinfo?(jlorenzo) → needinfo?(aki)
I believe gradle builds in 58 will be ok from releng’s perspective.
Flags: needinfo?(aki)
Fennec front-end team really need this since we've reach the method count limit. And other team who wanted to add new methods in Fennec also nned gradle-build. And once we move to with-gralde, there's no need/reason for turning back ( since old configuration won't support multidex).
Flags: needinfo?(cnevinchen)
Flags: needinfo?(nyee)
Depends on: 1440425
Depends on: 1440428
Depends on: 1440430
Depends on: 1440433
Depends on: 1440435
Depends on: 1440436
Alias: without-gradle
Blocks: 1443202
Blocks: 1443204
Blocks: 1444534
Unbelievably, this was finished \o/
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 1498406
Blocks: 1500607
Blocks: 1513624
Product: Firefox for Android → Firefox Build System
Regressions: 1612672
You need to log in before you can comment on or make changes to this bug.