[ann] Changes incoming to the Gradle configuration to support Photon Mobile work

Nicholas Alexander nalexander at mozilla.com
Wed May 3 16:41:55 UTC 2017


Hi folks,

tl;dr: the Gradle configuration will change; you will need to build
"localAustralisDebug" or "localAustralisRelease" in place of "localDebug"
or "localRelease".

Details: I've pushed Bug 1361545 [1] to autoland; it should hit
mozilla-central in the next 24 hours.  This ticket adds a "skin" flavor
dimension to the Gradle configuration.  The matrix is now:

"audience" x "skin" x "build type"

{local, official} x {australis, photon} x {debug, release}

Developers want "local" and "debug".  Mainline UI -- what is built using
moz.build -- is "australis" and new UI work will use "photon".

Most of the Android-specific tests (lint, findbugs, unittest) are running
against both Australis and Photon in automation.  The Robocop tests,
Mochitests, etc, are running only against Australis.

I'll write more about how to actually _use_ the new "photon" configuration
to tweak the look and feel of the App at some point.  It should work
exactly like "regular Gradle", meaning that overrides will go into
mobile/android/app/.../photon/... and be ignored by the moz.build system,
but I haven't worked through the details.  Photon folks: please experiment
and figure out what works and doesn't work!

As always, file follow-up depending on [1] (and NI me).

Yours,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1361545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20170503/6377ed70/attachment.html>


More information about the mobile-firefox-dev mailing list