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" ] |