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

Side by Side Diff: build/config/win/BUILD.gn

Issue 2326143002: Enable incremental linking for blink_core, 32-bit (Closed)
Patch Set: Created 4 years, 3 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 | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/config/clang/clang.gni") 5 import("//build/config/clang/clang.gni")
6 import("//build/config/compiler/compiler.gni") 6 import("//build/config/compiler/compiler.gni")
7 import("//build/config/sanitizers/sanitizers.gni") 7 import("//build/config/sanitizers/sanitizers.gni")
8 import("//build/config/win/visual_studio_version.gni") 8 import("//build/config/win/visual_studio_version.gni")
9 import("//build/toolchain/toolchain.gni") 9 import("//build/toolchain/toolchain.gni")
10 10
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 254
255 # This default linker setup is provided separately from the SDK setup so 255 # This default linker setup is provided separately from the SDK setup so
256 # targets who want different library configurations can remove this and specify 256 # targets who want different library configurations can remove this and specify
257 # their own. 257 # their own.
258 config("common_linker_setup") { 258 config("common_linker_setup") {
259 ldflags = [ 259 ldflags = [
260 "/FIXED:NO", 260 "/FIXED:NO",
261 "/ignore:4199", 261 "/ignore:4199",
262 "/ignore:4221", 262 "/ignore:4221",
263 "/NXCOMPAT", 263 "/NXCOMPAT",
264
265 # Suggested by Microsoft Devrel to avoid
266 # LINK : fatal error LNK1248: image size (80000000)
267 # exceeds maximum allowable size (80000000)
268 # which started happening more regularly after VS2013 Update 4.
269 # Needs to be a bit lower for VS2015, or else errors out.
270 "/maxilksize:0x7ff00000",
271 ] 264 ]
272 265
273 ldflags += [ 266 ldflags += [
274 # Tell the linker to crash on failures. 267 # Tell the linker to crash on failures.
275 "/fastfail", 268 "/fastfail",
276 ] 269 ]
277 270
278 # ASLR makes debugging with windbg difficult because Chrome.exe and 271 # ASLR makes debugging with windbg difficult because Chrome.exe and
279 # Chrome.dll share the same base name. As result, windbg will name the 272 # Chrome.dll share the same base name. As result, windbg will name the
280 # Chrome.dll module like chrome_<base address>, where <base address> 273 # Chrome.dll module like chrome_<base address>, where <base address>
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 392
400 # Internal stuff -------------------------------------------------------------- 393 # Internal stuff --------------------------------------------------------------
401 394
402 # Config used by the MIDL template to disable warnings. 395 # Config used by the MIDL template to disable warnings.
403 config("midl_warnings") { 396 config("midl_warnings") {
404 if (is_clang) { 397 if (is_clang) {
405 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_". 398 # MIDL generates code like "#endif !_MIDL_USE_GUIDDEF_".
406 cflags = [ "-Wno-extra-tokens" ] 399 cflags = [ "-Wno-extra-tokens" ]
407 } 400 }
408 } 401 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698