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 chrome components. | 6 Master configuration for building chrome components. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
| 11 # Arrange for Hammer to add all programs to the 'chrome' Alias. |
| 12 env.Append( |
| 13 COMPONENT_PROGRAM_GROUPS = ['chrome'], |
| 14 COMPONENT_TEST_PROGRAM_GROUPS = ['chrome'], |
| 15 ) |
| 16 |
11 sconscript_files = [ | 17 sconscript_files = [ |
12 'SConscript', | 18 'SConscript', |
13 | 19 |
14 'browser/browser.scons', | 20 'browser/browser.scons', |
15 'browser/debugger/debugger.scons', | 21 'browser/debugger/debugger.scons', |
16 'common/common.scons', | 22 'common/common.scons', |
17 'common/ipc_tests.scons', | 23 'common/ipc_tests.scons', |
18 'plugin/plugin.scons', | 24 'plugin/plugin.scons', |
19 'renderer/renderer.scons', | 25 'renderer/renderer.scons', |
20 'test/automated_ui_tests/automated_ui_tests.scons', | 26 'test/automated_ui_tests/automated_ui_tests.scons', |
21 'test/interactive_ui/interactive_ui_tests.scons', | 27 'test/interactive_ui/interactive_ui_tests.scons', |
22 'test/ui/ui_tests.scons', | 28 'test/ui/ui_tests.scons', |
23 'test/unit/unit_tests.scons', | 29 'test/unit/unit_tests.scons', |
24 ] | 30 ] |
25 | 31 |
26 if env['PLATFORM'] != 'win32': | 32 if env['PLATFORM'] != 'win32': |
27 remove_files = [ | 33 remove_files = [ |
28 'browser/debugger/debugger.scons', | 34 'browser/debugger/debugger.scons', |
29 'test/automated_ui_tests/automated_ui_tests.scons', | 35 'test/automated_ui_tests/automated_ui_tests.scons', |
30 'test/interactive_ui/interactive_ui_tests.scons', | 36 'test/interactive_ui/interactive_ui_tests.scons', |
31 'test/ui/ui_tests.scons', | 37 'test/ui/ui_tests.scons', |
32 ] | 38 ] |
33 for remove in remove_files: | 39 for remove in remove_files: |
34 sconscript_files.remove(remove) | 40 sconscript_files.remove(remove) |
35 | 41 |
36 SConscript(sconscript_files, exports=['env']) | 42 SConscript(sconscript_files, exports=['env']) |
OLD | NEW |