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

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

Issue 1492843006: get_concurrent_links.py: give more RAM per job in LTO builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years 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
« no previous file with comments | « build/toolchain/get_concurrent_links.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/win/BUILD.gn
diff --git a/build/toolchain/win/BUILD.gn b/build/toolchain/win/BUILD.gn
index 2054713be6c5b90c75f3d854bc092ee53dff060b..11f9328c5115541356b71297e8b4152368ef4b4d 100644
--- a/build/toolchain/win/BUILD.gn
+++ b/build/toolchain/win/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/win/visual_studio_version.gni")
import("//build/toolchain/goma.gni")
import("//build/toolchain/toolchain.gni")
@@ -24,7 +25,12 @@ if (use_goma) {
}
# This value will be inherited in the toolchain below.
-concurrent_links = exec_script("../get_concurrent_links.py", [], "value")
+if (is_cfi) {
+ concurrent_links =
+ exec_script("../get_concurrent_links.py", [ "--lto" ], "value")
+} else {
+ concurrent_links = exec_script("../get_concurrent_links.py", [], "value")
+}
# Copy the VS runtime DLL for the default toolchain to the root build directory
# so things will run.
« no previous file with comments | « build/toolchain/get_concurrent_links.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698