Bug 384269 - Mac perf regression from enabling libxul, r=luser
authorbenjamin@smedbergs.us
Wed, 13 Jun 2007 10:15:05 -0700
changeset 2353 91f239b6b5151fb9d9fb56967fcae04a832211da
parent 2352 f0580eadb65287fb4812697af889556cfc53ee07
child 2354 b1210dbe9c2df6db4933b96b04d6a1cca815001a
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluser
bugs384269
milestone1.9a6pre
Bug 384269 - Mac perf regression from enabling libxul, r=luser
browser/confvars.sh
--- a/browser/confvars.sh
+++ b/browser/confvars.sh
@@ -34,18 +34,29 @@
 # the provisions above, a recipient may use your version of this file under
 # the terms of any one of the MPL, the GPL or the LGPL.
 #
 # ***** END LICENSE BLOCK *****
 
 MOZ_APP_NAME=firefox
 MOZ_UPDATER=1
 MOZ_PHOENIX=1
+
+case "$target_os" in
+darwin*)
+  # libxul is causing performance issues due to mach-o not hiding symbols
+  # Disable it temporarily
+  MOZ_ENABLE_LIBXUL=
+  ;;
+*)
+  MOZ_ENABLE_LIBXUL=1
+  ;;
+esac
+
 MOZ_PLACES=1
 MOZ_PLACES_BOOKMARKS=1
 # always enabled for form history
 MOZ_MORKREADER=1
 MOZ_SAFE_BROWSING=1
 MOZ_APP_VERSION=$FIREFOX_VERSION
 MOZ_NO_XPCOM_OBSOLETE=1
 MOZ_EXTENSIONS_DEFAULT=" xml-rpc inspector gnomevfs reporter"
 # MOZ_APP_DISPLAYNAME will be set by branding/configure.sh
-MOZ_ENABLE_LIBXUL=1