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

--001a114a2368f1115c055d067787
Content-Type: text/plain; charset="UTF-8"

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.

Please file fall-out blocking [1].

Yours,
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

--001a114a2368f1115c055d067787
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi folks,</div><div><br></div><div>tl;dr: Fennec 58 s=
hould build with Gradle.</div><div><br></div><div>I just landed Bug 1405396=
 [1], which makes the default Fennec build (and build jobs like (B)) use Gr=
adle.=C2=A0 Queue mass celebration!</div><div><br></div><div>The existing b=
uild job Bg (Build, Gradle) is now labeled Bng (Build, non-Gradle).=C2=A0 I=
t has been promoted to tier 1 and the test set will be expanded [2], so tha=
t we don&#39;t lose coverage and prevent a rollback.=C2=A0 This Bng job wil=
l be removed as soon as we&#39;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.=C2=A0 Sorry for any confusion this causes.</div><div><br></d=
iv><div>Local developers will by default build --with-gradle.=C2=A0 For dev=
elopers who are not using --with-gradle already, the next time you build, y=
ou will likely see the Gradle wrapper downloading Gradle and a huge number =
of dependencies being pulled from the network.=C2=A0 This should be a one-t=
ime cost (with incremental future cost as we update the Gradle dependencies=
).=C2=A0 In the future, we may include the Gradle toolchain and initial dep=
endencies as part of |mach bootstrap|, but it should not be necessary.<br><=
/div><div><br></div><div>To build --without-gradle, add --without-gradle to=
 your mozconfig.<br></div><div><br></div><div>Single-locale repacks, critic=
al to developing new localizations, will be temporarily broken.=C2=A0 Hopef=
ully this disruption will be (very!) short: patches are up for review [3].<=
/div><div><br></div><div>This landing has thrown Autophone for a loop, but =
it seems to be a problem with configuration and not the actual code being t=
ested [4].<br></div><div><br></div><div>There is a huge amount of follow-up=
 work to tear out the existing system and really enjoy the benefits of buil=
ding with Gradle, but hopefully this gets us over the hump.<br></div><div><=
br></div>Many thanks to Max Liu, my partner in crime on this project; to Ni=
cole Yee, for keeping things on the rails; to Sorina Florean and Bogdan Sur=
d, for testing; and to many others for timely reviews and support at critic=
al moments.<br><div><div><br></div><div><div><div>Please file fall-out bloc=
king [1].<br></div></div><div><br></div></div><div>Yours,</div><div>Nick Al=
exander<br></div><div><br></div><div>[1] <a href=3D"https://bugzilla.mozill=
a.org/show_bug.cgi?id=3D1405396">https://bugzilla.mozilla.org/show_bug.cgi?=
id=3D1405396</a></div><div>[2] <a href=3D"https://bugzilla.mozilla.org/show=
_bug.cgi?id=3D1414048">https://bugzilla.mozilla.org/show_bug.cgi?id=3D14140=
48</a></div><div>[3] <a href=3D"https://bugzilla.mozilla.org/show_bug.cgi?i=
d=3D1411688">https://bugzilla.mozilla.org/show_bug.cgi?id=3D1411688</a></di=
v><div>[4] <a href=3D"https://bugzilla.mozilla.org/show_bug.cgi?id=3D141402=
1">https://bugzilla.mozilla.org/show_bug.cgi?id=3D1414021</a></div><div><br=
></div></div></div>

--001a114a2368f1115c055d067787--
0
Nicholas
11/2/2017 9:14:06 PM
mozilla.dev.builds 1714 articles. 0 followers. Post Follow

0 Replies
69 Views

Similar Articles

[PageSpeed] 34

Reply: