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

Side by Side Diff: build/debug.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (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/SConscript.v8 ('k') | build/external_code.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 Debug settings for Chromium builds. 6 Debug settings for Chromium builds.
7 7
8 Incorporates "essential" and "chromium_build" settings. 8 Incorporates "essential" and "chromium_build" settings.
9 """ 9 """
10 10
11 Import("env") 11 Import("env")
12 12
13 env.ApplySConscript([ 13 env.ApplySConscript([
14 'internal/essential.scons', 14 'internal/essential.scons',
15 'internal/chromium_build${CHROMIUM_BUILD}.scons', 15 'internal/chromium_build${CHROMIUM_BUILD}.scons',
16 ]) 16 ])
17 17
18 env.Append( 18 env.Append(
19 CPPDEFINES = [ 19 CPPDEFINES = [
20 '_DEBUG', 20 '_DEBUG',
21 ], 21 ],
22 ) 22 )
23 23
24 if env['PLATFORM'] == 'win32': 24 if env.Bit('windows'):
25 if env.get('INCREMENTAL') is None: 25 if env.get('INCREMENTAL') is None:
26 # INCREMENTAL was not specified on the command line or in the 26 # INCREMENTAL was not specified on the command line or in the
27 # external environment; debug default is incremental link. 27 # external environment; debug default is incremental link.
28 env['INCREMENTAL'] = True 28 env['INCREMENTAL'] = True
29 env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL' 29 env['CHROMIUM_INCREMENTAL_FLAGS'] = '/INCREMENTAL'
30 30
31 env.Append( 31 env.Append(
32 CCFLAGS = [ 32 CCFLAGS = [
33 '/Od', # VCCLCompilerTool.Optimization="0" 33 '/Od', # VCCLCompilerTool.Optimization="0"
34 '/RTC1', # VCCLCompilerTool.BasicRuntimeChecks="3" 34 '/RTC1', # VCCLCompilerTool.BasicRuntimeChecks="3"
35 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1" 35 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1"
36 ], 36 ],
37 LINKFLAGS = [ 37 LINKFLAGS = [
38 '/DEBUG', 38 '/DEBUG',
39 ], 39 ],
40 ) 40 )
OLDNEW
« no previous file with comments | « build/SConscript.v8 ('k') | build/external_code.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698