Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[ann] Default Fennec build configuration is now --with-gradle

6 views
Skip to first unread message

Nicholas Alexander

unread,
Nov 2, 2017, 5:14:16 PM11/2/17
to mobile-firefox-dev, dev-builds, Bogdan Surd, Nicole Yee, Sorina Florean
Hi folks,

tl;dr: Fennec 58 should build with Gradle.

I just landed Bug 1405396 [1], which makes the default Fennec build (and build jobs like (B)) use Gradle.  Queue mass celebration!

The existing build job Bg (Build, Gradle) is now labeled Bng (Build, non-Gradle).  It has been promoted to tier 1 and the test set will be expanded [2], so that we don't lose coverage and prevent a rollback.  This Bng job will be removed as soon as we're confident that the Gradle builds are good in the wild, so I have _not_ renamed android-api-16-gradle to android-api-16-non-gradle.  Sorry for any confusion this causes.

Local developers will by default build --with-gradle.  For developers who are not using --with-gradle already, the next time you build, you will likely see the Gradle wrapper downloading Gradle and a huge number of dependencies being pulled from the network.  This should be a one-time cost (with incremental future cost as we update the Gradle dependencies).  In the future, we may include the Gradle toolchain and initial dependencies as part of |mach bootstrap|, but it should not be necessary.

To build --without-gradle, add --without-gradle to your mozconfig.

Single-locale repacks, critical to developing new localizations, will be temporarily broken.  Hopefully this disruption will be (very!) short: patches are up for review [3].

This landing has thrown Autophone for a loop, but it seems to be a problem with configuration and not the actual code being tested [4].

There is a huge amount of follow-up work to tear out the existing system and really enjoy the benefits of building with Gradle, but hopefully this gets us over the hump.

Many thanks to Max Liu, my partner in crime on this project; to Nicole Yee, for keeping things on the rails; to Sorina Florean and Bogdan Surd, for testing; and to many others for timely reviews and support at critical moments.

Nicholas Alexander

unread,
Nov 3, 2017, 11:33:12 AM11/3/17
to mobile-firefox-dev, dev-builds, Bogdan Surd, Nicole Yee, Sorina Florean
Hi folks,

On Thu, Nov 2, 2017 at 2:14 PM, Nicholas Alexander <nalex...@mozilla.com> wrote:
Hi folks,

tl;dr: Fennec 58 should build with Gradle.

Stuck on autoland, green Nightly builds on central [1].  Let's see how it does in the wild!

Nick


Michael Comella

unread,
Nov 6, 2017, 2:55:00 PM11/6/17
to Nicholas Alexander, dev-builds, Nicole Yee, Bogdan Surd, mobile-firefox-dev, Sorina Florean
Nick and team, this is great news! I'm delighted that we're now aligned with the Android development status quo, simplifying our cross-project development and getting a lot of features for free (Kotlin, anyone? ;). Thanks for all your hard work!
- Mike

On Thu, Nov 2, 2017 at 2:14 PM, Nicholas Alexander <nalex...@mozilla.com> wrote:
Hi folks,

tl;dr: Fennec 58 should build with Gradle.


_______________________________________________
mobile-firefox-dev mailing list
mobile-fi...@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev


0 new messages