<div dir="ltr"><div><div><div>Bug 853071 landed in the Firefox 23 cycle, adding some defines that make it possible to control when in the release cycle code is built.<br><br></div>I've described the various defines here:<br>
<br><a href="https://wiki.mozilla.org/Platform/Channel-specific_build_defines">https://wiki.mozilla.org/Platform/Channel-specific_build_defines</a><br><br>To recap:<br><br>NIGHTLY_BUILD is defined when milestone.txt contains "a1", i.e. for mozilla-central builds.<br>
<br>RELEASE_BUILD is defined when milestone.txt does not contain "a", i.e. for builds off of mozilla-beta or mozilla-release.<br><br>EARLY_BETA_OR_EARLIER is defined depending on the corresponding value in build/defines.sh. This file is managed manually by the release management team, with the variable being cleared once we're past the "early beta" point in the release cycle.<br>
<br></div><div>All of these defines are both AC_DEFINE (preprocessors) and AC_SUBSTed (autoconf/makefiles).<br></div><div><br></div>(RELEASE_BUILD existed previously, but was only defined in pref files. It's now "global".)<br>
<br></div>Gavin<br></div>