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

Side by Side Diff: net/net.scons

Issue 15051: Convert from using env['PLATFORM'] directly to using the more flexible... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years 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
« no previous file with comments | « net/dump_cache.scons ('k') | net/net_lib.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. 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_unittests.scons', 22 'net_unittests.scons',
23 'stress_cache.scons', 23 'stress_cache.scons',
24 ] 24 ]
25 25
26 if env['PLATFORM'] in ('posix', 'darwin'): 26 if env.Bit('posix'):
27 # Remove *.scons files whose targets still need to be ported. 27 # Remove *.scons files whose targets still need to be ported.
28 # TODO(port): delete files from this list as they get ported. 28 # TODO(port): delete files from this list as they get ported.
29 to_be_ported = [ 29 to_be_ported = [
30 'crash_cache.scons', 30 'crash_cache.scons',
31 ] 31 ]
32 for remove in to_be_ported: 32 for remove in to_be_ported:
33 sconscript_files.remove(remove) 33 sconscript_files.remove(remove)
34 34
35 if env['PLATFORM'] == 'win32': 35 if env.Bit('windows'):
36 # 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
37 # platforms. 37 # platforms.
38 sconscript_files.extend([ 38 sconscript_files.extend([
39 'net_resources.scons', 39 'net_resources.scons',
40 'tools/tld_cleanup/tld_cleanup.scons', 40 'tools/tld_cleanup/tld_cleanup.scons',
41 ]) 41 ])
42 42
43 SConscript(sconscript_files, exports=['env']) 43 SConscript(sconscript_files, exports=['env'])
OLDNEW
« no previous file with comments | « net/dump_cache.scons ('k') | net/net_lib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698