diff options
Diffstat (limited to 'config/mozconfigs')
30 files changed, 462 insertions, 0 deletions
diff --git a/config/mozconfigs/common b/config/mozconfigs/common new file mode 100644 index 0000000..febf562 --- /dev/null +++ b/config/mozconfigs/common @@ -0,0 +1,7 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +# This file is included by all browser mozconfigs + +. "$topsrcdir/build/mozconfig.common" diff --git a/config/mozconfigs/linux32/beta b/config/mozconfigs/linux32/beta new file mode 100644 index 0000000..6a42104 --- /dev/null +++ b/config/mozconfigs/linux32/beta @@ -0,0 +1,7 @@ +. "$topsrcdir/browser/config/mozconfigs/linux32/common-opt" + +ac_add_options --enable-official-branding + +mk_add_options MOZ_PGO=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux32/common-opt b/config/mozconfigs/linux32/common-opt new file mode 100644 index 0000000..9e5e78d --- /dev/null +++ b/config/mozconfigs/linux32/common-opt @@ -0,0 +1,19 @@ +# This file is sourced by nightly, beta, and release mozconfigs. + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --with-google-api-keyfile=/builds/gapi.data + +. $topsrcdir/build/unix/mozconfig.linux32 + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=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 diff --git a/config/mozconfigs/linux32/debug b/config/mozconfigs/linux32/debug new file mode 100644 index 0000000..2328367 --- /dev/null +++ b/config/mozconfigs/linux32/debug @@ -0,0 +1,22 @@ +ac_add_options --enable-debug +ac_add_options --enable-trace-malloc +ac_add_options --enable-signmar + +. $topsrcdir/build/unix/mozconfig.linux32 + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +#Use ccache +ac_add_options --with-ccache=/usr/bin/ccache + +# 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" diff --git a/config/mozconfigs/linux32/debug-asan b/config/mozconfigs/linux32/debug-asan new file mode 100644 index 0000000..4766ce2 --- /dev/null +++ b/config/mozconfigs/linux32/debug-asan @@ -0,0 +1,20 @@ +# Use at least -O1 for optimization to avoid stack space +# exhaustions caused by Clang function inlining. +ac_add_options --enable-debug +ac_add_options --enable-optimize="-O1" + +# ASan specific options on Linux +ac_add_options --enable-valgrind + +. $topsrcdir/build/unix/mozconfig.asan + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=asan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux32/l10n-mozconfig b/config/mozconfigs/linux32/l10n-mozconfig new file mode 100644 index 0000000..d8d6228 --- /dev/null +++ b/config/mozconfigs/linux32/l10n-mozconfig @@ -0,0 +1,12 @@ +ac_add_options --with-l10n-base=../../l10n +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +. $topsrcdir/build/unix/mozconfig.linux32 + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux32/release b/config/mozconfigs/linux32/release new file mode 100644 index 0000000..b32f1b3 --- /dev/null +++ b/config/mozconfigs/linux32/release @@ -0,0 +1,13 @@ +# This make file should be identical to the beta mozconfig, apart from the +# safeguard below +. "$topsrcdir/browser/config/mozconfigs/linux32/common-opt" + +ac_add_options --enable-official-branding + +mk_add_options MOZ_PGO=1 + +# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in +# defines.sh during the beta cycle +export BUILDING_RELEASE=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux32/valgrind b/config/mozconfigs/linux32/valgrind new file mode 100644 index 0000000..a39b1b0 --- /dev/null +++ b/config/mozconfigs/linux32/valgrind @@ -0,0 +1,11 @@ +. $topsrcdir/browser/config/mozconfigs/linux32/nightly + +ac_add_options --enable-valgrind +ac_add_options --disable-jemalloc +ac_add_options --disable-elf-hack +ac_add_options --enable-optimize="-g -O -freorder-blocks" +ac_add_options --disable-install-strip + +# Include the override mozconfig again (even though the above includes it) +# since it's supposed to override everything. +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/beta b/config/mozconfigs/linux64/beta new file mode 100644 index 0000000..7c05460 --- /dev/null +++ b/config/mozconfigs/linux64/beta @@ -0,0 +1,7 @@ +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" + +ac_add_options --enable-official-branding + +mk_add_options MOZ_PGO=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/common-opt b/config/mozconfigs/linux64/common-opt new file mode 100644 index 0000000..c448460 --- /dev/null +++ b/config/mozconfigs/linux64/common-opt @@ -0,0 +1,19 @@ +# This file is sourced by the nightly, beta, and release mozconfigs. + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --with-google-api-keyfile=/builds/gapi.data + +. $topsrcdir/build/unix/mozconfig.linux + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=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 diff --git a/config/mozconfigs/linux64/debug b/config/mozconfigs/linux64/debug new file mode 100644 index 0000000..c917660 --- /dev/null +++ b/config/mozconfigs/linux64/debug @@ -0,0 +1,22 @@ +ac_add_options --enable-debug +ac_add_options --enable-trace-malloc +ac_add_options --enable-signmar + +. $topsrcdir/build/unix/mozconfig.linux + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +# Use ccache +ac_add_options --with-ccache=/usr/bin/ccache + +# 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" diff --git a/config/mozconfigs/linux64/debug-asan b/config/mozconfigs/linux64/debug-asan new file mode 100644 index 0000000..4766ce2 --- /dev/null +++ b/config/mozconfigs/linux64/debug-asan @@ -0,0 +1,20 @@ +# Use at least -O1 for optimization to avoid stack space +# exhaustions caused by Clang function inlining. +ac_add_options --enable-debug +ac_add_options --enable-optimize="-O1" + +# ASan specific options on Linux +ac_add_options --enable-valgrind + +. $topsrcdir/build/unix/mozconfig.asan + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=asan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/debug-static-analysis-clang b/config/mozconfigs/linux64/debug-static-analysis-clang new file mode 100644 index 0000000..214d156 --- /dev/null +++ b/config/mozconfigs/linux64/debug-static-analysis-clang @@ -0,0 +1,15 @@ +. "$topsrcdir/build/mozconfig.common" + +ac_add_options --enable-debug + +# Use Clang as specified in manifest +export CC="$topsrcdir/clang/bin/clang" +export CXX="$topsrcdir/clang/bin/clang++" + +# Add the static checker +ac_add_options --enable-clang-plugin + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/l10n-mozconfig b/config/mozconfigs/linux64/l10n-mozconfig new file mode 100644 index 0000000..52470c5 --- /dev/null +++ b/config/mozconfigs/linux64/l10n-mozconfig @@ -0,0 +1,12 @@ +ac_add_options --with-l10n-base=../../l10n +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging + +# Avoid dependency on libstdc++ 4.5 +ac_add_options --enable-stdcxx-compat + +. $topsrcdir/build/unix/mozconfig.linux + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/release b/config/mozconfigs/linux64/release new file mode 100644 index 0000000..e52f33f --- /dev/null +++ b/config/mozconfigs/linux64/release @@ -0,0 +1,13 @@ +# This make file should be identical to the beta mozconfig, apart from the +# safeguard below +. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt" + +ac_add_options --enable-official-branding + +mk_add_options MOZ_PGO=1 + +# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in +# defines.sh during the beta cycle +export BUILDING_RELEASE=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/linux64/valgrind b/config/mozconfigs/linux64/valgrind new file mode 100644 index 0000000..ccf8971 --- /dev/null +++ b/config/mozconfigs/linux64/valgrind @@ -0,0 +1,11 @@ +. $topsrcdir/browser/config/mozconfigs/linux64/nightly + +ac_add_options --enable-valgrind +ac_add_options --disable-jemalloc +ac_add_options --disable-elf-hack +ac_add_options --enable-optimize="-g -O -freorder-blocks" +ac_add_options --disable-install-strip + +# Include the override mozconfig again (even though the above includes it) +# since it's supposed to override everything. +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/macosx-universal/beta b/config/mozconfigs/macosx-universal/beta new file mode 100644 index 0000000..cc2f44d --- /dev/null +++ b/config/mozconfigs/macosx-universal/beta @@ -0,0 +1,5 @@ +. "$topsrcdir/browser/config/mozconfigs/macosx-universal/common-opt" + +ac_add_options --enable-official-branding + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/macosx-universal/common-opt b/config/mozconfigs/macosx-universal/common-opt new file mode 100644 index 0000000..414f690 --- /dev/null +++ b/config/mozconfigs/macosx-universal/common-opt @@ -0,0 +1,19 @@ +# This file is sourced by the nightly, beta, and release mozconfigs. + +. $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 --with-google-api-keyfile=/builds/gapi.data + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=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 diff --git a/config/mozconfigs/macosx-universal/l10n-mozconfig b/config/mozconfigs/macosx-universal/l10n-mozconfig new file mode 100644 index 0000000..2f88f19 --- /dev/null +++ b/config/mozconfigs/macosx-universal/l10n-mozconfig @@ -0,0 +1,11 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --with-l10n-base=../../../l10n +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --with-macbundlename-prefix=Firefox +ac_add_options --with-ccache + +export MOZILLA_OFFICIAL=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/macosx-universal/release b/config/mozconfigs/macosx-universal/release new file mode 100644 index 0000000..ab8a469 --- /dev/null +++ b/config/mozconfigs/macosx-universal/release @@ -0,0 +1,11 @@ +# This make file should be identical to the beta mozconfig, apart from the +# safeguard below +. "$topsrcdir/browser/config/mozconfigs/macosx-universal/common-opt" + +ac_add_options --enable-official-branding + +# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in +# defines.sh during the beta cycle +export BUILDING_RELEASE=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/macosx64/debug b/config/mozconfigs/macosx64/debug new file mode 100644 index 0000000..ebf8099 --- /dev/null +++ b/config/mozconfigs/macosx64/debug @@ -0,0 +1,19 @@ +. $topsrcdir/build/macosx/mozconfig.common + +ac_add_options --enable-debug +ac_add_options --enable-trace-malloc +ac_add_options --enable-accessibility +ac_add_options --enable-signmar + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +ac_add_options --with-macbundlename-prefix=Firefox + +# 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" diff --git a/config/mozconfigs/macosx64/debug-asan b/config/mozconfigs/macosx64/debug-asan new file mode 100644 index 0000000..97ced38 --- /dev/null +++ b/config/mozconfigs/macosx64/debug-asan @@ -0,0 +1,16 @@ +. $topsrcdir/build/unix/mozconfig.asan + +ac_add_options --enable-application=browser +ac_add_options --enable-debug +ac_add_options --enable-optimize="-O1" +ac_add_options --enable-accessibility + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +ac_add_options --with-macbundlename-prefix=Firefox + +# Need this to prevent name conflicts with the normal nightly build packages +export MOZ_PKG_SPECIAL=asan + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/macosx64/l10n-mozconfig b/config/mozconfigs/macosx64/l10n-mozconfig new file mode 100644 index 0000000..b2cfa21 --- /dev/null +++ b/config/mozconfigs/macosx64/l10n-mozconfig @@ -0,0 +1,8 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --with-l10n-base=../../l10n +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --with-ccache + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/win32/beta b/config/mozconfigs/win32/beta new file mode 100644 index 0000000..322af12 --- /dev/null +++ b/config/mozconfigs/win32/beta @@ -0,0 +1,7 @@ +. "$topsrcdir/browser/config/mozconfigs/win32/common-opt" + +mk_add_options MOZ_PGO=1 + +ac_add_options --enable-official-branding + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/win32/common-opt b/config/mozconfigs/win32/common-opt new file mode 100644 index 0000000..040f13a --- /dev/null +++ b/config/mozconfigs/win32/common-opt @@ -0,0 +1,33 @@ +# This file is sourced by the nightly, beta, and release mozconfigs. + +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --enable-jemalloc +if [ -f /c/builds/gapi.data ]; then + _gapi_keyfile=/c/builds/gapi.data +else + _gapi_keyfile=/e/builds/gapi.data +fi +ac_add_options --with-google-api-keyfile=${_gapi_keyfile} + + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=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 diff --git a/config/mozconfigs/win32/debug b/config/mozconfigs/win32/debug new file mode 100644 index 0000000..3b4dcc1 --- /dev/null +++ b/config/mozconfigs/win32/debug @@ -0,0 +1,26 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --enable-debug +ac_add_options --enable-trace-malloc +ac_add_options --enable-signmar + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=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" diff --git a/config/mozconfigs/win32/l10n-mozconfig b/config/mozconfigs/win32/l10n-mozconfig new file mode 100644 index 0000000..4113d99 --- /dev/null +++ b/config/mozconfigs/win32/l10n-mozconfig @@ -0,0 +1,16 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --with-l10n-base=../../l10n +ac_add_options --with-windows-version=601 + +export MOZILLA_OFFICIAL=1 + +if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then + . $topsrcdir/build/win32/mozconfig.vs2010-win64 +else + . $topsrcdir/build/win32/mozconfig.vs2010 +fi + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/win32/release b/config/mozconfigs/win32/release new file mode 100644 index 0000000..7feb125 --- /dev/null +++ b/config/mozconfigs/win32/release @@ -0,0 +1,13 @@ +# This make file should be identical to the beta mozconfig, apart from the +# safeguard below +. "$topsrcdir/browser/config/mozconfigs/win32/common-opt" + +mk_add_options MOZ_PGO=1 + +ac_add_options --enable-official-branding + +# safeguard against someone forgetting to re-set EARLY_BETA_OR_EARLIER in +# defines.sh during the beta cycle +export BUILDING_RELEASE=1 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/win64/debug b/config/mozconfigs/win64/debug new file mode 100644 index 0000000..7320d9c --- /dev/null +++ b/config/mozconfigs/win64/debug @@ -0,0 +1,22 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --target=x86_64-pc-mingw32 +ac_add_options --host=x86_64-pc-mingw32 + +ac_add_options --enable-debug +ac_add_options --enable-trace-malloc +ac_add_options --enable-signmar + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +if test -z "${_PYMAKE}"; then + mk_add_options MOZ_MAKE_FLAGS=-j1 +fi + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +. $topsrcdir/build/win64/mozconfig.vs2010 + +. "$topsrcdir/build/mozconfig.common.override" diff --git a/config/mozconfigs/win64/nightly b/config/mozconfigs/win64/nightly new file mode 100644 index 0000000..59b31df --- /dev/null +++ b/config/mozconfigs/win64/nightly @@ -0,0 +1,26 @@ +. "$topsrcdir/browser/config/mozconfigs/common" + +ac_add_options --target=x86_64-pc-mingw32 +ac_add_options --host=x86_64-pc-mingw32 + +ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} +ac_add_options --enable-update-packaging +ac_add_options --enable-jemalloc +ac_add_options --enable-signmar + +# Nightlies only since this has a cost in performance +ac_add_options --enable-js-diagnostics + +# Needed to enable breakpad in application.ini +export MOZILLA_OFFICIAL=1 + +if test -z "${_PYMAKE}"; then + mk_add_options MOZ_MAKE_FLAGS=-j1 +fi + +# Package js shell. +export MOZ_PACKAGE_JSSHELL=1 + +. $topsrcdir/build/win64/mozconfig.vs2010 + +. "$topsrcdir/build/mozconfig.common.override" |