We have "preprocessor" today, that is the build flags and customized build scripts in each of the app. That was many of the features (e.g. Rocket bar/System browser) gets to continue to land w/o enabling.
Is that not enough and we really need |#ifdef| in JavaScript that could simply break the linters? On Wed, Sep 30, 2015 at 3:23 PM, Fred Lin <[email protected]> wrote: > According to https://bugzilla.mozilla.org/show_bug.cgi?id=1191770#c20 > > I surprisingly found we have preprocessor support in gaia system. > > As in comment there are PROS and CONS between > 1. using mozSettings to enable feature > 2. define IFDEF area and process flags by Preprocessor. > > We used to go with 1. mozSettings, but 2. flag features behind preprocessor > may help save some footprint in TV or other form factor devices. (and it > might make un-runable plain code in browser) > > > I'd like to rise the discussion here about > > 1. If we should go with preprocessor. > 2. If we allow to use it, WHAT situation shall we use preprocessor or > mozSettings? > > > regards > -- > Fred > > _______________________________________________ > 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

