Bug 1419182 - Remove unreferenced entries in nightly whitelist; r?build
None of these are defined in any "nightly" mozconfigs.
Some of these lines may occur and be set by mozconfigs. But the
entire premise of compare-mozconfigs is flawed because it only compares
file content: not the end result of mozconfig evaluation. (mozconfigs
are shell scripts and a lot of logic occurs in other sourced shell
scripts.)
MozReview-Commit-ID: 2Nwo3ePJreb
--- a/browser/config/mozconfigs/whitelist
+++ b/browser/config/mozconfigs/whitelist
@@ -4,56 +4,39 @@ whitelist = {
'release': {},
'nightly': {},
}
all_platforms = ['win64', 'win32', 'linux32', 'linux64', 'macosx64']
for platform in all_platforms:
whitelist['nightly'][platform] = [
- 'ac_add_options --enable-update-channel=nightly',
'ac_add_options --with-branding=browser/branding/nightly',
'ac_add_options --enable-profiling',
]
whitelist['nightly']['linux32'] += [
- 'CXX=$REAL_CXX',
- 'CXX="ccache $REAL_CXX"',
- 'CC="ccache $REAL_CC"',
- 'ac_add_options --with-ccache=/usr/bin/ccache',
- 'export MOZILLA_OFFICIAL=1',
- 'export MOZ_TELEMETRY_REPORTING=1',
'STRIP_FLAGS="--strip-debug"',
]
whitelist['nightly']['linux64'] += [
- 'export MOZILLA_OFFICIAL=1',
- 'export MOZ_TELEMETRY_REPORTING=1',
'STRIP_FLAGS="--strip-debug"',
- 'ac_add_options --with-ccache=/usr/bin/ccache',
]
whitelist['nightly']['macosx64'] += [
'if test "${MOZ_UPDATE_CHANNEL}" = "nightly"; then',
'if test "${MOZ_UPDATE_CHANNEL}" = "nightly-try"; then',
'ac_add_options --with-macbundlename-prefix=Firefox',
'fi',
- 'ac_add_options --with-ccache',
'ac_add_options --disable-install-strip',
'ac_add_options --enable-instruments',
'ac_add_options --enable-dtrace',
'if test `uname -s` != Linux; then',
]
-whitelist['nightly']['win32'] += [
- '. $topsrcdir/configs/mozilla2/win32/include/choose-make-flags',
- 'if test "$IS_NIGHTLY" != ""; then',
- 'ac_add_options --disable-auto-deps',
- 'fi',
-]
whitelist['nightly']['win64'] += [
'. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"',
]
for platform in all_platforms:
whitelist['release'][platform] = [
'ac_add_options --enable-update-channel=release',
'ac_add_options --enable-official-branding',