blob: a87029c0d33afbdb98f758221e9a20d96ccf2f62 [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',
19 '../sdch/sdch.gyp:sdch',
[email protected]d0644282009-04-22 00:20:2920 # TODO: various targets end up using
21 # testing::internal::AssertHelper through references here.
22 # Good candidate for refactoring.
23 '../testing/gtest.gyp:gtest',
[email protected]2f80c312009-02-25 21:26:5524 '../third_party/bzip2/bzip2.gyp:bzip2',
25 '../third_party/icu38/icu38.gyp:icui18n',
26 '../third_party/icu38/icu38.gyp:icuuc',
27 '../third_party/modp_b64/modp_b64.gyp:modp_b64',
28 '../third_party/zlib/zlib.gyp:zlib',
[email protected]ef36c74c2009-03-11 13:32:2229 'net_resources',
[email protected]2f80c312009-02-25 21:26:5530 ],
[email protected]0d54d2e2009-03-10 22:25:5431 'msvs_guid': '326E9795-E760-410A-B69A-3F79DB3F5243',
[email protected]2f80c312009-02-25 21:26:5532 'sources': [
33 'base/address_list.cc',
34 'base/address_list.h',
35 'base/auth.h',
36 'base/base64.cc',
37 'base/base64.h',
38 'base/bzip2_filter.cc',
39 'base/bzip2_filter.h',
[email protected]6192f732009-03-25 23:44:2040 'base/cache_type.h',
[email protected]2f80c312009-02-25 21:26:5541 'base/cert_status_flags.cc',
42 'base/cert_status_flags.h',
43 'base/cert_verifier.cc',
44 'base/cert_verifier.h',
45 'base/cert_verify_result.h',
46 'base/client_socket.cc',
47 'base/client_socket.h',
48 'base/client_socket_factory.cc',
49 'base/client_socket_factory.h',
50 'base/client_socket_handle.cc',
51 'base/client_socket_handle.h',
52 'base/client_socket_pool.cc',
53 'base/client_socket_pool.h',
54 'base/completion_callback.h',
55 'base/connection_type_histograms.cc',
56 'base/connection_type_histograms.h',
57 'base/cookie_monster.cc',
58 'base/cookie_monster.h',
59 'base/cookie_policy.cc',
60 'base/cookie_policy.h',
61 'base/data_url.cc',
62 'base/data_url.h',
63 'base/directory_lister.cc',
64 'base/directory_lister.h',
65 'base/dns_resolution_observer.cc',
66 'base/dns_resolution_observer.h',
67 'base/effective_tld_names.cc',
68 'base/effective_tld_names.dat',
69 'base/escape.cc',
70 'base/escape.h',
71 'base/ev_root_ca_metadata.cc',
72 'base/ev_root_ca_metadata.h',
73 'base/file_stream.h',
74 'base/file_stream_posix.cc',
75 'base/file_stream_win.cc',
76 'base/filter.cc',
77 'base/filter.h',
78 'base/gzip_filter.cc',
79 'base/gzip_filter.h',
80 'base/gzip_header.cc',
81 'base/gzip_header.h',
82 'base/host_resolver.cc',
83 'base/host_resolver.h',
84 'base/io_buffer.cc',
85 'base/io_buffer.h',
86 'base/listen_socket.cc',
87 'base/listen_socket.h',
88 'base/load_flags.h',
89 'base/mime_sniffer.cc',
90 'base/mime_sniffer.h',
91 'base/mime_util.cc',
92 'base/mime_util.h',
93 'base/net_error_list.h',
94 'base/net_errors.cc',
95 'base/net_errors.h',
96 'base/net_module.cc',
97 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:5598 'base/net_util.cc',
99 'base/net_util.h',
100 'base/net_util_posix.cc',
101 'base/net_util_win.cc',
102 'base/nss_memio.c',
103 'base/platform_mime_util.h',
104 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
105 'base/platform_mime_util_linux.cc',
106 'base/platform_mime_util_mac.cc',
107 'base/platform_mime_util_win.cc',
108 'base/registry_controlled_domain.cc',
109 'base/registry_controlled_domain.h',
110 'base/scoped_cert_chain_context.h',
111 'base/sdch_filter.cc',
112 'base/sdch_filter.h',
113 'base/sdch_manager.cc',
114 'base/sdch_manager.h',
115 'base/socket.h',
116 'base/ssl_client_socket.h',
117 'base/ssl_client_socket_mac.cc',
118 'base/ssl_client_socket_nss.cc',
119 'base/ssl_client_socket_win.cc',
120 'base/ssl_client_socket_win.h',
121 'base/ssl_config_service.cc',
122 'base/ssl_config_service.h',
123 'base/ssl_info.h',
124 'base/ssl_test_util.cc',
125 'base/tcp_client_socket.h',
126 'base/tcp_client_socket_libevent.cc',
[email protected]8f1915d2009-04-20 18:37:39127 'base/tcp_client_socket_libevent.h',
[email protected]2f80c312009-02-25 21:26:55128 'base/tcp_client_socket_win.cc',
[email protected]8f1915d2009-04-20 18:37:39129 'base/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55130 'base/telnet_server.cc',
131 'base/telnet_server.h',
132 'base/upload_data.cc',
133 'base/upload_data.h',
134 'base/upload_data_stream.cc',
135 'base/upload_data_stream.h',
136 'base/wininet_util.cc',
137 'base/wininet_util.h',
138 'base/winsock_init.cc',
139 'base/winsock_init.h',
140 'base/x509_certificate.cc',
141 'base/x509_certificate.h',
142 'base/x509_certificate_mac.cc',
143 'base/x509_certificate_nss.cc',
144 'base/x509_certificate_win.cc',
145 'build/precompiled_net.cc',
146 'build/precompiled_net.h',
147 'disk_cache/addr.cc',
148 'disk_cache/addr.h',
149 'disk_cache/backend_impl.cc',
150 'disk_cache/backend_impl.h',
151 'disk_cache/block_files.cc',
152 'disk_cache/block_files.h',
153 'disk_cache/cache_util.h',
154 'disk_cache/cache_util_posix.cc',
155 'disk_cache/cache_util_win.cc',
156 'disk_cache/disk_cache.h',
157 'disk_cache/disk_format.h',
158 'disk_cache/entry_impl.cc',
159 'disk_cache/entry_impl.h',
160 'disk_cache/errors.h',
161 'disk_cache/eviction.cc',
162 'disk_cache/eviction.h',
163 'disk_cache/file.h',
164 'disk_cache/file_block.h',
165 'disk_cache/file_lock.cc',
166 'disk_cache/file_lock.h',
167 'disk_cache/file_posix.cc',
168 'disk_cache/file_win.cc',
169 'disk_cache/hash.cc',
170 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34171 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55172 'disk_cache/mapped_file.h',
173 'disk_cache/mapped_file_posix.cc',
174 'disk_cache/mapped_file_win.cc',
175 'disk_cache/mem_backend_impl.cc',
176 'disk_cache/mem_backend_impl.h',
177 'disk_cache/mem_entry_impl.cc',
178 'disk_cache/mem_entry_impl.h',
179 'disk_cache/mem_rankings.cc',
180 'disk_cache/mem_rankings.h',
181 'disk_cache/rankings.cc',
182 'disk_cache/rankings.h',
183 'disk_cache/stats.cc',
184 'disk_cache/stats.h',
185 'disk_cache/stats_histogram.cc',
186 'disk_cache/stats_histogram.h',
187 'disk_cache/storage_block-inl.h',
188 'disk_cache/storage_block.h',
189 'disk_cache/trace.cc',
190 'disk_cache/trace.h',
191 'ftp/ftp_auth_cache.cc',
192 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27193 'ftp/ftp_directory_parser.cc',
194 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55195 'ftp/ftp_network_layer.cc',
196 'ftp/ftp_network_layer.h',
197 'ftp/ftp_network_session.h',
198 'ftp/ftp_network_transaction.cc',
199 'ftp/ftp_network_transaction.h',
200 'ftp/ftp_request_info.h',
201 'ftp/ftp_response_info.h',
202 'ftp/ftp_transaction.h',
203 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41204 'http/des.cc',
205 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55206 'http/http_atom_list.h',
207 'http/http_auth.cc',
208 'http/http_auth.h',
209 'http/http_auth_cache.cc',
210 'http/http_auth_cache.h',
211 'http/http_auth_handler.h',
212 'http/http_auth_handler.cc',
213 'http/http_auth_handler_basic.cc',
214 'http/http_auth_handler_basic.h',
215 'http/http_auth_handler_digest.cc',
216 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41217 'http/http_auth_handler_ntlm.cc',
218 'http/http_auth_handler_ntlm.h',
[email protected]fc48db82009-04-28 21:23:39219 'http/http_byte_range.cc',
220 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55221 'http/http_cache.cc',
222 'http/http_cache.h',
223 'http/http_chunked_decoder.cc',
224 'http/http_chunked_decoder.h',
225 'http/http_network_layer.cc',
226 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44227 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55228 'http/http_network_session.h',
229 'http/http_network_transaction.cc',
230 'http/http_network_transaction.h',
231 'http/http_request_info.h',
232 'http/http_response_headers.cc',
233 'http/http_response_headers.h',
234 'http/http_response_info.cc',
235 'http/http_response_info.h',
236 'http/http_transaction.h',
237 'http/http_transaction_factory.h',
238 'http/http_util.cc',
239 'http/http_util.h',
240 'http/http_vary_data.cc',
241 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41242 'http/md4.cc',
243 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18244 'proxy/proxy_config.cc',
245 'proxy/proxy_config.h',
246 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55247 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56248 'proxy/proxy_config_service_linux.cc',
249 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55250 'proxy/proxy_config_service_win.cc',
251 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18252 'proxy/proxy_info.cc',
253 'proxy/proxy_info.h',
254 'proxy/proxy_list.cc',
255 'proxy/proxy_list.h',
256 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55257 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32258 'proxy/proxy_resolver_script.h',
259 'proxy/proxy_resolver_v8.cc',
260 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55261 'proxy/proxy_resolver_winhttp.cc',
262 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18263 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55264 'proxy/proxy_script_fetcher.cc',
265 'proxy/proxy_script_fetcher.h',
266 'proxy/proxy_server.cc',
267 'proxy/proxy_server.h',
268 'proxy/proxy_service.cc',
269 'proxy/proxy_service.h',
270 'url_request/mime_sniffer_proxy.cc',
271 'url_request/mime_sniffer_proxy.h',
272 'url_request/url_request.cc',
273 'url_request/url_request.h',
274 'url_request/url_request_about_job.cc',
275 'url_request/url_request_about_job.h',
276 'url_request/url_request_context.h',
277 'url_request/url_request_error_job.cc',
278 'url_request/url_request_error_job.h',
279 'url_request/url_request_file_dir_job.cc',
280 'url_request/url_request_file_dir_job.h',
281 'url_request/url_request_file_job.cc',
282 'url_request/url_request_file_job.h',
283 'url_request/url_request_filter.cc',
284 'url_request/url_request_filter.h',
285 'url_request/url_request_ftp_job.cc',
286 'url_request/url_request_ftp_job.h',
287 'url_request/url_request_http_job.cc',
288 'url_request/url_request_http_job.h',
289 'url_request/url_request_inet_job.cc',
290 'url_request/url_request_inet_job.h',
291 'url_request/url_request_job.cc',
292 'url_request/url_request_job.h',
293 'url_request/url_request_job_manager.cc',
294 'url_request/url_request_job_manager.h',
295 'url_request/url_request_job_metrics.cc',
296 'url_request/url_request_job_metrics.h',
297 'url_request/url_request_job_tracker.cc',
298 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33299 'url_request/url_request_new_ftp_job.cc',
300 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55301 'url_request/url_request_simple_job.cc',
302 'url_request/url_request_simple_job.h',
303 'url_request/url_request_status.h',
304 'url_request/url_request_test_job.cc',
305 'url_request/url_request_test_job.h',
306 'url_request/url_request_view_cache_job.cc',
307 'url_request/url_request_view_cache_job.h',
308 ],
309 'sources!': [
310 'build/precompiled_net.h',
311 'build/precompiled_net.cc',
312 ],
313 'export_dependent_settings': [
314 '../base/base.gyp:base',
315 ],
316 'conditions': [
[email protected]c61f6432009-04-22 01:16:42317 ['javascript_engine=="v8"', {
318 'dependencies': [
[email protected]44531a22009-04-28 21:37:56319 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42320 ],
321 }],
[email protected]9d384032009-03-20 23:13:26322 [ 'OS == "linux"', {
323 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56324 '../build/linux/system.gyp:gconf',
325 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26326 '../build/linux/system.gyp:nss',
327 ],
328 }],
[email protected]2f80c312009-02-25 21:26:55329 [ 'OS == "win"', {
330 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
331 'sources!': [
332 'base/tcp_client_socket_libevent.cc',
333 ],
334 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55335 'tld_cleanup',
336 ],
337 'configurations': {
338 'Debug': {
339 'msvs_precompiled_header': 'build/precompiled_net.h',
340 'msvs_precompiled_source': 'build/precompiled_net.cc',
341 },
342 },
343 },
344 { # else: OS != "win"
345 'sources!': [
346 'base/ssl_config_service.cc',
347 'base/wininet_util.cc',
348 'base/winsock_init.cc',
349 'proxy/proxy_resolver_winhttp.cc',
350 'url_request/url_request_ftp_job.cc',
351 'url_request/url_request_inet_job.cc',
352 ],
353 },
354 ],
355 [ 'OS == "linux"', {
356 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55357 },
358 { # else: OS != "linux"
359 'sources!': [
360 'base/nss_memio.c',
361 'base/ssl_client_socket_nss.cc',
362 'base/x509_certificate_nss.cc',
363 ],
364 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
365 'dependencies': [
366 '../third_party/icu38/icu38.gyp:icui18n',
367 '../third_party/icu38/icu38.gyp:icuuc',
368 ],
369 },
370 ],
371 [ 'OS == "mac"', {
372 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
373 'link_settings': {
374 'libraries': [
375 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
376 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
377 ]
378 },
379 },
380 ],
[email protected]2f80c312009-02-25 21:26:55381 ],
382 },
383 {
384 'target_name': 'net_unittests',
385 'type': 'executable',
386 'dependencies': [
387 'net',
[email protected]6718b412009-03-04 18:26:00388 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55389 '../base/base.gyp:base',
390 '../testing/gtest.gyp:gtest',
391 ],
[email protected]9e450f22009-03-10 23:12:16392 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55393 'sources': [
394 'base/base64_unittest.cc',
395 'base/bzip2_filter_unittest.cc',
396 'base/client_socket_pool_unittest.cc',
397 'base/cookie_monster_unittest.cc',
398 'base/cookie_policy_unittest.cc',
399 'base/data_url_unittest.cc',
400 'base/directory_lister_unittest.cc',
401 'base/escape_unittest.cc',
402 'base/file_stream_unittest.cc',
403 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27404 'base/filter_unittest.h',
[email protected]2f80c312009-02-25 21:26:55405 'base/gzip_filter_unittest.cc',
406 'base/host_resolver_unittest.cc',
407 'base/listen_socket_unittest.cc',
408 'base/listen_socket_unittest.h',
409 'base/mime_sniffer_unittest.cc',
410 'base/mime_util_unittest.cc',
411 'base/net_util_unittest.cc',
412 'base/registry_controlled_domain_unittest.cc',
413 'base/run_all_unittests.cc',
414 'base/sdch_filter_unittest.cc',
415 'base/ssl_client_socket_unittest.cc',
416 'base/ssl_config_service_unittest.cc',
417 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31418 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55419 'base/telnet_server_unittest.cc',
420 'base/test_completion_callback_unittest.cc',
421 'base/wininet_util_unittest.cc',
422 'base/x509_certificate_unittest.cc',
423 'disk_cache/addr_unittest.cc',
424 'disk_cache/backend_unittest.cc',
425 'disk_cache/block_files_unittest.cc',
426 'disk_cache/disk_cache_test_base.cc',
427 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55428 'disk_cache/entry_unittest.cc',
429 'disk_cache/mapped_file_unittest.cc',
430 'disk_cache/storage_block_unittest.cc',
431 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41432 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55433 'http/http_auth_cache_unittest.cc',
434 'http/http_auth_handler_basic_unittest.cc',
435 'http/http_auth_handler_digest_unittest.cc',
436 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39437 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55438 'http/http_cache_unittest.cc',
439 'http/http_chunked_decoder_unittest.cc',
440 'http/http_network_layer_unittest.cc',
441 'http/http_network_transaction_unittest.cc',
442 'http/http_response_headers_unittest.cc',
443 'http/http_transaction_unittest.cc',
444 'http/http_transaction_unittest.h',
445 'http/http_util_unittest.cc',
446 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56447 'proxy/proxy_config_service_common_unittest.cc',
448 'proxy/proxy_config_service_common_unittest.h',
449 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57450 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23451 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18452 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32453 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55454 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31455 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55456 'proxy/proxy_service_unittest.cc',
457 'url_request/url_request_unittest.cc',
458 'url_request/url_request_unittest.h',
459 ],
460 'conditions': [
[email protected]861c6c62009-04-20 16:50:56461 [ 'OS == "win"', {
462 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
463 },
464 ],
[email protected]2f80c312009-02-25 21:26:55465 [ 'OS != "win"', {
466 'sources!': [
467 'base/wininet_util_unittest.cc',
468 ],
469 },
470 ],
471 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56472 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26473 'dependencies': [
474 '../build/linux/system.gyp:gtk',
475 ],
[email protected]2f80c312009-02-25 21:26:55476 'sources!': [
477 'base/sdch_filter_unittest.cc',
478 'base/ssl_config_service_unittest.cc',
479 ],
480 },
481 ],
482 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56483 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55484 'sources!': [
485 'base/ssl_config_service_unittest.cc',
486 ],
487 },
488 ],
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': 'net_perftests',
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',
[email protected]e8ef09a2009-03-16 23:46:45506 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55507 '../testing/gtest.gyp:gtest',
508 ],
[email protected]9e450f22009-03-10 23:12:16509 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55510 'sources': [
[email protected]2f80c312009-02-25 21:26:55511 'base/cookie_monster_perftest.cc',
512 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33513 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55514 ],
515 'conditions': [
516 # This is needed to trigger the dll copy step on windows.
517 # TODO(mark): Specifying this here shouldn't be necessary.
518 [ 'OS == "win"', {
519 'dependencies': [
520 '../third_party/icu38/icu38.gyp:icudata',
521 ],
522 },
523 ],
524 ],
525 },
526 {
527 'target_name': 'stress_cache',
528 'type': 'executable',
529 'dependencies': [
530 'net',
[email protected]6718b412009-03-04 18:26:00531 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55532 '../base/base.gyp:base',
533 ],
534 'sources': [
[email protected]2f80c312009-02-25 21:26:55535 'disk_cache/stress_cache.cc',
536 ],
537 },
538 {
539 'target_name': 'tld_cleanup',
540 'type': 'executable',
541 'dependencies': [
542 '../base/base.gyp:base',
543 '../build/temp_gyp/googleurl.gyp:googleurl',
544 ],
[email protected]b8234462009-03-18 02:30:55545 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55546 'sources': [
547 'tools/tld_cleanup/tld_cleanup.cc',
548 ],
549 },
550 {
551 'target_name': 'crash_cache',
552 'type': 'executable',
553 'dependencies': [
554 'net',
[email protected]6718b412009-03-04 18:26:00555 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55556 '../base/base.gyp:base',
557 ],
[email protected]9e450f22009-03-10 23:12:16558 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55559 'sources': [
560 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00561 ],
562 },
563 {
564 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49565 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00566 'dependencies': [
567 'net',
568 '../base/base.gyp:base',
569 ],
570 'sources': [
[email protected]2f80c312009-02-25 21:26:55571 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00572 'disk_cache/disk_cache_test_util.h',
[email protected]2f80c312009-02-25 21:26:55573 ],
574 },
[email protected]ef36c74c2009-03-11 13:32:22575 {
576 'target_name': 'net_resources',
577 'type': 'none',
578 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
579 'rules': [
[email protected]2f80c312009-02-25 21:26:55580 {
[email protected]ef36c74c2009-03-11 13:32:22581 'rule_name': 'grit',
582 'extension': 'grd',
583 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00584 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55585 ],
[email protected]ef36c74c2009-03-11 13:32:22586 'outputs': [
587 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
588 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
589 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55590 ],
[email protected]ef36c74c2009-03-11 13:32:22591 'action':
592 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35593 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55594 },
[email protected]6718b412009-03-04 18:26:00595 ],
[email protected]ef36c74c2009-03-11 13:32:22596 'sources': [
597 'base/net_resources.grd',
598 ],
599 'direct_dependent_settings': {
600 'include_dirs': [
601 '<(SHARED_INTERMEDIATE_DIR)/net',
602 ],
603 },
[email protected]b392f3e2009-05-11 20:01:24604 'conditions': [
605 ['OS=="win"', {
606 'dependencies': ['../build/win/system.gyp:cygwin'],
607 }],
608 ],
[email protected]ef36c74c2009-03-11 13:32:22609 },
610 ],
611 'conditions': [
[email protected]6718b412009-03-04 18:26:00612 ['OS=="win"', {
613 'targets': [
[email protected]2f80c312009-02-25 21:26:55614 {
615 # TODO(port): dump_cache is still Windows-specific.
616 'target_name': 'dump_cache',
617 'type': 'executable',
618 'dependencies': [
619 'net',
620 '../base/base.gyp:base',
621 ],
622 'sources': [
623 'tools/dump_cache/dump_cache.cc',
624 'tools/dump_cache/dump_files.cc',
625 'tools/dump_cache/upgrade.cc',
626 ],
627 },
[email protected]acc9a6d2009-05-06 00:17:50628 {
629 'target_name': 'fetch_client',
630 'type': 'executable',
631 'dependencies': [
632 'net',
633 '../base/base.gyp:base',
634 '../base/base.gyp:test_support_base',
635 '../testing/gtest.gyp:gtest',
636 ],
637 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
638 'sources': [
639 'tools/fetch/fetch_client.cc',
640 ],
641 },
642 {
643 'target_name': 'fetch_server',
644 'type': 'executable',
645 'dependencies': [
646 'net',
647 '../base/base.gyp:base',
648 '../base/base.gyp:test_support_base',
649 '../testing/gtest.gyp:gtest',
650 ],
651 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
652 'sources': [
653 'tools/fetch/fetch_server.cc',
654 'tools/fetch/http_listen_socket.cc',
655 'tools/fetch/http_listen_socket.h',
656 'tools/fetch/http_server.cc',
657 'tools/fetch/http_server.h',
658 'tools/fetch/http_session.cc',
659 'tools/fetch/http_session.h',
660 ],
661 },
[email protected]2f80c312009-02-25 21:26:55662 ],
663 }],
[email protected]2f80c312009-02-25 21:26:55664 ],
665}