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

Unified Diff: build/toolchain/concurrent_links.gni

Issue 2259503002: build: Refactor get_concurrent_links.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handle negative Created 4 years, 4 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
« no previous file with comments | « no previous file | build/toolchain/get_concurrent_links.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/concurrent_links.gni
diff --git a/build/toolchain/concurrent_links.gni b/build/toolchain/concurrent_links.gni
index 9705255b4d48a30725b489bada9666c6caa8a8b5..75d4932d5c524d07e8713a9db22dc4a2f965d5bd 100644
--- a/build/toolchain/concurrent_links.gni
+++ b/build/toolchain/concurrent_links.gni
@@ -20,7 +20,14 @@ declare_args() {
if (concurrent_links == -1) {
if (allow_posix_link_time_opt || is_cfi) {
- _args = [ "--lto" ]
+ _args = [
+ "--mem_per_link_gb=24",
+ "--reserve_mem_gb=10",
+ ]
+ } else if (is_win) {
+ _args = [ "--mem_per_link_gb=5" ]
+ } else if (is_mac) {
+ _args = [ "--mem_per_link_gb=4" ]
} else {
_args = []
}
« no previous file with comments | « no previous file | build/toolchain/get_concurrent_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698