Platform/Channel-specific build defines
< Platform
Jump to navigation
Jump to search
The Mozilla build system defines the following variables (both as AC_DEFINE, for the C++/XUL preprocessors, and AC_SUBST for autoconf/Makefiles) that can be used to control when during the release cycle a feature/code is enabled.
NIGHTLY_BUILD
This is defined when milestone.txt contains "a1", i.e. for Nightly builds only.
RELEASE_BUILD
This is defined when milestone.txt does not contain "a", i.e. for Beta and Release builds.
EARLY_BETA_OR_EARLIER
This 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.