On Wed, Nov 14, 2012 at 2:23 PM, Mounir Lamouri <mou...@lamouri.fr> wrote: > MOZ_UPDATE_CHANNEL contains a string and AFAIK, we can't use C > preprocessor to compare strings so it might not be enough.
The common solution is to check MOZ_UPDATE_CHANNEL in the Makefile to adjust defined variables, see e.g.: http://mxr.mozilla.org/mozilla-central/source/accessible/src/Makefile.in#17 http://mxr.mozilla.org/mozilla-central/source/browser/installer/Makefile.in#83 > I was thinking of things like Firefox OS that might not have such > concept. We should make sure that they do not end up doing the wrong thing. Ah, right - I think that's where a better solution like the ones I alluded to in my previous comment would help. I'm not overly fond of the various MOZ_UPDATE_CHANNEL (ab)uses :) Gavin _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform