Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | . "$topsrcdir/b2g/config/mozconfigs/common" |
michael@0 | 2 | . "$topsrcdir/build/unix/mozconfig.linux" |
michael@0 | 3 | |
michael@0 | 4 | ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL} |
michael@0 | 5 | ac_add_options --enable-update-packaging |
michael@0 | 6 | ac_add_options --enable-signmar |
michael@0 | 7 | ac_add_options --enable-debug |
michael@0 | 8 | |
michael@0 | 9 | # Nightlies only since this has a cost in performance |
michael@0 | 10 | #ac_add_options --enable-js-diagnostics |
michael@0 | 11 | |
michael@0 | 12 | # This will overwrite the default of stripping everything and keep the symbol table. |
michael@0 | 13 | # This is useful for profiling and debugging and only increases the package size |
michael@0 | 14 | # by 2 MBs. |
michael@0 | 15 | STRIP_FLAGS="--strip-debug" |
michael@0 | 16 | |
michael@0 | 17 | # Needed to enable breakpad in application.ini |
michael@0 | 18 | export MOZILLA_OFFICIAL=1 |
michael@0 | 19 | |
michael@0 | 20 | export MOZ_TELEMETRY_REPORTING=1 |
michael@0 | 21 | |
michael@0 | 22 | # Treat warnings as errors in directories with FAIL_ON_WARNINGS. |
michael@0 | 23 | # DISABLED WHILE NOT ON TRY ac_add_options --enable-warnings-as-errors |
michael@0 | 24 | |
michael@0 | 25 | # Use sccache |
michael@0 | 26 | no_sccache= |
michael@0 | 27 | . "$topsrcdir/build/mozconfig.cache" |
michael@0 | 28 | |
michael@0 | 29 | #B2G options |
michael@0 | 30 | ac_add_options --enable-application=b2g |
michael@0 | 31 | ENABLE_MARIONETTE=1 |
michael@0 | 32 | ac_add_options --disable-elf-hack |
michael@0 | 33 | export CXXFLAGS=-DMOZ_ENABLE_JS_DUMP |
michael@0 | 34 | |
michael@0 | 35 | GAIADIR=$topsrcdir/gaia |
michael@0 | 36 | |
michael@0 | 37 | . "$topsrcdir/b2g/config/mozconfigs/common.override" |