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

Side by Side Diff: build/common.gypi

Issue 399843007: win: Add /d2Zi+ to compile flags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 (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 3221 matching lines...) Expand 10 before | Expand all | Expand 10 after
3232 ['win_release_OmitFramePointers==0', { 3232 ['win_release_OmitFramePointers==0', {
3233 'OmitFramePointers': 'false', 3233 'OmitFramePointers': 'false',
3234 # The above is not sufficient (http://crbug.com/106711): it 3234 # The above is not sufficient (http://crbug.com/106711): it
3235 # simply eliminates an explicit "/Oy", but both /O2 and /Ox 3235 # simply eliminates an explicit "/Oy", but both /O2 and /Ox
3236 # perform FPO regardless, so we must explicitly disable. 3236 # perform FPO regardless, so we must explicitly disable.
3237 # We still want the false setting above to avoid having 3237 # We still want the false setting above to avoid having
3238 # "/Oy /Oy-" and warnings about overriding. 3238 # "/Oy /Oy-" and warnings about overriding.
3239 'AdditionalOptions': ['/Oy-'], 3239 'AdditionalOptions': ['/Oy-'],
3240 }], 3240 }],
3241 ], 3241 ],
3242 'AdditionalOptions': [ '<@(win_release_extra_cflags)', ], 3242 'AdditionalOptions': [
3243 '/d2Zi+', # Improve debugging of Release builds.
3244 '<@(win_release_extra_cflags)',
3245 ],
3243 }, 3246 },
3244 'VCLinkerTool': { 3247 'VCLinkerTool': {
3245 # LinkIncremental is a tri-state boolean, where 0 means default 3248 # LinkIncremental is a tri-state boolean, where 0 means default
3246 # (i.e., inherit from parent solution), 1 means false, and 3249 # (i.e., inherit from parent solution), 1 means false, and
3247 # 2 means true. 3250 # 2 means true.
3248 'LinkIncremental': '1', 3251 'LinkIncremental': '1',
3249 # This corresponds to the /PROFILE flag which ensures the PDB 3252 # This corresponds to the /PROFILE flag which ensures the PDB
3250 # file contains FIXUP information (growing the PDB file by about 3253 # file contains FIXUP information (growing the PDB file by about
3251 # 5%) but does not otherwise alter the output binary. This 3254 # 5%) but does not otherwise alter the output binary. This
3252 # information is used by the Syzygy optimization tool when 3255 # information is used by the Syzygy optimization tool when
(...skipping 2402 matching lines...) Expand 10 before | Expand all | Expand 10 after
5655 # settings in target dicts. SYMROOT is a special case, because many other 5658 # settings in target dicts. SYMROOT is a special case, because many other
5656 # Xcode variables depend on it, including variables such as 5659 # Xcode variables depend on it, including variables such as
5657 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5660 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5658 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5661 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5659 # files to appear (when present) in the UI as actual files and not red 5662 # files to appear (when present) in the UI as actual files and not red
5660 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5663 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5661 # and therefore SYMROOT, needs to be set at the project level. 5664 # and therefore SYMROOT, needs to be set at the project level.
5662 'SYMROOT': '<(DEPTH)/xcodebuild', 5665 'SYMROOT': '<(DEPTH)/xcodebuild',
5663 }, 5666 },
5664 } 5667 }
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