Hi folks,

tl;dr: mobile/android/resources is now mobile/android/app/src/main/res --
see [1].

Details
---------

The Photon development team is leveraging the partial Gradle support in the
tree to refresh the existing Firefox for Android skin.  The future is
Gradle and the android-api-15-gradle build job (like android-api-15, but
with --with-gradle) is building and testing the Photon enabled build.  To
that end we're following Gradle conventions for the resources, which means:

- mobile/android/app/src/main/res for shared resources
- mobile/android/app/src/photon/res for Photon-specific resources
- mobile/android/app/src/australis/res for Australis-specific resources

Over time, the source code in mobile/android/base/java will migrate to the
Gradle convention location, which is mobile/android/app/src/main/java.

Future
---------

I'm planning to land [2] this week, which pushes the moz.build APK towards
the Gradle APK.  About a week later, I'll throw the Gradle switch on
Nightly, so that we build Nightly --with-gradle.  Assuming everything
doesn't burn on Nightly, I'll uplift [2] to Beta about a week after that.
The idea is that with the prep work on Beta and --with-gradle riding the
Nightly train, we'll be better positioned to deal with Gradle related
falllout independently of Photon requirements.  (The last thing we want is
to depend on Gradle for Photon and hit a snag as we get to Beta or Release
and a tight timeline.)

Follow-up
-------------

Discussion is best on mobile-firefox-dev.  Jing-wei Wu, Max Liu, and Nevin
Chen, are doing all the hard work here -- start with them.  I'm supporting
the Gradle build work.

Best,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1372486
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1355625
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to