Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Side by Side Diff: build/internal/release_impl_official.gypi

Issue 8983002: Allow targets to self-select optimization level in official builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge resolution issue. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« build/common.gypi ('K') | « build/internal/release_impl.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
3 # found in the LICENSE file.
1 { 4 {
2 'includes': ['release_defaults.gypi'], 5 'includes': ['release_defaults.gypi'],
3 'defines': ['OFFICIAL_BUILD'], 6 'defines': ['OFFICIAL_BUILD'],
4 'msvs_settings': { 7 'msvs_settings': {
5 'VCCLCompilerTool': { 8 'VCCLCompilerTool': {
6 'Optimization': '3',
7 'InlineFunctionExpansion': '2', 9 'InlineFunctionExpansion': '2',
8 'EnableIntrinsicFunctions': 'true', 10 'EnableIntrinsicFunctions': 'true',
9 'FavorSizeOrSpeed': '2',
10 'OmitFramePointers': 'true', 11 'OmitFramePointers': 'true',
11 'EnableFiberSafeOptimizations': 'true', 12 'EnableFiberSafeOptimizations': 'true',
12 'WholeProgramOptimization': 'true',
13 }, 13 },
14 'VCLibrarianTool': { 14 'VCLibrarianTool': {
15 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], 15 'AdditionalOptions': [
16 '/ltcg',
17 '/expectedoutputsize:120000000'
18 ],
16 }, 19 },
17 'VCLinkerTool': { 20 'VCLinkerTool': {
18 # Get more debug spew from the linker while we're sorting out
19 # build problems and performance.
20 # TODO(siggi): Remove these flags after we're out of the woods.
21 'AdditionalOptions': [ 21 'AdditionalOptions': [
22 '/time', 22 '/time',
23 # This may reduce memory fragmentation during linking. 23 # This may reduce memory fragmentation during linking.
24 # The expected size is 40*1024*1024, which gives us about 10M of 24 # The expected size is 40*1024*1024, which gives us about 10M of
25 # headroom as of Dec 16, 2011. 25 # headroom as of Dec 16, 2011.
26 '/expectedoutputsize:41943040', 26 '/expectedoutputsize:41943040',
27 ], 27 ],
28 'LinkTimeCodeGeneration': '1', 28 'LinkTimeCodeGeneration': '1',
29 # 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
30 # the generated PDB. According to MSDN documentation, this flag is only 30 # the generated PDB. According to MSDN documentation, this flag is only
31 # available (or perhaps supported) in the Enterprise (team development) 31 # available (or perhaps supported) in the Enterprise (team development)
32 # version of Visual Studio. If this blocks your official build, simply 32 # version of Visual Studio. If this blocks your official build, simply
33 # comment out this line, then re-run "gclient runhooks". 33 # comment out this line, then re-run "gclient runhooks".
34 'Profile': 'true', 34 'Profile': 'true',
35 }, 35 },
36 }, 36 },
37 } 37 }
OLDNEW
« build/common.gypi ('K') | « build/internal/release_impl.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698