9cf56fbc7e
Sanitizers can pickup configuration and suppressions via special symbols in the binary (e.g. __*_default_suppressions and __*_default_options). We have a bunch of stale files in the buildroot which showed how to do it, but none of these were actually used by the build process. Update our BUILDCONFIG.gn to actually link this code into the binaries and clean it up leaving behind only one relevant suppression for TSAN. Additionally fix libplatform targets - libdart_platform_no_tsan was accidentally disabling TSAN for the whole libplatform by adding no_tsan_config into public_configs instead of extra_configs. This is needed to unblock landing https://dart-review.googlesource.com/c/sdk/+/444983 TEST=manually with the referenced CL to verify that suppressions work Cq-Include-Trybots: luci.dart.try:vm-tsan-linux-release-x64-try,vm-tsan-linux-release-arm64-try Change-Id: Id4e8a5b89c665cf5d89b18c4f5881ef31c3c9396 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445941 Commit-Queue: Slava Egorov <vegorov@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
This directory was taken from a snapshot of flutter/engine/src/build/.
The snapshot was taken with a recursive copy cp -R of the directory from
the flutter repository.
The contents has now diverged significantly from Flutter, and is maintained independently by the Dart team. It is used to support the GN build system.