blob: 5fed81dfc73a22cf8dedfbaac0691a56c76383cb [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 },
9 'includes': [
10 '../build/common.gypi',
11 ],
12 'targets': [
13 {
14 'target_name': 'net',
[email protected]653bd5f032009-04-08 12:55:4915 'type': '<(library)',
[email protected]2f80c312009-02-25 21:26:5516 'dependencies': [
17 '../base/base.gyp:base',
18 '../build/temp_gyp/googleurl.gyp:googleurl',
19 '../sdch/sdch.gyp:sdch',
20 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]280629492009-09-09 06:49:0821 '../third_party/icu/icu.gyp:icui18n',
22 '../third_party/icu/icu.gyp:icuuc',
[email protected]2f80c312009-02-25 21:26:5523 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
24 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2225 'net_resources',
[email protected]2f80c312009-02-25 21:26:5526 ],
[email protected]0d54d2e2009-03-10 22:25:5427 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5528 'sources': [
29 'base/address_list.cc',
30 'base/address_list.h',
31 'base/auth.h',
32 'base/base64.cc',
33 'base/base64.h',
34 'base/bzip2_filter.cc',
35 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2036 'base/cache_type.h',
[email protected]2f80c312009-02-25 21:26:5537 'base/cert_status_flags.cc',
38 'base/cert_status_flags.h',
39 'base/cert_verifier.cc',
40 'base/cert_verifier.h',
41 'base/cert_verify_result.h',
[email protected]2f80c312009-02-25 21:26:5542 'base/completion_callback.h',
43 'base/connection_type_histograms.cc',
44 'base/connection_type_histograms.h',
45 'base/cookie_monster.cc',
46 'base/cookie_monster.h',
[email protected]5f450e52009-07-28 13:28:1147 'base/cookie_options.h',
[email protected]2f80c312009-02-25 21:26:5548 'base/cookie_policy.cc',
49 'base/cookie_policy.h',
[email protected]5f450e52009-07-28 13:28:1150 'base/cookie_store.h',
[email protected]2f80c312009-02-25 21:26:5551 'base/data_url.cc',
52 'base/data_url.h',
53 'base/directory_lister.cc',
54 'base/directory_lister.h',
[email protected]c36f0642009-09-09 01:10:5055 'base/dns_util.cc',
56 'base/dns_util.h',
[email protected]2f80c312009-02-25 21:26:5557 'base/effective_tld_names.cc',
58 'base/effective_tld_names.dat',
59 'base/escape.cc',
60 'base/escape.h',
61 'base/ev_root_ca_metadata.cc',
62 'base/ev_root_ca_metadata.h',
63 'base/file_stream.h',
64 'base/file_stream_posix.cc',
65 'base/file_stream_win.cc',
66 'base/filter.cc',
67 'base/filter.h',
68 'base/gzip_filter.cc',
69 'base/gzip_filter.h',
70 'base/gzip_header.cc',
71 'base/gzip_header.h',
[email protected]8a00f00a2009-06-12 00:49:3872 'base/host_cache.cc',
73 'base/host_cache.h',
[email protected]2f80c312009-02-25 21:26:5574 'base/host_resolver.cc',
75 'base/host_resolver.h',
[email protected]b59ff372009-07-15 22:04:3276 'base/host_resolver_impl.cc',
77 'base/host_resolver_impl.h',
78 'base/host_resolver_proc.cc',
79 'base/host_resolver_proc.h',
[email protected]2f80c312009-02-25 21:26:5580 'base/io_buffer.cc',
81 'base/io_buffer.h',
82 'base/listen_socket.cc',
83 'base/listen_socket.h',
84 'base/load_flags.h',
[email protected]ec08bb22009-08-12 00:25:1285 'base/load_log.h',
[email protected]54e13772009-08-14 03:01:0986 'base/load_log.cc',
87 'base/load_log_event_type_list.h',
88 'base/load_log_util.cc',
89 'base/load_log_util.h',
[email protected]48ab71e2009-06-22 19:19:1690 'base/load_states.h',
[email protected]2f80c312009-02-25 21:26:5591 'base/mime_sniffer.cc',
92 'base/mime_sniffer.h',
93 'base/mime_util.cc',
94 'base/mime_util.h',
[email protected]b59ff372009-07-15 22:04:3295 # TODO(eroman): move this into its own test-support target.
96 'base/mock_host_resolver.cc',
97 'base/mock_host_resolver.h',
[email protected]2f80c312009-02-25 21:26:5598 'base/net_error_list.h',
99 'base/net_errors.cc',
100 'base/net_errors.h',
101 'base/net_module.cc',
102 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:55103 'base/net_util.cc',
104 'base/net_util.h',
105 'base/net_util_posix.cc',
106 'base/net_util_win.cc',
107 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00108 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55109 'base/platform_mime_util.h',
110 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
111 'base/platform_mime_util_linux.cc',
112 'base/platform_mime_util_mac.cc',
113 'base/platform_mime_util_win.cc',
114 'base/registry_controlled_domain.cc',
115 'base/registry_controlled_domain.h',
116 'base/scoped_cert_chain_context.h',
117 'base/sdch_filter.cc',
118 'base/sdch_filter.h',
119 'base/sdch_manager.cc',
120 'base/sdch_manager.h',
[email protected]0b45559b2009-06-12 21:45:11121 'base/ssl_cert_request_info.h',
[email protected]56c866a22009-06-18 19:38:58122 'base/ssl_client_auth_cache.cc',
123 'base/ssl_client_auth_cache.h',
[email protected]e52deec2009-08-21 19:48:39124 'base/ssl_config_service.cc',
[email protected]2f80c312009-02-25 21:26:55125 'base/ssl_config_service.h',
[email protected]db36938c2009-08-19 21:48:42126 'base/ssl_config_service_defaults.h',
[email protected]f37c98f2009-09-09 22:07:32127 'base/ssl_config_service_mac.cc',
128 'base/ssl_config_service_mac.h',
[email protected]db36938c2009-08-19 21:48:42129 'base/ssl_config_service_win.cc',
130 'base/ssl_config_service_win.h',
[email protected]2f80c312009-02-25 21:26:55131 'base/ssl_info.h',
[email protected]77f6fb432009-09-05 14:21:09132 'base/strict_transport_security_state.cc',
133 'base/strict_transport_security_state.h',
[email protected]2f80c312009-02-25 21:26:55134 'base/telnet_server.cc',
135 'base/telnet_server.h',
[email protected]d022e4e2009-06-23 04:13:00136 'base/test_completion_callback.h',
[email protected]2f80c312009-02-25 21:26:55137 'base/upload_data.cc',
138 'base/upload_data.h',
139 'base/upload_data_stream.cc',
140 'base/upload_data_stream.h',
141 'base/wininet_util.cc',
142 'base/wininet_util.h',
143 'base/winsock_init.cc',
144 'base/winsock_init.h',
145 'base/x509_certificate.cc',
146 'base/x509_certificate.h',
147 'base/x509_certificate_mac.cc',
148 'base/x509_certificate_nss.cc',
149 'base/x509_certificate_win.cc',
[email protected]2f80c312009-02-25 21:26:55150 'disk_cache/addr.cc',
151 'disk_cache/addr.h',
152 'disk_cache/backend_impl.cc',
153 'disk_cache/backend_impl.h',
[email protected]84d4cee2009-06-18 23:46:58154 'disk_cache/bitmap.cc',
155 'disk_cache/bitmap.h',
[email protected]2f80c312009-02-25 21:26:55156 'disk_cache/block_files.cc',
157 'disk_cache/block_files.h',
158 'disk_cache/cache_util.h',
159 'disk_cache/cache_util_posix.cc',
160 'disk_cache/cache_util_win.cc',
161 'disk_cache/disk_cache.h',
162 'disk_cache/disk_format.h',
163 'disk_cache/entry_impl.cc',
164 'disk_cache/entry_impl.h',
165 'disk_cache/errors.h',
166 'disk_cache/eviction.cc',
167 'disk_cache/eviction.h',
168 'disk_cache/file.h',
169 'disk_cache/file_block.h',
170 'disk_cache/file_lock.cc',
171 'disk_cache/file_lock.h',
172 'disk_cache/file_posix.cc',
173 'disk_cache/file_win.cc',
174 'disk_cache/hash.cc',
175 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34176 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55177 'disk_cache/mapped_file.h',
178 'disk_cache/mapped_file_posix.cc',
179 'disk_cache/mapped_file_win.cc',
180 'disk_cache/mem_backend_impl.cc',
181 'disk_cache/mem_backend_impl.h',
182 'disk_cache/mem_entry_impl.cc',
183 'disk_cache/mem_entry_impl.h',
184 'disk_cache/mem_rankings.cc',
185 'disk_cache/mem_rankings.h',
186 'disk_cache/rankings.cc',
187 'disk_cache/rankings.h',
[email protected]84d4cee2009-06-18 23:46:58188 'disk_cache/sparse_control.cc',
189 'disk_cache/sparse_control.h',
[email protected]2f80c312009-02-25 21:26:55190 'disk_cache/stats.cc',
191 'disk_cache/stats.h',
192 'disk_cache/stats_histogram.cc',
193 'disk_cache/stats_histogram.h',
194 'disk_cache/storage_block-inl.h',
195 'disk_cache/storage_block.h',
196 'disk_cache/trace.cc',
197 'disk_cache/trace.h',
198 'ftp/ftp_auth_cache.cc',
199 'ftp/ftp_auth_cache.h',
[email protected]c2972192009-07-28 20:30:09200 'ftp/ftp_ctrl_response_buffer.cc',
201 'ftp/ftp_ctrl_response_buffer.h',
[email protected]2f80c312009-02-25 21:26:55202 'ftp/ftp_network_layer.cc',
203 'ftp/ftp_network_layer.h',
204 'ftp/ftp_network_session.h',
205 'ftp/ftp_network_transaction.cc',
206 'ftp/ftp_network_transaction.h',
207 'ftp/ftp_request_info.h',
208 'ftp/ftp_response_info.h',
[email protected]139dd552009-08-28 22:40:55209 'ftp/ftp_server_type_histograms.cc',
210 'ftp/ftp_server_type_histograms.h',
[email protected]2f80c312009-02-25 21:26:55211 'ftp/ftp_transaction.h',
212 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41213 'http/des.cc',
214 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55215 'http/http_atom_list.h',
216 'http/http_auth.cc',
217 'http/http_auth.h',
218 'http/http_auth_cache.cc',
219 'http/http_auth_cache.h',
220 'http/http_auth_handler.h',
221 'http/http_auth_handler.cc',
222 'http/http_auth_handler_basic.cc',
223 'http/http_auth_handler_basic.h',
224 'http/http_auth_handler_digest.cc',
225 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41226 'http/http_auth_handler_ntlm.cc',
227 'http/http_auth_handler_ntlm.h',
[email protected]ea9dc9a2009-09-05 00:43:32228 'http/http_auth_handler_ntlm_portable.cc',
229 'http/http_auth_handler_ntlm_win.cc',
[email protected]d022e4e2009-06-23 04:13:00230 'http/http_basic_stream.h',
[email protected]fc48db82009-04-28 21:23:39231 'http/http_byte_range.cc',
232 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55233 'http/http_cache.cc',
234 'http/http_cache.h',
235 'http/http_chunked_decoder.cc',
236 'http/http_chunked_decoder.h',
237 'http/http_network_layer.cc',
238 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44239 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55240 'http/http_network_session.h',
241 'http/http_network_transaction.cc',
242 'http/http_network_transaction.h',
243 'http/http_request_info.h',
244 'http/http_response_headers.cc',
245 'http/http_response_headers.h',
246 'http/http_response_info.cc',
247 'http/http_response_info.h',
[email protected]d022e4e2009-06-23 04:13:00248 'http/http_stream.h',
[email protected]2f80c312009-02-25 21:26:55249 'http/http_transaction.h',
250 'http/http_transaction_factory.h',
251 'http/http_util.cc',
252 'http/http_util.h',
253 'http/http_vary_data.cc',
254 'http/http_vary_data.h',
[email protected]d022e4e2009-06-23 04:13:00255 'http/http_version.h',
[email protected]5ae0b862009-02-28 02:02:41256 'http/md4.cc',
257 'http/md4.h',
[email protected]8bf26f49a2009-06-12 17:35:50258 'http/partial_data.cc',
259 'http/partial_data.h',
[email protected]25d8ea22009-08-25 19:42:29260 'ocsp/nss_ocsp.cc',
261 'ocsp/nss_ocsp.h',
[email protected]620f5712009-08-04 22:43:12262 'proxy/init_proxy_resolver.cc',
263 'proxy/init_proxy_resolver.h',
[email protected]7dc52f22009-03-02 22:37:18264 'proxy/proxy_config.cc',
265 'proxy/proxy_config.h',
266 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55267 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56268 'proxy/proxy_config_service_linux.cc',
269 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55270 'proxy/proxy_config_service_win.cc',
271 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18272 'proxy/proxy_info.cc',
273 'proxy/proxy_info.h',
274 'proxy/proxy_list.cc',
275 'proxy/proxy_list.h',
276 'proxy/proxy_resolver.h',
[email protected]90ae1fb2009-08-02 21:07:12277 'proxy/proxy_resolver_js_bindings.cc',
278 'proxy/proxy_resolver_js_bindings.h',
[email protected]2f80c312009-02-25 21:26:55279 'proxy/proxy_resolver_mac.cc',
[email protected]d022e4e2009-06-23 04:13:00280 'proxy/proxy_resolver_mac.h',
[email protected]6b675b82009-02-26 23:18:32281 'proxy/proxy_resolver_script.h',
282 'proxy/proxy_resolver_v8.cc',
283 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55284 'proxy/proxy_resolver_winhttp.cc',
285 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18286 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55287 'proxy/proxy_script_fetcher.cc',
288 'proxy/proxy_script_fetcher.h',
289 'proxy/proxy_server.cc',
290 'proxy/proxy_server.h',
291 'proxy/proxy_service.cc',
292 'proxy/proxy_service.h',
[email protected]775fd9e2009-07-26 21:12:20293 'proxy/single_threaded_proxy_resolver.cc',
294 'proxy/single_threaded_proxy_resolver.h',
[email protected]f7984fc62009-06-22 23:26:44295 'socket/client_socket.cc',
296 'socket/client_socket.h',
297 'socket/client_socket_factory.cc',
298 'socket/client_socket_factory.h',
299 'socket/client_socket_handle.cc',
300 'socket/client_socket_handle.h',
301 'socket/client_socket_pool.h',
[email protected]ff579d42009-06-24 15:47:02302 'socket/client_socket_pool_base.cc',
303 'socket/client_socket_pool_base.h',
[email protected]f7984fc62009-06-22 23:26:44304 'socket/socket.h',
[email protected]e0c27be2009-07-15 13:09:35305 'socket/socks5_client_socket.cc',
306 'socket/socks5_client_socket.h',
[email protected]3cd17242009-06-23 02:59:02307 'socket/socks_client_socket.cc',
308 'socket/socks_client_socket.h',
[email protected]f7984fc62009-06-22 23:26:44309 'socket/ssl_client_socket.h',
310 'socket/ssl_client_socket_mac.cc',
[email protected]961427442009-07-15 19:00:47311 'socket/ssl_client_socket_mac.h',
[email protected]f7984fc62009-06-22 23:26:44312 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00313 'socket/ssl_client_socket_nss.h',
[email protected]f7984fc62009-06-22 23:26:44314 'socket/ssl_client_socket_win.cc',
315 'socket/ssl_client_socket_win.h',
316 'socket/ssl_test_util.cc',
317 'socket/ssl_test_util.h',
318 'socket/tcp_client_socket.h',
319 'socket/tcp_client_socket_libevent.cc',
320 'socket/tcp_client_socket_libevent.h',
321 'socket/tcp_client_socket_pool.cc',
322 'socket/tcp_client_socket_pool.h',
323 'socket/tcp_client_socket_win.cc',
324 'socket/tcp_client_socket_win.h',
[email protected]961427442009-07-15 19:00:47325 'socket/tcp_pinger.h',
[email protected]5a224392009-09-01 17:07:17326 'third_party/parseftp/ParseFTPList.cpp',
327 'third_party/parseftp/ParseFTPList.h',
[email protected]2f80c312009-02-25 21:26:55328 'url_request/url_request.cc',
329 'url_request/url_request.h',
330 'url_request/url_request_about_job.cc',
331 'url_request/url_request_about_job.h',
332 'url_request/url_request_context.h',
333 'url_request/url_request_error_job.cc',
334 'url_request/url_request_error_job.h',
335 'url_request/url_request_file_dir_job.cc',
336 'url_request/url_request_file_dir_job.h',
337 'url_request/url_request_file_job.cc',
338 'url_request/url_request_file_job.h',
339 'url_request/url_request_filter.cc',
340 'url_request/url_request_filter.h',
341 'url_request/url_request_ftp_job.cc',
342 'url_request/url_request_ftp_job.h',
343 'url_request/url_request_http_job.cc',
344 'url_request/url_request_http_job.h',
345 'url_request/url_request_inet_job.cc',
346 'url_request/url_request_inet_job.h',
347 'url_request/url_request_job.cc',
348 'url_request/url_request_job.h',
349 'url_request/url_request_job_manager.cc',
350 'url_request/url_request_job_manager.h',
351 'url_request/url_request_job_metrics.cc',
352 'url_request/url_request_job_metrics.h',
353 'url_request/url_request_job_tracker.cc',
354 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33355 'url_request/url_request_new_ftp_job.cc',
356 'url_request/url_request_new_ftp_job.h',
[email protected]56d83182009-09-04 20:01:45357 'url_request/url_request_redirect_job.cc',
358 'url_request/url_request_redirect_job.h',
[email protected]2f80c312009-02-25 21:26:55359 'url_request/url_request_simple_job.cc',
360 'url_request/url_request_simple_job.h',
361 'url_request/url_request_status.h',
362 'url_request/url_request_test_job.cc',
363 'url_request/url_request_test_job.h',
[email protected]13c34d12009-09-14 20:51:04364 'url_request/url_request_view_net_internals_job.cc',
365 'url_request/url_request_view_net_internals_job.h',
366 'url_request/view_cache_helper.cc',
367 'url_request/view_cache_helper.h',
[email protected]2f80c312009-02-25 21:26:55368 ],
[email protected]2f80c312009-02-25 21:26:55369 'export_dependent_settings': [
370 '../base/base.gyp:base',
371 ],
372 'conditions': [
[email protected]c61f6432009-04-22 01:16:42373 ['javascript_engine=="v8"', {
374 'dependencies': [
[email protected]44531a22009-04-28 21:37:56375 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42376 ],
377 }],
[email protected]9d384032009-03-20 23:13:26378 [ 'OS == "linux"', {
379 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56380 '../build/linux/system.gyp:gconf',
381 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26382 '../build/linux/system.gyp:nss',
383 ],
384 }],
[email protected]2f80c312009-02-25 21:26:55385 [ 'OS == "win"', {
386 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
387 'sources!': [
[email protected]ea9dc9a2009-09-05 00:43:32388 'http/http_auth_handler_ntlm_portable.cc',
[email protected]f7984fc62009-06-22 23:26:44389 'socket/tcp_client_socket_libevent.cc',
[email protected]2f80c312009-02-25 21:26:55390 ],
391 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55392 'tld_cleanup',
393 ],
[email protected]2f80c312009-02-25 21:26:55394 },
395 { # else: OS != "win"
396 'sources!': [
[email protected]2f80c312009-02-25 21:26:55397 'base/wininet_util.cc',
398 'base/winsock_init.cc',
399 'proxy/proxy_resolver_winhttp.cc',
400 'url_request/url_request_ftp_job.cc',
401 'url_request/url_request_inet_job.cc',
402 ],
403 },
404 ],
405 [ 'OS == "linux"', {
406 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55407 },
408 { # else: OS != "linux"
409 'sources!': [
410 'base/nss_memio.c',
[email protected]d022e4e2009-06-23 04:13:00411 'base/nss_memio.h',
[email protected]2f80c312009-02-25 21:26:55412 'base/x509_certificate_nss.cc',
[email protected]3d4ae9a42009-07-24 03:48:16413 'ocsp/nss_ocsp.cc',
414 'ocsp/nss_ocsp.h',
[email protected]f7984fc62009-06-22 23:26:44415 'socket/ssl_client_socket_nss.cc',
[email protected]d022e4e2009-06-23 04:13:00416 'socket/ssl_client_socket_nss.h',
[email protected]2f80c312009-02-25 21:26:55417 ],
418 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
419 'dependencies': [
[email protected]280629492009-09-09 06:49:08420 '../third_party/icu/icu.gyp:icui18n',
421 '../third_party/icu/icu.gyp:icuuc',
[email protected]2f80c312009-02-25 21:26:55422 ],
423 },
424 ],
425 [ 'OS == "mac"', {
426 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
427 'link_settings': {
428 'libraries': [
429 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
430 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
431 ]
432 },
433 },
434 ],
[email protected]2f80c312009-02-25 21:26:55435 ],
436 },
437 {
438 'target_name': 'net_unittests',
439 'type': 'executable',
440 'dependencies': [
441 'net',
[email protected]6718b412009-03-04 18:26:00442 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55443 '../base/base.gyp:base',
444 '../testing/gtest.gyp:gtest',
[email protected]e86aaca2009-08-12 17:58:57445 '../third_party/zlib/zlib.gyp:zlib',
[email protected]8e99bd12009-08-17 18:45:25446 '../third_party/bzip2/bzip2.gyp:bzip2',
[email protected]2f80c312009-02-25 21:26:55447 ],
[email protected]9e450f22009-03-10 23:12:16448 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55449 'sources': [
[email protected]8a00f00a2009-06-12 00:49:38450 'base/address_list_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55451 'base/base64_unittest.cc',
452 'base/bzip2_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55453 'base/cookie_monster_unittest.cc',
454 'base/cookie_policy_unittest.cc',
455 'base/data_url_unittest.cc',
456 'base/directory_lister_unittest.cc',
[email protected]c36f0642009-09-09 01:10:50457 'base/dns_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55458 'base/escape_unittest.cc',
459 'base/file_stream_unittest.cc',
460 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27461 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55462 'base/gzip_filter_unittest.cc',
[email protected]8a00f00a2009-06-12 00:49:38463 'base/host_cache_unittest.cc',
[email protected]b59ff372009-07-15 22:04:32464 'base/host_resolver_impl_unittest.cc',
[email protected]54e13772009-08-14 03:01:09465 'base/load_log_unittest.cc',
466 'base/load_log_unittest.h',
467 'base/load_log_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55468 'base/listen_socket_unittest.cc',
469 'base/listen_socket_unittest.h',
470 'base/mime_sniffer_unittest.cc',
471 'base/mime_util_unittest.cc',
472 'base/net_util_unittest.cc',
473 'base/registry_controlled_domain_unittest.cc',
474 'base/run_all_unittests.cc',
475 'base/sdch_filter_unittest.cc',
[email protected]56c866a22009-06-18 19:38:58476 'base/ssl_client_auth_cache_unittest.cc',
[email protected]f37c98f2009-09-09 22:07:32477 'base/ssl_config_service_mac_unittest.cc',
[email protected]db36938c2009-08-19 21:48:42478 'base/ssl_config_service_win_unittest.cc',
[email protected]77f6fb432009-09-05 14:21:09479 'base/strict_transport_security_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55480 'base/telnet_server_unittest.cc',
481 'base/test_completion_callback_unittest.cc',
482 'base/wininet_util_unittest.cc',
483 'base/x509_certificate_unittest.cc',
484 'disk_cache/addr_unittest.cc',
485 'disk_cache/backend_unittest.cc',
[email protected]84d4cee2009-06-18 23:46:58486 'disk_cache/bitmap_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55487 'disk_cache/block_files_unittest.cc',
488 'disk_cache/disk_cache_test_base.cc',
489 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55490 'disk_cache/entry_unittest.cc',
491 'disk_cache/mapped_file_unittest.cc',
492 'disk_cache/storage_block_unittest.cc',
493 'ftp/ftp_auth_cache_unittest.cc',
[email protected]c2972192009-07-28 20:30:09494 'ftp/ftp_ctrl_response_buffer_unittest.cc',
[email protected]69b43fe2009-06-15 09:47:37495 'ftp/ftp_network_transaction_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41496 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55497 'http/http_auth_cache_unittest.cc',
498 'http/http_auth_handler_basic_unittest.cc',
499 'http/http_auth_handler_digest_unittest.cc',
500 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39501 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55502 'http/http_cache_unittest.cc',
503 'http/http_chunked_decoder_unittest.cc',
504 'http/http_network_layer_unittest.cc',
505 'http/http_network_transaction_unittest.cc',
506 'http/http_response_headers_unittest.cc',
507 'http/http_transaction_unittest.cc',
508 'http/http_transaction_unittest.h',
509 'http/http_util_unittest.cc',
510 'http/http_vary_data_unittest.cc',
[email protected]620f5712009-08-04 22:43:12511 'proxy/init_proxy_resolver_unittest.cc',
[email protected]c6efbc62009-08-06 12:52:19512 'proxy/mock_proxy_resolver.h',
[email protected]861c6c62009-04-20 16:50:56513 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57514 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23515 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18516 'proxy/proxy_list_unittest.cc',
[email protected]90ae1fb2009-08-02 21:07:12517 'proxy/proxy_resolver_js_bindings_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32518 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55519 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31520 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55521 'proxy/proxy_service_unittest.cc',
[email protected]775fd9e2009-07-26 21:12:20522 'proxy/single_threaded_proxy_resolver_unittest.cc',
[email protected]ab838892009-06-30 18:49:05523 'socket/client_socket_pool_base_unittest.cc',
[email protected]e0c27be2009-07-15 13:09:35524 'socket/socks5_client_socket_unittest.cc',
[email protected]76a51ac82009-06-28 07:58:58525 'socket/socks_client_socket_unittest.cc',
[email protected]f7984fc62009-06-22 23:26:44526 'socket/ssl_client_socket_unittest.cc',
527 'socket/tcp_client_socket_pool_unittest.cc',
528 'socket/tcp_client_socket_unittest.cc',
529 'socket/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55530 'url_request/url_request_unittest.cc',
531 'url_request/url_request_unittest.h',
532 ],
533 'conditions': [
[email protected]861c6c62009-04-20 16:50:56534 [ 'OS == "win"', {
535 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
536 },
537 ],
[email protected]2f80c312009-02-25 21:26:55538 [ 'OS != "win"', {
539 'sources!': [
540 'base/wininet_util_unittest.cc',
541 ],
542 },
543 ],
544 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56545 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26546 'dependencies': [
547 '../build/linux/system.gyp:gtk',
548 ],
[email protected]2f80c312009-02-25 21:26:55549 'sources!': [
550 'base/sdch_filter_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55551 ],
552 },
553 ],
554 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56555 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55556 },
557 ],
558 # This is needed to trigger the dll copy step on windows.
559 # TODO(mark): Specifying this here shouldn't be necessary.
560 [ 'OS == "win"', {
561 'dependencies': [
[email protected]280629492009-09-09 06:49:08562 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55563 ],
564 },
565 ],
566 ],
567 },
568 {
569 'target_name': 'net_perftests',
570 'type': 'executable',
571 'dependencies': [
572 'net',
[email protected]6718b412009-03-04 18:26:00573 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55574 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45575 '../base/base.gyp:test_support_base',
[email protected]7d1ba9392009-08-03 18:35:06576 '../base/base.gyp:test_support_perf',
[email protected]2f80c312009-02-25 21:26:55577 '../testing/gtest.gyp:gtest',
578 ],
[email protected]9e450f22009-03-10 23:12:16579 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55580 'sources': [
[email protected]2f80c312009-02-25 21:26:55581 'base/cookie_monster_perftest.cc',
582 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33583 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55584 ],
585 'conditions': [
586 # This is needed to trigger the dll copy step on windows.
587 # TODO(mark): Specifying this here shouldn't be necessary.
588 [ 'OS == "win"', {
589 'dependencies': [
[email protected]280629492009-09-09 06:49:08590 '../third_party/icu/icu.gyp:icudata',
[email protected]2f80c312009-02-25 21:26:55591 ],
592 },
593 ],
594 ],
595 },
596 {
597 'target_name': 'stress_cache',
598 'type': 'executable',
599 'dependencies': [
600 'net',
[email protected]6718b412009-03-04 18:26:00601 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55602 '../base/base.gyp:base',
603 ],
604 'sources': [
[email protected]2f80c312009-02-25 21:26:55605 'disk_cache/stress_cache.cc',
606 ],
607 },
608 {
609 'target_name': 'tld_cleanup',
610 'type': 'executable',
611 'dependencies': [
612 '../base/base.gyp:base',
613 '../build/temp_gyp/googleurl.gyp:googleurl',
614 ],
[email protected]b8234462009-03-18 02:30:55615 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55616 'sources': [
617 'tools/tld_cleanup/tld_cleanup.cc',
618 ],
619 },
620 {
621 'target_name': 'crash_cache',
622 'type': 'executable',
623 'dependencies': [
624 'net',
[email protected]6718b412009-03-04 18:26:00625 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55626 '../base/base.gyp:base',
627 ],
[email protected]9e450f22009-03-10 23:12:16628 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55629 'sources': [
630 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00631 ],
632 },
633 {
634 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49635 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00636 'dependencies': [
637 'net',
638 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15639 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00640 ],
641 'sources': [
[email protected]2f80c312009-02-25 21:26:55642 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00643 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50644 'proxy/proxy_config_service_common_unittest.cc',
645 'proxy/proxy_config_service_common_unittest.h',
[email protected]f7984fc62009-06-22 23:26:44646 'socket/socket_test_util.cc',
647 'socket/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55648 ],
649 },
[email protected]ef36c74c2009-03-11 13:32:22650 {
651 'target_name': 'net_resources',
652 'type': 'none',
653 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
654 'rules': [
[email protected]2f80c312009-02-25 21:26:55655 {
[email protected]ef36c74c2009-03-11 13:32:22656 'rule_name': 'grit',
657 'extension': 'grd',
658 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00659 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55660 ],
[email protected]ef36c74c2009-03-11 13:32:22661 'outputs': [
662 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
663 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
664 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55665 ],
[email protected]ef36c74c2009-03-11 13:32:22666 'action':
667 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35668 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55669 },
[email protected]6718b412009-03-04 18:26:00670 ],
[email protected]ef36c74c2009-03-11 13:32:22671 'sources': [
672 'base/net_resources.grd',
673 ],
674 'direct_dependent_settings': {
675 'include_dirs': [
676 '<(SHARED_INTERMEDIATE_DIR)/net',
677 ],
678 },
[email protected]b392f3e2009-05-11 20:01:24679 'conditions': [
680 ['OS=="win"', {
681 'dependencies': ['../build/win/system.gyp:cygwin'],
682 }],
683 ],
[email protected]ef36c74c2009-03-11 13:32:22684 },
[email protected]75b91f92009-06-17 07:28:48685 {
686 'target_name': 'fetch_client',
687 'type': 'executable',
688 'dependencies': [
689 'net',
690 '../base/base.gyp:base',
[email protected]7d1ba9392009-08-03 18:35:06691 '../base/base.gyp:test_support_perf',
[email protected]75b91f92009-06-17 07:28:48692 '../testing/gtest.gyp:gtest',
693 ],
694 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
695 'sources': [
696 'tools/fetch/fetch_client.cc',
697 ],
698 },
[email protected]fe4f06d2009-06-17 07:58:05699 {
700 'target_name': 'fetch_server',
701 'type': 'executable',
702 'dependencies': [
703 'net',
704 '../base/base.gyp:base',
[email protected]7d1ba9392009-08-03 18:35:06705 '../base/base.gyp:test_support_perf',
[email protected]fe4f06d2009-06-17 07:58:05706 '../testing/gtest.gyp:gtest',
707 ],
708 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
709 'sources': [
710 'tools/fetch/fetch_server.cc',
711 'tools/fetch/http_listen_socket.cc',
712 'tools/fetch/http_listen_socket.h',
713 'tools/fetch/http_server.cc',
714 'tools/fetch/http_server.h',
[email protected]d022e4e2009-06-23 04:13:00715 'tools/fetch/http_server_request_info.h',
716 'tools/fetch/http_server_response_info.h',
[email protected]fe4f06d2009-06-17 07:58:05717 'tools/fetch/http_session.cc',
718 'tools/fetch/http_session.h',
719 ],
720 },
[email protected]ef36c74c2009-03-11 13:32:22721 ],
722 'conditions': [
[email protected]6718b412009-03-04 18:26:00723 ['OS=="win"', {
724 'targets': [
[email protected]2f80c312009-02-25 21:26:55725 {
726 # TODO(port): dump_cache is still Windows-specific.
727 'target_name': 'dump_cache',
728 'type': 'executable',
729 'dependencies': [
730 'net',
731 '../base/base.gyp:base',
732 ],
733 'sources': [
[email protected]c44344e2009-09-02 22:05:50734 'tools/dump_cache/cache_dumper.cc',
735 'tools/dump_cache/cache_dumper.h',
[email protected]2f80c312009-02-25 21:26:55736 'tools/dump_cache/dump_cache.cc',
737 'tools/dump_cache/dump_files.cc',
738 'tools/dump_cache/upgrade.cc',
[email protected]c44344e2009-09-02 22:05:50739 'tools/dump_cache/url_to_filename_encoder.h',
[email protected]2f80c312009-02-25 21:26:55740 ],
741 },
742 ],
743 }],
[email protected]2f80c312009-02-25 21:26:55744 ],
745}