OLD | NEW |
---|---|
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'includes': ['release_defaults.gypi'], | 5 'includes': ['release_defaults.gypi'], |
6 'defines': ['OFFICIAL_BUILD'], | 6 'defines': ['OFFICIAL_BUILD'], |
7 'msvs_settings': { | 7 'msvs_settings': { |
8 'VCCLCompilerTool': { | 8 'VCCLCompilerTool': { |
9 'InlineFunctionExpansion': '2', | 9 'InlineFunctionExpansion': '2', |
10 'EnableIntrinsicFunctions': 'true', | 10 'EnableIntrinsicFunctions': 'true', |
11 'OmitFramePointers': 'false', | 11 'OmitFramePointers': 'false', |
12 'EnableFiberSafeOptimizations': 'true', | 12 'EnableFiberSafeOptimizations': 'true', |
13 'AdditionalOptions': ['/Oy-'], | |
eroman
2012/02/08 23:46:07
Can you order this right beside OmitFramePointers,
| |
13 }, | 14 }, |
14 'VCLibrarianTool': { | 15 'VCLibrarianTool': { |
15 'AdditionalOptions': [ | 16 'AdditionalOptions': [ |
16 '/ltcg', | 17 '/ltcg', |
17 '/expectedoutputsize:120000000' | 18 '/expectedoutputsize:120000000' |
18 ], | 19 ], |
19 }, | 20 }, |
20 'VCLinkerTool': { | 21 'VCLinkerTool': { |
21 'AdditionalOptions': [ | 22 'AdditionalOptions': [ |
22 '/time', | 23 '/time', |
23 # This may reduce memory fragmentation during linking. | 24 # This may reduce memory fragmentation during linking. |
24 # The expected size is 40*1024*1024, which gives us about 10M of | 25 # The expected size is 40*1024*1024, which gives us about 10M of |
25 # headroom as of Dec 16, 2011. | 26 # headroom as of Dec 16, 2011. |
26 '/expectedoutputsize:41943040', | 27 '/expectedoutputsize:41943040', |
27 ], | 28 ], |
28 'LinkTimeCodeGeneration': '1', | 29 'LinkTimeCodeGeneration': '1', |
29 # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to | 30 # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to |
30 # the generated PDB. According to MSDN documentation, this flag is only | 31 # the generated PDB. According to MSDN documentation, this flag is only |
31 # available (or perhaps supported) in the Enterprise (team development) | 32 # available (or perhaps supported) in the Enterprise (team development) |
32 # version of Visual Studio. If this blocks your official build, simply | 33 # version of Visual Studio. If this blocks your official build, simply |
33 # comment out this line, then re-run "gclient runhooks". | 34 # comment out this line, then re-run "gclient runhooks". |
34 'Profile': 'true', | 35 'Profile': 'true', |
35 }, | 36 }, |
36 }, | 37 }, |
37 } | 38 } |
OLD | NEW |