blob: 4432bf8100355d106ab11b525801992ea93c0f18 [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',
15 'type': 'static_library',
16 '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',
37 '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',
42 'base/client_socket.cc',
43 'base/client_socket.h',
44 'base/client_socket_factory.cc',
45 'base/client_socket_factory.h',
46 'base/client_socket_handle.cc',
47 'base/client_socket_handle.h',
48 'base/client_socket_pool.cc',
49 'base/client_socket_pool.h',
50 'base/completion_callback.h',
51 'base/connection_type_histograms.cc',
52 'base/connection_type_histograms.h',
53 'base/cookie_monster.cc',
54 'base/cookie_monster.h',
55 'base/cookie_policy.cc',
56 'base/cookie_policy.h',
57 'base/data_url.cc',
58 'base/data_url.h',
59 'base/directory_lister.cc',
60 'base/directory_lister.h',
61 'base/dns_resolution_observer.cc',
62 'base/dns_resolution_observer.h',
63 'base/effective_tld_names.cc',
64 'base/effective_tld_names.dat',
65 'base/escape.cc',
66 'base/escape.h',
67 'base/ev_root_ca_metadata.cc',
68 'base/ev_root_ca_metadata.h',
69 'base/file_stream.h',
70 'base/file_stream_posix.cc',
71 'base/file_stream_win.cc',
72 'base/filter.cc',
73 'base/filter.h',
74 'base/gzip_filter.cc',
75 'base/gzip_filter.h',
76 'base/gzip_header.cc',
77 'base/gzip_header.h',
78 'base/host_resolver.cc',
79 'base/host_resolver.h',
80 'base/io_buffer.cc',
81 'base/io_buffer.h',
82 'base/listen_socket.cc',
83 'base/listen_socket.h',
84 'base/load_flags.h',
85 'base/mime_sniffer.cc',
86 'base/mime_sniffer.h',
87 'base/mime_util.cc',
88 'base/mime_util.h',
89 'base/net_error_list.h',
90 'base/net_errors.cc',
91 'base/net_errors.h',
92 'base/net_module.cc',
93 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5594 'base/net_util.cc',
95 'base/net_util.h',
96 'base/net_util_posix.cc',
97 'base/net_util_win.cc',
98 'base/nss_memio.c',
99 'base/platform_mime_util.h',
100 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
101 'base/platform_mime_util_linux.cc',
102 'base/platform_mime_util_mac.cc',
103 'base/platform_mime_util_win.cc',
104 'base/registry_controlled_domain.cc',
105 'base/registry_controlled_domain.h',
106 'base/scoped_cert_chain_context.h',
107 'base/sdch_filter.cc',
108 'base/sdch_filter.h',
109 'base/sdch_manager.cc',
110 'base/sdch_manager.h',
111 'base/socket.h',
112 'base/ssl_client_socket.h',
113 'base/ssl_client_socket_mac.cc',
114 'base/ssl_client_socket_nss.cc',
115 'base/ssl_client_socket_win.cc',
116 'base/ssl_client_socket_win.h',
117 'base/ssl_config_service.cc',
118 'base/ssl_config_service.h',
119 'base/ssl_info.h',
120 'base/ssl_test_util.cc',
121 'base/tcp_client_socket.h',
122 'base/tcp_client_socket_libevent.cc',
123 'base/tcp_client_socket_win.cc',
124 'base/telnet_server.cc',
125 'base/telnet_server.h',
126 'base/upload_data.cc',
127 'base/upload_data.h',
128 'base/upload_data_stream.cc',
129 'base/upload_data_stream.h',
130 'base/wininet_util.cc',
131 'base/wininet_util.h',
132 'base/winsock_init.cc',
133 'base/winsock_init.h',
134 'base/x509_certificate.cc',
135 'base/x509_certificate.h',
136 'base/x509_certificate_mac.cc',
137 'base/x509_certificate_nss.cc',
138 'base/x509_certificate_win.cc',
139 'build/precompiled_net.cc',
140 'build/precompiled_net.h',
141 'disk_cache/addr.cc',
142 'disk_cache/addr.h',
143 'disk_cache/backend_impl.cc',
144 'disk_cache/backend_impl.h',
145 'disk_cache/block_files.cc',
146 'disk_cache/block_files.h',
147 'disk_cache/cache_util.h',
148 'disk_cache/cache_util_posix.cc',
149 'disk_cache/cache_util_win.cc',
150 'disk_cache/disk_cache.h',
151 'disk_cache/disk_format.h',
152 'disk_cache/entry_impl.cc',
153 'disk_cache/entry_impl.h',
154 'disk_cache/errors.h',
155 'disk_cache/eviction.cc',
156 'disk_cache/eviction.h',
157 'disk_cache/file.h',
158 'disk_cache/file_block.h',
159 'disk_cache/file_lock.cc',
160 'disk_cache/file_lock.h',
161 'disk_cache/file_posix.cc',
162 'disk_cache/file_win.cc',
163 'disk_cache/hash.cc',
164 'disk_cache/hash.h',
165 'disk_cache/mapped_file.h',
166 'disk_cache/mapped_file_posix.cc',
167 'disk_cache/mapped_file_win.cc',
168 'disk_cache/mem_backend_impl.cc',
169 'disk_cache/mem_backend_impl.h',
170 'disk_cache/mem_entry_impl.cc',
171 'disk_cache/mem_entry_impl.h',
172 'disk_cache/mem_rankings.cc',
173 'disk_cache/mem_rankings.h',
174 'disk_cache/rankings.cc',
175 'disk_cache/rankings.h',
176 'disk_cache/stats.cc',
177 'disk_cache/stats.h',
178 'disk_cache/stats_histogram.cc',
179 'disk_cache/stats_histogram.h',
180 'disk_cache/storage_block-inl.h',
181 'disk_cache/storage_block.h',
182 'disk_cache/trace.cc',
183 'disk_cache/trace.h',
184 'ftp/ftp_auth_cache.cc',
185 'ftp/ftp_auth_cache.h',
186 'ftp/ftp_network_layer.cc',
187 'ftp/ftp_network_layer.h',
188 'ftp/ftp_network_session.h',
189 'ftp/ftp_network_transaction.cc',
190 'ftp/ftp_network_transaction.h',
191 'ftp/ftp_request_info.h',
192 'ftp/ftp_response_info.h',
193 'ftp/ftp_transaction.h',
194 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41195 'http/des.cc',
196 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55197 'http/http_atom_list.h',
198 'http/http_auth.cc',
199 'http/http_auth.h',
200 'http/http_auth_cache.cc',
201 'http/http_auth_cache.h',
202 'http/http_auth_handler.h',
203 'http/http_auth_handler.cc',
204 'http/http_auth_handler_basic.cc',
205 'http/http_auth_handler_basic.h',
206 'http/http_auth_handler_digest.cc',
207 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41208 'http/http_auth_handler_ntlm.cc',
209 'http/http_auth_handler_ntlm.h',
[email protected]2f80c312009-02-25 21:26:55210 'http/http_cache.cc',
211 'http/http_cache.h',
212 'http/http_chunked_decoder.cc',
213 'http/http_chunked_decoder.h',
214 'http/http_network_layer.cc',
215 'http/http_network_layer.h',
216 'http/http_network_session.h',
217 'http/http_network_transaction.cc',
218 'http/http_network_transaction.h',
219 'http/http_request_info.h',
220 'http/http_response_headers.cc',
221 'http/http_response_headers.h',
222 'http/http_response_info.cc',
223 'http/http_response_info.h',
224 'http/http_transaction.h',
225 'http/http_transaction_factory.h',
226 'http/http_util.cc',
227 'http/http_util.h',
228 'http/http_vary_data.cc',
229 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41230 'http/md4.cc',
231 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18232 'proxy/proxy_config.cc',
233 'proxy/proxy_config.h',
234 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55235 'proxy/proxy_config_service_fixed.h',
236 'proxy/proxy_config_service_win.cc',
237 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18238 'proxy/proxy_info.cc',
239 'proxy/proxy_info.h',
240 'proxy/proxy_list.cc',
241 'proxy/proxy_list.h',
242 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55243 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32244 'proxy/proxy_resolver_script.h',
245 'proxy/proxy_resolver_v8.cc',
246 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55247 'proxy/proxy_resolver_winhttp.cc',
248 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18249 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55250 'proxy/proxy_script_fetcher.cc',
251 'proxy/proxy_script_fetcher.h',
252 'proxy/proxy_server.cc',
253 'proxy/proxy_server.h',
254 'proxy/proxy_service.cc',
255 'proxy/proxy_service.h',
256 'url_request/mime_sniffer_proxy.cc',
257 'url_request/mime_sniffer_proxy.h',
258 'url_request/url_request.cc',
259 'url_request/url_request.h',
260 'url_request/url_request_about_job.cc',
261 'url_request/url_request_about_job.h',
262 'url_request/url_request_context.h',
263 'url_request/url_request_error_job.cc',
264 'url_request/url_request_error_job.h',
265 'url_request/url_request_file_dir_job.cc',
266 'url_request/url_request_file_dir_job.h',
267 'url_request/url_request_file_job.cc',
268 'url_request/url_request_file_job.h',
269 'url_request/url_request_filter.cc',
270 'url_request/url_request_filter.h',
271 'url_request/url_request_ftp_job.cc',
272 'url_request/url_request_ftp_job.h',
273 'url_request/url_request_http_job.cc',
274 'url_request/url_request_http_job.h',
275 'url_request/url_request_inet_job.cc',
276 'url_request/url_request_inet_job.h',
277 'url_request/url_request_job.cc',
278 'url_request/url_request_job.h',
279 'url_request/url_request_job_manager.cc',
280 'url_request/url_request_job_manager.h',
281 'url_request/url_request_job_metrics.cc',
282 'url_request/url_request_job_metrics.h',
283 'url_request/url_request_job_tracker.cc',
284 'url_request/url_request_job_tracker.h',
285 'url_request/url_request_simple_job.cc',
286 'url_request/url_request_simple_job.h',
287 'url_request/url_request_status.h',
288 'url_request/url_request_test_job.cc',
289 'url_request/url_request_test_job.h',
290 'url_request/url_request_view_cache_job.cc',
291 'url_request/url_request_view_cache_job.h',
292 ],
293 'sources!': [
294 'build/precompiled_net.h',
295 'build/precompiled_net.cc',
296 ],
297 'export_dependent_settings': [
298 '../base/base.gyp:base',
299 ],
300 'conditions': [
301 [ 'OS == "win"', {
302 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
303 'sources!': [
304 'base/tcp_client_socket_libevent.cc',
305 ],
306 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55307 'tld_cleanup',
308 ],
309 'configurations': {
310 'Debug': {
311 'msvs_precompiled_header': 'build/precompiled_net.h',
312 'msvs_precompiled_source': 'build/precompiled_net.cc',
313 },
314 },
315 },
316 { # else: OS != "win"
317 'sources!': [
318 'base/ssl_config_service.cc',
319 'base/wininet_util.cc',
320 'base/winsock_init.cc',
321 'proxy/proxy_resolver_winhttp.cc',
322 'url_request/url_request_ftp_job.cc',
323 'url_request/url_request_inet_job.cc',
324 ],
325 },
326 ],
327 [ 'OS == "linux"', {
328 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55329 },
330 { # else: OS != "linux"
331 'sources!': [
332 'base/nss_memio.c',
333 'base/ssl_client_socket_nss.cc',
334 'base/x509_certificate_nss.cc',
335 ],
336 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
337 'dependencies': [
338 '../third_party/icu38/icu38.gyp:icui18n',
339 '../third_party/icu38/icu38.gyp:icuuc',
340 ],
341 },
342 ],
343 [ 'OS == "mac"', {
344 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
345 'link_settings': {
346 'libraries': [
347 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
348 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
349 ]
350 },
351 },
352 ],
[email protected]2f80c312009-02-25 21:26:55353 ],
354 },
355 {
356 'target_name': 'net_unittests',
357 'type': 'executable',
358 'dependencies': [
359 'net',
[email protected]6718b412009-03-04 18:26:00360 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55361 '../base/base.gyp:base',
362 '../testing/gtest.gyp:gtest',
363 ],
[email protected]9e450f22009-03-10 23:12:16364 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55365 'sources': [
366 'base/base64_unittest.cc',
367 'base/bzip2_filter_unittest.cc',
368 'base/client_socket_pool_unittest.cc',
369 'base/cookie_monster_unittest.cc',
370 'base/cookie_policy_unittest.cc',
371 'base/data_url_unittest.cc',
372 'base/directory_lister_unittest.cc',
373 'base/escape_unittest.cc',
374 'base/file_stream_unittest.cc',
375 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27376 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55377 'base/gzip_filter_unittest.cc',
378 'base/host_resolver_unittest.cc',
379 'base/listen_socket_unittest.cc',
380 'base/listen_socket_unittest.h',
381 'base/mime_sniffer_unittest.cc',
382 'base/mime_util_unittest.cc',
383 'base/net_util_unittest.cc',
384 'base/registry_controlled_domain_unittest.cc',
385 'base/run_all_unittests.cc',
386 'base/sdch_filter_unittest.cc',
387 'base/ssl_client_socket_unittest.cc',
388 'base/ssl_config_service_unittest.cc',
389 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31390 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55391 'base/telnet_server_unittest.cc',
392 'base/test_completion_callback_unittest.cc',
393 'base/wininet_util_unittest.cc',
394 'base/x509_certificate_unittest.cc',
395 'disk_cache/addr_unittest.cc',
396 'disk_cache/backend_unittest.cc',
397 'disk_cache/block_files_unittest.cc',
398 'disk_cache/disk_cache_test_base.cc',
399 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55400 'disk_cache/entry_unittest.cc',
401 'disk_cache/mapped_file_unittest.cc',
402 'disk_cache/storage_block_unittest.cc',
403 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41404 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55405 'http/http_auth_cache_unittest.cc',
406 'http/http_auth_handler_basic_unittest.cc',
407 'http/http_auth_handler_digest_unittest.cc',
408 'http/http_auth_unittest.cc',
409 'http/http_cache_unittest.cc',
410 'http/http_chunked_decoder_unittest.cc',
411 'http/http_network_layer_unittest.cc',
412 'http/http_network_transaction_unittest.cc',
413 'http/http_response_headers_unittest.cc',
414 'http/http_transaction_unittest.cc',
415 'http/http_transaction_unittest.h',
416 'http/http_util_unittest.cc',
417 'http/http_vary_data_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18418 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32419 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55420 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31421 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55422 'proxy/proxy_service_unittest.cc',
423 'url_request/url_request_unittest.cc',
424 'url_request/url_request_unittest.h',
425 ],
426 'conditions': [
427 [ 'OS != "win"', {
428 'sources!': [
429 'base/wininet_util_unittest.cc',
430 ],
431 },
432 ],
433 [ 'OS == "linux"', {
434 'sources!': [
435 'base/sdch_filter_unittest.cc',
436 'base/ssl_config_service_unittest.cc',
437 ],
438 },
439 ],
440 [ 'OS == "mac"', {
441 'sources!': [
442 'base/ssl_config_service_unittest.cc',
443 ],
444 },
445 ],
446 # This is needed to trigger the dll copy step on windows.
447 # TODO(mark): Specifying this here shouldn't be necessary.
448 [ 'OS == "win"', {
449 'dependencies': [
450 '../third_party/icu38/icu38.gyp:icudata',
451 ],
452 },
453 ],
454 ],
455 },
456 {
457 'target_name': 'net_perftests',
458 'type': 'executable',
459 'dependencies': [
460 'net',
[email protected]6718b412009-03-04 18:26:00461 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55462 '../base/base.gyp:base',
463 '../testing/gtest.gyp:gtest',
464 ],
[email protected]9e450f22009-03-10 23:12:16465 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55466 'sources': [
467 '../base/perftimer.cc',
468 '../base/run_all_perftests.cc',
469 'base/cookie_monster_perftest.cc',
470 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33471 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55472 ],
473 'conditions': [
474 # This is needed to trigger the dll copy step on windows.
475 # TODO(mark): Specifying this here shouldn't be necessary.
476 [ 'OS == "win"', {
477 'dependencies': [
478 '../third_party/icu38/icu38.gyp:icudata',
479 ],
480 },
481 ],
482 ],
483 },
484 {
485 'target_name': 'stress_cache',
486 'type': 'executable',
487 'dependencies': [
488 'net',
[email protected]6718b412009-03-04 18:26:00489 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55490 '../base/base.gyp:base',
491 ],
492 'sources': [
[email protected]2f80c312009-02-25 21:26:55493 'disk_cache/stress_cache.cc',
494 ],
495 },
496 {
497 'target_name': 'tld_cleanup',
498 'type': 'executable',
499 'dependencies': [
500 '../base/base.gyp:base',
501 '../build/temp_gyp/googleurl.gyp:googleurl',
502 ],
[email protected]0d54d2e2009-03-10 22:25:54503 'msvs_guid': '{E13045CD-7E1F-4A41-9B18-8D288B2E7B41}',
[email protected]2f80c312009-02-25 21:26:55504 'sources': [
505 'tools/tld_cleanup/tld_cleanup.cc',
506 ],
507 },
508 {
509 'target_name': 'crash_cache',
510 'type': 'executable',
511 'dependencies': [
512 'net',
[email protected]6718b412009-03-04 18:26:00513 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55514 '../base/base.gyp:base',
515 ],
[email protected]9e450f22009-03-10 23:12:16516 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55517 'sources': [
518 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00519 ],
520 },
521 {
522 'target_name': 'net_test_support',
523 'type': 'static_library',
524 'dependencies': [
525 'net',
526 '../base/base.gyp:base',
527 ],
528 'sources': [
[email protected]2f80c312009-02-25 21:26:55529 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00530 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55531 ],
532 },
[email protected]ef36c74c2009-03-11 13:32:22533 {
534 'target_name': 'net_resources',
535 'type': 'none',
536 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
537 'rules': [
[email protected]2f80c312009-02-25 21:26:55538 {
[email protected]ef36c74c2009-03-11 13:32:22539 'rule_name': 'grit',
540 'extension': 'grd',
541 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00542 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55543 ],
[email protected]ef36c74c2009-03-11 13:32:22544 'outputs': [
545 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
546 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
547 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55548 ],
[email protected]ef36c74c2009-03-11 13:32:22549 'action':
550 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]2f80c312009-02-25 21:26:55551 },
[email protected]6718b412009-03-04 18:26:00552 ],
[email protected]ef36c74c2009-03-11 13:32:22553 'sources': [
554 'base/net_resources.grd',
555 ],
556 'direct_dependent_settings': {
557 'include_dirs': [
558 '<(SHARED_INTERMEDIATE_DIR)/net',
559 ],
560 },
561 },
562 ],
563 'conditions': [
[email protected]6718b412009-03-04 18:26:00564 ['OS=="win"', {
565 'targets': [
[email protected]2f80c312009-02-25 21:26:55566 {
567 # TODO(port): dump_cache is still Windows-specific.
568 'target_name': 'dump_cache',
569 'type': 'executable',
570 'dependencies': [
571 'net',
572 '../base/base.gyp:base',
573 ],
574 'sources': [
575 'tools/dump_cache/dump_cache.cc',
576 'tools/dump_cache/dump_files.cc',
577 'tools/dump_cache/upgrade.cc',
578 ],
579 },
580 ],
581 }],
[email protected]2f80c312009-02-25 21:26:55582 ],
583}