mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
c173540215
The remaining uses all need adjustements to in-tree mozconfigs, so they all need to be done at once. However, to make things slightly more intelligible, we do this in two steps. This is step 1: we modify the use_toolchain transform to take care of the transformation, while keeping the task definitions intact, so that we only deal with mozconfig and build script adjustements here. Differential Revision: https://phabricator.services.mozilla.com/D41890
23 lines
681 B
Plaintext
23 lines
681 B
Plaintext
MOZ_AUTOMATION_L10N_CHECK=0
|
|
|
|
. "$topsrcdir/build/unix/mozconfig.unix"
|
|
|
|
export LLVM_SYMBOLIZER="$MOZ_FETCHES_DIR/clang/bin/llvm-symbolizer"
|
|
|
|
# Enable TSan specific code and build workarounds
|
|
ac_add_options --enable-thread-sanitizer
|
|
|
|
# The ThreadSanitizer is not compatible with sandboxing
|
|
# (see bug 1182565)
|
|
ac_add_options --disable-sandbox
|
|
|
|
# These are required by TSan
|
|
ac_add_options --disable-jemalloc
|
|
ac_add_options --disable-crashreporter
|
|
ac_add_options --disable-elf-hack
|
|
|
|
# Keep symbols to symbolize TSan traces
|
|
ac_add_options --disable-install-strip
|
|
# -gline-tables-only results in significantly smaller binaries.
|
|
ac_add_options --enable-debug-symbols="-gline-tables-only"
|