diff options
author | mtklein <mtklein@chromium.org> | 2016-09-08 08:39:34 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-08 08:39:34 -0700 |
commit | 2b3c2a3ff9166e92ca1700e695c30ae729a3f10c (patch) | |
tree | b9a5de3f678b6c3ec6412205a8ef436a3ea3e4c6 /third_party/freetype2 | |
parent | da7136750d30f5f8a38808414e0f67f3382edacf (diff) |
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
Diffstat (limited to 'third_party/freetype2')
-rw-r--r-- | third_party/freetype2/BUILD.gn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/freetype2/BUILD.gn b/third_party/freetype2/BUILD.gn index 623c47eb83..3ac5dd242c 100644 --- a/third_party/freetype2/BUILD.gn +++ b/third_party/freetype2/BUILD.gn @@ -8,7 +8,8 @@ declare_args() { import("../third_party.gni") -if (is_android) { +# TODO: build from source all the time? +if (is_android || sanitize == "MSAN") { third_party("freetype2") { public_include_dirs = [ "../externals/freetype/include" ] |