Commit c059c618 authored by siggi@chromium.org's avatar siggi@chromium.org

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: svn://svn.chromium.org/chrome/trunk/src@95878 0039d316-1c4b-4281-b951-d872f2087c98
parent bf017de8
...@@ -1154,7 +1154,16 @@ ...@@ -1154,7 +1154,16 @@
], ],
}, },
'VCLinkerTool': { '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', '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': [ 'conditions': [
......
...@@ -152,15 +152,6 @@ ...@@ -152,15 +152,6 @@
# on whether or not optimize_with_syzygy==1. # on whether or not optimize_with_syzygy==1.
'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb', 'ProgramDatabaseFile': '$(OutDir)\\initial\\chrome_dll.pdb',
'OutputFile': '$(OutDir)\\initial\\chrome.dll', 'OutputFile': '$(OutDir)\\initial\\chrome.dll',
'conditions': [
['fastbuild==0', {
# This corresponds to the /PROFILE flag which ensures the PDB
# file contains FIXUP information. This information is used
# by the Syzygy optimization tool. Syzygy optimization is
# disabled when fastbuild!=0.
'Profile': 'true',
}],
],
}, },
}, },
}], # OS=="win" }], # OS=="win"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment