| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 'url_request/url_request_simple_job.cc', | 108 'url_request/url_request_simple_job.cc', |
| 109 'url_request/url_request_test_job.cc', | 109 'url_request/url_request_test_job.cc', |
| 110 'url_request/url_request_view_cache_job.cc', | 110 'url_request/url_request_view_cache_job.cc', |
| 111 ] | 111 ] |
| 112 | 112 |
| 113 if env['PLATFORM'] in ('posix', 'darwin'): | 113 if env['PLATFORM'] in ('posix', 'darwin'): |
| 114 # Remove files that still need to be ported from the input_files list. | 114 # Remove files that still need to be ported from the input_files list. |
| 115 # TODO(port): delete files from this list as they get ported. | 115 # TODO(port): delete files from this list as they get ported. |
| 116 to_be_ported_files = [ | 116 to_be_ported_files = [ |
| 117 'base/directory_lister.cc', | 117 'base/directory_lister.cc', |
| 118 'base/dns_resolution_observer.cc', | |
| 119 'base/listen_socket.cc', | 118 'base/listen_socket.cc', |
| 120 'base/ssl_config_service.cc', | 119 'base/ssl_config_service.cc', |
| 121 'base/tcp_client_socket.cc', | 120 'base/tcp_client_socket.cc', |
| 122 'base/telnet_server.cc', | 121 'base/telnet_server.cc', |
| 123 'base/upload_data_stream.cc', | |
| 124 'base/wininet_util.cc', | 122 'base/wininet_util.cc', |
| 125 'base/winsock_init.cc', | 123 'base/winsock_init.cc', |
| 126 'http/http_network_layer.cc', | |
| 127 'http/http_network_transaction.cc', | |
| 128 'http/http_transaction_winhttp.cc', | 124 'http/http_transaction_winhttp.cc', |
| 129 'http/winhttp_request_throttle.cc', | 125 'http/winhttp_request_throttle.cc', |
| 130 'proxy/proxy_resolver_fixed.cc', | |
| 131 'proxy/proxy_resolver_winhttp.cc', | 126 'proxy/proxy_resolver_winhttp.cc', |
| 132 'proxy/proxy_service.cc', | |
| 133 'url_request/url_request_file_dir_job.cc', | 127 'url_request/url_request_file_dir_job.cc', |
| 134 'url_request/url_request_filter.cc', | |
| 135 'url_request/url_request_ftp_job.cc', | 128 'url_request/url_request_ftp_job.cc', |
| 136 'url_request/url_request_inet_job.cc', | 129 'url_request/url_request_inet_job.cc', |
| 137 'url_request/url_request_job_manager.cc', | |
| 138 ] | 130 ] |
| 139 for remove in to_be_ported_files: | 131 for remove in to_be_ported_files: |
| 140 input_files.remove(remove) | 132 input_files.remove(remove) |
| 141 | 133 |
| 142 if env['PLATFORM'] == 'win32': | 134 if env['PLATFORM'] == 'win32': |
| 143 input_files.extend([ | 135 input_files.extend([ |
| 144 'base/file_input_stream_win.cc', | 136 'base/file_input_stream_win.cc', |
| 145 'base/net_util_win.cc', | 137 'base/net_util_win.cc', |
| 146 'base/platform_mime_util_win.cc', | 138 'base/platform_mime_util_win.cc', |
| 147 'base/ssl_client_socket_win.cc', | 139 'base/ssl_client_socket_win.cc', |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 # possibly only on incredibuild, scons doesn't know this. | 175 # possibly only on incredibuild, scons doesn't know this. |
| 184 env_p = env.Clone() | 176 env_p = env.Clone() |
| 185 env_p.Append(CCFLAGS='/Ylnet') | 177 env_p.Append(CCFLAGS='/Ylnet') |
| 186 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') | 178 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') |
| 187 env['PCH'] = pch | 179 env['PCH'] = pch |
| 188 env['PCHSTOP'] = 'precompiled_net.h' | 180 env['PCHSTOP'] = 'precompiled_net.h' |
| 189 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) | 181 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) |
| 190 input_files += [obj] | 182 input_files += [obj] |
| 191 | 183 |
| 192 env.ChromeStaticLibrary('net', input_files) | 184 env.ChromeStaticLibrary('net', input_files) |
| OLD | NEW |