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

Side by Side Diff: build/common.gypi

Issue 1816333002: Add fastfail to VC++ linker (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove compiler switch - just leave linker switch Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | build/config/compiler/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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 3258 matching lines...) Expand 10 before | Expand all | Expand 10 after
3269 'delayimp.lib', 3269 'delayimp.lib',
3270 'credui.lib', 3270 'credui.lib',
3271 'netapi32.lib', 3271 'netapi32.lib',
3272 ], 3272 ],
3273 'AdditionalOptions': [ 3273 'AdditionalOptions': [
3274 # Suggested by Microsoft Devrel to avoid 3274 # Suggested by Microsoft Devrel to avoid
3275 # LINK : fatal error LNK1248: image size (80000000) exceeds maxi mum allowable size (80000000) 3275 # LINK : fatal error LNK1248: image size (80000000) exceeds maxi mum allowable size (80000000)
3276 # which started happening more regularly after VS2013 Update 4. 3276 # which started happening more regularly after VS2013 Update 4.
3277 # Needs to be a bit lower for VS2015, or else errors out. 3277 # Needs to be a bit lower for VS2015, or else errors out.
3278 '/maxilksize:0x7ff00000', 3278 '/maxilksize:0x7ff00000',
3279 # Tell the linker to crash on failures.
3280 '/fastfail',
3279 ], 3281 ],
3280 }, 3282 },
3281 }, 3283 },
3282 'conditions': [ 3284 'conditions': [
3283 ['OS=="win" and win_fastlink==1 and MSVS_VERSION != "2013"', { 3285 ['OS=="win" and win_fastlink==1 and MSVS_VERSION != "2013"', {
3284 'msvs_settings': { 3286 'msvs_settings': {
3285 'VCLinkerTool': { 3287 'VCLinkerTool': {
3286 # /PROFILE is incompatible with /debug:fastlink 3288 # /PROFILE is incompatible with /debug:fastlink
3287 'Profile': 'false', 3289 'Profile': 'false',
3288 'AdditionalOptions': [ 3290 'AdditionalOptions': [
(...skipping 3112 matching lines...) Expand 10 before | Expand all | Expand 10 after
6401 # settings in target dicts. SYMROOT is a special case, because many other 6403 # settings in target dicts. SYMROOT is a special case, because many other
6402 # Xcode variables depend on it, including variables such as 6404 # Xcode variables depend on it, including variables such as
6403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6405 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6406 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6405 # files to appear (when present) in the UI as actual files and not red 6407 # files to appear (when present) in the UI as actual files and not red
6406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6408 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6407 # and therefore SYMROOT, needs to be set at the project level. 6409 # and therefore SYMROOT, needs to be set at the project level.
6408 'SYMROOT': '<(DEPTH)/xcodebuild', 6410 'SYMROOT': '<(DEPTH)/xcodebuild',
6409 }, 6411 },
6410 } 6412 }
OLDNEW
« no previous file with comments | « no previous file | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698