Created attachment 607288 [details] [diff] [review] 1/2: Allow the toolchain to be specified via mozconfig I seem to get build issues in JS without switching to a newer toolchain. This patch lets us easily switch between toolchains.
Created attachment 607289 [details] [diff] [review] 2/2: Autodetect ICS This patch sets MOZ_B2G_ICS when we're building against an ICS tree.
We decided to do runtime detection instead so we can auto update one gecko.
(In reply to Andreas Gal :gal from comment #3) > We decided to do runtime detection instead so we can auto update one gecko. Runtime detection doesn't help when the headers move. Most of these ifdefs are used just to make things compile, but if done right, shouldn't affect our ability to ship a single binary on both GB and ICS.
Comment on attachment 607289 [details] [diff] [review] 2/2: Autodetect ICS I don't want a compile-time GB/ICS switch unless it's absolutely necessary. Convince me that this is absolutely necessary.