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