blob: dd02f9dc3d6e5b07395364c8fe90a01d83d8f085 [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',
94 'base/net_resources.h',
95 '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',
125 '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',
166 'disk_cache/mapped_file.h',
167 'disk_cache/mapped_file_posix.cc',
168 'disk_cache/mapped_file_win.cc',
169 'disk_cache/mem_backend_impl.cc',
170 'disk_cache/mem_backend_impl.h',
171 'disk_cache/mem_entry_impl.cc',
172 'disk_cache/mem_entry_impl.h',
173 'disk_cache/mem_rankings.cc',
174 'disk_cache/mem_rankings.h',
175 'disk_cache/rankings.cc',
176 'disk_cache/rankings.h',
177 'disk_cache/stats.cc',
178 'disk_cache/stats.h',
179 'disk_cache/stats_histogram.cc',
180 'disk_cache/stats_histogram.h',
181 'disk_cache/storage_block-inl.h',
182 'disk_cache/storage_block.h',
183 'disk_cache/trace.cc',
184 'disk_cache/trace.h',
185 'ftp/ftp_auth_cache.cc',
186 'ftp/ftp_auth_cache.h',
187 'ftp/ftp_network_layer.cc',
188 'ftp/ftp_network_layer.h',
189 'ftp/ftp_network_session.h',
190 'ftp/ftp_network_transaction.cc',
191 'ftp/ftp_network_transaction.h',
192 'ftp/ftp_request_info.h',
193 'ftp/ftp_response_info.h',
194 'ftp/ftp_transaction.h',
195 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41196 'http/des.cc',
197 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55198 'http/http_atom_list.h',
199 'http/http_auth.cc',
200 'http/http_auth.h',
201 'http/http_auth_cache.cc',
202 'http/http_auth_cache.h',
203 'http/http_auth_handler.h',
204 'http/http_auth_handler.cc',
205 'http/http_auth_handler_basic.cc',
206 'http/http_auth_handler_basic.h',
207 'http/http_auth_handler_digest.cc',
208 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41209 'http/http_auth_handler_ntlm.cc',
210 'http/http_auth_handler_ntlm.h',
[email protected]2f80c312009-02-25 21:26:55211 'http/http_cache.cc',
212 'http/http_cache.h',
213 'http/http_chunked_decoder.cc',
214 'http/http_chunked_decoder.h',
215 'http/http_network_layer.cc',
216 'http/http_network_layer.h',
217 'http/http_network_session.h',
218 'http/http_network_transaction.cc',
219 'http/http_network_transaction.h',
220 'http/http_request_info.h',
221 'http/http_response_headers.cc',
222 'http/http_response_headers.h',
223 'http/http_response_info.cc',
224 'http/http_response_info.h',
225 'http/http_transaction.h',
226 'http/http_transaction_factory.h',
227 'http/http_util.cc',
228 'http/http_util.h',
229 'http/http_vary_data.cc',
230 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41231 'http/md4.cc',
232 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18233 'proxy/proxy_config.cc',
234 'proxy/proxy_config.h',
235 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55236 'proxy/proxy_config_service_fixed.h',
237 'proxy/proxy_config_service_win.cc',
238 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18239 'proxy/proxy_info.cc',
240 'proxy/proxy_info.h',
241 'proxy/proxy_list.cc',
242 'proxy/proxy_list.h',
243 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55244 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32245 'proxy/proxy_resolver_script.h',
246 'proxy/proxy_resolver_v8.cc',
247 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55248 'proxy/proxy_resolver_winhttp.cc',
249 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18250 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55251 'proxy/proxy_script_fetcher.cc',
252 'proxy/proxy_script_fetcher.h',
253 'proxy/proxy_server.cc',
254 'proxy/proxy_server.h',
255 'proxy/proxy_service.cc',
256 'proxy/proxy_service.h',
257 'url_request/mime_sniffer_proxy.cc',
258 'url_request/mime_sniffer_proxy.h',
259 'url_request/url_request.cc',
260 'url_request/url_request.h',
261 'url_request/url_request_about_job.cc',
262 'url_request/url_request_about_job.h',
263 'url_request/url_request_context.h',
264 'url_request/url_request_error_job.cc',
265 'url_request/url_request_error_job.h',
266 'url_request/url_request_file_dir_job.cc',
267 'url_request/url_request_file_dir_job.h',
268 'url_request/url_request_file_job.cc',
269 'url_request/url_request_file_job.h',
270 'url_request/url_request_filter.cc',
271 'url_request/url_request_filter.h',
272 'url_request/url_request_ftp_job.cc',
273 'url_request/url_request_ftp_job.h',
274 'url_request/url_request_http_job.cc',
275 'url_request/url_request_http_job.h',
276 'url_request/url_request_inet_job.cc',
277 'url_request/url_request_inet_job.h',
278 'url_request/url_request_job.cc',
279 'url_request/url_request_job.h',
280 'url_request/url_request_job_manager.cc',
281 'url_request/url_request_job_manager.h',
282 'url_request/url_request_job_metrics.cc',
283 'url_request/url_request_job_metrics.h',
284 'url_request/url_request_job_tracker.cc',
285 'url_request/url_request_job_tracker.h',
286 'url_request/url_request_simple_job.cc',
287 'url_request/url_request_simple_job.h',
288 'url_request/url_request_status.h',
289 'url_request/url_request_test_job.cc',
290 'url_request/url_request_test_job.h',
291 'url_request/url_request_view_cache_job.cc',
292 'url_request/url_request_view_cache_job.h',
293 ],
294 'sources!': [
295 'build/precompiled_net.h',
296 'build/precompiled_net.cc',
297 ],
298 'export_dependent_settings': [
299 '../base/base.gyp:base',
300 ],
301 'conditions': [
302 [ 'OS == "win"', {
303 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
304 'sources!': [
305 'base/tcp_client_socket_libevent.cc',
306 ],
307 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55308 'tld_cleanup',
309 ],
310 'configurations': {
311 'Debug': {
312 'msvs_precompiled_header': 'build/precompiled_net.h',
313 'msvs_precompiled_source': 'build/precompiled_net.cc',
314 },
315 },
316 },
317 { # else: OS != "win"
318 'sources!': [
319 'base/ssl_config_service.cc',
320 'base/wininet_util.cc',
321 'base/winsock_init.cc',
322 'proxy/proxy_resolver_winhttp.cc',
323 'url_request/url_request_ftp_job.cc',
324 'url_request/url_request_inet_job.cc',
325 ],
326 },
327 ],
328 [ 'OS == "linux"', {
329 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55330 },
331 { # else: OS != "linux"
332 'sources!': [
333 'base/nss_memio.c',
334 'base/ssl_client_socket_nss.cc',
335 'base/x509_certificate_nss.cc',
336 ],
337 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
338 'dependencies': [
339 '../third_party/icu38/icu38.gyp:icui18n',
340 '../third_party/icu38/icu38.gyp:icuuc',
341 ],
342 },
343 ],
344 [ 'OS == "mac"', {
345 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
346 'link_settings': {
347 'libraries': [
348 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
349 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
350 ]
351 },
352 },
353 ],
[email protected]2f80c312009-02-25 21:26:55354 ],
355 },
356 {
357 'target_name': 'net_unittests',
358 'type': 'executable',
359 'dependencies': [
360 'net',
[email protected]6718b412009-03-04 18:26:00361 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55362 '../base/base.gyp:base',
363 '../testing/gtest.gyp:gtest',
364 ],
[email protected]9e450f22009-03-10 23:12:16365 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55366 'sources': [
367 'base/base64_unittest.cc',
368 'base/bzip2_filter_unittest.cc',
369 'base/client_socket_pool_unittest.cc',
370 'base/cookie_monster_unittest.cc',
371 'base/cookie_policy_unittest.cc',
372 'base/data_url_unittest.cc',
373 'base/directory_lister_unittest.cc',
374 'base/escape_unittest.cc',
375 'base/file_stream_unittest.cc',
376 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27377 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55378 'base/gzip_filter_unittest.cc',
379 'base/host_resolver_unittest.cc',
380 'base/listen_socket_unittest.cc',
381 'base/listen_socket_unittest.h',
382 'base/mime_sniffer_unittest.cc',
383 'base/mime_util_unittest.cc',
384 'base/net_util_unittest.cc',
385 'base/registry_controlled_domain_unittest.cc',
386 'base/run_all_unittests.cc',
387 'base/sdch_filter_unittest.cc',
388 'base/ssl_client_socket_unittest.cc',
389 'base/ssl_config_service_unittest.cc',
390 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31391 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55392 'base/telnet_server_unittest.cc',
393 'base/test_completion_callback_unittest.cc',
394 'base/wininet_util_unittest.cc',
395 'base/x509_certificate_unittest.cc',
396 'disk_cache/addr_unittest.cc',
397 'disk_cache/backend_unittest.cc',
398 'disk_cache/block_files_unittest.cc',
399 'disk_cache/disk_cache_test_base.cc',
400 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55401 'disk_cache/entry_unittest.cc',
402 'disk_cache/mapped_file_unittest.cc',
403 'disk_cache/storage_block_unittest.cc',
404 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41405 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55406 'http/http_auth_cache_unittest.cc',
407 'http/http_auth_handler_basic_unittest.cc',
408 'http/http_auth_handler_digest_unittest.cc',
409 'http/http_auth_unittest.cc',
410 'http/http_cache_unittest.cc',
411 'http/http_chunked_decoder_unittest.cc',
412 'http/http_network_layer_unittest.cc',
413 'http/http_network_transaction_unittest.cc',
414 'http/http_response_headers_unittest.cc',
415 'http/http_transaction_unittest.cc',
416 'http/http_transaction_unittest.h',
417 'http/http_util_unittest.cc',
418 'http/http_vary_data_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18419 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32420 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55421 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31422 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55423 'proxy/proxy_service_unittest.cc',
424 'url_request/url_request_unittest.cc',
425 'url_request/url_request_unittest.h',
426 ],
427 'conditions': [
428 [ 'OS != "win"', {
429 'sources!': [
430 'base/wininet_util_unittest.cc',
431 ],
432 },
433 ],
434 [ 'OS == "linux"', {
435 'sources!': [
436 'base/sdch_filter_unittest.cc',
437 'base/ssl_config_service_unittest.cc',
438 ],
439 },
440 ],
441 [ 'OS == "mac"', {
442 'sources!': [
443 'base/ssl_config_service_unittest.cc',
444 ],
445 },
446 ],
447 # This is needed to trigger the dll copy step on windows.
448 # TODO(mark): Specifying this here shouldn't be necessary.
449 [ 'OS == "win"', {
450 'dependencies': [
451 '../third_party/icu38/icu38.gyp:icudata',
452 ],
453 },
454 ],
455 ],
456 },
457 {
458 'target_name': 'net_perftests',
459 'type': 'executable',
460 'dependencies': [
461 'net',
[email protected]6718b412009-03-04 18:26:00462 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55463 '../base/base.gyp:base',
464 '../testing/gtest.gyp:gtest',
465 ],
[email protected]9e450f22009-03-10 23:12:16466 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55467 'sources': [
468 '../base/perftimer.cc',
469 '../base/run_all_perftests.cc',
470 'base/cookie_monster_perftest.cc',
471 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33472 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55473 ],
474 'conditions': [
475 # This is needed to trigger the dll copy step on windows.
476 # TODO(mark): Specifying this here shouldn't be necessary.
477 [ 'OS == "win"', {
478 'dependencies': [
479 '../third_party/icu38/icu38.gyp:icudata',
480 ],
481 },
482 ],
483 ],
484 },
485 {
486 'target_name': 'stress_cache',
487 'type': 'executable',
488 'dependencies': [
489 'net',
[email protected]6718b412009-03-04 18:26:00490 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55491 '../base/base.gyp:base',
492 ],
493 'sources': [
[email protected]2f80c312009-02-25 21:26:55494 'disk_cache/stress_cache.cc',
495 ],
496 },
497 {
498 'target_name': 'tld_cleanup',
499 'type': 'executable',
500 'dependencies': [
501 '../base/base.gyp:base',
502 '../build/temp_gyp/googleurl.gyp:googleurl',
503 ],
[email protected]0d54d2e2009-03-10 22:25:54504 'msvs_guid': '{E13045CD-7E1F-4A41-9B18-8D288B2E7B41}',
[email protected]2f80c312009-02-25 21:26:55505 'sources': [
506 'tools/tld_cleanup/tld_cleanup.cc',
507 ],
508 },
509 {
510 'target_name': 'crash_cache',
511 'type': 'executable',
512 'dependencies': [
513 'net',
[email protected]6718b412009-03-04 18:26:00514 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55515 '../base/base.gyp:base',
516 ],
[email protected]9e450f22009-03-10 23:12:16517 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55518 'sources': [
519 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00520 ],
521 },
522 {
523 'target_name': 'net_test_support',
524 'type': 'static_library',
525 'dependencies': [
526 'net',
527 '../base/base.gyp:base',
528 ],
529 'sources': [
[email protected]2f80c312009-02-25 21:26:55530 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00531 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55532 ],
533 },
[email protected]ef36c74c2009-03-11 13:32:22534 {
535 'target_name': 'net_resources',
536 'type': 'none',
537 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
538 'rules': [
[email protected]2f80c312009-02-25 21:26:55539 {
[email protected]ef36c74c2009-03-11 13:32:22540 'rule_name': 'grit',
541 'extension': 'grd',
542 'inputs': [
543 '<(DEPTH)/tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55544 ],
[email protected]ef36c74c2009-03-11 13:32:22545 'outputs': [
546 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
547 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
548 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55549 ],
[email protected]ef36c74c2009-03-11 13:32:22550 'action':
551 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]2f80c312009-02-25 21:26:55552 },
[email protected]6718b412009-03-04 18:26:00553 ],
[email protected]ef36c74c2009-03-11 13:32:22554 'sources': [
555 'base/net_resources.grd',
556 ],
557 'direct_dependent_settings': {
558 'include_dirs': [
559 '<(SHARED_INTERMEDIATE_DIR)/net',
560 ],
561 },
562 },
563 ],
564 'conditions': [
[email protected]6718b412009-03-04 18:26:00565 ['OS=="win"', {
566 'targets': [
[email protected]2f80c312009-02-25 21:26:55567 {
568 # TODO(port): dump_cache is still Windows-specific.
569 'target_name': 'dump_cache',
570 'type': 'executable',
571 'dependencies': [
572 'net',
573 '../base/base.gyp:base',
574 ],
575 'sources': [
576 'tools/dump_cache/dump_cache.cc',
577 'tools/dump_cache/dump_files.cc',
578 'tools/dump_cache/upgrade.cc',
579 ],
580 },
581 ],
582 }],
[email protected]2f80c312009-02-25 21:26:55583 ],
584}