Enable /PROFILE for Release builds and remove it from Debug builds.

Landing this change for rogerm@chromium.org, original review at http://codereview.chromium.org/7541080/.

BUG=None
TEST=Incremental linking works again.
Review URL: http://codereview.chromium.org/7106002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@95878 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
siggi@chromium.org 2011-08-08 20:56:34 +00:00
Родитель abdd3368e4
Коммит 6ded4d7f6f
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -1154,7 +1154,16 @@
],
},
'VCLinkerTool': {
# LinkIncremental is a tri-state boolean, where 0 means default
# (i.e., inherit from parent solution), 1 means false, and
# 2 means true.
'LinkIncremental': '1',
# This corresponds to the /PROFILE flag which ensures the PDB
# file contains FIXUP information (growing the PDB file by about
# 5%) but does not otherwise alter the output binary. This
# information is used by the Syzygy optimization tool when
# decomposing the release image.
'Profile': 'true',
},
},
'conditions': [