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

Unified Diff: build/toolchain/concurrent_links.gni

Issue 2282943002: build: Tweak linker memory usage for android static build (Closed)
Patch Set: import 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 | no next file » | 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 75d4932d5c524d07e8713a9db22dc4a2f965d5bd..89c2ce7d5297f1bdc354fbf5f6025fed12ffc313 100644
--- a/build/toolchain/concurrent_links.gni
+++ b/build/toolchain/concurrent_links.gni
@@ -7,6 +7,7 @@
# in the context of the default_toolchain, so we can at least check for that.
assert(current_toolchain == default_toolchain)
+import("//build/config/compiler/compiler.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/toolchain/toolchain.gni")
@@ -28,6 +29,8 @@ if (concurrent_links == -1) {
_args = [ "--mem_per_link_gb=5" ]
} else if (is_mac) {
_args = [ "--mem_per_link_gb=4" ]
+ } else if (is_android && !is_component_build && symbol_level == 2) {
+ _args = [ "--mem_per_link_gb=25" ]
} else {
_args = []
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698