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

Side by Side Diff: chrome/BUILD.gn

Issue 2785043002: Increase the stack size to 2MB for x64 Windows (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/compiler/pgo/pgo.gni") 8 import("//build/config/compiler/pgo/pgo.gni")
9 import("//build/config/features.gni") 9 import("//build/config/features.gni")
10 import("//build/config/locales.gni") 10 import("//build/config/locales.gni")
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 configs += [ "//build/config/win:windowed" ] 209 configs += [ "//build/config/win:windowed" ]
210 } 210 }
211 211
212 ldflags = [ 212 ldflags = [
213 "/DELAYLOAD:dbghelp.dll", 213 "/DELAYLOAD:dbghelp.dll",
214 "/DELAYLOAD:dwmapi.dll", 214 "/DELAYLOAD:dwmapi.dll",
215 "/DELAYLOAD:uxtheme.dll", 215 "/DELAYLOAD:uxtheme.dll",
216 "/DELAYLOAD:ole32.dll", 216 "/DELAYLOAD:ole32.dll",
217 "/DELAYLOAD:oleaut32.dll", 217 "/DELAYLOAD:oleaut32.dll",
218 ] 218 ]
219
220 if (current_cpu == "x64") {
221 # Increase the initial stack size. The default is 1MB, this is 2MB.
222 ldflags += [ "/STACK:2097152" ]
223 }
219 } else if (use_aura) { 224 } else if (use_aura) {
220 # Non-Windows aura entrypoint. 225 # Non-Windows aura entrypoint.
221 sources += [ "app/chrome_exe_main_aura.cc" ] 226 sources += [ "app/chrome_exe_main_aura.cc" ]
222 } 227 }
223 228
224 if (is_linux) { 229 if (is_linux) {
225 sources += [ 230 sources += [
226 "app/chrome_dll_resource.h", 231 "app/chrome_dll_resource.h",
227 "app/chrome_main.cc", 232 "app/chrome_main.cc",
228 "app/chrome_main_delegate.cc", 233 "app/chrome_main_delegate.cc",
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1683 "//chrome/app/theme/$branding_path_component/product_logo_48.png", 1688 "//chrome/app/theme/$branding_path_component/product_logo_48.png",
1684 "//chrome/tools/build/linux/chrome-wrapper", 1689 "//chrome/tools/build/linux/chrome-wrapper",
1685 "//third_party/xdg-utils/scripts/xdg-mime", 1690 "//third_party/xdg-utils/scripts/xdg-mime",
1686 "//third_party/xdg-utils/scripts/xdg-settings", 1691 "//third_party/xdg-utils/scripts/xdg-settings",
1687 ] 1692 ]
1688 outputs = [ 1693 outputs = [
1689 "$root_out_dir/{{source_file_part}}", 1694 "$root_out_dir/{{source_file_part}}",
1690 ] 1695 ]
1691 } 1696 }
1692 } 1697 }
OLDNEW
« 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