blob: fc0b5b1faa33ea507f09bf570dbf5c957a931c7a [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',
[email protected]9697c5a2009-11-03 06:03:3169 'base/fixed_host_resolver.cc',
70 'base/fixed_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:5571 'base/gzip_filter.cc',
72 'base/gzip_filter.h',
73 'base/gzip_header.cc',
74 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3875 'base/host_cache.cc',
76 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5577 'base/host_resolver.cc',
78 'base/host_resolver.h',
[email protected]b59ff372009-07-15 22:04:3279 'base/host_resolver_impl.cc',
80 'base/host_resolver_impl.h',
81 'base/host_resolver_proc.cc',
82 'base/host_resolver_proc.h',
[email protected]2f80c312009-02-25 21:26:5583 'base/io_buffer.cc',
84 'base/io_buffer.h',
[email protected]a755e1072009-10-23 16:58:3785 'base/keygen_handler.h',
86 'base/keygen_handler_mac.cc',
87 'base/keygen_handler_nss.cc',
88 'base/keygen_handler_win.cc',
[email protected]2f80c312009-02-25 21:26:5589 'base/listen_socket.cc',
90 'base/listen_socket.h',
91 'base/load_flags.h',
[email protected]ec08bb22009-08-12 00:25:1292 'base/load_log.h',
[email protected]54e13772009-08-14 03:01:0993 'base/load_log.cc',
94 'base/load_log_event_type_list.h',
95 'base/load_log_util.cc',
96 'base/load_log_util.h',
[email protected]48ab71e2009-06-22 19:19:1697 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5598 'base/mime_sniffer.cc',
99 'base/mime_sniffer.h',
100 'base/mime_util.cc',
101 'base/mime_util.h',
[email protected]b59ff372009-07-15 22:04:32102 # TODO(eroman): move this into its own test-support target.
103 'base/mock_host_resolver.cc',
104 'base/mock_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:55105 'base/net_error_list.h',
106 'base/net_errors.cc',
107 'base/net_errors.h',
108 'base/net_module.cc',
109 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:55110 'base/net_util.cc',
111 'base/net_util.h',
112 'base/net_util_posix.cc',
113 'base/net_util_win.cc',
114 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00115 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55116 'base/platform_mime_util.h',
117 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
118 'base/platform_mime_util_linux.cc',
119 'base/platform_mime_util_mac.cc',
120 'base/platform_mime_util_win.cc',
121 'base/registry_controlled_domain.cc',
122 'base/registry_controlled_domain.h',
123 'base/scoped_cert_chain_context.h',
124 'base/sdch_filter.cc',
125 'base/sdch_filter.h',
126 'base/sdch_manager.cc',
127 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11128 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58129 'base/ssl_client_auth_cache.cc',
130 'base/ssl_client_auth_cache.h',
[email protected]e52deec2009-08-21 19:48:39131 'base/ssl_config_service.cc',
[email protected]2f80c312009-02-25 21:26:55132 'base/ssl_config_service.h',
[email protected]db36938c2009-08-19 21:48:42133 'base/ssl_config_service_defaults.h',
[email protected]f37c98f2009-09-09 22:07:32134 'base/ssl_config_service_mac.cc',
135 'base/ssl_config_service_mac.h',
[email protected]db36938c2009-08-19 21:48:42136 'base/ssl_config_service_win.cc',
137 'base/ssl_config_service_win.h',
[email protected]2f80c312009-02-25 21:26:55138 'base/ssl_info.h',
[email protected]77f6fb432009-09-05 14:21:09139 'base/strict_transport_security_state.cc',
140 'base/strict_transport_security_state.h',
[email protected]2f80c312009-02-25 21:26:55141 'base/telnet_server.cc',
142 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00143 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55144 'base/upload_data.cc',
145 'base/upload_data.h',
146 'base/upload_data_stream.cc',
147 'base/upload_data_stream.h',
148 'base/wininet_util.cc',
149 'base/wininet_util.h',
150 'base/winsock_init.cc',
151 'base/winsock_init.h',
152 'base/x509_certificate.cc',
153 'base/x509_certificate.h',
154 'base/x509_certificate_mac.cc',
155 'base/x509_certificate_nss.cc',
156 'base/x509_certificate_win.cc',
[email protected]9c2a57712009-10-21 20:35:11157 ],
158 'export_dependent_settings': [
159 '../base/base.gyp:base',
160 ],
161 'conditions': [
162 [ 'OS == "linux"', {
163 'dependencies': [
164 '../build/linux/system.gyp:gconf',
165 '../build/linux/system.gyp:gdk',
166 '../build/linux/system.gyp:nss',
167 ],
168 }],
169 [ 'OS == "win"', {
170 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
171 'dependencies': [
172 'tld_cleanup',
173 ],
174 },
175 { # else: OS != "win"
176 'sources!': [
177 'base/wininet_util.cc',
178 'base/winsock_init.cc',
179 ],
180 },
181 ],
182 [ 'OS == "linux"', {
183 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
184 },
185 { # else: OS != "linux"
186 'sources!': [
[email protected]a755e1072009-10-23 16:58:37187 'base/cert_database_nss.cc',
188 'base/keygen_handler_nss.cc',
[email protected]9c2a57712009-10-21 20:35:11189 'base/nss_memio.c',
190 'base/nss_memio.h',
191 'base/x509_certificate_nss.cc',
192 ],
193 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
194 'dependencies': [
195 '../third_party/icu/icu.gyp:icui18n',
196 '../third_party/icu/icu.gyp:icuuc',
197 ],
198 },
199 ],
200 [ 'OS == "mac"', {
201 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
202 'link_settings': {
203 'libraries': [
204 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
205 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
206 ]
207 },
208 },
209 ],
210 ],
211 },
212 {
213 'target_name': 'net',
214 'type': '<(library)',
215 'dependencies': [
216 '../base/base.gyp:base',
217 '../base/base.gyp:base_i18n',
218 '../build/temp_gyp/googleurl.gyp:googleurl',
219 '../sdch/sdch.gyp:sdch',
220 '../third_party/bzip2/bzip2.gyp:bzip2',
221 '../third_party/icu/icu.gyp:icui18n',
222 '../third_party/icu/icu.gyp:icuuc',
223 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
224 '../third_party/zlib/zlib.gyp:zlib',
225 'net_base',
226 'net_resources',
227 ],
228 'sources': [
[email protected]2f80c312009-02-25 21:26:55229 'disk_cache/addr.cc',
230 'disk_cache/addr.h',
231 'disk_cache/backend_impl.cc',
232 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58233 'disk_cache/bitmap.cc',
234 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55235 'disk_cache/block_files.cc',
236 'disk_cache/block_files.h',
237 'disk_cache/cache_util.h',
238 'disk_cache/cache_util_posix.cc',
239 'disk_cache/cache_util_win.cc',
240 'disk_cache/disk_cache.h',
241 'disk_cache/disk_format.h',
242 'disk_cache/entry_impl.cc',
243 'disk_cache/entry_impl.h',
244 'disk_cache/errors.h',
245 'disk_cache/eviction.cc',
246 'disk_cache/eviction.h',
247 'disk_cache/file.h',
248 'disk_cache/file_block.h',
249 'disk_cache/file_lock.cc',
250 'disk_cache/file_lock.h',
251 'disk_cache/file_posix.cc',
252 'disk_cache/file_win.cc',
253 'disk_cache/hash.cc',
254 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34255 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55256 'disk_cache/mapped_file.h',
257 'disk_cache/mapped_file_posix.cc',
258 'disk_cache/mapped_file_win.cc',
259 'disk_cache/mem_backend_impl.cc',
260 'disk_cache/mem_backend_impl.h',
261 'disk_cache/mem_entry_impl.cc',
262 'disk_cache/mem_entry_impl.h',
263 'disk_cache/mem_rankings.cc',
264 'disk_cache/mem_rankings.h',
265 'disk_cache/rankings.cc',
266 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58267 'disk_cache/sparse_control.cc',
268 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55269 'disk_cache/stats.cc',
270 'disk_cache/stats.h',
271 'disk_cache/stats_histogram.cc',
272 'disk_cache/stats_histogram.h',
273 'disk_cache/storage_block-inl.h',
274 'disk_cache/storage_block.h',
275 'disk_cache/trace.cc',
276 'disk_cache/trace.h',
[email protected]7adaccb2009-10-13 04:43:21277 'flip/flip_bitmasks.h',
278 'flip/flip_frame_builder.cc',
279 'flip/flip_frame_builder.h',
280 'flip/flip_framer.cc',
281 'flip/flip_framer.h',
[email protected]a1640052009-10-29 21:24:02282 'flip/flip_io_buffer.cc',
283 'flip/flip_io_buffer.h',
[email protected]7adaccb2009-10-13 04:43:21284 'flip/flip_network_transaction.cc',
285 'flip/flip_network_transaction.h',
286 'flip/flip_protocol.h',
287 'flip/flip_session.cc',
288 'flip/flip_session.h',
289 'flip/flip_session_pool.cc',
290 'flip/flip_session_pool.h',
[email protected]cd314c822009-10-29 03:13:06291 'flip/flip_stream.cc',
292 'flip/flip_stream.h',
[email protected]7adaccb2009-10-13 04:43:21293 'flip/flip_transaction_factory.h',
[email protected]2f80c312009-02-25 21:26:55294 'ftp/ftp_auth_cache.cc',
295 'ftp/ftp_auth_cache.h',
[email protected]c2972192009-07-28 20:30:09296 'ftp/ftp_ctrl_response_buffer.cc',
297 'ftp/ftp_ctrl_response_buffer.h',
[email protected]1d799dd2009-10-28 17:00:49298 'ftp/ftp_directory_listing_buffer.cc',
299 'ftp/ftp_directory_listing_buffer.h',
300 'ftp/ftp_directory_listing_parsers.cc',
301 'ftp/ftp_directory_listing_parsers.h',
[email protected]2f80c312009-02-25 21:26:55302 'ftp/ftp_network_layer.cc',
303 'ftp/ftp_network_layer.h',
304 'ftp/ftp_network_session.h',
305 'ftp/ftp_network_transaction.cc',
306 'ftp/ftp_network_transaction.h',
307 'ftp/ftp_request_info.h',
308 'ftp/ftp_response_info.h',
[email protected]139dd552009-08-28 22:40:55309 'ftp/ftp_server_type_histograms.cc',
310 'ftp/ftp_server_type_histograms.h',
[email protected]2f80c312009-02-25 21:26:55311 'ftp/ftp_transaction.h',
312 'ftp/ftp_transaction_factory.h',
[email protected]b1c7cc42009-09-24 21:46:50313 'ftp/ftp_util.cc',
314 'ftp/ftp_util.h',
[email protected]5ae0b862009-02-28 02:02:41315 'http/des.cc',
316 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55317 'http/http_atom_list.h',
318 'http/http_auth.cc',
319 'http/http_auth.h',
320 'http/http_auth_cache.cc',
321 'http/http_auth_cache.h',
322 'http/http_auth_handler.h',
323 'http/http_auth_handler.cc',
324 'http/http_auth_handler_basic.cc',
325 'http/http_auth_handler_basic.h',
326 'http/http_auth_handler_digest.cc',
327 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41328 'http/http_auth_handler_ntlm.cc',
329 'http/http_auth_handler_ntlm.h',
[email protected]ea9dc9a2009-09-05 00:43:32330 'http/http_auth_handler_ntlm_portable.cc',
331 'http/http_auth_handler_ntlm_win.cc',
[email protected]0877e3d2009-10-17 22:29:57332 'http/http_basic_stream.cc',
[email protected]d022e4e2009-06-23 04:13:00333 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39334 'http/http_byte_range.cc',
335 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55336 'http/http_cache.cc',
337 'http/http_cache.h',
338 'http/http_chunked_decoder.cc',
339 'http/http_chunked_decoder.h',
340 'http/http_network_layer.cc',
341 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44342 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55343 'http/http_network_session.h',
344 'http/http_network_transaction.cc',
345 'http/http_network_transaction.h',
346 'http/http_request_info.h',
347 'http/http_response_headers.cc',
348 'http/http_response_headers.h',
349 'http/http_response_info.cc',
350 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00351 'http/http_stream.h',
[email protected]0877e3d2009-10-17 22:29:57352 'http/http_stream_parser.cc',
353 'http/http_stream_parser.h',
[email protected]2f80c312009-02-25 21:26:55354 'http/http_transaction.h',
355 'http/http_transaction_factory.h',
356 'http/http_util.cc',
[email protected]e6547c12009-09-18 03:47:01357 'http/http_util_icu.cc',
[email protected]2f80c312009-02-25 21:26:55358 'http/http_util.h',
359 'http/http_vary_data.cc',
360 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00361 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41362 'http/md4.cc',
363 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50364 'http/partial_data.cc',
365 'http/partial_data.h',
[email protected]25d8ea22009-08-25 19:42:29366 'ocsp/nss_ocsp.cc',
367 'ocsp/nss_ocsp.h',
[email protected]620f5712009-08-04 22:43:12368 'proxy/init_proxy_resolver.cc',
369 'proxy/init_proxy_resolver.h',
[email protected]7dc52f22009-03-02 22:37:18370 'proxy/proxy_config.cc',
371 'proxy/proxy_config.h',
372 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55373 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56374 'proxy/proxy_config_service_linux.cc',
375 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55376 'proxy/proxy_config_service_win.cc',
377 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18378 'proxy/proxy_info.cc',
379 'proxy/proxy_info.h',
380 'proxy/proxy_list.cc',
381 'proxy/proxy_list.h',
382 'proxy/proxy_resolver.h',
[email protected]90ae1fb2009-08-02 21:07:12383 'proxy/proxy_resolver_js_bindings.cc',
384 'proxy/proxy_resolver_js_bindings.h',
[email protected]2f80c312009-02-25 21:26:55385 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00386 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32387 'proxy/proxy_resolver_script.h',
388 'proxy/proxy_resolver_v8.cc',
389 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55390 'proxy/proxy_resolver_winhttp.cc',
391 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18392 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55393 'proxy/proxy_script_fetcher.cc',
394 'proxy/proxy_script_fetcher.h',
395 'proxy/proxy_server.cc',
396 'proxy/proxy_server.h',
397 'proxy/proxy_service.cc',
398 'proxy/proxy_service.h',
[email protected]775fd9e2009-07-26 21:12:20399 'proxy/single_threaded_proxy_resolver.cc',
400 'proxy/single_threaded_proxy_resolver.h',
[email protected]f7984fc62009-06-22 23:26:44401 'socket/client_socket.cc',
402 'socket/client_socket.h',
403 'socket/client_socket_factory.cc',
404 'socket/client_socket_factory.h',
405 'socket/client_socket_handle.cc',
406 'socket/client_socket_handle.h',
407 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02408 'socket/client_socket_pool_base.cc',
409 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44410 'socket/socket.h',
[email protected]e0c27be2009-07-15 13:09:35411 'socket/socks5_client_socket.cc',
412 'socket/socks5_client_socket.h',
[email protected]3cd17242009-06-23 02:59:02413 'socket/socks_client_socket.cc',
414 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44415 'socket/ssl_client_socket.h',
416 'socket/ssl_client_socket_mac.cc',
[email protected]961427442009-07-15 19:00:47417 'socket/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44418 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00419 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44420 'socket/ssl_client_socket_win.cc',
421 'socket/ssl_client_socket_win.h',
422 'socket/ssl_test_util.cc',
423 'socket/ssl_test_util.h',
424 'socket/tcp_client_socket.h',
425 'socket/tcp_client_socket_libevent.cc',
426 'socket/tcp_client_socket_libevent.h',
427 'socket/tcp_client_socket_pool.cc',
428 'socket/tcp_client_socket_pool.h',
429 'socket/tcp_client_socket_win.cc',
430 'socket/tcp_client_socket_win.h',
[email protected]961427442009-07-15 19:00:47431 'socket/tcp_pinger.h',
[email protected]aef03132009-10-09 05:04:14432 'socket_stream/socket_stream.cc',
433 'socket_stream/socket_stream.h',
[email protected]c7f689be2009-11-11 05:53:12434 'socket_stream/socket_stream_metrics.cc',
435 'socket_stream/socket_stream_metrics.h',
[email protected]4c4eac02009-11-04 10:02:28436 'socket_stream/socket_stream_throttle.cc',
437 'socket_stream/socket_stream_throttle.h',
[email protected]5a224392009-09-01 17:07:17438 'third_party/parseftp/ParseFTPList.cpp',
439 'third_party/parseftp/ParseFTPList.h',
[email protected]2f80c312009-02-25 21:26:55440 'url_request/url_request.cc',
441 'url_request/url_request.h',
442 'url_request/url_request_about_job.cc',
443 'url_request/url_request_about_job.h',
444 'url_request/url_request_context.h',
[email protected]fcb7fd92009-10-22 04:18:58445 'url_request/url_request_data_job.cc',
446 'url_request/url_request_data_job.h',
[email protected]2f80c312009-02-25 21:26:55447 'url_request/url_request_error_job.cc',
448 'url_request/url_request_error_job.h',
449 'url_request/url_request_file_dir_job.cc',
450 'url_request/url_request_file_dir_job.h',
451 'url_request/url_request_file_job.cc',
452 'url_request/url_request_file_job.h',
453 'url_request/url_request_filter.cc',
454 'url_request/url_request_filter.h',
455 'url_request/url_request_ftp_job.cc',
456 'url_request/url_request_ftp_job.h',
457 'url_request/url_request_http_job.cc',
458 'url_request/url_request_http_job.h',
459 'url_request/url_request_inet_job.cc',
460 'url_request/url_request_inet_job.h',
461 'url_request/url_request_job.cc',
462 'url_request/url_request_job.h',
463 'url_request/url_request_job_manager.cc',
464 'url_request/url_request_job_manager.h',
465 'url_request/url_request_job_metrics.cc',
466 'url_request/url_request_job_metrics.h',
467 'url_request/url_request_job_tracker.cc',
468 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33469 'url_request/url_request_new_ftp_job.cc',
470 'url_request/url_request_new_ftp_job.h',
[email protected]56d83182009-09-04 20:01:45471 'url_request/url_request_redirect_job.cc',
472 'url_request/url_request_redirect_job.h',
[email protected]2f80c312009-02-25 21:26:55473 'url_request/url_request_simple_job.cc',
474 'url_request/url_request_simple_job.h',
475 'url_request/url_request_status.h',
476 'url_request/url_request_test_job.cc',
477 'url_request/url_request_test_job.h',
[email protected]7bffd082009-10-22 20:06:52478 'url_request/url_request_tracker.cc',
479 'url_request/url_request_tracker.h',
[email protected]13c34d12009-09-14 20:51:04480 'url_request/url_request_view_net_internals_job.cc',
481 'url_request/url_request_view_net_internals_job.h',
482 'url_request/view_cache_helper.cc',
483 'url_request/view_cache_helper.h',
[email protected]6d9fc742009-10-21 07:59:36484 'websockets/websocket.cc',
485 'websockets/websocket.h',
[email protected]4c4eac02009-11-04 10:02:28486 'websockets/websocket_throttle.cc',
487 'websockets/websocket_throttle.h',
[email protected]2f80c312009-02-25 21:26:55488 ],
[email protected]2f80c312009-02-25 21:26:55489 'export_dependent_settings': [
490 '../base/base.gyp:base',
491 ],
492 'conditions': [
[email protected]c61f6432009-04-22 01:16:42493 ['javascript_engine=="v8"', {
494 'dependencies': [
[email protected]44531a22009-04-28 21:37:56495 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42496 ],
497 }],
[email protected]9d384032009-03-20 23:13:26498 [ 'OS == "linux"', {
499 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56500 '../build/linux/system.gyp:gconf',
501 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26502 '../build/linux/system.gyp:nss',
503 ],
504 }],
[email protected]2f80c312009-02-25 21:26:55505 [ 'OS == "win"', {
506 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
507 'sources!': [
[email protected]ea9dc9a2009-09-05 00:43:32508 'http/http_auth_handler_ntlm_portable.cc',
[email protected]f7984fc62009-06-22 23:26:44509 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55510 ],
511 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55512 'tld_cleanup',
513 ],
[email protected]2f80c312009-02-25 21:26:55514 },
515 { # else: OS != "win"
516 'sources!': [
[email protected]2f80c312009-02-25 21:26:55517 'proxy/proxy_resolver_winhttp.cc',
518 'url_request/url_request_ftp_job.cc',
519 'url_request/url_request_inet_job.cc',
520 ],
521 },
522 ],
523 [ 'OS == "linux"', {
524 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55525 },
526 { # else: OS != "linux"
527 'sources!': [
[email protected]3d4ae9a42009-07-24 03:48:16528 'ocsp/nss_ocsp.cc',
529 'ocsp/nss_ocsp.h',
[email protected]f7984fc62009-06-22 23:26:44530 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00531 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55532 ],
533 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
534 'dependencies': [
[email protected]280629492009-09-09 06:49:08535 '../third_party/icu/icu.gyp:icui18n',
536 '../third_party/icu/icu.gyp:icuuc',
[email protected]2f80c312009-02-25 21:26:55537 ],
538 },
539 ],
540 [ 'OS == "mac"', {
541 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
542 'link_settings': {
543 'libraries': [
544 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
545 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
546 ]
547 },
548 },
549 ],
[email protected]2f80c312009-02-25 21:26:55550 ],
551 },
552 {
553 'target_name': 'net_unittests',
554 'type': 'executable',
555 'dependencies': [
556 'net',
[email protected]6718b412009-03-04 18:26:00557 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55558 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14559 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55560 '../testing/gtest.gyp:gtest',
[email protected]e86aaca2009-08-12 17:58:57561 '../third_party/zlib/zlib.gyp:zlib',
[email protected]8e99bd12009-08-17 18:45:25562 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]2f80c312009-02-25 21:26:55563 ],
[email protected]9e450f22009-03-10 23:12:16564 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55565 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38566 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55567 'base/base64_unittest.cc',
568 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55569 'base/cookie_monster_unittest.cc',
570 'base/cookie_policy_unittest.cc',
571 'base/data_url_unittest.cc',
572 'base/directory_lister_unittest.cc',
[email protected]c36f0642009-09-09 01:10:50573 'base/dns_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55574 'base/escape_unittest.cc',
575 'base/file_stream_unittest.cc',
576 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27577 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55578 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38579 'base/host_cache_unittest.cc',
[email protected]b59ff372009-07-15 22:04:32580 'base/host_resolver_impl_unittest.cc',
[email protected]54e13772009-08-14 03:01:09581 'base/load_log_unittest.cc',
582 'base/load_log_unittest.h',
583 'base/load_log_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55584 'base/listen_socket_unittest.cc',
585 'base/listen_socket_unittest.h',
586 'base/mime_sniffer_unittest.cc',
587 'base/mime_util_unittest.cc',
588 'base/net_util_unittest.cc',
589 'base/registry_controlled_domain_unittest.cc',
590 'base/run_all_unittests.cc',
591 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58592 'base/ssl_client_auth_cache_unittest.cc',
[email protected]f37c98f2009-09-09 22:07:32593 'base/ssl_config_service_mac_unittest.cc',
[email protected]db36938c2009-08-19 21:48:42594 'base/ssl_config_service_win_unittest.cc',
[email protected]77f6fb432009-09-05 14:21:09595 'base/strict_transport_security_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55596 'base/telnet_server_unittest.cc',
597 'base/test_completion_callback_unittest.cc',
598 'base/wininet_util_unittest.cc',
599 'base/x509_certificate_unittest.cc',
600 'disk_cache/addr_unittest.cc',
601 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58602 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55603 'disk_cache/block_files_unittest.cc',
604 'disk_cache/disk_cache_test_base.cc',
605 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55606 'disk_cache/entry_unittest.cc',
607 'disk_cache/mapped_file_unittest.cc',
608 'disk_cache/storage_block_unittest.cc',
609 'ftp/ftp_auth_cache_unittest.cc',
[email protected]c2972192009-07-28 20:30:09610 'ftp/ftp_ctrl_response_buffer_unittest.cc',
[email protected]1d799dd2009-10-28 17:00:49611 'ftp/ftp_directory_listing_buffer_unittest.cc',
612 'ftp/ftp_directory_listing_parsers_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37613 'ftp/ftp_network_transaction_unittest.cc',
[email protected]b1c7cc42009-09-24 21:46:50614 'ftp/ftp_util_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41615 'http/des_unittest.cc',
[email protected]7adaccb2009-10-13 04:43:21616 'flip/flip_framer_test.cc',
617 'flip/flip_network_transaction_unittest.cc',
618 'flip/flip_session_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55619 'http/http_auth_cache_unittest.cc',
620 'http/http_auth_handler_basic_unittest.cc',
621 'http/http_auth_handler_digest_unittest.cc',
622 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39623 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55624 'http/http_cache_unittest.cc',
625 'http/http_chunked_decoder_unittest.cc',
626 'http/http_network_layer_unittest.cc',
627 'http/http_network_transaction_unittest.cc',
628 'http/http_response_headers_unittest.cc',
629 'http/http_transaction_unittest.cc',
630 'http/http_transaction_unittest.h',
631 'http/http_util_unittest.cc',
632 'http/http_vary_data_unittest.cc',
[email protected]620f5712009-08-04 22:43:12633 'proxy/init_proxy_resolver_unittest.cc',
[email protected]c6efbc62009-08-06 12:52:19634 'proxy/mock_proxy_resolver.h',
[email protected]861c6c62009-04-20 16:50:56635 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57636 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23637 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18638 'proxy/proxy_list_unittest.cc',
[email protected]90ae1fb2009-08-02 21:07:12639 'proxy/proxy_resolver_js_bindings_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32640 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55641 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31642 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55643 'proxy/proxy_service_unittest.cc',
[email protected]775fd9e2009-07-26 21:12:20644 'proxy/single_threaded_proxy_resolver_unittest.cc',
[email protected]ab838892009-06-30 18:49:05645 'socket/client_socket_pool_base_unittest.cc',
[email protected]e0c27be2009-07-15 13:09:35646 'socket/socks5_client_socket_unittest.cc',
[email protected]76a51ac82009-06-28 07:58:58647 'socket/socks_client_socket_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44648 'socket/ssl_client_socket_unittest.cc',
649 'socket/tcp_client_socket_pool_unittest.cc',
650 'socket/tcp_client_socket_unittest.cc',
651 'socket/tcp_pinger_unittest.cc',
[email protected]5f7d8d72009-10-27 09:40:11652 'socket_stream/socket_stream_unittest.cc',
[email protected]7bffd082009-10-22 20:06:52653 'url_request/url_request_tracker_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55654 'url_request/url_request_unittest.cc',
655 'url_request/url_request_unittest.h',
[email protected]4c4eac02009-11-04 10:02:28656 'websockets/websocket_throttle_unittest.cc',
[email protected]6d9fc742009-10-21 07:59:36657 'websockets/websocket_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55658 ],
659 'conditions': [
[email protected]861c6c62009-04-20 16:50:56660 [ 'OS == "win"', {
661 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
662 },
663 ],
[email protected]2f80c312009-02-25 21:26:55664 [ 'OS != "win"', {
665 'sources!': [
666 'base/wininet_util_unittest.cc',
667 ],
668 },
669 ],
670 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56671 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26672 'dependencies': [
673 '../build/linux/system.gyp:gtk',
674 ],
[email protected]2f80c312009-02-25 21:26:55675 'sources!': [
676 'base/sdch_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55677 ],
678 },
679 ],
680 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56681 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55682 },
683 ],
684 # This is needed to trigger the dll copy step on windows.
685 # TODO(mark): Specifying this here shouldn't be necessary.
686 [ 'OS == "win"', {
687 'dependencies': [
[email protected]280629492009-09-09 06:49:08688 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55689 ],
690 },
691 ],
692 ],
693 },
694 {
695 'target_name': 'net_perftests',
696 'type': 'executable',
697 'dependencies': [
698 'net',
[email protected]6718b412009-03-04 18:26:00699 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55700 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14701 '../base/base.gyp:base_i18n',
[email protected]e8ef09a2009-03-16 23:46:45702 '../base/base.gyp:test_support_base',
[email protected]7d1ba9392009-08-03 18:35:06703 '../base/base.gyp:test_support_perf',
[email protected]2f80c312009-02-25 21:26:55704 '../testing/gtest.gyp:gtest',
705 ],
[email protected]9e450f22009-03-10 23:12:16706 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55707 'sources': [
[email protected]2f80c312009-02-25 21:26:55708 'base/cookie_monster_perftest.cc',
709 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33710 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55711 ],
712 'conditions': [
713 # This is needed to trigger the dll copy step on windows.
714 # TODO(mark): Specifying this here shouldn't be necessary.
715 [ 'OS == "win"', {
716 'dependencies': [
[email protected]280629492009-09-09 06:49:08717 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55718 ],
719 },
720 ],
721 ],
722 },
723 {
724 'target_name': 'stress_cache',
725 'type': 'executable',
726 'dependencies': [
727 'net',
[email protected]6718b412009-03-04 18:26:00728 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55729 '../base/base.gyp:base',
730 ],
731 'sources': [
[email protected]2f80c312009-02-25 21:26:55732 'disk_cache/stress_cache.cc',
733 ],
734 },
735 {
736 'target_name': 'tld_cleanup',
737 'type': 'executable',
738 'dependencies': [
739 '../base/base.gyp:base',
[email protected]d34d79f2009-10-14 22:06:14740 '../base/base.gyp:base_i18n',
[email protected]2f80c312009-02-25 21:26:55741 '../build/temp_gyp/googleurl.gyp:googleurl',
742 ],
[email protected]b8234462009-03-18 02:30:55743 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55744 'sources': [
745 'tools/tld_cleanup/tld_cleanup.cc',
746 ],
747 },
748 {
749 'target_name': 'crash_cache',
750 'type': 'executable',
751 'dependencies': [
752 'net',
[email protected]6718b412009-03-04 18:26:00753 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55754 '../base/base.gyp:base',
755 ],
[email protected]9e450f22009-03-10 23:12:16756 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55757 'sources': [
758 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00759 ],
760 },
761 {
762 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49763 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00764 'dependencies': [
765 'net',
766 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15767 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00768 ],
769 'sources': [
[email protected]2f80c312009-02-25 21:26:55770 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00771 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50772 'proxy/proxy_config_service_common_unittest.cc',
773 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44774 'socket/socket_test_util.cc',
775 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55776 ],
777 },
[email protected]ef36c74c2009-03-11 13:32:22778 {
779 'target_name': 'net_resources',
780 'type': 'none',
781 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
782 'rules': [
[email protected]2f80c312009-02-25 21:26:55783 {
[email protected]ef36c74c2009-03-11 13:32:22784 'rule_name': 'grit',
785 'extension': 'grd',
786 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00787 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55788 ],
[email protected]ef36c74c2009-03-11 13:32:22789 'outputs': [
790 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
791 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
792 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55793 ],
[email protected]ef36c74c2009-03-11 13:32:22794 'action':
795 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35796 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55797 },
[email protected]6718b412009-03-04 18:26:00798 ],
[email protected]ef36c74c2009-03-11 13:32:22799 'sources': [
800 'base/net_resources.grd',
801 ],
802 'direct_dependent_settings': {
803 'include_dirs': [
804 '<(SHARED_INTERMEDIATE_DIR)/net',
805 ],
806 },
[email protected]b392f3e2009-05-11 20:01:24807 'conditions': [
808 ['OS=="win"', {
809 'dependencies': ['../build/win/system.gyp:cygwin'],
810 }],
811 ],
[email protected]ef36c74c2009-03-11 13:32:22812 },
[email protected]75b91f92009-06-17 07:28:48813 {
814 'target_name': 'fetch_client',
815 'type': 'executable',
816 'dependencies': [
817 'net',
818 '../base/base.gyp:base',
[email protected]75b91f92009-06-17 07:28:48819 '../testing/gtest.gyp:gtest',
820 ],
821 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
822 'sources': [
823 'tools/fetch/fetch_client.cc',
824 ],
825 },
[email protected]fe4f06d2009-06-17 07:58:05826 {
827 'target_name': 'fetch_server',
828 'type': 'executable',
829 'dependencies': [
830 'net',
831 '../base/base.gyp:base',
[email protected]fe4f06d2009-06-17 07:58:05832 '../testing/gtest.gyp:gtest',
833 ],
834 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
835 'sources': [
836 'tools/fetch/fetch_server.cc',
837 'tools/fetch/http_listen_socket.cc',
838 'tools/fetch/http_listen_socket.h',
839 'tools/fetch/http_server.cc',
840 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00841 'tools/fetch/http_server_request_info.h',
842 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05843 'tools/fetch/http_session.cc',
844 'tools/fetch/http_session.h',
845 ],
846 },
[email protected]ef36c74c2009-03-11 13:32:22847 ],
848 'conditions': [
[email protected]6718b412009-03-04 18:26:00849 ['OS=="win"', {
850 'targets': [
[email protected]2f80c312009-02-25 21:26:55851 {
852 # TODO(port): dump_cache is still Windows-specific.
853 'target_name': 'dump_cache',
854 'type': 'executable',
855 'dependencies': [
856 'net',
857 '../base/base.gyp:base',
858 ],
859 'sources': [
[email protected]c44344e2009-09-02 22:05:50860 'tools/dump_cache/cache_dumper.cc',
861 'tools/dump_cache/cache_dumper.h',
[email protected]2f80c312009-02-25 21:26:55862 'tools/dump_cache/dump_cache.cc',
863 'tools/dump_cache/dump_files.cc',
864 'tools/dump_cache/upgrade.cc',
[email protected]c44344e2009-09-02 22:05:50865 'tools/dump_cache/url_to_filename_encoder.h',
[email protected]2f80c312009-02-25 21:26:55866 ],
867 },
868 ],
869 }],
[email protected]2f80c312009-02-25 21:26:55870 ],
871}
[email protected]f5c990c2009-10-06 03:02:38872
873# Local Variables:
874# tab-width:2
875# indent-tabs-mode:nil
876# End:
877# vim: set expandtab tabstop=2 shiftwidth=2: