Hi folks,

I've just pushed several tickets to fx-team that rewrite how Fennec finds
build time dependencies.  The changes should merge to mozilla-central
tomorrow.

ACTION REQUIRED

Run |mach bootstrap|, choose Firefox for Android, and in your mozconfig,
replace
--with-android-sdk=/path/to/sdk/platforms/android-*
with
--with-android-sdk=/path/to/sdk

DISCUSSION

These changes pin the Android libraries [1] and parts of the Android SDK
toolchain [2] to known good values, and update |mach bootstrap| to install
these versions [3] [4].  These changes should:

1) Unify local developers and automation builders on a single Android SDK
version and Android SDK toolchain.  We should see far fewer build
configuration issues.  This should particularly improve life for new
volunteers coming to Fennec and sporadic contributors outside of the main
Fennec development team.

2) Expose build configuration issues early in the build process (at
configure-time, rather than at (the end of) build-time.

3) Make Fennec resilient in the face of Google's ever changing Android
packaging.

4) Allow us to move our dependencies forward faster by letting us use AAR
files shipped with the Android SDK.

5) Save us roughly 1Mb of APK space (!).

In the event of fallout, please file tickets blocking Bug 1108782 [1] and
needinfo me (nalexander).

FUTURE WORK

I'll be updating documentation on the Wiki over the next few days.  I
imagine there will be fallout from the changes (in particular, this hasn't
been tested on Linux).  And there are a number of tickets blocked on this
work.

ACKNOWLEDGEMENTS

Mike Hommey endured multiple rounds of reviews *after* teaching me some m4
and autoconf.  Sebastian and Mike Comella have tested and reviewed this
work at various phases.  Thank you all.

Yours,
Nick Alexander

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1108782
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=1194365
[3] https://bugzilla.mozilla.org/show_bug.cgi?id=1171232
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=1204260
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to