blob: 7759eb2411e2f0cb004ec8970caf38c399cf6b6f [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',
[email protected]6b675b82009-02-26 23:18:3219 '../build/temp_gyp/v8.gyp:v8',
[email protected]2f80c312009-02-25 21:26:5520 '../sdch/sdch.gyp:sdch',
21 '../third_party/bzip2/bzip2.gyp:bzip2',
22 '../third_party/icu38/icu38.gyp:icui18n',
23 '../third_party/icu38/icu38.gyp:icuuc',
24 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
25 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2226 'net_resources',
[email protected]2f80c312009-02-25 21:26:5527 ],
[email protected]0d54d2e2009-03-10 22:25:5428 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5529 'sources': [
30 'base/address_list.cc',
31 'base/address_list.h',
32 'base/auth.h',
33 'base/base64.cc',
34 'base/base64.h',
35 'base/bzip2_filter.cc',
36 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2037 'base/cache_type.h',
[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',
43 'base/client_socket.cc',
44 'base/client_socket.h',
45 'base/client_socket_factory.cc',
46 'base/client_socket_factory.h',
47 'base/client_socket_handle.cc',
48 'base/client_socket_handle.h',
49 'base/client_socket_pool.cc',
50 'base/client_socket_pool.h',
51 'base/completion_callback.h',
52 'base/connection_type_histograms.cc',
53 'base/connection_type_histograms.h',
54 'base/cookie_monster.cc',
55 'base/cookie_monster.h',
56 'base/cookie_policy.cc',
57 'base/cookie_policy.h',
58 'base/data_url.cc',
59 'base/data_url.h',
60 'base/directory_lister.cc',
61 'base/directory_lister.h',
62 'base/dns_resolution_observer.cc',
63 'base/dns_resolution_observer.h',
64 'base/effective_tld_names.cc',
65 'base/effective_tld_names.dat',
66 'base/escape.cc',
67 'base/escape.h',
68 'base/ev_root_ca_metadata.cc',
69 'base/ev_root_ca_metadata.h',
70 'base/file_stream.h',
71 'base/file_stream_posix.cc',
72 'base/file_stream_win.cc',
73 'base/filter.cc',
74 'base/filter.h',
75 'base/gzip_filter.cc',
76 'base/gzip_filter.h',
77 'base/gzip_header.cc',
78 'base/gzip_header.h',
79 'base/host_resolver.cc',
80 'base/host_resolver.h',
81 'base/io_buffer.cc',
82 'base/io_buffer.h',
83 'base/listen_socket.cc',
84 'base/listen_socket.h',
85 'base/load_flags.h',
86 'base/mime_sniffer.cc',
87 'base/mime_sniffer.h',
88 'base/mime_util.cc',
89 'base/mime_util.h',
90 'base/net_error_list.h',
91 'base/net_errors.cc',
92 'base/net_errors.h',
93 'base/net_module.cc',
94 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5595 'base/net_util.cc',
96 'base/net_util.h',
97 'base/net_util_posix.cc',
98 'base/net_util_win.cc',
99 'base/nss_memio.c',
100 'base/platform_mime_util.h',
101 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
102 'base/platform_mime_util_linux.cc',
103 'base/platform_mime_util_mac.cc',
104 'base/platform_mime_util_win.cc',
105 'base/registry_controlled_domain.cc',
106 'base/registry_controlled_domain.h',
107 'base/scoped_cert_chain_context.h',
108 'base/sdch_filter.cc',
109 'base/sdch_filter.h',
110 'base/sdch_manager.cc',
111 'base/sdch_manager.h',
112 'base/socket.h',
113 'base/ssl_client_socket.h',
114 'base/ssl_client_socket_mac.cc',
115 'base/ssl_client_socket_nss.cc',
116 'base/ssl_client_socket_win.cc',
117 'base/ssl_client_socket_win.h',
118 'base/ssl_config_service.cc',
119 'base/ssl_config_service.h',
120 'base/ssl_info.h',
121 'base/ssl_test_util.cc',
122 'base/tcp_client_socket.h',
123 'base/tcp_client_socket_libevent.cc',
124 'base/tcp_client_socket_win.cc',
[email protected]2f80c312009-02-25 21:26:55125 'base/telnet_server.cc',
126 'base/telnet_server.h',
127 'base/upload_data.cc',
128 'base/upload_data.h',
129 'base/upload_data_stream.cc',
130 'base/upload_data_stream.h',
131 'base/wininet_util.cc',
132 'base/wininet_util.h',
133 'base/winsock_init.cc',
134 'base/winsock_init.h',
135 'base/x509_certificate.cc',
136 'base/x509_certificate.h',
137 'base/x509_certificate_mac.cc',
138 'base/x509_certificate_nss.cc',
139 'base/x509_certificate_win.cc',
140 'build/precompiled_net.cc',
141 'build/precompiled_net.h',
142 'disk_cache/addr.cc',
143 'disk_cache/addr.h',
144 'disk_cache/backend_impl.cc',
145 'disk_cache/backend_impl.h',
146 'disk_cache/block_files.cc',
147 'disk_cache/block_files.h',
148 'disk_cache/cache_util.h',
149 'disk_cache/cache_util_posix.cc',
150 'disk_cache/cache_util_win.cc',
151 'disk_cache/disk_cache.h',
152 'disk_cache/disk_format.h',
153 'disk_cache/entry_impl.cc',
154 'disk_cache/entry_impl.h',
155 'disk_cache/errors.h',
156 'disk_cache/eviction.cc',
157 'disk_cache/eviction.h',
158 'disk_cache/file.h',
159 'disk_cache/file_block.h',
160 'disk_cache/file_lock.cc',
161 'disk_cache/file_lock.h',
162 'disk_cache/file_posix.cc',
163 'disk_cache/file_win.cc',
164 'disk_cache/hash.cc',
165 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34166 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55167 'disk_cache/mapped_file.h',
168 'disk_cache/mapped_file_posix.cc',
169 'disk_cache/mapped_file_win.cc',
170 'disk_cache/mem_backend_impl.cc',
171 'disk_cache/mem_backend_impl.h',
172 'disk_cache/mem_entry_impl.cc',
173 'disk_cache/mem_entry_impl.h',
174 'disk_cache/mem_rankings.cc',
175 'disk_cache/mem_rankings.h',
176 'disk_cache/rankings.cc',
177 'disk_cache/rankings.h',
178 'disk_cache/stats.cc',
179 'disk_cache/stats.h',
180 'disk_cache/stats_histogram.cc',
181 'disk_cache/stats_histogram.h',
182 'disk_cache/storage_block-inl.h',
183 'disk_cache/storage_block.h',
184 'disk_cache/trace.cc',
185 'disk_cache/trace.h',
186 'ftp/ftp_auth_cache.cc',
187 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27188 'ftp/ftp_directory_parser.cc',
189 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55190 'ftp/ftp_network_layer.cc',
191 'ftp/ftp_network_layer.h',
192 'ftp/ftp_network_session.h',
193 'ftp/ftp_network_transaction.cc',
194 'ftp/ftp_network_transaction.h',
195 'ftp/ftp_request_info.h',
196 'ftp/ftp_response_info.h',
197 'ftp/ftp_transaction.h',
198 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41199 'http/des.cc',
200 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55201 'http/http_atom_list.h',
202 'http/http_auth.cc',
203 'http/http_auth.h',
204 'http/http_auth_cache.cc',
205 'http/http_auth_cache.h',
206 'http/http_auth_handler.h',
207 'http/http_auth_handler.cc',
208 'http/http_auth_handler_basic.cc',
209 'http/http_auth_handler_basic.h',
210 'http/http_auth_handler_digest.cc',
211 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41212 'http/http_auth_handler_ntlm.cc',
213 'http/http_auth_handler_ntlm.h',
[email protected]2f80c312009-02-25 21:26:55214 'http/http_cache.cc',
215 'http/http_cache.h',
216 'http/http_chunked_decoder.cc',
217 'http/http_chunked_decoder.h',
218 'http/http_network_layer.cc',
219 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44220 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55221 'http/http_network_session.h',
222 'http/http_network_transaction.cc',
223 'http/http_network_transaction.h',
224 'http/http_request_info.h',
225 'http/http_response_headers.cc',
226 'http/http_response_headers.h',
227 'http/http_response_info.cc',
228 'http/http_response_info.h',
229 'http/http_transaction.h',
230 'http/http_transaction_factory.h',
231 'http/http_util.cc',
232 'http/http_util.h',
233 'http/http_vary_data.cc',
234 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41235 'http/md4.cc',
236 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18237 'proxy/proxy_config.cc',
238 'proxy/proxy_config.h',
239 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55240 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56241 'proxy/proxy_config_service_linux.cc',
242 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55243 'proxy/proxy_config_service_win.cc',
244 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18245 'proxy/proxy_info.cc',
246 'proxy/proxy_info.h',
247 'proxy/proxy_list.cc',
248 'proxy/proxy_list.h',
249 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55250 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32251 'proxy/proxy_resolver_script.h',
252 'proxy/proxy_resolver_v8.cc',
253 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55254 'proxy/proxy_resolver_winhttp.cc',
255 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18256 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55257 'proxy/proxy_script_fetcher.cc',
258 'proxy/proxy_script_fetcher.h',
259 'proxy/proxy_server.cc',
260 'proxy/proxy_server.h',
261 'proxy/proxy_service.cc',
262 'proxy/proxy_service.h',
263 'url_request/mime_sniffer_proxy.cc',
264 'url_request/mime_sniffer_proxy.h',
265 'url_request/url_request.cc',
266 'url_request/url_request.h',
267 'url_request/url_request_about_job.cc',
268 'url_request/url_request_about_job.h',
269 'url_request/url_request_context.h',
270 'url_request/url_request_error_job.cc',
271 'url_request/url_request_error_job.h',
272 'url_request/url_request_file_dir_job.cc',
273 'url_request/url_request_file_dir_job.h',
274 'url_request/url_request_file_job.cc',
275 'url_request/url_request_file_job.h',
276 'url_request/url_request_filter.cc',
277 'url_request/url_request_filter.h',
278 'url_request/url_request_ftp_job.cc',
279 'url_request/url_request_ftp_job.h',
280 'url_request/url_request_http_job.cc',
281 'url_request/url_request_http_job.h',
282 'url_request/url_request_inet_job.cc',
283 'url_request/url_request_inet_job.h',
284 'url_request/url_request_job.cc',
285 'url_request/url_request_job.h',
286 'url_request/url_request_job_manager.cc',
287 'url_request/url_request_job_manager.h',
288 'url_request/url_request_job_metrics.cc',
289 'url_request/url_request_job_metrics.h',
290 'url_request/url_request_job_tracker.cc',
291 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33292 'url_request/url_request_new_ftp_job.cc',
293 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55294 'url_request/url_request_simple_job.cc',
295 'url_request/url_request_simple_job.h',
296 'url_request/url_request_status.h',
297 'url_request/url_request_test_job.cc',
298 'url_request/url_request_test_job.h',
299 'url_request/url_request_view_cache_job.cc',
300 'url_request/url_request_view_cache_job.h',
301 ],
302 'sources!': [
303 'build/precompiled_net.h',
304 'build/precompiled_net.cc',
305 ],
306 'export_dependent_settings': [
307 '../base/base.gyp:base',
308 ],
309 'conditions': [
[email protected]9d384032009-03-20 23:13:26310 [ 'OS == "linux"', {
311 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56312 '../build/linux/system.gyp:gconf',
313 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26314 '../build/linux/system.gyp:nss',
315 ],
316 }],
[email protected]2f80c312009-02-25 21:26:55317 [ 'OS == "win"', {
318 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
319 'sources!': [
320 'base/tcp_client_socket_libevent.cc',
321 ],
322 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55323 'tld_cleanup',
324 ],
325 'configurations': {
326 'Debug': {
327 'msvs_precompiled_header': 'build/precompiled_net.h',
328 'msvs_precompiled_source': 'build/precompiled_net.cc',
329 },
330 },
331 },
332 { # else: OS != "win"
333 'sources!': [
334 'base/ssl_config_service.cc',
335 'base/wininet_util.cc',
336 'base/winsock_init.cc',
337 'proxy/proxy_resolver_winhttp.cc',
338 'url_request/url_request_ftp_job.cc',
339 'url_request/url_request_inet_job.cc',
340 ],
341 },
342 ],
343 [ 'OS == "linux"', {
344 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55345 },
346 { # else: OS != "linux"
347 'sources!': [
348 'base/nss_memio.c',
349 'base/ssl_client_socket_nss.cc',
350 'base/x509_certificate_nss.cc',
351 ],
352 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
353 'dependencies': [
354 '../third_party/icu38/icu38.gyp:icui18n',
355 '../third_party/icu38/icu38.gyp:icuuc',
356 ],
357 },
358 ],
359 [ 'OS == "mac"', {
360 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
361 'link_settings': {
362 'libraries': [
363 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
364 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
365 ]
366 },
367 },
368 ],
[email protected]2f80c312009-02-25 21:26:55369 ],
370 },
371 {
372 'target_name': 'net_unittests',
373 'type': 'executable',
374 'dependencies': [
375 'net',
[email protected]6718b412009-03-04 18:26:00376 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55377 '../base/base.gyp:base',
378 '../testing/gtest.gyp:gtest',
379 ],
[email protected]9e450f22009-03-10 23:12:16380 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55381 'sources': [
382 'base/base64_unittest.cc',
383 'base/bzip2_filter_unittest.cc',
384 'base/client_socket_pool_unittest.cc',
385 'base/cookie_monster_unittest.cc',
386 'base/cookie_policy_unittest.cc',
387 'base/data_url_unittest.cc',
388 'base/directory_lister_unittest.cc',
389 'base/escape_unittest.cc',
390 'base/file_stream_unittest.cc',
391 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27392 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55393 'base/gzip_filter_unittest.cc',
394 'base/host_resolver_unittest.cc',
395 'base/listen_socket_unittest.cc',
396 'base/listen_socket_unittest.h',
397 'base/mime_sniffer_unittest.cc',
398 'base/mime_util_unittest.cc',
399 'base/net_util_unittest.cc',
400 'base/registry_controlled_domain_unittest.cc',
401 'base/run_all_unittests.cc',
402 'base/sdch_filter_unittest.cc',
403 'base/ssl_client_socket_unittest.cc',
404 'base/ssl_config_service_unittest.cc',
405 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31406 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55407 'base/telnet_server_unittest.cc',
408 'base/test_completion_callback_unittest.cc',
409 'base/wininet_util_unittest.cc',
410 'base/x509_certificate_unittest.cc',
411 'disk_cache/addr_unittest.cc',
412 'disk_cache/backend_unittest.cc',
413 'disk_cache/block_files_unittest.cc',
414 'disk_cache/disk_cache_test_base.cc',
415 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55416 'disk_cache/entry_unittest.cc',
417 'disk_cache/mapped_file_unittest.cc',
418 'disk_cache/storage_block_unittest.cc',
419 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41420 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55421 'http/http_auth_cache_unittest.cc',
422 'http/http_auth_handler_basic_unittest.cc',
423 'http/http_auth_handler_digest_unittest.cc',
424 'http/http_auth_unittest.cc',
425 'http/http_cache_unittest.cc',
426 'http/http_chunked_decoder_unittest.cc',
427 'http/http_network_layer_unittest.cc',
428 'http/http_network_transaction_unittest.cc',
429 'http/http_response_headers_unittest.cc',
430 'http/http_transaction_unittest.cc',
431 'http/http_transaction_unittest.h',
432 'http/http_util_unittest.cc',
433 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56434 'proxy/proxy_config_service_common_unittest.cc',
435 'proxy/proxy_config_service_common_unittest.h',
436 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57437 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23438 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18439 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32440 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55441 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31442 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55443 'proxy/proxy_service_unittest.cc',
444 'url_request/url_request_unittest.cc',
445 'url_request/url_request_unittest.h',
446 ],
447 'conditions': [
[email protected]861c6c62009-04-20 16:50:56448 [ 'OS == "win"', {
449 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
450 },
451 ],
[email protected]2f80c312009-02-25 21:26:55452 [ 'OS != "win"', {
453 'sources!': [
454 'base/wininet_util_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55455 ],
456 },
457 ],
458 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56459 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26460 'dependencies': [
461 '../build/linux/system.gyp:gtk',
462 ],
[email protected]2f80c312009-02-25 21:26:55463 'sources!': [
464 'base/sdch_filter_unittest.cc',
465 'base/ssl_config_service_unittest.cc',
466 ],
467 },
468 ],
469 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56470 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55471 'sources!': [
472 'base/ssl_config_service_unittest.cc',
473 ],
474 },
475 ],
476 # This is needed to trigger the dll copy step on windows.
477 # TODO(mark): Specifying this here shouldn't be necessary.
478 [ 'OS == "win"', {
479 'dependencies': [
480 '../third_party/icu38/icu38.gyp:icudata',
481 ],
482 },
483 ],
484 ],
485 },
486 {
487 'target_name': 'net_perftests',
488 'type': 'executable',
489 'dependencies': [
490 'net',
[email protected]6718b412009-03-04 18:26:00491 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55492 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45493 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55494 '../testing/gtest.gyp:gtest',
495 ],
[email protected]9e450f22009-03-10 23:12:16496 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55497 'sources': [
[email protected]2f80c312009-02-25 21:26:55498 'base/cookie_monster_perftest.cc',
499 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33500 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55501 ],
502 'conditions': [
503 # This is needed to trigger the dll copy step on windows.
504 # TODO(mark): Specifying this here shouldn't be necessary.
505 [ 'OS == "win"', {
506 'dependencies': [
507 '../third_party/icu38/icu38.gyp:icudata',
508 ],
509 },
510 ],
511 ],
512 },
513 {
514 'target_name': 'stress_cache',
515 'type': 'executable',
516 'dependencies': [
517 'net',
[email protected]6718b412009-03-04 18:26:00518 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55519 '../base/base.gyp:base',
520 ],
521 'sources': [
[email protected]2f80c312009-02-25 21:26:55522 'disk_cache/stress_cache.cc',
523 ],
524 },
525 {
526 'target_name': 'tld_cleanup',
527 'type': 'executable',
528 'dependencies': [
529 '../base/base.gyp:base',
530 '../build/temp_gyp/googleurl.gyp:googleurl',
531 ],
[email protected]b8234462009-03-18 02:30:55532 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55533 'sources': [
534 'tools/tld_cleanup/tld_cleanup.cc',
535 ],
536 },
537 {
538 'target_name': 'crash_cache',
539 'type': 'executable',
540 'dependencies': [
541 'net',
[email protected]6718b412009-03-04 18:26:00542 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55543 '../base/base.gyp:base',
544 ],
[email protected]9e450f22009-03-10 23:12:16545 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55546 'sources': [
547 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00548 ],
549 },
550 {
551 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49552 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00553 'dependencies': [
554 'net',
555 '../base/base.gyp:base',
556 ],
557 'sources': [
[email protected]2f80c312009-02-25 21:26:55558 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00559 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55560 ],
561 },
[email protected]ef36c74c2009-03-11 13:32:22562 {
563 'target_name': 'net_resources',
564 'type': 'none',
565 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
566 'rules': [
[email protected]2f80c312009-02-25 21:26:55567 {
[email protected]ef36c74c2009-03-11 13:32:22568 'rule_name': 'grit',
569 'extension': 'grd',
570 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00571 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55572 ],
[email protected]ef36c74c2009-03-11 13:32:22573 'outputs': [
574 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
575 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
576 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55577 ],
[email protected]ef36c74c2009-03-11 13:32:22578 'action':
579 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35580 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55581 },
[email protected]6718b412009-03-04 18:26:00582 ],
[email protected]ef36c74c2009-03-11 13:32:22583 'sources': [
584 'base/net_resources.grd',
585 ],
586 'direct_dependent_settings': {
587 'include_dirs': [
588 '<(SHARED_INTERMEDIATE_DIR)/net',
589 ],
590 },
591 },
592 ],
593 'conditions': [
[email protected]6718b412009-03-04 18:26:00594 ['OS=="win"', {
595 'targets': [
[email protected]2f80c312009-02-25 21:26:55596 {
597 # TODO(port): dump_cache is still Windows-specific.
598 'target_name': 'dump_cache',
599 'type': 'executable',
600 'dependencies': [
601 'net',
602 '../base/base.gyp:base',
603 ],
604 'sources': [
605 'tools/dump_cache/dump_cache.cc',
606 'tools/dump_cache/dump_files.cc',
607 'tools/dump_cache/upgrade.cc',
608 ],
609 },
610 ],
611 }],
[email protected]2f80c312009-02-25 21:26:55612 ],
613}