summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSteven Schlansker <sschlansker@opentable.com>2016-01-27 13:58:48 -0800
committerSteven Schlansker <sschlansker@opentable.com>2016-07-28 11:07:57 -0700
commit6b51c8e5feea9519bb125972587c928679702957 (patch)
tree3156bb387351fa9c77f9e62bbc8fdc7f90876398 /build
parent2a9c27003e57380b4daf150095ce2f856e484768 (diff)
downloadpalemoon-gre-6b51c8e5feea9519bb125972587c928679702957.tar.gz
Let's try to update the Mac mozconfig to include symbols
Diffstat (limited to 'build')
-rw-r--r--build/macosx/mozconfig.common8
-rw-r--r--build/macosx/universal/mozconfig.debug (renamed from build/macosx/universal/mozconfig)7
-rw-r--r--build/macosx/universal/mozconfig.release14
3 files changed, 28 insertions, 1 deletions
diff --git a/build/macosx/mozconfig.common b/build/macosx/mozconfig.common
index e258b0d02..191f8a3ae 100644
--- a/build/macosx/mozconfig.common
+++ b/build/macosx/mozconfig.common
@@ -24,4 +24,12 @@ if [ -z "$CXX" ]; then
export CXX=clang++
fi
+mk_add_options MOZ_CO_PROJECT=browser
+ac_add_options --enable-application=browser
+
ac_add_options --with-ccache
+
+ac_add_options --disable-tests
+ac_add_options --disable-mochitests
+
+ac_add_options --disable-jemalloc
diff --git a/build/macosx/universal/mozconfig b/build/macosx/universal/mozconfig.debug
index fbb287d1b..983a84de2 100644
--- a/build/macosx/universal/mozconfig
+++ b/build/macosx/universal/mozconfig.debug
@@ -2,6 +2,11 @@
# 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/.
-# Mac OS X build mozconfig, x86_64 only.
+# Mac OS X build mozconfig, x86_64 only, include debug symbols.
+
+#ac_add_options --enable-debug
+ac_add_options --enable-debug-symbols
+ac_add_options --disable-install-strip
+ac_add_options --disable-strip
. $topsrcdir/build/macosx/universal/mozconfig.common
diff --git a/build/macosx/universal/mozconfig.release b/build/macosx/universal/mozconfig.release
new file mode 100644
index 000000000..4ccea186a
--- /dev/null
+++ b/build/macosx/universal/mozconfig.release
@@ -0,0 +1,14 @@
+# 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/.
+
+# Mac OS X build mozconfig, x86_64 only, release build.
+
+# Please note the restrictions on official branding when using this line.
+ac_add_options --enable-official-branding
+export MOZILLA_OFFICIAL=1
+
+ac_add_options --disable-debug
+ac_add_options --enable-strip
+
+. $topsrcdir/build/macosx/universal/mozconfig.common