GN: add sanitize arg
authormtklein <mtklein@chromium.org>
Thu, 8 Sep 2016 15:39:34 +0000 (08:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 8 Sep 2016 15:39:34 +0000 (08:39 -0700)
commit2b3c2a3ff9166e92ca1700e695c30ae729a3f10c
treeb9a5de3f678b6c3ec6412205a8ef436a3ea3e4c6
parentda7136750d30f5f8a38808414e0f67f3382edacf
GN: add sanitize arg

Attempt to take over all *SAN builds.

MSAN has a lot of coordination required between gn/BUILD.gn and gn_flavor.py.
I'd like to follow up to move more of this into gn/BUILD.gn, to make it easier
to use locally.

The compile steps should be much faster now.  We no longer build CMake
and Clang for every run, instead using the clang_linux CIPD package.  This
removes the need for all the third_party/externals/llvm/... dependencies.

Similarly, since we're using the clang_linux package, we no longer depend
on Chrome's Clang, and thus no longer need to sync chromium on these bots.

Instead of packaging up MSAN libraries and llvm-symbolizer in the compile
output, I have the test / perf bots also depend on the clang_linux package.
These do not vary from build to build.

No more need for the xsan.blacklist -include hack: Clang, GN, and Ninja
all track changes to xsan.blacklist without our help.

This has the incidental effect of upgrading the compiler used by *SAN
bots from Clang 3.8 to Clang 3.9.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2289343002

Review-Url: https://codereview.chromium.org/2289343002
22 files changed:
DEPS
gn/BUILD.gn
gn/BUILDCONFIG.gn
infra/bots/recipe_modules/flavor/api.py
infra/bots/recipe_modules/flavor/gn_flavor.py
infra/bots/recipe_modules/flavor/xsan_flavor.py [deleted file]
infra/bots/recipe_modules/vars/api.py
infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-x86_64-Debug-ASAN.json [new file with mode: 0644]
infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Debug-MSAN.json
infra/bots/recipes/swarm_compile.py
infra/bots/recipes/swarm_perf.expected/Perf-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release-GN.json
infra/bots/recipes/swarm_perf.expected/Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Release-GN.json [new file with mode: 0644]
infra/bots/recipes/swarm_perf.py
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN.json [new file with mode: 0644]
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN.json
infra/bots/recipes/swarm_test.expected/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN.json
infra/bots/recipes/swarm_test.py
infra/bots/recipes/swarm_trigger.expected/Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN.json
infra/bots/recipes/swarm_trigger.py
third_party/freetype2/BUILD.gn
tools/xsan.blacklist
tools/xsan_build [deleted file]