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 Chromium builds with DOM statistics. |
| 7 """ |
| 8 |
| 9 Import("env") |
| 10 |
| 11 env.ApplySConscript(['release_defaults.scons']) |
| 12 |
| 13 env.Append( |
| 14 CPPDEFINES = [ |
| 15 'NDEBUG', |
| 16 'ENABLE_DOM_STATS_COUNTERS', |
| 17 ], |
| 18 ) |
| 19 |
| 20 if env['PLATFORM'] == 'win32': |
| 21 env.Append( |
| 22 CCFLAGS = [ |
| 23 '/Oy-', |
| 24 ] |
| 25 LINKFLAGS = [ |
| 26 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" |
| 27 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" |
| 28 '/OPT:ICF', # VCLinkerTool.EnableCOMDATFolding="2" |
| 29 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" |
| 30 ], |
| 31 ) |
OLD | NEW |