diff options
author | Brian Osman <brianosman@google.com> | 2017-12-28 14:53:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-31 14:55:39 +0000 |
commit | a99d982e0d1f90e6aa26843773b445dcfa243b42 (patch) | |
tree | f7b2f98bed7b62eb6398b9d4239046a52c14ed9f /gn/BUILD.gn | |
parent | dacc02b8dd36d545d95261670ace194150ab52ee (diff) |
Add FASTLINK to windows builds
From my local testing, this brings incremental link times back where
they were before switching to Z7 (55s -> 15s). It also speeds up full
builds times by a similar margin (so no real impact on per-translation
unit build time).
https://blogs.msdn.microsoft.com/vcblog/2016/10/05/faster-c-build-cycle-in-vs-15-with-debugfastlink/
Bug: skia:
Change-Id: I83a3b8a3d6492eb9a6bd7fe8b6893b2dd6970b06
Reviewed-on: https://skia-review.googlesource.com/89800
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index 28b1aec1b7..52c0838737 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -381,7 +381,7 @@ config("debug_symbols") { ] } else if (is_win) { cflags = [ "/Z7" ] - ldflags = [ "/DEBUG" ] + ldflags = [ "/DEBUG:FASTLINK" ] } else { cflags = [ "-g" ] } |