Le 19/11/2013 21:53, Kevin Grandon a écrit : > Apologies in advance, I may have broken your B2G desktop workflow. In a patch > we moved shims from production gaia code into gaia extensions. These > extensions are now being bundled by the DESKTOP_SHIMS=1 flag (included by > default with DESKTOP=1 or DEBUG=1). > > WTF, why are there so many flags? > > Please see: https://bugzilla.mozilla.org/show_bug.cgi?id=940603 > > In this bug we are talking removing all gaia build flags for use of proper > Makefile targets. Not only are targets the *right* way to do this, once we > have them, we know never to break them. The details are in the bug, but I am > proposing we support only two targets: > > $ make - Default command, builds a profile for a device. > $ make desktop - Builds a profile for b2g desktop OR Firefox Nightly OR > Simulator.
May I suggest we use "make profile-desktop" ? Also, in the SMS app, we're currently using a DEBUG=1 DESKTOP=0 profile to run the app in Firefox. The main reason is that we use a desktop shim with preloaded datas (that is: SMS/MMS and Contacts). I'd very much prefer to use a mocked API in Firefox, and have a way to preload data there. And I really want to move towards this solution. But it just doesn't work yet (esp for the SMS/MMS API, and to preload Contacts) and therefore please don't break our current way of working until this works :) Thanks, all this looks great! -- Julien
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
