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

Side by Side Diff: net/net_lib.scons

Issue 4049: Port SSLClientSocket to Linux (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months 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/base/x509_certificate_nss.cc ('k') | net/net_unittests.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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'base/host_resolver.cc', 47 'base/host_resolver.cc',
48 'base/listen_socket.cc', 48 'base/listen_socket.cc',
49 'base/mime_sniffer.cc', 49 'base/mime_sniffer.cc',
50 'base/mime_util.cc', 50 'base/mime_util.cc',
51 'base/net_errors.cc', 51 'base/net_errors.cc',
52 'base/net_module.cc', 52 'base/net_module.cc',
53 'base/net_util.cc', 53 'base/net_util.cc',
54 'base/registry_controlled_domain.cc', 54 'base/registry_controlled_domain.cc',
55 'base/sdch_filter.cc', 55 'base/sdch_filter.cc',
56 'base/sdch_manager.cc', 56 'base/sdch_manager.cc',
57 'base/ssl_client_socket_win.cc',
58 'base/ssl_config_service.cc', 57 'base/ssl_config_service.cc',
59 'base/tcp_client_socket.cc', 58 'base/tcp_client_socket.cc',
60 'base/telnet_server.cc', 59 'base/telnet_server.cc',
61 'base/upload_data.cc', 60 'base/upload_data.cc',
62 'base/upload_data_stream.cc', 61 'base/upload_data_stream.cc',
63 'base/wininet_util.cc', 62 'base/wininet_util.cc',
64 'base/winsock_init.cc', 63 'base/winsock_init.cc',
65 'base/x509_certificate.cc', 64 'base/x509_certificate.cc',
66 'disk_cache/backend_impl.cc', 65 'disk_cache/backend_impl.cc',
67 'disk_cache/block_files.cc', 66 'disk_cache/block_files.cc',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 'url_request/url_request_job_tracker.cc', 107 'url_request/url_request_job_tracker.cc',
109 'url_request/url_request_simple_job.cc', 108 'url_request/url_request_simple_job.cc',
110 'url_request/url_request_test_job.cc', 109 'url_request/url_request_test_job.cc',
111 'url_request/url_request_view_cache_job.cc', 110 'url_request/url_request_view_cache_job.cc',
112 ] 111 ]
113 112
114 if env['PLATFORM'] in ('posix', 'darwin'): 113 if env['PLATFORM'] in ('posix', 'darwin'):
115 # 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.
116 # TODO(port): delete files from this list as they get ported. 115 # TODO(port): delete files from this list as they get ported.
117 to_be_ported_files = [ 116 to_be_ported_files = [
118 'base/client_socket_factory.cc',
119 'base/directory_lister.cc', 117 'base/directory_lister.cc',
120 'base/dns_resolution_observer.cc', 118 'base/dns_resolution_observer.cc',
121 'base/listen_socket.cc', 119 'base/listen_socket.cc',
122 'base/ssl_client_socket_win.cc',
123 'base/ssl_config_service.cc', 120 'base/ssl_config_service.cc',
124 'base/tcp_client_socket.cc', 121 'base/tcp_client_socket.cc',
125 'base/telnet_server.cc', 122 'base/telnet_server.cc',
126 'base/upload_data_stream.cc', 123 'base/upload_data_stream.cc',
127 'base/wininet_util.cc', 124 'base/wininet_util.cc',
128 'base/winsock_init.cc', 125 'base/winsock_init.cc',
129 'http/http_network_layer.cc', 126 'http/http_network_layer.cc',
130 'http/http_network_transaction.cc', 127 'http/http_network_transaction.cc',
131 'http/http_transaction_winhttp.cc', 128 'http/http_transaction_winhttp.cc',
132 'http/winhttp_request_throttle.cc', 129 'http/winhttp_request_throttle.cc',
133 'proxy/proxy_resolver_fixed.cc', 130 'proxy/proxy_resolver_fixed.cc',
134 'proxy/proxy_resolver_winhttp.cc', 131 'proxy/proxy_resolver_winhttp.cc',
135 'proxy/proxy_service.cc', 132 'proxy/proxy_service.cc',
136 'url_request/url_request_file_dir_job.cc', 133 'url_request/url_request_file_dir_job.cc',
137 'url_request/url_request_filter.cc', 134 'url_request/url_request_filter.cc',
138 'url_request/url_request_ftp_job.cc', 135 'url_request/url_request_ftp_job.cc',
139 'url_request/url_request_inet_job.cc', 136 'url_request/url_request_inet_job.cc',
140 'url_request/url_request_job_manager.cc', 137 'url_request/url_request_job_manager.cc',
141 ] 138 ]
142 for remove in to_be_ported_files: 139 for remove in to_be_ported_files:
143 input_files.remove(remove) 140 input_files.remove(remove)
144 141
145 if env['PLATFORM'] == 'win32': 142 if env['PLATFORM'] == 'win32':
146 input_files.extend([ 143 input_files.extend([
147 'base/file_input_stream_win.cc', 144 'base/file_input_stream_win.cc',
148 'base/net_util_win.cc', 145 'base/net_util_win.cc',
149 'base/platform_mime_util_win.cc', 146 'base/platform_mime_util_win.cc',
147 'base/ssl_client_socket_win.cc',
150 'base/x509_certificate_win.cc', 148 'base/x509_certificate_win.cc',
151 'disk_cache/cache_util_win.cc', 149 'disk_cache/cache_util_win.cc',
152 'disk_cache/file_win.cc', 150 'disk_cache/file_win.cc',
153 'disk_cache/mapped_file_win.cc', 151 'disk_cache/mapped_file_win.cc',
154 'disk_cache/os_file_win.cc', 152 'disk_cache/os_file_win.cc',
155 ]) 153 ])
156 154
157 if env['PLATFORM'] == 'darwin': 155 if env['PLATFORM'] == 'darwin':
158 input_files.extend([ 156 input_files.extend([
159 'base/platform_mime_util_mac.mm', 157 'base/platform_mime_util_mac.mm',
160 'base/x509_certificate_mac.cc', 158 'base/x509_certificate_mac.cc',
161 ]) 159 ])
162 160
163 if env['PLATFORM'] == 'posix': 161 if env['PLATFORM'] == 'posix':
164 input_files.extend([ 162 input_files.extend([
163 'base/nss_memio.c',
165 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types? 164 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
166 'base/platform_mime_util_linux.cc', 165 'base/platform_mime_util_linux.cc',
166 'base/ssl_client_socket_nss.cc',
167 'base/x509_certificate_nss.cc',
167 ]) 168 ])
168 169
169 if env['PLATFORM'] in ('darwin', 'posix'): 170 if env['PLATFORM'] in ('darwin', 'posix'):
170 input_files.extend([ 171 input_files.extend([
171 'base/file_input_stream_posix.cc', 172 'base/file_input_stream_posix.cc',
172 'base/net_util_posix.cc', 173 'base/net_util_posix.cc',
173 'base/tcp_client_socket_libevent.cc', 174 'base/tcp_client_socket_libevent.cc',
174 'disk_cache/cache_util_posix.cc', 175 'disk_cache/cache_util_posix.cc',
175 'disk_cache/file_posix.cc', 176 'disk_cache/file_posix.cc',
176 'disk_cache/mapped_file_posix.cc', 177 'disk_cache/mapped_file_posix.cc',
177 'disk_cache/os_file_posix.cc', 178 'disk_cache/os_file_posix.cc',
178 ]) 179 ])
179 180
180 if env['PLATFORM'] == 'win32': 181 if env['PLATFORM'] == 'win32':
181 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag 182 # TODO(bradnelson): This step generates file precompiled_net.pch.ib_tag
182 # possibly only on incredibuild, scons doesn't know this. 183 # possibly only on incredibuild, scons doesn't know this.
183 env_p = env.Clone() 184 env_p = env.Clone()
184 env_p.Append(CCFLAGS='/Ylnet') 185 env_p.Append(CCFLAGS='/Ylnet')
185 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc') 186 pch, obj = env_p.PCH('precompiled_net.pch', 'build/precompiled_net.cc')
186 env['PCH'] = pch 187 env['PCH'] = pch
187 env['PCHSTOP'] = 'precompiled_net.h' 188 env['PCHSTOP'] = 'precompiled_net.h'
188 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h']) 189 env.Append(CCPCHFLAGS = ['/FIprecompiled_net.h'])
189 input_files += [obj] 190 input_files += [obj]
190 191
191 env.ChromeStaticLibrary('net', input_files) 192 env.ChromeStaticLibrary('net', input_files)
OLDNEW
« no previous file with comments | « net/base/x509_certificate_nss.cc ('k') | net/net_unittests.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698