summaryrefslogtreecommitdiffstats
path: root/config/mozconfigs/macosx-universal
diff options
context:
space:
mode:
Diffstat (limited to 'config/mozconfigs/macosx-universal')
-rw-r--r--config/mozconfigs/macosx-universal/beta5
-rw-r--r--config/mozconfigs/macosx-universal/common-opt19
-rw-r--r--config/mozconfigs/macosx-universal/l10n-mozconfig11
-rw-r--r--config/mozconfigs/macosx-universal/release11
4 files changed, 46 insertions, 0 deletions
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"