blob: aa8a23f18cec35f4721b9c9a297d7d9ec05ac220 [file] [log] [blame]
[email protected]2f80c312009-02-25 21:26:551# Copyright (c) 2009 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{
6 'variables': {
7 'chromium_code': 1,
8 },
[email protected]2f80c312009-02-25 21:26:559 'targets': [
10 {
[email protected]9c2a57712009-10-21 20:35:1111 'target_name': 'net_base',
[email protected]653bd5f032009-04-08 12:55:4912 'type': '<(library)',
[email protected]2f80c312009-02-25 21:26:5513 'dependencies': [
14 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:1415 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:5516 '../build/temp_gyp/googleurl.gyp:googleurl',
17 '../sdch/sdch.gyp:sdch',
[email protected]ca21ee32009-10-23 18:03:2218 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]280629492009-09-09 06:49:0819 '../third_party/icu/icu.gyp:icui18n',
20 '../third_party/icu/icu.gyp:icuuc',
[email protected]ca21ee32009-10-23 18:03:2221 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2222 'net_resources',
[email protected]2f80c312009-02-25 21:26:5523 ],
24 'sources': [
[email protected]123ab1e32009-10-21 19:12:5725 'base/address_family.h',
[email protected]2f80c312009-02-25 21:26:5526 'base/address_list.cc',
27 'base/address_list.h',
28 'base/auth.h',
29 'base/base64.cc',
30 'base/base64.h',
31 'base/bzip2_filter.cc',
32 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2033 'base/cache_type.h',
[email protected]a755e1072009-10-23 16:58:3734 'base/cert_database.h',
35 'base/cert_database_mac.cc',
36 'base/cert_database_nss.cc',
37 'base/cert_database_win.cc',
[email protected]2f80c312009-02-25 21:26:5538 'base/cert_status_flags.cc',
39 'base/cert_status_flags.h',
40 'base/cert_verifier.cc',
41 'base/cert_verifier.h',
42 'base/cert_verify_result.h',
[email protected]2f80c312009-02-25 21:26:5543 'base/completion_callback.h',
44 'base/connection_type_histograms.cc',
45 'base/connection_type_histograms.h',
46 'base/cookie_monster.cc',
47 'base/cookie_monster.h',
[email protected]5f450e52009-07-28 13:28:1148 'base/cookie_options.h',
[email protected]2f80c312009-02-25 21:26:5549 'base/cookie_policy.cc',
50 'base/cookie_policy.h',
[email protected]5f450e52009-07-28 13:28:1151 'base/cookie_store.h',
[email protected]2f80c312009-02-25 21:26:5552 'base/data_url.cc',
53 'base/data_url.h',
54 'base/directory_lister.cc',
55 'base/directory_lister.h',
[email protected]c36f0642009-09-09 01:10:5056 'base/dns_util.cc',
57 'base/dns_util.h',
[email protected]2f80c312009-02-25 21:26:5558 'base/effective_tld_names.cc',
59 'base/effective_tld_names.dat',
60 'base/escape.cc',
61 'base/escape.h',
62 'base/ev_root_ca_metadata.cc',
63 'base/ev_root_ca_metadata.h',
64 'base/file_stream.h',
65 'base/file_stream_posix.cc',
66 'base/file_stream_win.cc',
67 'base/filter.cc',
68 'base/filter.h',
69 'base/gzip_filter.cc',
70 'base/gzip_filter.h',
71 'base/gzip_header.cc',
72 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3873 'base/host_cache.cc',
74 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5575 'base/host_resolver.cc',
76 'base/host_resolver.h',
[email protected]b59ff372009-07-15 22:04:3277 'base/host_resolver_impl.cc',
78 'base/host_resolver_impl.h',
79 'base/host_resolver_proc.cc',
80 'base/host_resolver_proc.h',
[email protected]2f80c312009-02-25 21:26:5581 'base/io_buffer.cc',
82 'base/io_buffer.h',
[email protected]a755e1072009-10-23 16:58:3783 'base/keygen_handler.h',
84 'base/keygen_handler_mac.cc',
85 'base/keygen_handler_nss.cc',
86 'base/keygen_handler_win.cc',
[email protected]2f80c312009-02-25 21:26:5587 'base/listen_socket.cc',
88 'base/listen_socket.h',
89 'base/load_flags.h',
[email protected]ec08bb22009-08-12 00:25:1290 'base/load_log.h',
[email protected]54e13772009-08-14 03:01:0991 'base/load_log.cc',
92 'base/load_log_event_type_list.h',
93 'base/load_log_util.cc',
94 'base/load_log_util.h',
[email protected]48ab71e2009-06-22 19:19:1695 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5596 'base/mime_sniffer.cc',
97 'base/mime_sniffer.h',
98 'base/mime_util.cc',
99 'base/mime_util.h',
[email protected]b59ff372009-07-15 22:04:32100 # TODO(eroman): move this into its own test-support target.
101 'base/mock_host_resolver.cc',
102 'base/mock_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:55103 'base/net_error_list.h',
104 'base/net_errors.cc',
105 'base/net_errors.h',
106 'base/net_module.cc',
107 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:55108 'base/net_util.cc',
109 'base/net_util.h',
110 'base/net_util_posix.cc',
111 'base/net_util_win.cc',
112 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00113 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55114 'base/platform_mime_util.h',
115 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
116 'base/platform_mime_util_linux.cc',
117 'base/platform_mime_util_mac.cc',
118 'base/platform_mime_util_win.cc',
119 'base/registry_controlled_domain.cc',
120 'base/registry_controlled_domain.h',
121 'base/scoped_cert_chain_context.h',
122 'base/sdch_filter.cc',
123 'base/sdch_filter.h',
124 'base/sdch_manager.cc',
125 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11126 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58127 'base/ssl_client_auth_cache.cc',
128 'base/ssl_client_auth_cache.h',
[email protected]e52deec2009-08-21 19:48:39129 'base/ssl_config_service.cc',
[email protected]2f80c312009-02-25 21:26:55130 'base/ssl_config_service.h',
[email protected]db36938c2009-08-19 21:48:42131 'base/ssl_config_service_defaults.h',
[email protected]f37c98f2009-09-09 22:07:32132 'base/ssl_config_service_mac.cc',
133 'base/ssl_config_service_mac.h',
[email protected]db36938c2009-08-19 21:48:42134 'base/ssl_config_service_win.cc',
135 'base/ssl_config_service_win.h',
[email protected]2f80c312009-02-25 21:26:55136 'base/ssl_info.h',
[email protected]77f6fb432009-09-05 14:21:09137 'base/strict_transport_security_state.cc',
138 'base/strict_transport_security_state.h',
[email protected]2f80c312009-02-25 21:26:55139 'base/telnet_server.cc',
140 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00141 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55142 'base/upload_data.cc',
143 'base/upload_data.h',
144 'base/upload_data_stream.cc',
145 'base/upload_data_stream.h',
146 'base/wininet_util.cc',
147 'base/wininet_util.h',
148 'base/winsock_init.cc',
149 'base/winsock_init.h',
150 'base/x509_certificate.cc',
151 'base/x509_certificate.h',
152 'base/x509_certificate_mac.cc',
153 'base/x509_certificate_nss.cc',
154 'base/x509_certificate_win.cc',
[email protected]9c2a57712009-10-21 20:35:11155 ],
156 'export_dependent_settings': [
157 '../base/base.gyp:base',
158 ],
159 'conditions': [
160 [ 'OS == "linux"', {
161 'dependencies': [
162 '../build/linux/system.gyp:gconf',
163 '../build/linux/system.gyp:gdk',
164 '../build/linux/system.gyp:nss',
165 ],
166 }],
167 [ 'OS == "win"', {
168 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
169 'dependencies': [
170 'tld_cleanup',
171 ],
172 },
173 { # else: OS != "win"
174 'sources!': [
175 'base/wininet_util.cc',
176 'base/winsock_init.cc',
177 ],
178 },
179 ],
180 [ 'OS == "linux"', {
181 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
182 },
183 { # else: OS != "linux"
184 'sources!': [
[email protected]a755e1072009-10-23 16:58:37185 'base/cert_database_nss.cc',
186 'base/keygen_handler_nss.cc',
[email protected]9c2a57712009-10-21 20:35:11187 'base/nss_memio.c',
188 'base/nss_memio.h',
189 'base/x509_certificate_nss.cc',
190 ],
191 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
192 'dependencies': [
193 '../third_party/icu/icu.gyp:icui18n',
194 '../third_party/icu/icu.gyp:icuuc',
195 ],
196 },
197 ],
198 [ 'OS == "mac"', {
199 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
200 'link_settings': {
201 'libraries': [
202 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
203 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
204 ]
205 },
206 },
207 ],
208 ],
209 },
210 {
211 'target_name': 'net',
212 'type': '<(library)',
213 'dependencies': [
214 '../base/base.gyp:base',
215 '../base/base.gyp:base_i18n',
216 '../build/temp_gyp/googleurl.gyp:googleurl',
217 '../sdch/sdch.gyp:sdch',
218 '../third_party/bzip2/bzip2.gyp:bzip2',
219 '../third_party/icu/icu.gyp:icui18n',
220 '../third_party/icu/icu.gyp:icuuc',
221 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
222 '../third_party/zlib/zlib.gyp:zlib',
223 'net_base',
224 'net_resources',
225 ],
226 'sources': [
[email protected]2f80c312009-02-25 21:26:55227 'disk_cache/addr.cc',
228 'disk_cache/addr.h',
229 'disk_cache/backend_impl.cc',
230 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58231 'disk_cache/bitmap.cc',
232 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55233 'disk_cache/block_files.cc',
234 'disk_cache/block_files.h',
235 'disk_cache/cache_util.h',
236 'disk_cache/cache_util_posix.cc',
237 'disk_cache/cache_util_win.cc',
238 'disk_cache/disk_cache.h',
239 'disk_cache/disk_format.h',
240 'disk_cache/entry_impl.cc',
241 'disk_cache/entry_impl.h',
242 'disk_cache/errors.h',
243 'disk_cache/eviction.cc',
244 'disk_cache/eviction.h',
245 'disk_cache/file.h',
246 'disk_cache/file_block.h',
247 'disk_cache/file_lock.cc',
248 'disk_cache/file_lock.h',
249 'disk_cache/file_posix.cc',
250 'disk_cache/file_win.cc',
251 'disk_cache/hash.cc',
252 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34253 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55254 'disk_cache/mapped_file.h',
255 'disk_cache/mapped_file_posix.cc',
256 'disk_cache/mapped_file_win.cc',
257 'disk_cache/mem_backend_impl.cc',
258 'disk_cache/mem_backend_impl.h',
259 'disk_cache/mem_entry_impl.cc',
260 'disk_cache/mem_entry_impl.h',
261 'disk_cache/mem_rankings.cc',
262 'disk_cache/mem_rankings.h',
263 'disk_cache/rankings.cc',
264 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58265 'disk_cache/sparse_control.cc',
266 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55267 'disk_cache/stats.cc',
268 'disk_cache/stats.h',
269 'disk_cache/stats_histogram.cc',
270 'disk_cache/stats_histogram.h',
271 'disk_cache/storage_block-inl.h',
272 'disk_cache/storage_block.h',
273 'disk_cache/trace.cc',
274 'disk_cache/trace.h',
[email protected]7adaccb2009-10-13 04:43:21275 'flip/flip_bitmasks.h',
276 'flip/flip_frame_builder.cc',
277 'flip/flip_frame_builder.h',
278 'flip/flip_framer.cc',
279 'flip/flip_framer.h',
280 'flip/flip_network_transaction.cc',
281 'flip/flip_network_transaction.h',
282 'flip/flip_protocol.h',
283 'flip/flip_session.cc',
284 'flip/flip_session.h',
285 'flip/flip_session_pool.cc',
286 'flip/flip_session_pool.h',
[email protected]cd314c822009-10-29 03:13:06287 'flip/flip_stream.cc',
288 'flip/flip_stream.h',
[email protected]7adaccb2009-10-13 04:43:21289 'flip/flip_transaction_factory.h',
[email protected]2f80c312009-02-25 21:26:55290 'ftp/ftp_auth_cache.cc',
291 'ftp/ftp_auth_cache.h',
[email protected]c2972192009-07-28 20:30:09292 'ftp/ftp_ctrl_response_buffer.cc',
293 'ftp/ftp_ctrl_response_buffer.h',
[email protected]1d799dd2009-10-28 17:00:49294 'ftp/ftp_directory_listing_buffer.cc',
295 'ftp/ftp_directory_listing_buffer.h',
296 'ftp/ftp_directory_listing_parsers.cc',
297 'ftp/ftp_directory_listing_parsers.h',
[email protected]2f80c312009-02-25 21:26:55298 'ftp/ftp_network_layer.cc',
299 'ftp/ftp_network_layer.h',
300 'ftp/ftp_network_session.h',
301 'ftp/ftp_network_transaction.cc',
302 'ftp/ftp_network_transaction.h',
303 'ftp/ftp_request_info.h',
304 'ftp/ftp_response_info.h',
[email protected]139dd552009-08-28 22:40:55305 'ftp/ftp_server_type_histograms.cc',
306 'ftp/ftp_server_type_histograms.h',
[email protected]2f80c312009-02-25 21:26:55307 'ftp/ftp_transaction.h',
308 'ftp/ftp_transaction_factory.h',
[email protected]b1c7cc42009-09-24 21:46:50309 'ftp/ftp_util.cc',
310 'ftp/ftp_util.h',
[email protected]5ae0b862009-02-28 02:02:41311 'http/des.cc',
312 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55313 'http/http_atom_list.h',
314 'http/http_auth.cc',
315 'http/http_auth.h',
316 'http/http_auth_cache.cc',
317 'http/http_auth_cache.h',
318 'http/http_auth_handler.h',
319 'http/http_auth_handler.cc',
320 'http/http_auth_handler_basic.cc',
321 'http/http_auth_handler_basic.h',
322 'http/http_auth_handler_digest.cc',
323 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41324 'http/http_auth_handler_ntlm.cc',
325 'http/http_auth_handler_ntlm.h',
[email protected]ea9dc9a2009-09-05 00:43:32326 'http/http_auth_handler_ntlm_portable.cc',
327 'http/http_auth_handler_ntlm_win.cc',
[email protected]0877e3d2009-10-17 22:29:57328 'http/http_basic_stream.cc',
[email protected]d022e4e2009-06-23 04:13:00329 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39330 'http/http_byte_range.cc',
331 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55332 'http/http_cache.cc',
333 'http/http_cache.h',
334 'http/http_chunked_decoder.cc',
335 'http/http_chunked_decoder.h',
336 'http/http_network_layer.cc',
337 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44338 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55339 'http/http_network_session.h',
340 'http/http_network_transaction.cc',
341 'http/http_network_transaction.h',
342 'http/http_request_info.h',
343 'http/http_response_headers.cc',
344 'http/http_response_headers.h',
345 'http/http_response_info.cc',
346 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00347 'http/http_stream.h',
[email protected]0877e3d2009-10-17 22:29:57348 'http/http_stream_parser.cc',
349 'http/http_stream_parser.h',
[email protected]2f80c312009-02-25 21:26:55350 'http/http_transaction.h',
351 'http/http_transaction_factory.h',
352 'http/http_util.cc',
[email protected]e6547c12009-09-18 03:47:01353 'http/http_util_icu.cc',
[email protected]2f80c312009-02-25 21:26:55354 'http/http_util.h',
355 'http/http_vary_data.cc',
356 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00357 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41358 'http/md4.cc',
359 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50360 'http/partial_data.cc',
361 'http/partial_data.h',
[email protected]25d8ea22009-08-25 19:42:29362 'ocsp/nss_ocsp.cc',
363 'ocsp/nss_ocsp.h',
[email protected]620f5712009-08-04 22:43:12364 'proxy/init_proxy_resolver.cc',
365 'proxy/init_proxy_resolver.h',
[email protected]7dc52f22009-03-02 22:37:18366 'proxy/proxy_config.cc',
367 'proxy/proxy_config.h',
368 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55369 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56370 'proxy/proxy_config_service_linux.cc',
371 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55372 'proxy/proxy_config_service_win.cc',
373 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18374 'proxy/proxy_info.cc',
375 'proxy/proxy_info.h',
376 'proxy/proxy_list.cc',
377 'proxy/proxy_list.h',
378 'proxy/proxy_resolver.h',
[email protected]90ae1fb2009-08-02 21:07:12379 'proxy/proxy_resolver_js_bindings.cc',
380 'proxy/proxy_resolver_js_bindings.h',
[email protected]2f80c312009-02-25 21:26:55381 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00382 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32383 'proxy/proxy_resolver_script.h',
384 'proxy/proxy_resolver_v8.cc',
385 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55386 'proxy/proxy_resolver_winhttp.cc',
387 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18388 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55389 'proxy/proxy_script_fetcher.cc',
390 'proxy/proxy_script_fetcher.h',
391 'proxy/proxy_server.cc',
392 'proxy/proxy_server.h',
393 'proxy/proxy_service.cc',
394 'proxy/proxy_service.h',
[email protected]775fd9e2009-07-26 21:12:20395 'proxy/single_threaded_proxy_resolver.cc',
396 'proxy/single_threaded_proxy_resolver.h',
[email protected]f7984fc62009-06-22 23:26:44397 'socket/client_socket.cc',
398 'socket/client_socket.h',
399 'socket/client_socket_factory.cc',
400 'socket/client_socket_factory.h',
401 'socket/client_socket_handle.cc',
402 'socket/client_socket_handle.h',
403 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02404 'socket/client_socket_pool_base.cc',
405 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44406 'socket/socket.h',
[email protected]e0c27be2009-07-15 13:09:35407 'socket/socks5_client_socket.cc',
408 'socket/socks5_client_socket.h',
[email protected]3cd17242009-06-23 02:59:02409 'socket/socks_client_socket.cc',
410 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44411 'socket/ssl_client_socket.h',
412 'socket/ssl_client_socket_mac.cc',
[email protected]961427442009-07-15 19:00:47413 'socket/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44414 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00415 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44416 'socket/ssl_client_socket_win.cc',
417 'socket/ssl_client_socket_win.h',
418 'socket/ssl_test_util.cc',
419 'socket/ssl_test_util.h',
420 'socket/tcp_client_socket.h',
421 'socket/tcp_client_socket_libevent.cc',
422 'socket/tcp_client_socket_libevent.h',
423 'socket/tcp_client_socket_pool.cc',
424 'socket/tcp_client_socket_pool.h',
425 'socket/tcp_client_socket_win.cc',
426 'socket/tcp_client_socket_win.h',
[email protected]961427442009-07-15 19:00:47427 'socket/tcp_pinger.h',
[email protected]aef03132009-10-09 05:04:14428 'socket_stream/socket_stream.cc',
429 'socket_stream/socket_stream.h',
[email protected]5a224392009-09-01 17:07:17430 'third_party/parseftp/ParseFTPList.cpp',
431 'third_party/parseftp/ParseFTPList.h',
[email protected]2f80c312009-02-25 21:26:55432 'url_request/url_request.cc',
433 'url_request/url_request.h',
434 'url_request/url_request_about_job.cc',
435 'url_request/url_request_about_job.h',
436 'url_request/url_request_context.h',
[email protected]fcb7fd92009-10-22 04:18:58437 'url_request/url_request_data_job.cc',
438 'url_request/url_request_data_job.h',
[email protected]2f80c312009-02-25 21:26:55439 'url_request/url_request_error_job.cc',
440 'url_request/url_request_error_job.h',
441 'url_request/url_request_file_dir_job.cc',
442 'url_request/url_request_file_dir_job.h',
443 'url_request/url_request_file_job.cc',
444 'url_request/url_request_file_job.h',
445 'url_request/url_request_filter.cc',
446 'url_request/url_request_filter.h',
447 'url_request/url_request_ftp_job.cc',
448 'url_request/url_request_ftp_job.h',
449 'url_request/url_request_http_job.cc',
450 'url_request/url_request_http_job.h',
451 'url_request/url_request_inet_job.cc',
452 'url_request/url_request_inet_job.h',
453 'url_request/url_request_job.cc',
454 'url_request/url_request_job.h',
455 'url_request/url_request_job_manager.cc',
456 'url_request/url_request_job_manager.h',
457 'url_request/url_request_job_metrics.cc',
458 'url_request/url_request_job_metrics.h',
459 'url_request/url_request_job_tracker.cc',
460 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33461 'url_request/url_request_new_ftp_job.cc',
462 'url_request/url_request_new_ftp_job.h',
[email protected]56d83182009-09-04 20:01:45463 'url_request/url_request_redirect_job.cc',
464 'url_request/url_request_redirect_job.h',
[email protected]2f80c312009-02-25 21:26:55465 'url_request/url_request_simple_job.cc',
466 'url_request/url_request_simple_job.h',
467 'url_request/url_request_status.h',
468 'url_request/url_request_test_job.cc',
469 'url_request/url_request_test_job.h',
[email protected]7bffd082009-10-22 20:06:52470 'url_request/url_request_tracker.cc',
471 'url_request/url_request_tracker.h',
[email protected]13c34d12009-09-14 20:51:04472 'url_request/url_request_view_net_internals_job.cc',
473 'url_request/url_request_view_net_internals_job.h',
474 'url_request/view_cache_helper.cc',
475 'url_request/view_cache_helper.h',
[email protected]6d9fc742009-10-21 07:59:36476 'websockets/websocket.cc',
477 'websockets/websocket.h',
[email protected]2f80c312009-02-25 21:26:55478 ],
[email protected]2f80c312009-02-25 21:26:55479 'export_dependent_settings': [
480 '../base/base.gyp:base',
481 ],
482 'conditions': [
[email protected]c61f6432009-04-22 01:16:42483 ['javascript_engine=="v8"', {
484 'dependencies': [
[email protected]44531a22009-04-28 21:37:56485 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42486 ],
487 }],
[email protected]9d384032009-03-20 23:13:26488 [ 'OS == "linux"', {
489 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56490 '../build/linux/system.gyp:gconf',
491 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26492 '../build/linux/system.gyp:nss',
493 ],
494 }],
[email protected]2f80c312009-02-25 21:26:55495 [ 'OS == "win"', {
496 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
497 'sources!': [
[email protected]ea9dc9a2009-09-05 00:43:32498 'http/http_auth_handler_ntlm_portable.cc',
[email protected]f7984fc62009-06-22 23:26:44499 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55500 ],
501 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55502 'tld_cleanup',
503 ],
[email protected]2f80c312009-02-25 21:26:55504 },
505 { # else: OS != "win"
506 'sources!': [
[email protected]2f80c312009-02-25 21:26:55507 'proxy/proxy_resolver_winhttp.cc',
508 'url_request/url_request_ftp_job.cc',
509 'url_request/url_request_inet_job.cc',
510 ],
511 },
512 ],
513 [ 'OS == "linux"', {
514 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55515 },
516 { # else: OS != "linux"
517 'sources!': [
[email protected]3d4ae9a42009-07-24 03:48:16518 'ocsp/nss_ocsp.cc',
519 'ocsp/nss_ocsp.h',
[email protected]f7984fc62009-06-22 23:26:44520 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00521 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55522 ],
523 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
524 'dependencies': [
[email protected]280629492009-09-09 06:49:08525 '../third_party/icu/icu.gyp:icui18n',
526 '../third_party/icu/icu.gyp:icuuc',
[email protected]2f80c312009-02-25 21:26:55527 ],
528 },
529 ],
530 [ 'OS == "mac"', {
531 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
532 'link_settings': {
533 'libraries': [
534 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
535 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
536 ]
537 },
538 },
539 ],
[email protected]2f80c312009-02-25 21:26:55540 ],
541 },
542 {
543 'target_name': 'net_unittests',
544 'type': 'executable',
545 'dependencies': [
546 'net',
[email protected]6718b412009-03-04 18:26:00547 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55548 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14549 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55550 '../testing/gtest.gyp:gtest',
[email protected]e86aaca2009-08-12 17:58:57551 '../third_party/zlib/zlib.gyp:zlib',
[email protected]8e99bd12009-08-17 18:45:25552 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]2f80c312009-02-25 21:26:55553 ],
[email protected]9e450f22009-03-10 23:12:16554 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55555 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38556 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55557 'base/base64_unittest.cc',
558 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55559 'base/cookie_monster_unittest.cc',
560 'base/cookie_policy_unittest.cc',
561 'base/data_url_unittest.cc',
562 'base/directory_lister_unittest.cc',
[email protected]c36f0642009-09-09 01:10:50563 'base/dns_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55564 'base/escape_unittest.cc',
565 'base/file_stream_unittest.cc',
566 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27567 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55568 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38569 'base/host_cache_unittest.cc',
[email protected]b59ff372009-07-15 22:04:32570 'base/host_resolver_impl_unittest.cc',
[email protected]54e13772009-08-14 03:01:09571 'base/load_log_unittest.cc',
572 'base/load_log_unittest.h',
573 'base/load_log_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55574 'base/listen_socket_unittest.cc',
575 'base/listen_socket_unittest.h',
576 'base/mime_sniffer_unittest.cc',
577 'base/mime_util_unittest.cc',
578 'base/net_util_unittest.cc',
579 'base/registry_controlled_domain_unittest.cc',
580 'base/run_all_unittests.cc',
581 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58582 'base/ssl_client_auth_cache_unittest.cc',
[email protected]f37c98f2009-09-09 22:07:32583 'base/ssl_config_service_mac_unittest.cc',
[email protected]db36938c2009-08-19 21:48:42584 'base/ssl_config_service_win_unittest.cc',
[email protected]77f6fb432009-09-05 14:21:09585 'base/strict_transport_security_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55586 'base/telnet_server_unittest.cc',
587 'base/test_completion_callback_unittest.cc',
588 'base/wininet_util_unittest.cc',
589 'base/x509_certificate_unittest.cc',
590 'disk_cache/addr_unittest.cc',
591 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58592 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55593 'disk_cache/block_files_unittest.cc',
594 'disk_cache/disk_cache_test_base.cc',
595 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55596 'disk_cache/entry_unittest.cc',
597 'disk_cache/mapped_file_unittest.cc',
598 'disk_cache/storage_block_unittest.cc',
599 'ftp/ftp_auth_cache_unittest.cc',
[email protected]c2972192009-07-28 20:30:09600 'ftp/ftp_ctrl_response_buffer_unittest.cc',
[email protected]1d799dd2009-10-28 17:00:49601 'ftp/ftp_directory_listing_buffer_unittest.cc',
602 'ftp/ftp_directory_listing_parsers_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37603 'ftp/ftp_network_transaction_unittest.cc',
[email protected]b1c7cc42009-09-24 21:46:50604 'ftp/ftp_util_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41605 'http/des_unittest.cc',
[email protected]7adaccb2009-10-13 04:43:21606 'flip/flip_framer_test.cc',
607 'flip/flip_network_transaction_unittest.cc',
608 'flip/flip_session_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55609 'http/http_auth_cache_unittest.cc',
610 'http/http_auth_handler_basic_unittest.cc',
611 'http/http_auth_handler_digest_unittest.cc',
612 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39613 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55614 'http/http_cache_unittest.cc',
615 'http/http_chunked_decoder_unittest.cc',
616 'http/http_network_layer_unittest.cc',
617 'http/http_network_transaction_unittest.cc',
618 'http/http_response_headers_unittest.cc',
619 'http/http_transaction_unittest.cc',
620 'http/http_transaction_unittest.h',
621 'http/http_util_unittest.cc',
622 'http/http_vary_data_unittest.cc',
[email protected]620f5712009-08-04 22:43:12623 'proxy/init_proxy_resolver_unittest.cc',
[email protected]c6efbc62009-08-06 12:52:19624 'proxy/mock_proxy_resolver.h',
[email protected]861c6c62009-04-20 16:50:56625 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57626 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23627 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18628 'proxy/proxy_list_unittest.cc',
[email protected]90ae1fb2009-08-02 21:07:12629 'proxy/proxy_resolver_js_bindings_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32630 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55631 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31632 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55633 'proxy/proxy_service_unittest.cc',
[email protected]775fd9e2009-07-26 21:12:20634 'proxy/single_threaded_proxy_resolver_unittest.cc',
[email protected]ab838892009-06-30 18:49:05635 'socket/client_socket_pool_base_unittest.cc',
[email protected]e0c27be2009-07-15 13:09:35636 'socket/socks5_client_socket_unittest.cc',
[email protected]76a51ac82009-06-28 07:58:58637 'socket/socks_client_socket_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44638 'socket/ssl_client_socket_unittest.cc',
639 'socket/tcp_client_socket_pool_unittest.cc',
640 'socket/tcp_client_socket_unittest.cc',
641 'socket/tcp_pinger_unittest.cc',
[email protected]5f7d8d72009-10-27 09:40:11642 'socket_stream/socket_stream_unittest.cc',
[email protected]7bffd082009-10-22 20:06:52643 'url_request/url_request_tracker_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55644 'url_request/url_request_unittest.cc',
645 'url_request/url_request_unittest.h',
[email protected]6d9fc742009-10-21 07:59:36646 'websockets/websocket_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55647 ],
648 'conditions': [
[email protected]861c6c62009-04-20 16:50:56649 [ 'OS == "win"', {
650 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
651 },
652 ],
[email protected]2f80c312009-02-25 21:26:55653 [ 'OS != "win"', {
654 'sources!': [
655 'base/wininet_util_unittest.cc',
656 ],
657 },
658 ],
659 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56660 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26661 'dependencies': [
662 '../build/linux/system.gyp:gtk',
663 ],
[email protected]2f80c312009-02-25 21:26:55664 'sources!': [
665 'base/sdch_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55666 ],
667 },
668 ],
669 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56670 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55671 },
672 ],
673 # This is needed to trigger the dll copy step on windows.
674 # TODO(mark): Specifying this here shouldn't be necessary.
675 [ 'OS == "win"', {
676 'dependencies': [
[email protected]280629492009-09-09 06:49:08677 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55678 ],
679 },
680 ],
681 ],
682 },
683 {
684 'target_name': 'net_perftests',
685 'type': 'executable',
686 'dependencies': [
687 'net',
[email protected]6718b412009-03-04 18:26:00688 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55689 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14690 '../base/base.gyp:base_i18n',
[email protected]e8ef09a2009-03-16 23:46:45691 '../base/base.gyp:test_support_base',
[email protected]7d1ba9392009-08-03 18:35:06692 '../base/base.gyp:test_support_perf',
[email protected]2f80c312009-02-25 21:26:55693 '../testing/gtest.gyp:gtest',
694 ],
[email protected]9e450f22009-03-10 23:12:16695 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55696 'sources': [
[email protected]2f80c312009-02-25 21:26:55697 'base/cookie_monster_perftest.cc',
698 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33699 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55700 ],
701 'conditions': [
702 # This is needed to trigger the dll copy step on windows.
703 # TODO(mark): Specifying this here shouldn't be necessary.
704 [ 'OS == "win"', {
705 'dependencies': [
[email protected]280629492009-09-09 06:49:08706 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55707 ],
708 },
709 ],
710 ],
711 },
712 {
713 'target_name': 'stress_cache',
714 'type': 'executable',
715 'dependencies': [
716 'net',
[email protected]6718b412009-03-04 18:26:00717 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55718 '../base/base.gyp:base',
719 ],
720 'sources': [
[email protected]2f80c312009-02-25 21:26:55721 'disk_cache/stress_cache.cc',
722 ],
723 },
724 {
725 'target_name': 'tld_cleanup',
726 'type': 'executable',
727 'dependencies': [
728 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14729 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55730 '../build/temp_gyp/googleurl.gyp:googleurl',
731 ],
[email protected]b8234462009-03-18 02:30:55732 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55733 'sources': [
734 'tools/tld_cleanup/tld_cleanup.cc',
735 ],
736 },
737 {
738 'target_name': 'crash_cache',
739 'type': 'executable',
740 'dependencies': [
741 'net',
[email protected]6718b412009-03-04 18:26:00742 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55743 '../base/base.gyp:base',
744 ],
[email protected]9e450f22009-03-10 23:12:16745 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55746 'sources': [
747 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00748 ],
749 },
750 {
751 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49752 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00753 'dependencies': [
754 'net',
755 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15756 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00757 ],
758 'sources': [
[email protected]2f80c312009-02-25 21:26:55759 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00760 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50761 'proxy/proxy_config_service_common_unittest.cc',
762 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44763 'socket/socket_test_util.cc',
764 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55765 ],
766 },
[email protected]ef36c74c2009-03-11 13:32:22767 {
768 'target_name': 'net_resources',
769 'type': 'none',
770 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
771 'rules': [
[email protected]2f80c312009-02-25 21:26:55772 {
[email protected]ef36c74c2009-03-11 13:32:22773 'rule_name': 'grit',
774 'extension': 'grd',
775 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00776 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55777 ],
[email protected]ef36c74c2009-03-11 13:32:22778 'outputs': [
779 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
780 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
781 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55782 ],
[email protected]ef36c74c2009-03-11 13:32:22783 'action':
784 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35785 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55786 },
[email protected]6718b412009-03-04 18:26:00787 ],
[email protected]ef36c74c2009-03-11 13:32:22788 'sources': [
789 'base/net_resources.grd',
790 ],
791 'direct_dependent_settings': {
792 'include_dirs': [
793 '<(SHARED_INTERMEDIATE_DIR)/net',
794 ],
795 },
[email protected]b392f3e2009-05-11 20:01:24796 'conditions': [
797 ['OS=="win"', {
798 'dependencies': ['../build/win/system.gyp:cygwin'],
799 }],
800 ],
[email protected]ef36c74c2009-03-11 13:32:22801 },
[email protected]75b91f92009-06-17 07:28:48802 {
803 'target_name': 'fetch_client',
804 'type': 'executable',
805 'dependencies': [
806 'net',
807 '../base/base.gyp:base',
[email protected]75b91f92009-06-17 07:28:48808 '../testing/gtest.gyp:gtest',
809 ],
810 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
811 'sources': [
812 'tools/fetch/fetch_client.cc',
813 ],
814 },
[email protected]fe4f06d2009-06-17 07:58:05815 {
816 'target_name': 'fetch_server',
817 'type': 'executable',
818 'dependencies': [
819 'net',
820 '../base/base.gyp:base',
[email protected]fe4f06d2009-06-17 07:58:05821 '../testing/gtest.gyp:gtest',
822 ],
823 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
824 'sources': [
825 'tools/fetch/fetch_server.cc',
826 'tools/fetch/http_listen_socket.cc',
827 'tools/fetch/http_listen_socket.h',
828 'tools/fetch/http_server.cc',
829 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00830 'tools/fetch/http_server_request_info.h',
831 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05832 'tools/fetch/http_session.cc',
833 'tools/fetch/http_session.h',
834 ],
835 },
[email protected]ef36c74c2009-03-11 13:32:22836 ],
837 'conditions': [
[email protected]6718b412009-03-04 18:26:00838 ['OS=="win"', {
839 'targets': [
[email protected]2f80c312009-02-25 21:26:55840 {
841 # TODO(port): dump_cache is still Windows-specific.
842 'target_name': 'dump_cache',
843 'type': 'executable',
844 'dependencies': [
845 'net',
846 '../base/base.gyp:base',
847 ],
848 'sources': [
[email protected]c44344e2009-09-02 22:05:50849 'tools/dump_cache/cache_dumper.cc',
850 'tools/dump_cache/cache_dumper.h',
[email protected]2f80c312009-02-25 21:26:55851 'tools/dump_cache/dump_cache.cc',
852 'tools/dump_cache/dump_files.cc',
853 'tools/dump_cache/upgrade.cc',
[email protected]c44344e2009-09-02 22:05:50854 'tools/dump_cache/url_to_filename_encoder.h',
[email protected]2f80c312009-02-25 21:26:55855 ],
856 },
857 ],
858 }],
[email protected]2f80c312009-02-25 21:26:55859 ],
860}
[email protected]f5c990c2009-10-06 03:02:38861
862# Local Variables:
863# tab-width:2
864# indent-tabs-mode:nil
865# End:
866# vim: set expandtab tabstop=2 shiftwidth=2: