summaryrefslogtreecommitdiffstats
path: root/build/toolchain/win
diff options
context:
space:
mode:
authorkrasin <krasin@google.com>2016-02-25 14:56:23 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-25 22:58:39 +0000
commit2de2f30ff962315aef7d81159918548db9a00566 (patch)
tree7115cdd0bc63da14e77ae7160a04515f4f6b0783 /build/toolchain/win
parent991e59ed76f5cd44e90422ea7b9e58e7f8bda562 (diff)
downloadchromium_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.gn2
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 {