|
| 1 | +# limit number of parallel jobs - do not do this by default, but might be needed for build systems with limited resources |
| 2 | +# mk_add_options MOZ_PARALLEL_BUILD=4 |
| 3 | + |
| 4 | +# Use ccache, make sure the path is correct |
| 5 | +#ac_add_options --with-ccache=/usr/bin/ccache |
| 6 | + |
| 7 | +# On OS X we only support newer releases so that clang uses libc++ (llvm) instead of stdlibc++ |
| 8 | +# We could work around this (typedef basic_string<char16_t> u16string), but this should be fine. |
| 9 | +#ac_add_options --enable-macos-target=10.10 |
| 10 | + |
| 11 | +# disable updater |
| 12 | +ac_add_options --disable-updater |
| 13 | + |
| 14 | +# Add-on signing is not required for DevEdition |
| 15 | +MOZ_REQUIRE_SIGNING= |
| 16 | + |
| 17 | +ac_add_options --with-branding=browser/branding/foxhound |
| 18 | + |
| 19 | +# |
| 20 | +# DEBUG BUILD |
| 21 | +# |
| 22 | +#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tf-dbg |
| 23 | +#ac_add_options --enable-debug-symbols |
| 24 | +#ac_add_options --enable-debug |
| 25 | +ac_add_options --disable-optimize |
| 26 | +#ac_add_options --disable-tests |
| 27 | +#ac_add_options --enable-project=js |
| 28 | +#ac_add_options --enable-jitspew |
| 29 | + |
| 30 | +# Package js shell. |
| 31 | +export MOZ_PACKAGE_JSSHELL=1 |
| 32 | + |
| 33 | +# |
| 34 | +# RELEASE BUILD |
| 35 | +# |
| 36 | +ac_add_options --with-app-name=foxhound |
| 37 | +mk_add_options MOZ_APP_NAME=foxhound |
| 38 | +mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tf-release |
| 39 | +#ac_add_options --disable-tests |
| 40 | +ac_add_options --disable-sandbox |
| 41 | +ac_add_options --without-wasm-sandboxed-libraries |
| 42 | +ac_add_options --disable-crashreporter |
| 43 | +ac_add_options --disable-backgroundtasks |
| 44 | +ac_add_options --enable-release |
| 45 | +ac_add_options --enable-js-shell |
| 46 | +ac_add_options --enable-clang-plugin |
| 47 | + |
| 48 | +# |
| 49 | +# OPTIMIZED BUILD WITH DEBUG SYMBOLS |
| 50 | +# |
| 51 | +#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-tf-release-with-symbols |
| 52 | +#ac_add_options --enable-debug-symbols |
| 53 | +#ac_add_options --enable-gczeal |
| 54 | +#ac_add_options --enable-optimize |
| 55 | +#ac_add_options --disable-tests |
0 commit comments