blob: 3490d7c1374c329b6b4640562257bbb589b3c5bf [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
[email protected]ff007e162009-05-23 09:13:1521 # testing::internal::AssertHelper through references here.
[email protected]d0644282009-04-22 00:20:2922 # 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',
[email protected]a9cea7542009-05-20 04:30:2378 'base/force_tls_state.cc',
79 'base/force_tls_state.h',
[email protected]2f80c312009-02-25 21:26:5580 'base/gzip_filter.cc',
81 'base/gzip_filter.h',
82 'base/gzip_header.cc',
83 'base/gzip_header.h',
84 'base/host_resolver.cc',
85 'base/host_resolver.h',
86 'base/io_buffer.cc',
87 'base/io_buffer.h',
88 'base/listen_socket.cc',
89 'base/listen_socket.h',
90 'base/load_flags.h',
91 'base/mime_sniffer.cc',
92 'base/mime_sniffer.h',
93 'base/mime_util.cc',
94 'base/mime_util.h',
95 'base/net_error_list.h',
96 'base/net_errors.cc',
97 'base/net_errors.h',
98 'base/net_module.cc',
99 'base/net_module.h',
[email protected]2f80c312009-02-25 21:26:55100 'base/net_util.cc',
101 'base/net_util.h',
102 'base/net_util_posix.cc',
103 'base/net_util_win.cc',
104 'base/nss_memio.c',
105 'base/platform_mime_util.h',
106 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
107 'base/platform_mime_util_linux.cc',
108 'base/platform_mime_util_mac.cc',
109 'base/platform_mime_util_win.cc',
110 'base/registry_controlled_domain.cc',
111 'base/registry_controlled_domain.h',
112 'base/scoped_cert_chain_context.h',
113 'base/sdch_filter.cc',
114 'base/sdch_filter.h',
115 'base/sdch_manager.cc',
116 'base/sdch_manager.h',
117 'base/socket.h',
118 'base/ssl_client_socket.h',
119 'base/ssl_client_socket_mac.cc',
120 'base/ssl_client_socket_nss.cc',
121 'base/ssl_client_socket_win.cc',
122 'base/ssl_client_socket_win.h',
123 'base/ssl_config_service.cc',
124 'base/ssl_config_service.h',
125 'base/ssl_info.h',
126 'base/ssl_test_util.cc',
127 'base/tcp_client_socket.h',
128 'base/tcp_client_socket_libevent.cc',
[email protected]8f1915d2009-04-20 18:37:39129 'base/tcp_client_socket_libevent.h',
[email protected]2f80c312009-02-25 21:26:55130 'base/tcp_client_socket_win.cc',
[email protected]8f1915d2009-04-20 18:37:39131 'base/tcp_client_socket_win.h',
[email protected]2f80c312009-02-25 21:26:55132 'base/telnet_server.cc',
133 'base/telnet_server.h',
134 'base/upload_data.cc',
135 'base/upload_data.h',
136 'base/upload_data_stream.cc',
137 'base/upload_data_stream.h',
138 'base/wininet_util.cc',
139 'base/wininet_util.h',
140 'base/winsock_init.cc',
141 'base/winsock_init.h',
142 'base/x509_certificate.cc',
143 'base/x509_certificate.h',
144 'base/x509_certificate_mac.cc',
145 'base/x509_certificate_nss.cc',
146 'base/x509_certificate_win.cc',
147 'build/precompiled_net.cc',
148 'build/precompiled_net.h',
149 'disk_cache/addr.cc',
150 'disk_cache/addr.h',
151 'disk_cache/backend_impl.cc',
152 'disk_cache/backend_impl.h',
153 'disk_cache/block_files.cc',
154 'disk_cache/block_files.h',
155 'disk_cache/cache_util.h',
156 'disk_cache/cache_util_posix.cc',
157 'disk_cache/cache_util_win.cc',
158 'disk_cache/disk_cache.h',
159 'disk_cache/disk_format.h',
160 'disk_cache/entry_impl.cc',
161 'disk_cache/entry_impl.h',
162 'disk_cache/errors.h',
163 'disk_cache/eviction.cc',
164 'disk_cache/eviction.h',
165 'disk_cache/file.h',
166 'disk_cache/file_block.h',
167 'disk_cache/file_lock.cc',
168 'disk_cache/file_lock.h',
169 'disk_cache/file_posix.cc',
170 'disk_cache/file_win.cc',
171 'disk_cache/hash.cc',
172 'disk_cache/hash.h',
[email protected]17a8396f12009-03-27 20:12:34173 'disk_cache/histogram_macros.h',
[email protected]2f80c312009-02-25 21:26:55174 'disk_cache/mapped_file.h',
175 'disk_cache/mapped_file_posix.cc',
176 'disk_cache/mapped_file_win.cc',
177 'disk_cache/mem_backend_impl.cc',
178 'disk_cache/mem_backend_impl.h',
179 'disk_cache/mem_entry_impl.cc',
180 'disk_cache/mem_entry_impl.h',
181 'disk_cache/mem_rankings.cc',
182 'disk_cache/mem_rankings.h',
183 'disk_cache/rankings.cc',
184 'disk_cache/rankings.h',
185 'disk_cache/stats.cc',
186 'disk_cache/stats.h',
187 'disk_cache/stats_histogram.cc',
188 'disk_cache/stats_histogram.h',
189 'disk_cache/storage_block-inl.h',
190 'disk_cache/storage_block.h',
191 'disk_cache/trace.cc',
192 'disk_cache/trace.h',
193 'ftp/ftp_auth_cache.cc',
194 'ftp/ftp_auth_cache.h',
[email protected]fffc27d52009-03-19 23:26:27195 'ftp/ftp_directory_parser.cc',
196 'ftp/ftp_directory_parser.h',
[email protected]2f80c312009-02-25 21:26:55197 'ftp/ftp_network_layer.cc',
198 'ftp/ftp_network_layer.h',
199 'ftp/ftp_network_session.h',
200 'ftp/ftp_network_transaction.cc',
201 'ftp/ftp_network_transaction.h',
202 'ftp/ftp_request_info.h',
203 'ftp/ftp_response_info.h',
204 'ftp/ftp_transaction.h',
205 'ftp/ftp_transaction_factory.h',
[email protected]5ae0b862009-02-28 02:02:41206 'http/des.cc',
207 'http/des.h',
[email protected]2f80c312009-02-25 21:26:55208 'http/http_atom_list.h',
209 'http/http_auth.cc',
210 'http/http_auth.h',
211 'http/http_auth_cache.cc',
212 'http/http_auth_cache.h',
213 'http/http_auth_handler.h',
214 'http/http_auth_handler.cc',
215 'http/http_auth_handler_basic.cc',
216 'http/http_auth_handler_basic.h',
217 'http/http_auth_handler_digest.cc',
218 'http/http_auth_handler_digest.h',
[email protected]5ae0b862009-02-28 02:02:41219 'http/http_auth_handler_ntlm.cc',
220 'http/http_auth_handler_ntlm.h',
[email protected]fc48db82009-04-28 21:23:39221 'http/http_byte_range.cc',
222 'http/http_byte_range.h',
[email protected]2f80c312009-02-25 21:26:55223 'http/http_cache.cc',
224 'http/http_cache.h',
225 'http/http_chunked_decoder.cc',
226 'http/http_chunked_decoder.h',
227 'http/http_network_layer.cc',
228 'http/http_network_layer.h',
[email protected]0d8fa3ec2009-04-08 04:22:44229 'http/http_network_session.cc',
[email protected]2f80c312009-02-25 21:26:55230 'http/http_network_session.h',
231 'http/http_network_transaction.cc',
232 'http/http_network_transaction.h',
233 'http/http_request_info.h',
234 'http/http_response_headers.cc',
235 'http/http_response_headers.h',
236 'http/http_response_info.cc',
237 'http/http_response_info.h',
238 'http/http_transaction.h',
239 'http/http_transaction_factory.h',
240 'http/http_util.cc',
241 'http/http_util.h',
242 'http/http_vary_data.cc',
243 'http/http_vary_data.h',
[email protected]5ae0b862009-02-28 02:02:41244 'http/md4.cc',
245 'http/md4.h',
[email protected]7dc52f22009-03-02 22:37:18246 'proxy/proxy_config.cc',
247 'proxy/proxy_config.h',
248 'proxy/proxy_config_service.h',
[email protected]2f80c312009-02-25 21:26:55249 'proxy/proxy_config_service_fixed.h',
[email protected]861c6c62009-04-20 16:50:56250 'proxy/proxy_config_service_linux.cc',
251 'proxy/proxy_config_service_linux.h',
[email protected]2f80c312009-02-25 21:26:55252 'proxy/proxy_config_service_win.cc',
253 'proxy/proxy_config_service_win.h',
[email protected]7dc52f22009-03-02 22:37:18254 'proxy/proxy_info.cc',
255 'proxy/proxy_info.h',
256 'proxy/proxy_list.cc',
257 'proxy/proxy_list.h',
258 'proxy/proxy_resolver.h',
[email protected]2f80c312009-02-25 21:26:55259 'proxy/proxy_resolver_mac.cc',
[email protected]6b675b82009-02-26 23:18:32260 'proxy/proxy_resolver_script.h',
261 'proxy/proxy_resolver_v8.cc',
262 'proxy/proxy_resolver_v8.h',
[email protected]2f80c312009-02-25 21:26:55263 'proxy/proxy_resolver_winhttp.cc',
264 'proxy/proxy_resolver_winhttp.h',
[email protected]7dc52f22009-03-02 22:37:18265 'proxy/proxy_retry_info.h',
[email protected]2f80c312009-02-25 21:26:55266 'proxy/proxy_script_fetcher.cc',
267 'proxy/proxy_script_fetcher.h',
268 'proxy/proxy_server.cc',
269 'proxy/proxy_server.h',
270 'proxy/proxy_service.cc',
271 'proxy/proxy_service.h',
272 'url_request/mime_sniffer_proxy.cc',
273 'url_request/mime_sniffer_proxy.h',
274 'url_request/url_request.cc',
275 'url_request/url_request.h',
276 'url_request/url_request_about_job.cc',
277 'url_request/url_request_about_job.h',
278 'url_request/url_request_context.h',
279 'url_request/url_request_error_job.cc',
280 'url_request/url_request_error_job.h',
281 'url_request/url_request_file_dir_job.cc',
282 'url_request/url_request_file_dir_job.h',
283 'url_request/url_request_file_job.cc',
284 'url_request/url_request_file_job.h',
285 'url_request/url_request_filter.cc',
286 'url_request/url_request_filter.h',
287 'url_request/url_request_ftp_job.cc',
288 'url_request/url_request_ftp_job.h',
289 'url_request/url_request_http_job.cc',
290 'url_request/url_request_http_job.h',
291 'url_request/url_request_inet_job.cc',
292 'url_request/url_request_inet_job.h',
293 'url_request/url_request_job.cc',
294 'url_request/url_request_job.h',
295 'url_request/url_request_job_manager.cc',
296 'url_request/url_request_job_manager.h',
297 'url_request/url_request_job_metrics.cc',
298 'url_request/url_request_job_metrics.h',
299 'url_request/url_request_job_tracker.cc',
300 'url_request/url_request_job_tracker.h',
[email protected]b65ce0942009-03-16 20:13:33301 'url_request/url_request_new_ftp_job.cc',
302 'url_request/url_request_new_ftp_job.h',
[email protected]2f80c312009-02-25 21:26:55303 'url_request/url_request_simple_job.cc',
304 'url_request/url_request_simple_job.h',
305 'url_request/url_request_status.h',
306 'url_request/url_request_test_job.cc',
307 'url_request/url_request_test_job.h',
308 'url_request/url_request_view_cache_job.cc',
309 'url_request/url_request_view_cache_job.h',
310 ],
311 'sources!': [
312 'build/precompiled_net.h',
313 'build/precompiled_net.cc',
314 ],
315 'export_dependent_settings': [
316 '../base/base.gyp:base',
317 ],
318 'conditions': [
[email protected]c61f6432009-04-22 01:16:42319 ['javascript_engine=="v8"', {
320 'dependencies': [
[email protected]44531a22009-04-28 21:37:56321 '../v8/tools/gyp/v8.gyp:v8',
[email protected]c61f6432009-04-22 01:16:42322 ],
323 }],
[email protected]9d384032009-03-20 23:13:26324 [ 'OS == "linux"', {
325 'dependencies': [
[email protected]861c6c62009-04-20 16:50:56326 '../build/linux/system.gyp:gconf',
327 '../build/linux/system.gyp:gdk',
[email protected]9d384032009-03-20 23:13:26328 '../build/linux/system.gyp:nss',
329 ],
330 }],
[email protected]2f80c312009-02-25 21:26:55331 [ 'OS == "win"', {
332 'sources/': [ ['exclude', '_(mac|linux|posix)\\.cc$'] ],
333 'sources!': [
334 'base/tcp_client_socket_libevent.cc',
335 ],
336 'dependencies': [
[email protected]2f80c312009-02-25 21:26:55337 'tld_cleanup',
338 ],
339 'configurations': {
340 'Debug': {
341 'msvs_precompiled_header': 'build/precompiled_net.h',
342 'msvs_precompiled_source': 'build/precompiled_net.cc',
343 },
344 },
345 },
346 { # else: OS != "win"
347 'sources!': [
348 'base/ssl_config_service.cc',
349 'base/wininet_util.cc',
350 'base/winsock_init.cc',
351 'proxy/proxy_resolver_winhttp.cc',
352 'url_request/url_request_ftp_job.cc',
353 'url_request/url_request_inet_job.cc',
354 ],
355 },
356 ],
357 [ 'OS == "linux"', {
358 'sources/': [ ['exclude', '_(mac|win)\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55359 },
360 { # else: OS != "linux"
361 'sources!': [
362 'base/nss_memio.c',
363 'base/ssl_client_socket_nss.cc',
364 'base/x509_certificate_nss.cc',
365 ],
366 # Get U_STATIC_IMPLEMENTATION and -I directories on Linux.
367 'dependencies': [
368 '../third_party/icu38/icu38.gyp:icui18n',
369 '../third_party/icu38/icu38.gyp:icuuc',
370 ],
371 },
372 ],
373 [ 'OS == "mac"', {
374 'sources/': [ ['exclude', '_(linux|win)\\.cc$'] ],
375 'link_settings': {
376 'libraries': [
377 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
378 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
379 ]
380 },
381 },
382 ],
[email protected]2f80c312009-02-25 21:26:55383 ],
384 },
385 {
386 'target_name': 'net_unittests',
387 'type': 'executable',
388 'dependencies': [
389 'net',
[email protected]6718b412009-03-04 18:26:00390 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55391 '../base/base.gyp:base',
392 '../testing/gtest.gyp:gtest',
393 ],
[email protected]9e450f22009-03-10 23:12:16394 'msvs_guid': 'E99DA267-BE90-4F45-88A1-6919DB2C7567',
[email protected]2f80c312009-02-25 21:26:55395 'sources': [
396 'base/base64_unittest.cc',
397 'base/bzip2_filter_unittest.cc',
398 'base/client_socket_pool_unittest.cc',
399 'base/cookie_monster_unittest.cc',
400 'base/cookie_policy_unittest.cc',
401 'base/data_url_unittest.cc',
402 'base/directory_lister_unittest.cc',
403 'base/escape_unittest.cc',
404 'base/file_stream_unittest.cc',
405 'base/filter_unittest.cc',
[email protected]56e72f32009-03-09 18:22:27406 'base/filter_unittest.h',
[email protected]c26a25a2009-06-02 02:37:05407 'base/force_tls_state_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55408 'base/gzip_filter_unittest.cc',
409 'base/host_resolver_unittest.cc',
410 'base/listen_socket_unittest.cc',
411 'base/listen_socket_unittest.h',
412 'base/mime_sniffer_unittest.cc',
413 'base/mime_util_unittest.cc',
414 'base/net_util_unittest.cc',
415 'base/registry_controlled_domain_unittest.cc',
416 'base/run_all_unittests.cc',
417 'base/sdch_filter_unittest.cc',
418 'base/ssl_client_socket_unittest.cc',
419 'base/ssl_config_service_unittest.cc',
420 'base/tcp_client_socket_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31421 'base/tcp_pinger_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55422 'base/telnet_server_unittest.cc',
423 'base/test_completion_callback_unittest.cc',
424 'base/wininet_util_unittest.cc',
425 'base/x509_certificate_unittest.cc',
426 'disk_cache/addr_unittest.cc',
427 'disk_cache/backend_unittest.cc',
428 'disk_cache/block_files_unittest.cc',
429 'disk_cache/disk_cache_test_base.cc',
430 'disk_cache/disk_cache_test_base.h',
[email protected]2f80c312009-02-25 21:26:55431 'disk_cache/entry_unittest.cc',
432 'disk_cache/mapped_file_unittest.cc',
433 'disk_cache/storage_block_unittest.cc',
434 'ftp/ftp_auth_cache_unittest.cc',
[email protected]5ae0b862009-02-28 02:02:41435 'http/des_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55436 'http/http_auth_cache_unittest.cc',
437 'http/http_auth_handler_basic_unittest.cc',
438 'http/http_auth_handler_digest_unittest.cc',
439 'http/http_auth_unittest.cc',
[email protected]fc48db82009-04-28 21:23:39440 'http/http_byte_range_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55441 'http/http_cache_unittest.cc',
442 'http/http_chunked_decoder_unittest.cc',
443 'http/http_network_layer_unittest.cc',
444 'http/http_network_transaction_unittest.cc',
445 'http/http_response_headers_unittest.cc',
446 'http/http_transaction_unittest.cc',
447 'http/http_transaction_unittest.h',
448 'http/http_util_unittest.cc',
449 'http/http_vary_data_unittest.cc',
[email protected]861c6c62009-04-20 16:50:56450 'proxy/proxy_config_service_linux_unittest.cc',
[email protected]96ce22362009-03-27 20:19:57451 'proxy/proxy_config_service_win_unittest.cc',
[email protected]5b45aec02009-03-31 01:03:23452 'proxy/proxy_config_unittest.cc',
[email protected]7dc52f22009-03-02 22:37:18453 'proxy/proxy_list_unittest.cc',
[email protected]6b675b82009-02-26 23:18:32454 'proxy/proxy_resolver_v8_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55455 'proxy/proxy_script_fetcher_unittest.cc',
[email protected]8b03e8d2009-03-02 06:53:31456 'proxy/proxy_server_unittest.cc',
[email protected]2f80c312009-02-25 21:26:55457 'proxy/proxy_service_unittest.cc',
458 'url_request/url_request_unittest.cc',
459 'url_request/url_request_unittest.h',
460 ],
461 'conditions': [
[email protected]861c6c62009-04-20 16:50:56462 [ 'OS == "win"', {
463 'sources/': [ ['exclude', '_(mac|linux|posix)_unittest\\.cc$'] ],
464 },
465 ],
[email protected]2f80c312009-02-25 21:26:55466 [ 'OS != "win"', {
467 'sources!': [
468 'base/wininet_util_unittest.cc',
469 ],
470 },
471 ],
472 [ 'OS == "linux"', {
[email protected]861c6c62009-04-20 16:50:56473 'sources/': [ ['exclude', '_(mac|win)_unittest\\.cc$'] ],
[email protected]9d384032009-03-20 23:13:26474 'dependencies': [
475 '../build/linux/system.gyp:gtk',
476 ],
[email protected]2f80c312009-02-25 21:26:55477 'sources!': [
478 'base/sdch_filter_unittest.cc',
479 'base/ssl_config_service_unittest.cc',
480 ],
481 },
482 ],
483 [ 'OS == "mac"', {
[email protected]861c6c62009-04-20 16:50:56484 'sources/': [ ['exclude', '_(linux|win)_unittest\\.cc$'] ],
[email protected]2f80c312009-02-25 21:26:55485 'sources!': [
486 'base/ssl_config_service_unittest.cc',
487 ],
488 },
489 ],
490 # This is needed to trigger the dll copy step on windows.
491 # TODO(mark): Specifying this here shouldn't be necessary.
492 [ 'OS == "win"', {
493 'dependencies': [
494 '../third_party/icu38/icu38.gyp:icudata',
495 ],
496 },
497 ],
498 ],
499 },
500 {
501 'target_name': 'net_perftests',
502 'type': 'executable',
503 'dependencies': [
504 'net',
[email protected]6718b412009-03-04 18:26:00505 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55506 '../base/base.gyp:base',
[email protected]e8ef09a2009-03-16 23:46:45507 '../base/base.gyp:test_support_base',
[email protected]2f80c312009-02-25 21:26:55508 '../testing/gtest.gyp:gtest',
509 ],
[email protected]9e450f22009-03-10 23:12:16510 'msvs_guid': 'AAC78796-B9A2-4CD9-BF89-09B03E92BF73',
[email protected]2f80c312009-02-25 21:26:55511 'sources': [
[email protected]2f80c312009-02-25 21:26:55512 'base/cookie_monster_perftest.cc',
513 'disk_cache/disk_cache_perftest.cc',
[email protected]448cfef82009-03-06 01:44:33514 'proxy/proxy_resolver_perftest.cc',
[email protected]2f80c312009-02-25 21:26:55515 ],
516 'conditions': [
517 # This is needed to trigger the dll copy step on windows.
518 # TODO(mark): Specifying this here shouldn't be necessary.
519 [ 'OS == "win"', {
520 'dependencies': [
521 '../third_party/icu38/icu38.gyp:icudata',
522 ],
523 },
524 ],
525 ],
526 },
527 {
528 'target_name': 'stress_cache',
529 'type': 'executable',
530 'dependencies': [
531 'net',
[email protected]6718b412009-03-04 18:26:00532 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55533 '../base/base.gyp:base',
534 ],
535 'sources': [
[email protected]2f80c312009-02-25 21:26:55536 'disk_cache/stress_cache.cc',
537 ],
538 },
539 {
540 'target_name': 'tld_cleanup',
541 'type': 'executable',
542 'dependencies': [
543 '../base/base.gyp:base',
544 '../build/temp_gyp/googleurl.gyp:googleurl',
545 ],
[email protected]b8234462009-03-18 02:30:55546 'msvs_guid': 'E13045CD-7E1F-4A41-9B18-8D288B2E7B41',
[email protected]2f80c312009-02-25 21:26:55547 'sources': [
548 'tools/tld_cleanup/tld_cleanup.cc',
549 ],
550 },
551 {
552 'target_name': 'crash_cache',
553 'type': 'executable',
554 'dependencies': [
555 'net',
[email protected]6718b412009-03-04 18:26:00556 'net_test_support',
[email protected]2f80c312009-02-25 21:26:55557 '../base/base.gyp:base',
558 ],
[email protected]9e450f22009-03-10 23:12:16559 'msvs_guid': 'B0EE0599-2913-46A0-A847-A3EC813658D3',
[email protected]2f80c312009-02-25 21:26:55560 'sources': [
561 'tools/crash_cache/crash_cache.cc',
[email protected]6718b412009-03-04 18:26:00562 ],
563 },
564 {
565 'target_name': 'net_test_support',
[email protected]653bd5f032009-04-08 12:55:49566 'type': '<(library)',
[email protected]6718b412009-03-04 18:26:00567 'dependencies': [
568 'net',
569 '../base/base.gyp:base',
[email protected]ff007e162009-05-23 09:13:15570 '../testing/gtest.gyp:gtest',
[email protected]6718b412009-03-04 18:26:00571 ],
572 'sources': [
[email protected]ff007e162009-05-23 09:13:15573 'base/socket_test_util.cc',
574 'base/socket_test_util.h',
[email protected]2f80c312009-02-25 21:26:55575 'disk_cache/disk_cache_test_util.cc',
[email protected]6718b412009-03-04 18:26:00576 'disk_cache/disk_cache_test_util.h',
[email protected]ab501a6a2009-05-12 15:07:50577 'proxy/proxy_config_service_common_unittest.cc',
578 'proxy/proxy_config_service_common_unittest.h',
[email protected]2f80c312009-02-25 21:26:55579 ],
580 },
[email protected]ef36c74c2009-03-11 13:32:22581 {
582 'target_name': 'net_resources',
583 'type': 'none',
584 'msvs_guid': '8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942',
585 'rules': [
[email protected]2f80c312009-02-25 21:26:55586 {
[email protected]ef36c74c2009-03-11 13:32:22587 'rule_name': 'grit',
588 'extension': 'grd',
589 'inputs': [
[email protected]b19f1cd72009-03-13 21:16:00590 '../tools/grit/grit.py',
[email protected]2f80c312009-02-25 21:26:55591 ],
[email protected]ef36c74c2009-03-11 13:32:22592 'outputs': [
593 '<(SHARED_INTERMEDIATE_DIR)/net/grit/<(RULE_INPUT_ROOT).h',
594 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).rc',
595 '<(SHARED_INTERMEDIATE_DIR)/net/<(RULE_INPUT_ROOT).pak',
[email protected]2f80c312009-02-25 21:26:55596 ],
[email protected]ef36c74c2009-03-11 13:32:22597 'action':
598 ['python', '<@(_inputs)', '-i', '<(RULE_INPUT_PATH)', 'build', '-o', '<(SHARED_INTERMEDIATE_DIR)/net'],
[email protected]027ec5f2009-03-16 18:30:35599 'message': 'Generating resources from <(RULE_INPUT_PATH)',
[email protected]2f80c312009-02-25 21:26:55600 },
[email protected]6718b412009-03-04 18:26:00601 ],
[email protected]ef36c74c2009-03-11 13:32:22602 'sources': [
603 'base/net_resources.grd',
604 ],
605 'direct_dependent_settings': {
606 'include_dirs': [
607 '<(SHARED_INTERMEDIATE_DIR)/net',
608 ],
609 },
[email protected]b392f3e2009-05-11 20:01:24610 'conditions': [
611 ['OS=="win"', {
612 'dependencies': ['../build/win/system.gyp:cygwin'],
613 }],
614 ],
[email protected]ef36c74c2009-03-11 13:32:22615 },
616 ],
617 'conditions': [
[email protected]6718b412009-03-04 18:26:00618 ['OS=="win"', {
619 'targets': [
[email protected]2f80c312009-02-25 21:26:55620 {
621 # TODO(port): dump_cache is still Windows-specific.
622 'target_name': 'dump_cache',
623 'type': 'executable',
624 'dependencies': [
625 'net',
626 '../base/base.gyp:base',
627 ],
628 'sources': [
629 'tools/dump_cache/dump_cache.cc',
630 'tools/dump_cache/dump_files.cc',
631 'tools/dump_cache/upgrade.cc',
632 ],
633 },
[email protected]acc9a6d2009-05-06 00:17:50634 {
635 'target_name': 'fetch_client',
636 'type': 'executable',
637 'dependencies': [
638 'net',
639 '../base/base.gyp:base',
640 '../base/base.gyp:test_support_base',
641 '../testing/gtest.gyp:gtest',
642 ],
643 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B123',
644 'sources': [
645 'tools/fetch/fetch_client.cc',
646 ],
647 },
648 {
649 'target_name': 'fetch_server',
650 'type': 'executable',
651 'dependencies': [
652 'net',
653 '../base/base.gyp:base',
654 '../base/base.gyp:test_support_base',
655 '../testing/gtest.gyp:gtest',
656 ],
657 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124',
658 'sources': [
659 'tools/fetch/fetch_server.cc',
660 'tools/fetch/http_listen_socket.cc',
661 'tools/fetch/http_listen_socket.h',
662 'tools/fetch/http_server.cc',
663 'tools/fetch/http_server.h',
664 'tools/fetch/http_session.cc',
665 'tools/fetch/http_session.h',
666 ],
667 },
[email protected]2f80c312009-02-25 21:26:55668 ],
669 }],
[email protected]2f80c312009-02-25 21:26:55670 ],
671}