On 11/19/2013, 12:44 PM, Nick Alexander wrote:
Hi everybody,

I just relanded this, and it appears to be sticking. Multi-locale builds are working; single-locale repacks are still broken [1].

Best,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=923950

I just landed Bug 934646 [1] which changes how Android resources are
processed.  This means you don't need to declare resources in moz.build
anymore!

The build system now reads resources directly from
mobile/android/base/resources (and $BRANDING_DIRECTORY/res) and only
reads strings.xml from $OBJDIR.  (Formerly, we performed an awkward
delete-and-copy dance to populate $OBJDIR/mobile/android/base/res.) This
is a win for editing in IDEs, because the build system and IDEs are now
editing the same files in $SRCDIR.

There are a few potential issues:

* a clobber might be needed (or, rm -rf
$OBJDIR/mobile/android/base/res): old resources left over are likely to
conflict with the resources from $SRCDIR.

* removing resources doesn't automatically trigger a new APK.  Touch
some other resource to trigger a fresh resource build.  This is just
hard to do with Make, and isn't worth the effort.

* we might have dependency problems that I haven't foreseen.  If you
find that built APKs aren't picking up resource changes, file a ticket
and CC me.

Best,
Nick

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=934646
https://hg.mozilla.org/integration/mozilla-inbound/rev/5dd946b1f29b
https://hg.mozilla.org/integration/mozilla-inbound/rev/4ae3d82562fa
https://hg.mozilla.org/integration/mozilla-inbound/rev/a829f4d2584a
https://hg.mozilla.org/integration/mozilla-inbound/rev/6bd8ff07e16f
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to