diff options
author | siggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-02 14:51:01 +0000 |
---|---|---|
committer | siggi@chromium.org <siggi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-02 14:51:01 +0000 |
commit | b0e8c47258f143ea1486ed492ee717fce664e2f4 (patch) | |
tree | 30e3f108c5620630a4134631b026a77f608a78be /build/internal | |
parent | 6dca1656de4e892de2ba93935fb9b487885e6f47 (diff) | |
download | chromium_src-b0e8c47258f143ea1486ed492ee717fce664e2f4.zip chromium_src-b0e8c47258f143ea1486ed492ee717fce664e2f4.tar.gz chromium_src-b0e8c47258f143ea1486ed492ee717fce664e2f4.tar.bz2 |
Add the /profile flag to linker options for official builds.
This deposits "FIXUPS" in the PDB, which grows the PDB file by 5% or so, but does otherwise not the generated binaries.
BUG=none
TESt=none
Review URL: http://codereview.chromium.org/7106002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/internal')
-rw-r--r-- | build/internal/release_impl_official.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/internal/release_impl_official.gypi b/build/internal/release_impl_official.gypi index 18f7928..dd899c2 100644 --- a/build/internal/release_impl_official.gypi +++ b/build/internal/release_impl_official.gypi @@ -16,6 +16,12 @@ }, 'VCLinkerTool': { 'LinkTimeCodeGeneration': '1', + # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to + # the generated PDB. According to MSDN documentation, this flag is only + # available (or perhaps supported) in the Enterprise (team development) + # version of Visual Studio. If this blocks your official build, simply + # comment out this line, then re-run "gclient runhooks". + 'Profile': 'true', }, }, } |