| OLD | NEW |
| 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 Master configuration for building base components (including base_gfx). | 6 Master configuration for building base components (including base_gfx). |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 Import('env') | 9 Import('env') |
| 10 | 10 |
| 11 # Arrange for Hammer to add all programs to the 'base' Alias. | 11 # Arrange for Hammer to add all programs to the 'base' Alias. |
| 12 env.Append( | 12 env.Append( |
| 13 COMPONENT_PROGRAM_GROUPS = ['base'], | 13 COMPONENT_PROGRAM_GROUPS = ['base'], |
| 14 COMPONENT_TEST_PROGRAM_GROUPS = ['base'], | 14 COMPONENT_TEST_PROGRAM_GROUPS = ['base'], |
| 15 ) | 15 ) |
| 16 | 16 |
| 17 sconscript_files = [ | 17 sconscript_files = [ |
| 18 'base_lib.scons', | 18 'base_lib.scons', |
| 19 'base_sln.scons', |
| 19 'base_unittests.scons', | 20 'base_unittests.scons', |
| 20 'gfx/base_gfx.scons', | 21 'gfx/base_gfx.scons', |
| 22 'debug_message.scons', |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 if env.Bit('windows'): | |
| 24 # TODO(port): port this if it's needed on non-Windows systems, | |
| 25 # or remove this comment if it's really Windows-specific. | |
| 26 sconscript_files.extend([ | |
| 27 'debug_message.scons', | |
| 28 ]) | |
| 29 | |
| 30 SConscript(sconscript_files, exports=['env']) | 25 SConscript(sconscript_files, exports=['env']) |
| OLD | NEW |