forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 853071: add some build-time defines for channel-specific features…
…, r=gps, f=bhearsum --HG-- rename : browser/config/mozconfigs/linux32/release => browser/config/mozconfigs/linux32/beta rename : browser/config/mozconfigs/linux64/release => browser/config/mozconfigs/linux64/beta rename : browser/config/mozconfigs/macosx-universal/release => browser/config/mozconfigs/macosx-universal/beta rename : browser/config/mozconfigs/win32/release => browser/config/mozconfigs/win32/beta extra : transplant_source : %F6%CFK%CE%16v%07%8A%D5o%97%8C%BB%95q%D5%3C%93%2B%94
- Loading branch information
1 parent
d276a32
commit e341973
Showing
14 changed files
with
165 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
|
||
. $topsrcdir/build/unix/mozconfig.linux32 | ||
|
||
# Avoid dependency on libstdc++ 4.5 | ||
ac_add_options --enable-stdcxx-compat | ||
|
||
# PGO | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
# This make file should be identical to the beta mozconfig, apart from the | ||
# safeguard below | ||
. "$topsrcdir/browser/config/mozconfigs/linux32/beta" | ||
|
||
. $topsrcdir/build/unix/mozconfig.linux32 | ||
|
||
# Avoid dependency on libstdc++ 4.5 | ||
ac_add_options --enable-stdcxx-compat | ||
|
||
# PGO | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" | ||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in | ||
# defines.sh during the beta cycle | ||
export BUILDING_RELEASE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
|
||
. $topsrcdir/build/unix/mozconfig.linux | ||
|
||
# Avoid dependency on libstdc++ 4.5 | ||
ac_add_options --enable-stdcxx-compat | ||
|
||
# PGO | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,7 @@ | ||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
# This make file should be identical to the beta mozconfig, apart from the | ||
# safeguard below | ||
. "$topsrcdir/browser/config/mozconfigs/linux64/beta" | ||
|
||
. $topsrcdir/build/unix/mozconfig.linux | ||
|
||
# Avoid dependency on libstdc++ 4.5 | ||
ac_add_options --enable-stdcxx-compat | ||
|
||
# PGO | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='EXTRA_TEST_ARGS=10 $(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" | ||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in | ||
# defines.sh during the beta cycle | ||
export BUILDING_RELEASE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
. $topsrcdir/build/macosx/universal/mozconfig | ||
|
||
# Universal builds override the default of browser (bug 575283 comment 29) | ||
ac_add_options --enable-application=browser | ||
|
||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,7 @@ | ||
. $topsrcdir/build/macosx/universal/mozconfig | ||
# This make file should be identical to the beta mozconfig, apart from the | ||
# safeguard below | ||
. "$topsrcdir/browser/config/mozconfigs/macosx-universal/beta" | ||
|
||
# Universal builds override the default of browser (bug 575283 comment 29) | ||
ac_add_options --enable-application=browser | ||
|
||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-official-branding | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" | ||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in | ||
# defines.sh during the beta cycle | ||
export BUILDING_RELEASE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
. "$topsrcdir/browser/config/mozconfigs/common" | ||
|
||
# for pgo | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='$(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-jemalloc | ||
ac_add_options --enable-official-branding | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
if test -z "${_PYMAKE}"; then | ||
mk_add_options MOZ_MAKE_FLAGS=-j1 | ||
fi | ||
|
||
if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then | ||
. $topsrcdir/build/win32/mozconfig.vs2010-win64 | ||
else | ||
. $topsrcdir/build/win32/mozconfig.vs2010 | ||
fi | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,7 @@ | ||
. "$topsrcdir/browser/config/mozconfigs/common" | ||
# This make file should be identical to the beta mozconfig, apart from the | ||
# safeguard below | ||
. "$topsrcdir/browser/config/mozconfigs/win32/beta" | ||
|
||
# for pgo | ||
mk_add_options MOZ_PGO=1 | ||
mk_add_options PROFILE_GEN_SCRIPT='$(MAKE) -C $(MOZ_OBJDIR) pgo-profile-run' | ||
|
||
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} | ||
ac_add_options --enable-update-packaging | ||
ac_add_options --enable-jemalloc | ||
ac_add_options --enable-official-branding | ||
|
||
# Needed to enable breakpad in application.ini | ||
export MOZILLA_OFFICIAL=1 | ||
|
||
export MOZ_TELEMETRY_REPORTING=1 | ||
|
||
if test -z "${_PYMAKE}"; then | ||
mk_add_options MOZ_MAKE_FLAGS=-j1 | ||
fi | ||
|
||
if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then | ||
. $topsrcdir/build/win32/mozconfig.vs2010-win64 | ||
else | ||
. $topsrcdir/build/win32/mozconfig.vs2010 | ||
fi | ||
|
||
# Treat warnings as errors in directories with FAIL_ON_WARNINGS. | ||
ac_add_options --enable-warnings-as-errors | ||
|
||
# Package js shell. | ||
export MOZ_PACKAGE_JSSHELL=1 | ||
|
||
. "$topsrcdir/build/mozconfig.common.override" | ||
# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in | ||
# defines.sh during the beta cycle | ||
export BUILDING_RELEASE=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Define indicating that this build is prior to one of the early betas. To be | ||
# unset mid-way through the beta cycle. | ||
EARLY_BETA_OR_EARLIER=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters