blob: eab929a59ae5c31633bd51a7de6d4dfdf09cd9c6 [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',
[email protected]d0644282009-04-22 00:20:2921 # TODO: various targets end up using
22 # testing::internal::AssertHelper through references here.
23 # Good candidate for refactoring.
24 '../testing/gtest.gyp:gtest',
[email protected]2f80c312009-02-25 21:26:5525 '../third_party/bzip2/bzip2.gyp:bzip2',
26 '../third_party/icu38/icu38.gyp:icui18n',
27 '../third_party/icu38/icu38.gyp:icuuc',
28 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
29 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2230 'net_resources',
[email protected]2f80c312009-02-25 21:26:5531 ],
[email protected]0d54d2e2009-03-10 22:25:5432 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5533 'sources': [
34 'base/address_list.cc',
35 'base/address_list.h',
36 'base/auth.h',
37 'base/base64.cc',
38 'base/base64.h',
39 'base/bzip2_filter.cc',
40 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2041 'base/cache_type.h',
[email protected]2f80c312009-02-25 21:26:5542 'base/cert_status_flags.cc',
43 'base/cert_status_flags.h',
44 'base/cert_verifier.cc',
45 'base/cert_verifier.h',
46 'base/cert_verify_result.h',
47 'base/client_socket.cc',
48 'base/client_socket.h',
49 'base/client_socket_factory.cc',
50 'base/client_socket_factory.h',
51 'base/client_socket_handle.cc',
52 'base/client_socket_handle.h',
53 'base/client_socket_pool.cc',
54 'base/client_socket_pool.h',
55 'base/completion_callback.h',
56 'base/connection_type_histograms.cc',
57 'base/connection_type_histograms.h',
58 'base/cookie_monster.cc',
59 'base/cookie_monster.h',
60 'base/cookie_policy.cc',
61 'base/cookie_policy.h',
62 'base/data_url.cc',
63 'base/data_url.h',
64 'base/directory_lister.cc',
65 'base/directory_lister.h',
66 'base/dns_resolution_observer.cc',
67 'base/dns_resolution_observer.h',
68 'base/effective_tld_names.cc',
69 'base/effective_tld_names.dat',
70 'base/escape.cc',
71 'base/escape.h',
72 'base/ev_root_ca_metadata.cc',
73 'base/ev_root_ca_metadata.h',
74 'base/file_stream.h',
75 'base/file_stream_posix.cc',
76 'base/file_stream_win.cc',
77 'base/filter.cc',
78 'base/filter.h',
79 'base/gzip_filter.cc',
80 'base/gzip_filter.h',
81 'base/gzip_header.cc',
82 'base/gzip_header.h',
83 'base/host_resolver.cc',
84 'base/host_resolver.h',
85 'base/io_buffer.cc',
86 'base/io_buffer.h',
87 'base/listen_socket.cc',
88 'base/listen_socket.h',
89 'base/load_flags.h',
90 'base/mime_sniffer.cc',
91 'base/mime_sniffer.h',
92 'base/mime_util.cc',
93 'base/mime_util.h',
94 'base/net_error_list.h',
95 'base/net_errors.cc',
96 'base/net_errors.h',
97 'base/net_module.cc',
98 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5599 'base/net_util.cc',
100 'base/net_util.h',
101 'base/net_util_posix.cc',
102 'base/net_util_win.cc',
103 'base/nss_memio.c',
104 'base/platform_mime_util.h',
105 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
106 'base/platform_mime_util_linux.cc',
107 'base/platform_mime_util_mac.cc',
108 'base/platform_mime_util_win.cc',
109 'base/registry_controlled_domain.cc',
110 'base/registry_controlled_domain.h',
111 'base/scoped_cert_chain_context.h',
112 'base/sdch_filter.cc',
113 'base/sdch_filter.h',
114 'base/sdch_manager.cc',
115 'base/sdch_manager.h',
116 'base/socket.h',
117 'base/ssl_client_socket.h',
118 'base/ssl_client_socket_mac.cc',
119 'base/ssl_client_socket_nss.cc',
120 'base/ssl_client_socket_win.cc',
121 'base/ssl_client_socket_win.h',
122 'base/ssl_config_service.cc',
123 'base/ssl_config_service.h',
124 'base/ssl_info.h',
125 'base/ssl_test_util.cc',
126 'base/tcp_client_socket.h',
127 'base/tcp_client_socket_libevent.cc',
[email protected]8f1915d2009-04-20 18:37:39128 'base/tcp_client_socket_libevent.h',
[email protected]2f80c312009-02-25 21:26:55129 'base/tcp_client_socket_win.cc',
[email protected]8f1915d2009-04-20 18:37:39130 'base/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55131 'base/telnet_server.cc',
132 'base/telnet_server.h',
133 'base/upload_data.cc',
134 'base/upload_data.h',
135 'base/upload_data_stream.cc',
136 'base/upload_data_stream.h',
137 'base/wininet_util.cc',
138 'base/wininet_util.h',
139 'base/winsock_init.cc',
140 'base/winsock_init.h',
141 'base/x509_certificate.cc',
142 'base/x509_certificate.h',
143 'base/x509_certificate_mac.cc',
144 'base/x509_certificate_nss.cc',
145 'base/x509_certificate_win.cc',
146 'build/precompiled_net.cc',
147 'build/precompiled_net.h',
148 'disk_cache/addr.cc',
149 'disk_cache/addr.h',
150 'disk_cache/backend_impl.cc',
151 'disk_cache/backend_impl.h',
152 'disk_cache/block_files.cc',
153 'disk_cache/block_files.h',
154 'disk_cache/cache_util.h',
155 'disk_cache/cache_util_posix.cc',
156 'disk_cache/cache_util_win.cc',
157 'disk_cache/disk_cache.h',
158 'disk_cache/disk_format.h',
159 'disk_cache/entry_impl.cc',
160 'disk_cache/entry_impl.h',
161 'disk_cache/errors.h',
162 'disk_cache/eviction.cc',
163 'disk_cache/eviction.h',
164 'disk_cache/file.h',
165 'disk_cache/file_block.h',
166 'disk_cache/file_lock.cc',
167 'disk_cache/file_lock.h',
168 'disk_cache/file_posix.cc',
169 'disk_cache/file_win.cc',
170 'disk_cache/hash.cc',
171 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34172 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55173 'disk_cache/mapped_file.h',
174 'disk_cache/mapped_file_posix.cc',
175 'disk_cache/mapped_file_win.cc',
176 'disk_cache/mem_backend_impl.cc',
177 'disk_cache/mem_backend_impl.h',
178 'disk_cache/mem_entry_impl.cc',
179 'disk_cache/mem_entry_impl.h',
180 'disk_cache/mem_rankings.cc',
181 'disk_cache/mem_rankings.h',
182 'disk_cache/rankings.cc',
183 'disk_cache/rankings.h',
184 'disk_cache/stats.cc',
185 'disk_cache/stats.h',
186 'disk_cache/stats_histogram.cc',
187 'disk_cache/stats_histogram.h',
188 'disk_cache/storage_block-inl.h',
189 'disk_cache/storage_block.h',
190 'disk_cache/trace.cc',
191 'disk_cache/trace.h',
192 'ftp/ftp_auth_cache.cc',
193 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27194 'ftp/ftp_directory_parser.cc',
195 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55196 'ftp/ftp_network_layer.cc',
197 'ftp/ftp_network_layer.h',
198 'ftp/ftp_network_session.h',
199 'ftp/ftp_network_transaction.cc',
200 'ftp/ftp_network_transaction.h',
201 'ftp/ftp_request_info.h',
202 'ftp/ftp_response_info.h',
203 'ftp/ftp_transaction.h',
204 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41205 'http/des.cc',
206 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55207 'http/http_atom_list.h',
208 'http/http_auth.cc',
209 'http/http_auth.h',
210 'http/http_auth_cache.cc',
211 'http/http_auth_cache.h',
212 'http/http_auth_handler.h',
213 'http/http_auth_handler.cc',
214 'http/http_auth_handler_basic.cc',
215 'http/http_auth_handler_basic.h',
216 'http/http_auth_handler_digest.cc',
217 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41218 'http/http_auth_handler_ntlm.cc',
219 'http/http_auth_handler_ntlm.h',
[email protected]2f80c312009-02-25 21:26:55220 'http/http_cache.cc',
221 'http/http_cache.h',
222 'http/http_chunked_decoder.cc',
223 'http/http_chunked_decoder.h',
224 'http/http_network_layer.cc',
225 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44226 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55227 'http/http_network_session.h',
228 'http/http_network_transaction.cc',
229 'http/http_network_transaction.h',
230 'http/http_request_info.h',
231 'http/http_response_headers.cc',
232 'http/http_response_headers.h',
233 'http/http_response_info.cc',
234 'http/http_response_info.h',
235 'http/http_transaction.h',
236 'http/http_transaction_factory.h',
237 'http/http_util.cc',
238 'http/http_util.h',
239 'http/http_vary_data.cc',
240 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41241 'http/md4.cc',
242 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18243 'proxy/proxy_config.cc',
244 'proxy/proxy_config.h',
245 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55246 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56247 'proxy/proxy_config_service_linux.cc',
248 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55249 'proxy/proxy_config_service_win.cc',
250 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18251 'proxy/proxy_info.cc',
252 'proxy/proxy_info.h',
253 'proxy/proxy_list.cc',
254 'proxy/proxy_list.h',
255 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55256 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32257 'proxy/proxy_resolver_script.h',
258 'proxy/proxy_resolver_v8.cc',
259 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55260 'proxy/proxy_resolver_winhttp.cc',
261 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18262 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55263 'proxy/proxy_script_fetcher.cc',
264 'proxy/proxy_script_fetcher.h',
265 'proxy/proxy_server.cc',
266 'proxy/proxy_server.h',
267 'proxy/proxy_service.cc',
268 'proxy/proxy_service.h',
269 'url_request/mime_sniffer_proxy.cc',
270 'url_request/mime_sniffer_proxy.h',
271 'url_request/url_request.cc',
272 'url_request/url_request.h',
273 'url_request/url_request_about_job.cc',
274 'url_request/url_request_about_job.h',
275 'url_request/url_request_context.h',
276 'url_request/url_request_error_job.cc',
277 'url_request/url_request_error_job.h',
278 'url_request/url_request_file_dir_job.cc',
279 'url_request/url_request_file_dir_job.h',
280 'url_request/url_request_file_job.cc',
281 'url_request/url_request_file_job.h',
282 'url_request/url_request_filter.cc',
283 'url_request/url_request_filter.h',
284 'url_request/url_request_ftp_job.cc',
285 'url_request/url_request_ftp_job.h',
286 'url_request/url_request_http_job.cc',
287 'url_request/url_request_http_job.h',
288 'url_request/url_request_inet_job.cc',
289 'url_request/url_request_inet_job.h',
290 'url_request/url_request_job.cc',
291 'url_request/url_request_job.h',
292 'url_request/url_request_job_manager.cc',
293 'url_request/url_request_job_manager.h',
294 'url_request/url_request_job_metrics.cc',
295 'url_request/url_request_job_metrics.h',
296 'url_request/url_request_job_tracker.cc',
297 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33298 'url_request/url_request_new_ftp_job.cc',
299 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55300 'url_request/url_request_simple_job.cc',
301 'url_request/url_request_simple_job.h',
302 'url_request/url_request_status.h',
303 'url_request/url_request_test_job.cc',
304 'url_request/url_request_test_job.h',
305 'url_request/url_request_view_cache_job.cc',
306 'url_request/url_request_view_cache_job.h',
307 ],
308 'sources!': [
309 'build/precompiled_net.h',
310 'build/precompiled_net.cc',
311 ],
312 'export_dependent_settings': [
313 '../base/base.gyp:base',
314 ],
315 'conditions': [
[email protected]9d384032009-03-20 23:13:26316 [ 'OS == "linux"', {
317 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56318 '../build/linux/system.gyp:gconf',
319 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26320 '../build/linux/system.gyp:nss',
321 ],
322 }],
[email protected]2f80c312009-02-25 21:26:55323 [ 'OS == "win"', {
324 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
325 'sources!': [
326 'base/tcp_client_socket_libevent.cc',
327 ],
328 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55329 'tld_cleanup',
330 ],
331 'configurations': {
332 'Debug': {
333 'msvs_precompiled_header': 'build/precompiled_net.h',
334 'msvs_precompiled_source': 'build/precompiled_net.cc',
335 },
336 },
337 },
338 { # else: OS != "win"
339 'sources!': [
340 'base/ssl_config_service.cc',
341 'base/wininet_util.cc',
342 'base/winsock_init.cc',
343 'proxy/proxy_resolver_winhttp.cc',
344 'url_request/url_request_ftp_job.cc',
345 'url_request/url_request_inet_job.cc',
346 ],
347 },
348 ],
349 [ 'OS == "linux"', {
350 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55351 },
352 { # else: OS != "linux"
353 'sources!': [
354 'base/nss_memio.c',
355 'base/ssl_client_socket_nss.cc',
356 'base/x509_certificate_nss.cc',
357 ],
358 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
359 'dependencies': [
360 '../third_party/icu38/icu38.gyp:icui18n',
361 '../third_party/icu38/icu38.gyp:icuuc',
362 ],
363 },
364 ],
365 [ 'OS == "mac"', {
366 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
367 'link_settings': {
368 'libraries': [
369 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
370 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
371 ]
372 },
373 },
374 ],
[email protected]2f80c312009-02-25 21:26:55375 ],
376 },
377 {
378 'target_name': 'net_unittests',
379 'type': 'executable',
380 'dependencies': [
381 'net',
[email protected]6718b412009-03-04 18:26:00382 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55383 '../base/base.gyp:base',
384 '../testing/gtest.gyp:gtest',
385 ],
[email protected]9e450f22009-03-10 23:12:16386 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55387 'sources': [
388 'base/base64_unittest.cc',
389 'base/bzip2_filter_unittest.cc',
390 'base/client_socket_pool_unittest.cc',
391 'base/cookie_monster_unittest.cc',
392 'base/cookie_policy_unittest.cc',
393 'base/data_url_unittest.cc',
394 'base/directory_lister_unittest.cc',
395 'base/escape_unittest.cc',
396 'base/file_stream_unittest.cc',
397 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27398 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55399 'base/gzip_filter_unittest.cc',
400 'base/host_resolver_unittest.cc',
401 'base/listen_socket_unittest.cc',
402 'base/listen_socket_unittest.h',
403 'base/mime_sniffer_unittest.cc',
404 'base/mime_util_unittest.cc',
405 'base/net_util_unittest.cc',
406 'base/registry_controlled_domain_unittest.cc',
407 'base/run_all_unittests.cc',
408 'base/sdch_filter_unittest.cc',
409 'base/ssl_client_socket_unittest.cc',
410 'base/ssl_config_service_unittest.cc',
411 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31412 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55413 'base/telnet_server_unittest.cc',
414 'base/test_completion_callback_unittest.cc',
415 'base/wininet_util_unittest.cc',
416 'base/x509_certificate_unittest.cc',
417 'disk_cache/addr_unittest.cc',
418 'disk_cache/backend_unittest.cc',
419 'disk_cache/block_files_unittest.cc',
420 'disk_cache/disk_cache_test_base.cc',
421 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55422 'disk_cache/entry_unittest.cc',
423 'disk_cache/mapped_file_unittest.cc',
424 'disk_cache/storage_block_unittest.cc',
425 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41426 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55427 'http/http_auth_cache_unittest.cc',
428 'http/http_auth_handler_basic_unittest.cc',
429 'http/http_auth_handler_digest_unittest.cc',
430 'http/http_auth_unittest.cc',
431 'http/http_cache_unittest.cc',
432 'http/http_chunked_decoder_unittest.cc',
433 'http/http_network_layer_unittest.cc',
434 'http/http_network_transaction_unittest.cc',
435 'http/http_response_headers_unittest.cc',
436 'http/http_transaction_unittest.cc',
437 'http/http_transaction_unittest.h',
438 'http/http_util_unittest.cc',
439 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56440 'proxy/proxy_config_service_common_unittest.cc',
441 'proxy/proxy_config_service_common_unittest.h',
442 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57443 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23444 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18445 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32446 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55447 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31448 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55449 'proxy/proxy_service_unittest.cc',
450 'url_request/url_request_unittest.cc',
451 'url_request/url_request_unittest.h',
452 ],
453 'conditions': [
[email protected]861c6c62009-04-20 16:50:56454 [ 'OS == "win"', {
455 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
456 },
457 ],
[email protected]2f80c312009-02-25 21:26:55458 [ 'OS != "win"', {
459 'sources!': [
460 'base/wininet_util_unittest.cc',
461 ],
462 },
463 ],
464 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56465 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26466 'dependencies': [
467 '../build/linux/system.gyp:gtk',
468 ],
[email protected]2f80c312009-02-25 21:26:55469 'sources!': [
470 'base/sdch_filter_unittest.cc',
471 'base/ssl_config_service_unittest.cc',
472 ],
473 },
474 ],
475 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56476 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55477 'sources!': [
478 'base/ssl_config_service_unittest.cc',
479 ],
480 },
481 ],
482 # This is needed to trigger the dll copy step on windows.
483 # TODO(mark): Specifying this here shouldn't be necessary.
484 [ 'OS == "win"', {
485 'dependencies': [
486 '../third_party/icu38/icu38.gyp:icudata',
487 ],
488 },
489 ],
490 ],
491 },
492 {
493 'target_name': 'net_perftests',
494 'type': 'executable',
495 'dependencies': [
496 'net',
[email protected]6718b412009-03-04 18:26:00497 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55498 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45499 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55500 '../testing/gtest.gyp:gtest',
501 ],
[email protected]9e450f22009-03-10 23:12:16502 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55503 'sources': [
[email protected]2f80c312009-02-25 21:26:55504 'base/cookie_monster_perftest.cc',
505 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33506 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55507 ],
508 'conditions': [
509 # This is needed to trigger the dll copy step on windows.
510 # TODO(mark): Specifying this here shouldn't be necessary.
511 [ 'OS == "win"', {
512 'dependencies': [
513 '../third_party/icu38/icu38.gyp:icudata',
514 ],
515 },
516 ],
517 ],
518 },
519 {
520 'target_name': 'stress_cache',
521 'type': 'executable',
522 'dependencies': [
523 'net',
[email protected]6718b412009-03-04 18:26:00524 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55525 '../base/base.gyp:base',
526 ],
527 'sources': [
[email protected]2f80c312009-02-25 21:26:55528 'disk_cache/stress_cache.cc',
529 ],
530 },
531 {
532 'target_name': 'tld_cleanup',
533 'type': 'executable',
534 'dependencies': [
535 '../base/base.gyp:base',
536 '../build/temp_gyp/googleurl.gyp:googleurl',
537 ],
[email protected]b8234462009-03-18 02:30:55538 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55539 'sources': [
540 'tools/tld_cleanup/tld_cleanup.cc',
541 ],
542 },
543 {
544 'target_name': 'crash_cache',
545 'type': 'executable',
546 'dependencies': [
547 'net',
[email protected]6718b412009-03-04 18:26:00548 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55549 '../base/base.gyp:base',
550 ],
[email protected]9e450f22009-03-10 23:12:16551 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55552 'sources': [
553 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00554 ],
555 },
556 {
557 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49558 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00559 'dependencies': [
560 'net',
561 '../base/base.gyp:base',
562 ],
563 'sources': [
[email protected]2f80c312009-02-25 21:26:55564 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00565 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55566 ],
567 },
[email protected]ef36c74c2009-03-11 13:32:22568 {
569 'target_name': 'net_resources',
570 'type': 'none',
571 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
572 'rules': [
[email protected]2f80c312009-02-25 21:26:55573 {
[email protected]ef36c74c2009-03-11 13:32:22574 'rule_name': 'grit',
575 'extension': 'grd',
576 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00577 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55578 ],
[email protected]ef36c74c2009-03-11 13:32:22579 'outputs': [
580 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
581 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
582 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55583 ],
[email protected]ef36c74c2009-03-11 13:32:22584 'action':
585 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35586 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55587 },
[email protected]6718b412009-03-04 18:26:00588 ],
[email protected]ef36c74c2009-03-11 13:32:22589 'sources': [
590 'base/net_resources.grd',
591 ],
592 'direct_dependent_settings': {
593 'include_dirs': [
594 '<(SHARED_INTERMEDIATE_DIR)/net',
595 ],
596 },
597 },
598 ],
599 'conditions': [
[email protected]6718b412009-03-04 18:26:00600 ['OS=="win"', {
601 'targets': [
[email protected]2f80c312009-02-25 21:26:55602 {
603 # TODO(port): dump_cache is still Windows-specific.
604 'target_name': 'dump_cache',
605 'type': 'executable',
606 'dependencies': [
607 'net',
608 '../base/base.gyp:base',
609 ],
610 'sources': [
611 'tools/dump_cache/dump_cache.cc',
612 'tools/dump_cache/dump_files.cc',
613 'tools/dump_cache/upgrade.cc',
614 ],
615 },
616 ],
617 }],
[email protected]2f80c312009-02-25 21:26:55618 ],
619}