<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>Use of the preprocessor would be pretty high on my list of things to get rid of.</div></div></blockquote><div> </div><div>We've done a bunch of work in the past year in Fennec to dramatically reduce the use of preprocessing for both Java and JS. It really screws up IDEs and tooling. E.g., Bug 1093358, where we centralized a lot of constants so that browser.js doesn't need to be preprocessed.</div><div><br></div><div>Partly this is because we can rely on ProGuard to strip out unreachable code branches, or simply not build whole files for certain targets.</div><div><br></div><div>Thumbs up on having this trend continue.</div></div></div></div>