Chromium Code Reviews| 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" ] |
|
brucedawson
2016/08/22 19:31:32
The Windows memory used per linker is highly depen
boliu
2016/08/22 20:49:03
This was just intended to be a refactor, without c
|
| + } else if (is_mac) { |
| + _args = [ "--mem_per_link_gb=4" ] |
| } else { |
| _args = [] |
| } |