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

Nicholas Alexander nalexander at mozilla.com
Thu Nov 2 21:14:06 UTC 2017

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

Please file fall-out blocking [1].

Nick Alexander

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1405396
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1414048
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1411688
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=1414021
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20171102/1bdafcc6/attachment.html>

More information about the mobile-firefox-dev mailing list