diff options
author | krasin <krasin@google.com> | 2016-02-25 14:56:23 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-25 22:58:39 +0000 |
commit | 2de2f30ff962315aef7d81159918548db9a00566 (patch) | |
tree | 7115cdd0bc63da14e77ae7160a04515f4f6b0783 /build/toolchain/win | |
parent | 991e59ed76f5cd44e90422ea7b9e58e7f8bda562 (diff) | |
download | chromium_src-2de2f30ff962315aef7d81159918548db9a00566.zip chromium_src-2de2f30ff962315aef7d81159918548db9a00566.tar.gz chromium_src-2de2f30ff962315aef7d81159918548db9a00566.tar.bz2 |
Add gn option 'is_lto' to enable Link Time Optimization builds.
We'll launch LTO builds on Linux first, and then add CFI
(control flow integrity) on top of that.
BUG=589915
Review URL: https://codereview.chromium.org/1734043003
Cr-Commit-Position: refs/heads/master@{#377695}
Diffstat (limited to 'build/toolchain/win')
-rw-r--r-- | build/toolchain/win/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn index 1934e9b..7c359b8 100644 --- a/build/toolchain/win/BUILD.gn +++ b/build/toolchain/win/BUILD.gn @@ -25,7 +25,7 @@ if (use_goma) { } # This value will be inherited in the toolchain below. -if (is_cfi) { +if (is_lto) { concurrent_links = exec_script("../get_concurrent_links.py", [ "--lto" ], "value") } else { |