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

Side by Side Diff: net/net.scons

Issue 9188: Make better (and more efficient) use of Hammer functionality... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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
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 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.
12 env.Append(
13 COMPONENT_PROGRAM_GROUPS = ['net'],
14 COMPONENT_TEST_PROGRAM_GROUPS = ['net'],
15 )
16
11 sconscript_files = [ 17 sconscript_files = [
12 'crash_cache.scons', 18 'crash_cache.scons',
13 'net_lib.scons', 19 'net_lib.scons',
14 'net_perftests.scons', 20 'net_perftests.scons',
15 'net_unittests.scons', 21 'net_unittests.scons',
16 'stress_cache.scons', 22 'stress_cache.scons',
17 ] 23 ]
18 24
19 if env['PLATFORM'] in ('posix', 'darwin'): 25 if env['PLATFORM'] in ('posix', 'darwin'):
20 # Remove *.scons files whose targets still need to be ported. 26 # Remove *.scons files whose targets still need to be ported.
21 # TODO(port): delete files from this list as they get ported. 27 # TODO(port): delete files from this list as they get ported.
22 to_be_ported = [ 28 to_be_ported = [
23 'crash_cache.scons', 29 'crash_cache.scons',
24 'stress_cache.scons', 30 'stress_cache.scons',
25 ] 31 ]
26 for remove in to_be_ported: 32 for remove in to_be_ported:
27 sconscript_files.remove(remove) 33 sconscript_files.remove(remove)
28 34
29 if env['PLATFORM'] == 'win32': 35 if env['PLATFORM'] == 'win32':
30 # TODO: We need to port tld_cleanup before this will work on other 36 # TODO: We need to port tld_cleanup before this will work on other
31 # platforms. 37 # platforms.
32 sconscript_files.extend([ 38 sconscript_files.extend([
33 'net_resources.scons', 39 'net_resources.scons',
34 'tools/tld_cleanup/tld_cleanup.scons', 40 'tools/tld_cleanup/tld_cleanup.scons',
35 ]) 41 ])
36 42
37 SConscript(sconscript_files, exports=['env']) 43 SConscript(sconscript_files, exports=['env'])
38
39 env.Alias('net', '.')
OLDNEW
« no previous file with comments | « net/crash_cache.scons ('k') | net/net_perftests.scons » ('j') | net/net_resources.scons » ('J')

Powered by Google App Engine
This is Rietveld 408576698