[tor-commits] [tor-browser/tor-browser-17.0.6esr-2] Tor Browser's official .mozconfigs.

mikeperry at torproject.org mikeperry at torproject.org
Thu May 16 23:09:19 UTC 2013


commit 7ff1fbccb9f6142a503127737da6f7fbd2b1a8c1
Author: Mike Perry <mikeperry-git at torproject.org>
Date:   Mon May 6 15:51:06 2013 -0700

    Tor Browser's official .mozconfigs.
---
 .mozconfig       |   17 +++++++++++++++++
 .mozconfig-mingw |   27 +++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/.mozconfig b/.mozconfig
new file mode 100755
index 0000000..ff722dc
--- /dev/null
+++ b/.mozconfig
@@ -0,0 +1,17 @@
+. $topsrcdir/browser/config/mozconfig
+
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj- at CONFIG_GUESS@
+mk_add_options MOZ_APP_DISPLAYNAME=TorBrowser
+mk_add_options MOZ_MAKE_FLAGS="-s --no-print-directory -j4"
+mk_add_options MOZILLA_OFFICIAL=1
+mk_add_options BUILD_OFFICIAL=1
+
+ac_add_options --enable-optimize
+#ac_add_options --disable-optimize
+ac_add_options --enable-official-branding
+ac_add_options --enable-strip
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-maintenance-service
+ac_add_options --disable-crashreporter
+ac_add_options --disable-webrtc
diff --git a/.mozconfig-mingw b/.mozconfig-mingw
new file mode 100644
index 0000000..221cdc5
--- /dev/null
+++ b/.mozconfig-mingw
@@ -0,0 +1,27 @@
+#Specify the cross compile
+export CROSS_COMPILE=1
+export MIDL=/usr/bin/i686-w64-mingw32-widl                                                                        
+
+ac_add_options --enable-application=browser
+ac_add_options --target=i686-w64-mingw32
+ac_add_options --enable-default-toolkit=cairo-windows
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-mingw
+mk_add_options MOZ_APP_DISPLAYNAME=TorBrowser
+mk_add_options MOZ_MAKE_FLAGS="-s --no-print-directory -j4"
+mk_add_options MOZILLA_OFFICIAL=1
+mk_add_options BUILD_OFFICIAL=1
+
+ac_add_options --disable-debug
+ac_add_options --enable-optimize
+ac_add_options --enable-strip
+ac_add_options --enable-official-branding
+
+ac_add_options --disable-updater
+ac_add_options --disable-crashreporter
+ac_add_options --disable-maintenance-service
+ac_add_options --disable-webrtc
+ac_add_options --disable-tests
+
+# XXX: So close.. Undefined ref to _IID_IAccessible during linking
+ac_add_options --disable-accessibility
+ac_add_options --disable-webgl





More information about the tor-commits mailing list