Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(854)

Unified Diff: build/toolchain/win/BUILD.gn

Issue 1734043003: Add gn option 'is_lto' to enable Link Time Optimization builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/toolchain/win/BUILD.gn
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn
index 1934e9b19ad43287d8435364e318d8dd0b4b3d8f..7c359b8128194af20cd39b72079f930ef7f0c8bb 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 {
« build/config/sanitizers/sanitizers.gni ('K') | « build/toolchain/gcc_toolchain.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698