OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2006-2008 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. |
| 4 |
| 5 __doc__ = """ |
| 6 Release settings for official Chromium builds. |
| 7 """ |
| 8 |
| 9 Import("env") |
| 10 |
| 11 env.ApplySConscript(['release_defaults.scons']) |
| 12 |
| 13 if env.Bit('windows'): |
| 14 env.Append( |
| 15 ARFLAGS = [ |
| 16 '/ltcg', |
| 17 ], |
| 18 CCFLAGS = [ |
| 19 '/Ox', # VCCLCompilerTool.Optimization="3" |
| 20 '/Ob2', # VCCLCompilerTool.InlineFunctionExpansion="2" |
| 21 '/Oi', # VCCLCompilerTool.EnableIntrinsicFunctions="true" |
| 22 '/Os', # VCCLCompilerTool.FavorSizeOrSpeed="2" |
| 23 '/Ox', # VCCLCompilerTool.OmitFramePointers="true" |
| 24 '/GT', # VCCLCompilerTool.EnableFiberSafeOptimizations="true" |
| 25 '/GL', # VCCLCompilerTool.WholeProgramOptimization="true" |
| 26 ] |
| 27 LINKFLAGS = [ |
| 28 '/LTCG', # VCLinkerTool.LinkTimeCodeGeneration="1" |
| 29 ], |
| 30 ) |
OLD | NEW |