OLD | NEW |
---|---|
1 { | 1 { |
2 'includes': ['release_defaults.gypi'], | 2 'includes': ['release_defaults.gypi'], |
3 'defines': ['OFFICIAL_BUILD'], | 3 'defines': ['OFFICIAL_BUILD'], |
4 'msvs_settings': { | 4 'msvs_settings': { |
5 'VCCLCompilerTool': { | 5 'VCCLCompilerTool': { |
6 'Optimization': '3', | 6 'Optimization': '3', |
7 'InlineFunctionExpansion': '2', | 7 'InlineFunctionExpansion': '2', |
8 'EnableIntrinsicFunctions': 'true', | 8 'EnableIntrinsicFunctions': 'true', |
9 'FavorSizeOrSpeed': '2', | 9 'FavorSizeOrSpeed': '2', |
10 'OmitFramePointers': 'true', | 10 'OmitFramePointers': 'true', |
11 'EnableFiberSafeOptimizations': 'true', | 11 'EnableFiberSafeOptimizations': 'true', |
12 'WholeProgramOptimization': 'true', | 12 'WholeProgramOptimization': 'true', |
13 }, | 13 }, |
14 'VCLibrarianTool': { | 14 'VCLibrarianTool': { |
15 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], | 15 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], |
16 }, | 16 }, |
17 'VCLinkerTool': { | 17 'VCLinkerTool': { |
18 # Get more debug spew from the linker while we're sorting out | 18 # Get more debug spew from the linker while we're sorting out |
19 # build problems and performance. | 19 # build problems and performance. |
20 # TODO(siggi): Remove these flags after we're out of the woods. | 20 # TODO(siggi): Remove these flags after we're out of the woods. |
21 'AdditionalOptions': ['/verbose', '/time'], | 21 'AdditionalOptions': [ |
22 '/time', | |
M-A Ruel
2011/12/16 14:48:45
I didn't know this flag, cool.
| |
23 # This may reduce memory fragmentation during linking. | |
24 # The expected size is 40*1024*1024, which gives us about 10M of | |
25 # headroom as of Dec 16, 2011. | |
26 '/expectedoutputsize:41943040', | |
27 ], | |
22 'LinkTimeCodeGeneration': '1', | 28 'LinkTimeCodeGeneration': '1', |
23 # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to | 29 # The /PROFILE flag causes the linker to add a "FIXUP" debug stream to |
24 # the generated PDB. According to MSDN documentation, this flag is only | 30 # the generated PDB. According to MSDN documentation, this flag is only |
25 # available (or perhaps supported) in the Enterprise (team development) | 31 # available (or perhaps supported) in the Enterprise (team development) |
26 # version of Visual Studio. If this blocks your official build, simply | 32 # version of Visual Studio. If this blocks your official build, simply |
27 # comment out this line, then re-run "gclient runhooks". | 33 # comment out this line, then re-run "gclient runhooks". |
28 'Profile': 'true', | 34 'Profile': 'true', |
29 }, | 35 }, |
30 }, | 36 }, |
31 } | 37 } |
OLD | NEW |