>From the last time when I worked with the build system I remember realizing that the whole thing is currently written in a very synchronous manner, and any async code is handled by processEvents which essentially blocks the xpcshell until the async operation is complete or errors:
https://github.com/mozilla-b2g/gaia/blob/408d2fa89f205ce16598071ac02efe0aba868080/build/utils-xpc.js#L699-L720 I think it would be beneficial to rewrite the build system to use promises instead but that might be a lot of work. On Tue, Nov 24, 2015 at 4:02 PM, Michael Henretty <[email protected]> wrote: > > On Mon, Nov 23, 2015 at 4:27 PM, Fred Lin <[email protected]> wrote: > >> 3. is it a significant effort to switch from xpcshell to node? > > > From the discussion so far, it sounds like this ^^ is the real question. > Also, who is going to drive the work? From a philosophical standpoint > though, the switch seems to be a no-brainer. > > > _______________________________________________ > dev-fxos mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-fxos > >
_______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

