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 Debug settings for Chromium builds. |
| 7 |
| 8 Incorporates "essential" and "chromium_build" settings. |
| 9 """ |
| 10 |
| 11 Import("env") |
| 12 |
| 13 env.ApplySConscript([ |
| 14 'internal/essential.scons', |
| 15 'internal/chromium_build${CHROMIUM_BUILD}.scons', |
| 16 ]) |
| 17 |
| 18 env.Append( |
| 19 CPPDEFINES = [ |
| 20 '_DEBUG', |
| 21 ], |
| 22 ) |
| 23 |
| 24 if env['PLATFORM'] == 'win32': |
| 25 env.Append( |
| 26 CCFLAGS = [ |
| 27 '/Od', # VCCLCompilerTool.Optimization="0" |
| 28 '/RTC1', # VCCLCompilerTool.BasicRuntimeChecks="3" |
| 29 '/MTd', # VCCLCompilerTool.RuntimeLibrary="1" |
| 30 ], |
| 31 LINKFLAGS = [ |
| 32 '/INCREMENTAL', # VCLinkerTool.LinkIncremental="2" |
| 33 '/DEBUG', |
| 34 ], |
| 35 ) |
OLD | NEW |