blob: e7ed8bd3cb46b46385d8f88edb4b5d9925ac0a22 [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',
[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',
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',
[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',
220 'http/http_network_session.h',
221 'http/http_network_transaction.cc',
222 'http/http_network_transaction.h',
223 'http/http_request_info.h',
224 'http/http_response_headers.cc',
225 'http/http_response_headers.h',
226 'http/http_response_info.cc',
227 'http/http_response_info.h',
228 'http/http_transaction.h',
229 'http/http_transaction_factory.h',
230 'http/http_util.cc',
231 'http/http_util.h',
232 'http/http_vary_data.cc',
233 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41234 'http/md4.cc',
235 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18236 'proxy/proxy_config.cc',
237 'proxy/proxy_config.h',
238 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55239 'proxy/proxy_config_service_fixed.h',
240 'proxy/proxy_config_service_win.cc',
241 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18242 'proxy/proxy_info.cc',
243 'proxy/proxy_info.h',
244 'proxy/proxy_list.cc',
245 'proxy/proxy_list.h',
246 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55247 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32248 'proxy/proxy_resolver_script.h',
249 'proxy/proxy_resolver_v8.cc',
250 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55251 'proxy/proxy_resolver_winhttp.cc',
252 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18253 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55254 'proxy/proxy_script_fetcher.cc',
255 'proxy/proxy_script_fetcher.h',
256 'proxy/proxy_server.cc',
257 'proxy/proxy_server.h',
258 'proxy/proxy_service.cc',
259 'proxy/proxy_service.h',
260 'url_request/mime_sniffer_proxy.cc',
261 'url_request/mime_sniffer_proxy.h',
262 'url_request/url_request.cc',
263 'url_request/url_request.h',
264 'url_request/url_request_about_job.cc',
265 'url_request/url_request_about_job.h',
266 'url_request/url_request_context.h',
267 'url_request/url_request_error_job.cc',
268 'url_request/url_request_error_job.h',
269 'url_request/url_request_file_dir_job.cc',
270 'url_request/url_request_file_dir_job.h',
271 'url_request/url_request_file_job.cc',
272 'url_request/url_request_file_job.h',
273 'url_request/url_request_filter.cc',
274 'url_request/url_request_filter.h',
275 'url_request/url_request_ftp_job.cc',
276 'url_request/url_request_ftp_job.h',
277 'url_request/url_request_http_job.cc',
278 'url_request/url_request_http_job.h',
279 'url_request/url_request_inet_job.cc',
280 'url_request/url_request_inet_job.h',
281 'url_request/url_request_job.cc',
282 'url_request/url_request_job.h',
283 'url_request/url_request_job_manager.cc',
284 'url_request/url_request_job_manager.h',
285 'url_request/url_request_job_metrics.cc',
286 'url_request/url_request_job_metrics.h',
287 'url_request/url_request_job_tracker.cc',
288 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33289 'url_request/url_request_new_ftp_job.cc',
290 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55291 'url_request/url_request_simple_job.cc',
292 'url_request/url_request_simple_job.h',
293 'url_request/url_request_status.h',
294 'url_request/url_request_test_job.cc',
295 'url_request/url_request_test_job.h',
296 'url_request/url_request_view_cache_job.cc',
297 'url_request/url_request_view_cache_job.h',
298 ],
299 'sources!': [
300 'build/precompiled_net.h',
301 'build/precompiled_net.cc',
302 ],
303 'export_dependent_settings': [
304 '../base/base.gyp:base',
305 ],
306 'conditions': [
[email protected]9d384032009-03-20 23:13:26307 [ 'OS == "linux"', {
308 'dependencies': [
309 '../build/linux/system.gyp:nss',
310 ],
311 }],
[email protected]2f80c312009-02-25 21:26:55312 [ 'OS == "win"', {
313 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
314 'sources!': [
315 'base/tcp_client_socket_libevent.cc',
316 ],
317 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55318 'tld_cleanup',
319 ],
320 'configurations': {
321 'Debug': {
322 'msvs_precompiled_header': 'build/precompiled_net.h',
323 'msvs_precompiled_source': 'build/precompiled_net.cc',
324 },
325 },
326 },
327 { # else: OS != "win"
328 'sources!': [
329 'base/ssl_config_service.cc',
330 'base/wininet_util.cc',
331 'base/winsock_init.cc',
332 'proxy/proxy_resolver_winhttp.cc',
333 'url_request/url_request_ftp_job.cc',
334 'url_request/url_request_inet_job.cc',
335 ],
336 },
337 ],
338 [ 'OS == "linux"', {
339 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55340 },
341 { # else: OS != "linux"
342 'sources!': [
343 'base/nss_memio.c',
344 'base/ssl_client_socket_nss.cc',
345 'base/x509_certificate_nss.cc',
346 ],
347 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
348 'dependencies': [
349 '../third_party/icu38/icu38.gyp:icui18n',
350 '../third_party/icu38/icu38.gyp:icuuc',
351 ],
352 },
353 ],
354 [ 'OS == "mac"', {
355 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
356 'link_settings': {
357 'libraries': [
358 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
359 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
360 ]
361 },
362 },
363 ],
[email protected]2f80c312009-02-25 21:26:55364 ],
365 },
366 {
367 'target_name': 'net_unittests',
368 'type': 'executable',
369 'dependencies': [
370 'net',
[email protected]6718b412009-03-04 18:26:00371 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55372 '../base/base.gyp:base',
373 '../testing/gtest.gyp:gtest',
374 ],
[email protected]9e450f22009-03-10 23:12:16375 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55376 'sources': [
377 'base/base64_unittest.cc',
378 'base/bzip2_filter_unittest.cc',
379 'base/client_socket_pool_unittest.cc',
380 'base/cookie_monster_unittest.cc',
381 'base/cookie_policy_unittest.cc',
382 'base/data_url_unittest.cc',
383 'base/directory_lister_unittest.cc',
384 'base/escape_unittest.cc',
385 'base/file_stream_unittest.cc',
386 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27387 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55388 'base/gzip_filter_unittest.cc',
389 'base/host_resolver_unittest.cc',
390 'base/listen_socket_unittest.cc',
391 'base/listen_socket_unittest.h',
392 'base/mime_sniffer_unittest.cc',
393 'base/mime_util_unittest.cc',
394 'base/net_util_unittest.cc',
395 'base/registry_controlled_domain_unittest.cc',
396 'base/run_all_unittests.cc',
397 'base/sdch_filter_unittest.cc',
398 'base/ssl_client_socket_unittest.cc',
399 'base/ssl_config_service_unittest.cc',
400 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31401 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55402 'base/telnet_server_unittest.cc',
403 'base/test_completion_callback_unittest.cc',
404 'base/wininet_util_unittest.cc',
405 'base/x509_certificate_unittest.cc',
406 'disk_cache/addr_unittest.cc',
407 'disk_cache/backend_unittest.cc',
408 'disk_cache/block_files_unittest.cc',
409 'disk_cache/disk_cache_test_base.cc',
410 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55411 'disk_cache/entry_unittest.cc',
412 'disk_cache/mapped_file_unittest.cc',
413 'disk_cache/storage_block_unittest.cc',
414 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41415 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55416 'http/http_auth_cache_unittest.cc',
417 'http/http_auth_handler_basic_unittest.cc',
418 'http/http_auth_handler_digest_unittest.cc',
419 'http/http_auth_unittest.cc',
420 'http/http_cache_unittest.cc',
421 'http/http_chunked_decoder_unittest.cc',
422 'http/http_network_layer_unittest.cc',
423 'http/http_network_transaction_unittest.cc',
424 'http/http_response_headers_unittest.cc',
425 'http/http_transaction_unittest.cc',
426 'http/http_transaction_unittest.h',
427 'http/http_util_unittest.cc',
428 'http/http_vary_data_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57429 'proxy/proxy_config_service_win_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18430 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32431 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55432 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31433 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55434 'proxy/proxy_service_unittest.cc',
435 'url_request/url_request_unittest.cc',
436 'url_request/url_request_unittest.h',
437 ],
438 'conditions': [
439 [ 'OS != "win"', {
440 'sources!': [
441 'base/wininet_util_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57442 'proxy/proxy_config_service_win_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55443 ],
444 },
445 ],
446 [ 'OS == "linux"', {
[email protected]9d384032009-03-20 23:13:26447 'dependencies': [
448 '../build/linux/system.gyp:gtk',
449 ],
[email protected]2f80c312009-02-25 21:26:55450 'sources!': [
451 'base/sdch_filter_unittest.cc',
452 'base/ssl_config_service_unittest.cc',
453 ],
454 },
455 ],
456 [ 'OS == "mac"', {
457 'sources!': [
458 'base/ssl_config_service_unittest.cc',
459 ],
460 },
461 ],
462 # This is needed to trigger the dll copy step on windows.
463 # TODO(mark): Specifying this here shouldn't be necessary.
464 [ 'OS == "win"', {
465 'dependencies': [
466 '../third_party/icu38/icu38.gyp:icudata',
467 ],
468 },
469 ],
470 ],
471 },
472 {
473 'target_name': 'net_perftests',
474 'type': 'executable',
475 'dependencies': [
476 'net',
[email protected]6718b412009-03-04 18:26:00477 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55478 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45479 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55480 '../testing/gtest.gyp:gtest',
481 ],
[email protected]9e450f22009-03-10 23:12:16482 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55483 'sources': [
[email protected]2f80c312009-02-25 21:26:55484 'base/cookie_monster_perftest.cc',
485 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33486 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55487 ],
488 'conditions': [
489 # This is needed to trigger the dll copy step on windows.
490 # TODO(mark): Specifying this here shouldn't be necessary.
491 [ 'OS == "win"', {
492 'dependencies': [
493 '../third_party/icu38/icu38.gyp:icudata',
494 ],
495 },
496 ],
497 ],
498 },
499 {
500 'target_name': 'stress_cache',
501 'type': 'executable',
502 'dependencies': [
503 'net',
[email protected]6718b412009-03-04 18:26:00504 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55505 '../base/base.gyp:base',
506 ],
507 'sources': [
[email protected]2f80c312009-02-25 21:26:55508 'disk_cache/stress_cache.cc',
509 ],
510 },
511 {
512 'target_name': 'tld_cleanup',
513 'type': 'executable',
514 'dependencies': [
515 '../base/base.gyp:base',
516 '../build/temp_gyp/googleurl.gyp:googleurl',
517 ],
[email protected]b8234462009-03-18 02:30:55518 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55519 'sources': [
520 'tools/tld_cleanup/tld_cleanup.cc',
521 ],
522 },
523 {
524 'target_name': 'crash_cache',
525 'type': 'executable',
526 'dependencies': [
527 'net',
[email protected]6718b412009-03-04 18:26:00528 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55529 '../base/base.gyp:base',
530 ],
[email protected]9e450f22009-03-10 23:12:16531 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55532 'sources': [
533 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00534 ],
535 },
536 {
537 'target_name': 'net_test_support',
538 'type': 'static_library',
539 'dependencies': [
540 'net',
541 '../base/base.gyp:base',
542 ],
543 'sources': [
[email protected]2f80c312009-02-25 21:26:55544 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00545 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55546 ],
547 },
[email protected]ef36c74c2009-03-11 13:32:22548 {
549 'target_name': 'net_resources',
550 'type': 'none',
551 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
552 'rules': [
[email protected]2f80c312009-02-25 21:26:55553 {
[email protected]ef36c74c2009-03-11 13:32:22554 'rule_name': 'grit',
555 'extension': 'grd',
556 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00557 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55558 ],
[email protected]ef36c74c2009-03-11 13:32:22559 'outputs': [
560 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
561 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
562 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55563 ],
[email protected]ef36c74c2009-03-11 13:32:22564 'action':
565 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35566 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55567 },
[email protected]6718b412009-03-04 18:26:00568 ],
[email protected]ef36c74c2009-03-11 13:32:22569 'sources': [
570 'base/net_resources.grd',
571 ],
572 'direct_dependent_settings': {
573 'include_dirs': [
574 '<(SHARED_INTERMEDIATE_DIR)/net',
575 ],
576 },
577 },
578 ],
579 'conditions': [
[email protected]6718b412009-03-04 18:26:00580 ['OS=="win"', {
581 'targets': [
[email protected]2f80c312009-02-25 21:26:55582 {
583 # TODO(port): dump_cache is still Windows-specific.
584 'target_name': 'dump_cache',
585 'type': 'executable',
586 'dependencies': [
587 'net',
588 '../base/base.gyp:base',
589 ],
590 'sources': [
591 'tools/dump_cache/dump_cache.cc',
592 'tools/dump_cache/dump_files.cc',
593 'tools/dump_cache/upgrade.cc',
594 ],
595 },
596 ],
597 }],
[email protected]2f80c312009-02-25 21:26:55598 ],
599}