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 net components. | 6 Master configuration for building net components. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
11 # Arrange for Hammer to add all programs to the 'net' Alias. | 11 # Arrange for Hammer to add all programs to the 'net' Alias. |
12 env.Append( | 12 env.Append( |
13 COMPONENT_PROGRAM_GROUPS = ['net'], | 13 COMPONENT_PROGRAM_GROUPS = ['net'], |
14 COMPONENT_TEST_PROGRAM_GROUPS = ['net'], | 14 COMPONENT_TEST_PROGRAM_GROUPS = ['net'], |
15 ) | 15 ) |
16 | 16 |
17 sconscript_files = [ | 17 sconscript_files = [ |
18 'crash_cache.scons', | 18 'crash_cache.scons', |
19 'dump_cache.scons', | 19 'dump_cache.scons', |
20 'net_lib.scons', | 20 'net_lib.scons', |
21 'net_perftests.scons', | 21 'net_perftests.scons', |
| 22 'net_resources.scons', |
| 23 'net_sln.scons', |
22 'net_unittests.scons', | 24 'net_unittests.scons', |
23 'stress_cache.scons', | 25 'stress_cache.scons', |
| 26 'tools/tld_cleanup/tld_cleanup.scons', |
24 ] | 27 ] |
25 | 28 |
26 if env.Bit('posix'): | |
27 # Remove *.scons files whose targets still need to be ported. | |
28 # TODO(port): delete files from this list as they get ported. | |
29 to_be_ported = [ | |
30 'crash_cache.scons', | |
31 ] | |
32 for remove in to_be_ported: | |
33 sconscript_files.remove(remove) | |
34 | |
35 if env.Bit('windows'): | |
36 # TODO: We need to port tld_cleanup before this will work on other | |
37 # platforms. | |
38 sconscript_files.extend([ | |
39 'net_resources.scons', | |
40 'tools/tld_cleanup/tld_cleanup.scons', | |
41 ]) | |
42 | |
43 SConscript(sconscript_files, exports=['env']) | 29 SConscript(sconscript_files, exports=['env']) |
OLD | NEW |