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

Unified Diff: chrome/BUILD.gn

Issue 2785043002: Increase the stack size to 2MB for x64 Windows (Closed)
Patch Set: Created 3 years, 9 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: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 6a275d948f6fe091695f59c6c9b598dc5c1e22d5..79fc9bcb029fff1cf22feab45d86bf70f966696c 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -216,6 +216,11 @@ if (!is_android && !is_mac) {
"/DELAYLOAD:ole32.dll",
"/DELAYLOAD:oleaut32.dll",
]
+
+ if (current_cpu == "x64") {
+ # Increase the initial stack size. The default is 1MB, this is 2MB.
+ ldflags += [ "/STACK:2097152" ]
+ }
} else if (use_aura) {
# Non-Windows aura entrypoint.
sources += [ "app/chrome_exe_main_aura.cc" ]
« 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