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 Configuration for building net.lib / libnet.a. | 6 Configuration for building net.lib / libnet.a. |
7 """ | 7 """ |
8 | 8 |
9 Import('env') | 9 Import('env') |
10 | 10 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 'url_request/url_request_job_tracker.cc', | 103 'url_request/url_request_job_tracker.cc', |
104 'url_request/url_request_simple_job.cc', | 104 'url_request/url_request_simple_job.cc', |
105 'url_request/url_request_test_job.cc', | 105 'url_request/url_request_test_job.cc', |
106 'url_request/url_request_view_cache_job.cc', | 106 'url_request/url_request_view_cache_job.cc', |
107 ] | 107 ] |
108 | 108 |
109 if env['PLATFORM'] in ('posix', 'darwin'): | 109 if env['PLATFORM'] in ('posix', 'darwin'): |
110 # Remove files that still need to be ported from the input_files list. | 110 # Remove files that still need to be ported from the input_files list. |
111 # TODO(port): delete files from this list as they get ported. | 111 # TODO(port): delete files from this list as they get ported. |
112 to_be_ported_files = [ | 112 to_be_ported_files = [ |
113 'base/directory_lister.cc', | |
114 'base/ssl_config_service.cc', | 113 'base/ssl_config_service.cc', |
115 'http/http_transaction_winhttp.cc', | 114 'http/http_transaction_winhttp.cc', |
116 'http/winhttp_request_throttle.cc', | 115 'http/winhttp_request_throttle.cc', |
117 'url_request/url_request_file_dir_job.cc', | |
118 'url_request/url_request_ftp_job.cc', | 116 'url_request/url_request_ftp_job.cc', |
119 ] | 117 ] |
120 for remove in to_be_ported_files: | 118 for remove in to_be_ported_files: |
121 input_files.remove(remove) | 119 input_files.remove(remove) |
122 | 120 |
123 if env['PLATFORM'] == 'win32': | 121 if env['PLATFORM'] == 'win32': |
124 input_files.extend([ | 122 input_files.extend([ |
125 'base/file_stream_win.cc', | 123 'base/file_stream_win.cc', |
126 'base/net_util_win.cc', | 124 'base/net_util_win.cc', |
127 'base/platform_mime_util_win.cc', | 125 'base/platform_mime_util_win.cc', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 # possibly only on incredibuild, scons doesn't know this. | 167 # possibly only on incredibuild, scons doesn't know this. |
170 env_p = env.Clone() | 168 env_p = env.Clone() |
171 env_p.Append(CCFLAGS='/Ylnet') | 169 env_p.Append(CCFLAGS='/Ylnet') |
172 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') | 170 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') |
173 env['PCH'] = pch | 171 env['PCH'] = pch |
174 env['PCHSTOP'] = 'precompiled_net.h' | 172 env['PCHSTOP'] = 'precompiled_net.h' |
175 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) | 173 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) |
176 input_files += [obj] | 174 input_files += [obj] |
177 | 175 |
178 env.ChromeStaticLibrary('net', input_files) | 176 env.ChromeStaticLibrary('net', input_files) |
OLD | NEW |