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

Side by Side Diff: build/internal/release_defaults.scons

Issue 13039: Fixes and enhancements... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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
« no previous file with comments | « build/internal/essential.scons ('k') | build/internal/release_impl_checksenabled.scons » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 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 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 __doc__ = """ 5 __doc__ = """
6 Default settings for all Chromium release builds. 6 Default settings for all Chromium release builds.
7 7
8 Incorporates "essential" settings. 8 Incorporates "essential" settings.
9 """ 9 """
10 10
11 Import("env") 11 Import("env")
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 'essential.scons', 14 'essential.scons',
15 ]) 15 ])
16 16
17 env.Append( 17 env.Append(
18 CPPDEFINES = [ 18 CPPDEFINES = [
19 'NDEBUG', 19 'NDEBUG',
20 ], 20 ],
21 ) 21 )
22 22
23 if env.Bit('windows'): 23 if env.Bit('windows'):
24 if env.get('INCREMENTAL') is None:
25 # INCREMENTAL was not specified on the command line or in the
26 # external environment; release default is full link.
27 env['INCREMENTAL'] = False
28 env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL:NO'
29
24 env.Replace( 30 env.Replace(
25 CHROMIUM_CC_OPT_FLAGS = [ 31 CHROMIUM_CC_OPT_FLAGS = [
26 '/O2', # VCCLCompilerTool.Optimization="2" 32 '/O2', # VCCLCompilerTool.Optimization="2"
27 ], 33 ],
28 CHROMIUM_LINK_OPT_FLAGS = [ 34 CHROMIUM_LINK_OPT_FLAGS = [
29 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2" 35 '/OPT:REF', # VCLinkerTool.OptimizeReferences="2"
30 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2" 36 '/OPT:NOICF', # VCLinkerTool.EnableCOMDATFolding="2"
31 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1" 37 '/OPT:NOWIN98', # VCLinkerTool.OptimizeForWindows98="1"
32 ], 38 ],
33 ), 39 ),
34 env.Append( 40 env.Append(
35 CCFLAGS = [ 41 CCFLAGS = [
36 '/GF', # VCCLCompilerTool.StringPooling="true" 42 '/GF', # VCCLCompilerTool.StringPooling="true"
37 ], 43 ],
38 LINKFLAGS = [ 44 LINKFLAGS = [
39 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1" 45 '/INCREMENTAL:NO', # VCLinkerTool.LinkIncremental="1"
40 ], 46 ],
41 ) 47 )
OLDNEW
« no previous file with comments | « build/internal/essential.scons ('k') | build/internal/release_impl_checksenabled.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698