1 # Copyright (c) 2012 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.
9 'linux_link_kerberos%': 0,
11 ['chromeos==1 or OS=="android" or OS=="ios"', {
12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
13 # It needs configuration (krb5.conf and so on).
19 # The way the cache uses mmap() is inefficient on some Android devices.
20 # If this flag is set, we hackily avoid using mmap() in the disk cache.
21 'posix_avoid_mmap%': 1,
23 'posix_avoid_mmap%': 0,
26 # Websockets and socket stream are not used on iOS.
27 'enable_websockets%': 0,
28 # iOS does not use V8.
30 'enable_built_in_dns%': 0,
32 'enable_websockets%': 1,
34 'enable_built_in_dns%': 1,
39 '../build/win_precompile.gypi',
44 'type': '<(component)',
45 'variables': { 'enable_wexit_time_destructors': 1, },
47 '../base/base.gyp:base',
48 '../base/base.gyp:base_i18n',
49 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
50 '../build/temp_gyp/googleurl.gyp:googleurl',
51 '../crypto/crypto.gyp:crypto',
52 '../sdch/sdch.gyp:sdch',
53 '../third_party/icu/icu.gyp:icui18n',
54 '../third_party/icu/icu.gyp:icuuc',
55 '../third_party/zlib/zlib.gyp:zlib',
59 'android/net_jni_registrar.cc',
60 'android/net_jni_registrar.h',
61 'android/network_change_notifier_android.cc',
62 'android/network_change_notifier_android.h',
63 'android/network_change_notifier_factory_android.cc',
64 'android/network_change_notifier_factory_android.h',
65 'android/network_library.cc',
66 'android/network_library.h',
67 'base/address_family.h',
68 'base/address_list.cc',
69 'base/address_list.h',
70 'base/address_tracker_linux.cc',
71 'base/address_tracker_linux.h',
76 'base/backoff_entry.cc',
77 'base/backoff_entry.h',
78 'base/bandwidth_metrics.cc',
79 'base/bandwidth_metrics.h',
83 'base/cert_database.cc',
84 'base/cert_database.h',
85 'base/cert_database_ios.cc',
86 'base/cert_database_mac.cc',
87 'base/cert_database_nss.cc',
88 'base/cert_database_openssl.cc',
89 'base/cert_database_win.cc',
90 'base/cert_status_flags.cc',
91 'base/cert_status_flags.h',
92 'base/cert_verifier.cc',
93 'base/cert_verifier.h',
94 'base/cert_verify_proc.cc',
95 'base/cert_verify_proc.h',
96 'base/cert_verify_proc_mac.cc',
97 'base/cert_verify_proc_mac.h',
98 'base/cert_verify_proc_nss.cc',
99 'base/cert_verify_proc_nss.h',
100 'base/cert_verify_proc_openssl.cc',
101 'base/cert_verify_proc_openssl.h',
102 'base/cert_verify_proc_win.cc',
103 'base/cert_verify_proc_win.h',
104 'base/cert_verify_result.cc',
105 'base/cert_verify_result.h',
106 'base/completion_callback.h',
107 'base/connection_type_histograms.cc',
108 'base/connection_type_histograms.h',
111 'base/crypto_module.h',
112 'base/crypto_module_nss.cc',
113 'base/crypto_module_openssl.cc',
116 'base/default_server_bound_cert_store.cc',
117 'base/default_server_bound_cert_store.h',
118 'base/directory_lister.cc',
119 'base/directory_lister.h',
120 'base/dns_reloader.cc',
121 'base/dns_reloader.h',
124 'base/dnsrr_resolver.cc',
125 'base/dnsrr_resolver.h',
126 'base/dnssec_chain_verifier.cc',
127 'base/dnssec_chain_verifier.h',
128 'base/dnssec_keyset.cc',
129 'base/dnssec_keyset.h',
132 'base/ev_root_ca_metadata.cc',
133 'base/ev_root_ca_metadata.h',
134 'base/expiring_cache.h',
135 'base/file_stream.cc',
136 'base/file_stream.h',
137 'base/file_stream_context.cc',
138 'base/file_stream_context.h',
139 'base/file_stream_context_posix.cc',
140 'base/file_stream_context_win.cc',
141 'base/file_stream_metrics.cc',
142 'base/file_stream_metrics.h',
143 'base/file_stream_metrics_posix.cc',
144 'base/file_stream_metrics_win.cc',
145 'base/file_stream_net_log_parameters.cc',
146 'base/file_stream_net_log_parameters.h',
147 'base/file_stream_whence.h',
150 'base/gzip_filter.cc',
151 'base/gzip_filter.h',
152 'base/gzip_header.cc',
153 'base/gzip_header.h',
154 'base/host_cache.cc',
156 'base/host_mapping_rules.cc',
157 'base/host_mapping_rules.h',
158 'base/host_port_pair.cc',
159 'base/host_port_pair.h',
160 'base/host_resolver.cc',
161 'base/host_resolver.h',
162 'base/host_resolver_impl.cc',
163 'base/host_resolver_impl.h',
164 'base/host_resolver_proc.cc',
165 'base/host_resolver_proc.h',
168 'base/ip_endpoint.cc',
169 'base/ip_endpoint.h',
170 'base/keygen_handler.cc',
171 'base/keygen_handler.h',
172 'base/keygen_handler_mac.cc',
173 'base/keygen_handler_nss.cc',
174 'base/keygen_handler_openssl.cc',
175 'base/keygen_handler_win.cc',
177 'base/load_flags_list.h',
178 'base/load_states.h',
179 'base/load_states_list.h',
180 'base/mapped_host_resolver.cc',
181 'base/mapped_host_resolver.h',
182 'base/mime_sniffer.cc',
183 'base/mime_sniffer.h',
186 'base/multi_threaded_cert_verifier.cc',
187 'base/multi_threaded_cert_verifier.h',
188 'base/net_error_list.h',
189 'base/net_errors.cc',
191 'base/net_errors_posix.cc',
192 'base/net_errors_win.cc',
196 'base/net_log_event_type_list.h',
197 'base/net_log_source_type_list.h',
198 'base/net_module.cc',
202 'base/net_util_posix.cc',
203 'base/net_util_win.cc',
204 'base/network_change_notifier.cc',
205 'base/network_change_notifier.h',
206 'base/network_change_notifier_factory.h',
207 'base/network_change_notifier_linux.cc',
208 'base/network_change_notifier_linux.h',
209 'base/network_change_notifier_mac.cc',
210 'base/network_change_notifier_mac.h',
211 'base/network_change_notifier_win.cc',
212 'base/network_change_notifier_win.h',
213 'base/network_config_watcher_mac.cc',
214 'base/network_config_watcher_mac.h',
215 'base/network_delegate.cc',
216 'base/network_delegate.h',
217 'base/nss_cert_database.cc',
218 'base/nss_cert_database.h',
221 'base/openssl_memory_private_key_store.cc',
222 'base/openssl_private_key_store.h',
223 'base/openssl_private_key_store_android.cc',
224 'base/pem_tokenizer.cc',
225 'base/pem_tokenizer.h',
226 'base/platform_mime_util.h',
227 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
228 'base/platform_mime_util_linux.cc',
229 'base/platform_mime_util_mac.mm',
230 'base/platform_mime_util_win.cc',
231 'base/prioritized_dispatcher.cc',
232 'base/prioritized_dispatcher.h',
233 'base/priority_queue.h',
234 'base/rand_callback.h',
235 'base/registry_controlled_domains/registry_controlled_domain.cc',
236 'base/registry_controlled_domains/registry_controlled_domain.h',
237 'base/request_priority.h',
238 'base/sdch_filter.cc',
239 'base/sdch_filter.h',
240 'base/sdch_manager.cc',
241 'base/sdch_manager.h',
242 'base/server_bound_cert_service.cc',
243 'base/server_bound_cert_service.h',
244 'base/server_bound_cert_store.cc',
245 'base/server_bound_cert_store.h',
246 'base/single_request_cert_verifier.cc',
247 'base/single_request_cert_verifier.h',
248 'base/single_request_host_resolver.cc',
249 'base/single_request_host_resolver.h',
250 'base/ssl_cert_request_info.cc',
251 'base/ssl_cert_request_info.h',
252 'base/ssl_cipher_suite_names.cc',
253 'base/ssl_cipher_suite_names.h',
254 'base/ssl_client_auth_cache.cc',
255 'base/ssl_client_auth_cache.h',
256 'base/ssl_client_cert_type.h',
257 'base/ssl_config_service.cc',
258 'base/ssl_config_service.h',
259 'base/ssl_config_service_defaults.cc',
260 'base/ssl_config_service_defaults.h',
263 'base/static_cookie_policy.cc',
264 'base/static_cookie_policy.h',
265 'base/stream_listen_socket.cc',
266 'base/stream_listen_socket.h',
267 'base/sys_addrinfo.h',
268 'base/tcp_listen_socket.cc',
269 'base/tcp_listen_socket.h',
270 'base/test_data_stream.cc',
271 'base/test_data_stream.h',
272 'base/test_root_certs.cc',
273 'base/test_root_certs.h',
274 'base/test_root_certs_mac.cc',
275 'base/test_root_certs_nss.cc',
276 'base/test_root_certs_openssl.cc',
277 'base/test_root_certs_win.cc',
278 'base/transport_security_state.cc',
279 'base/transport_security_state.h',
280 'base/transport_security_state_static.h',
281 'base/unix_domain_socket_posix.cc',
282 'base/unix_domain_socket_posix.h',
283 'base/upload_bytes_element_reader.cc',
284 'base/upload_bytes_element_reader.h',
285 'base/upload_data.cc',
286 'base/upload_data.h',
287 'base/upload_data_stream.cc',
288 'base/upload_data_stream.h',
289 'base/upload_element.cc',
290 'base/upload_element.h',
291 'base/upload_element_reader.cc',
292 'base/upload_element_reader.h',
293 'base/upload_file_element_reader.cc',
294 'base/upload_file_element_reader.h',
295 'base/upload_progress.h',
296 'base/winsock_init.cc',
297 'base/winsock_init.h',
298 'base/winsock_util.cc',
299 'base/winsock_util.h',
300 'base/x509_cert_types.cc',
301 'base/x509_cert_types.h',
302 'base/x509_cert_types_mac.cc',
303 'base/x509_cert_types_win.cc',
304 'base/x509_certificate.cc',
305 'base/x509_certificate.h',
306 'base/x509_certificate_ios.cc',
307 'base/x509_certificate_mac.cc',
308 'base/x509_certificate_net_log_param.cc',
309 'base/x509_certificate_net_log_param.h',
310 'base/x509_certificate_nss.cc',
311 'base/x509_certificate_openssl.cc',
312 'base/x509_certificate_win.cc',
315 'base/x509_util_ios.cc',
316 'base/x509_util_ios.h',
317 'base/x509_util_mac.cc',
318 'base/x509_util_mac.h',
319 'base/x509_util_nss.cc',
320 'base/x509_util_nss.h',
321 'base/x509_util_openssl.cc',
322 'base/x509_util_openssl.h',
325 'cookies/canonical_cookie.cc',
326 'cookies/canonical_cookie.h',
327 'cookies/cookie_monster.cc',
328 'cookies/cookie_monster.h',
329 'cookies/cookie_options.h',
330 'cookies/cookie_store.cc',
331 'cookies/cookie_store.h',
332 'cookies/cookie_util.cc',
333 'cookies/cookie_util.h',
334 'cookies/parsed_cookie.cc',
335 'cookies/parsed_cookie.h',
336 'disk_cache/addr.cc',
338 'disk_cache/backend_impl.cc',
339 'disk_cache/backend_impl.h',
340 'disk_cache/bitmap.cc',
341 'disk_cache/bitmap.h',
342 'disk_cache/block_files.cc',
343 'disk_cache/block_files.h',
344 'disk_cache/cache_util.h',
345 'disk_cache/cache_util_posix.cc',
346 'disk_cache/cache_util_win.cc',
347 'disk_cache/disk_cache.h',
348 'disk_cache/disk_format.cc',
349 'disk_cache/disk_format.h',
350 'disk_cache/entry_impl.cc',
351 'disk_cache/entry_impl.h',
352 'disk_cache/errors.h',
353 'disk_cache/eviction.cc',
354 'disk_cache/eviction.h',
355 'disk_cache/experiments.h',
356 'disk_cache/file.cc',
358 'disk_cache/file_block.h',
359 'disk_cache/file_lock.cc',
360 'disk_cache/file_lock.h',
361 'disk_cache/file_posix.cc',
362 'disk_cache/file_win.cc',
363 'disk_cache/histogram_macros.h',
364 'disk_cache/in_flight_backend_io.cc',
365 'disk_cache/in_flight_backend_io.h',
366 'disk_cache/in_flight_io.cc',
367 'disk_cache/in_flight_io.h',
368 'disk_cache/mapped_file.h',
369 'disk_cache/mapped_file_posix.cc',
370 'disk_cache/mapped_file_avoid_mmap_posix.cc',
371 'disk_cache/mapped_file_win.cc',
372 'disk_cache/mem_backend_impl.cc',
373 'disk_cache/mem_backend_impl.h',
374 'disk_cache/mem_entry_impl.cc',
375 'disk_cache/mem_entry_impl.h',
376 'disk_cache/mem_rankings.cc',
377 'disk_cache/mem_rankings.h',
378 'disk_cache/net_log_parameters.cc',
379 'disk_cache/net_log_parameters.h',
380 'disk_cache/rankings.cc',
381 'disk_cache/rankings.h',
382 'disk_cache/sparse_control.cc',
383 'disk_cache/sparse_control.h',
384 'disk_cache/stats.cc',
385 'disk_cache/stats.h',
386 'disk_cache/stats_histogram.cc',
387 'disk_cache/stats_histogram.h',
388 'disk_cache/storage_block-inl.h',
389 'disk_cache/storage_block.h',
390 'disk_cache/stress_support.h',
391 'disk_cache/trace.cc',
392 'disk_cache/trace.h',
393 'disk_cache/flash/format.h',
394 'disk_cache/flash/segment.h',
395 'disk_cache/flash/segment.cc',
396 'disk_cache/flash/storage.h',
397 'disk_cache/flash/storage.cc',
398 'dns/address_sorter.h',
399 'dns/address_sorter_posix.cc',
400 'dns/address_sorter_posix.h',
401 'dns/address_sorter_win.cc',
404 'dns/dns_config_service.cc',
405 'dns/dns_config_service.h',
406 'dns/dns_config_service_posix.cc',
407 'dns/dns_config_service_posix.h',
408 'dns/dns_config_service_win.cc',
409 'dns/dns_config_service_win.h',
412 'dns/dns_protocol.h',
415 'dns/dns_response.cc',
416 'dns/dns_response.h',
417 'dns/dns_session.cc',
419 'dns/dns_transaction.cc',
420 'dns/dns_transaction.h',
421 'dns/notify_watcher_mac.cc',
422 'dns/notify_watcher_mac.h',
423 'dns/serial_worker.cc',
424 'dns/serial_worker.h',
425 'ftp/ftp_auth_cache.cc',
426 'ftp/ftp_auth_cache.h',
427 'ftp/ftp_ctrl_response_buffer.cc',
428 'ftp/ftp_ctrl_response_buffer.h',
429 'ftp/ftp_directory_listing_parser.cc',
430 'ftp/ftp_directory_listing_parser.h',
431 'ftp/ftp_directory_listing_parser_ls.cc',
432 'ftp/ftp_directory_listing_parser_ls.h',
433 'ftp/ftp_directory_listing_parser_netware.cc',
434 'ftp/ftp_directory_listing_parser_netware.h',
435 'ftp/ftp_directory_listing_parser_os2.cc',
436 'ftp/ftp_directory_listing_parser_os2.h',
437 'ftp/ftp_directory_listing_parser_vms.cc',
438 'ftp/ftp_directory_listing_parser_vms.h',
439 'ftp/ftp_directory_listing_parser_windows.cc',
440 'ftp/ftp_directory_listing_parser_windows.h',
441 'ftp/ftp_network_layer.cc',
442 'ftp/ftp_network_layer.h',
443 'ftp/ftp_network_session.cc',
444 'ftp/ftp_network_session.h',
445 'ftp/ftp_network_transaction.cc',
446 'ftp/ftp_network_transaction.h',
447 'ftp/ftp_request_info.h',
448 'ftp/ftp_response_info.cc',
449 'ftp/ftp_response_info.h',
450 'ftp/ftp_server_type_histograms.cc',
451 'ftp/ftp_server_type_histograms.h',
452 'ftp/ftp_transaction.h',
453 'ftp/ftp_transaction_factory.h',
458 'http/http_atom_list.h',
461 'http/http_auth_cache.cc',
462 'http/http_auth_cache.h',
463 'http/http_auth_controller.cc',
464 'http/http_auth_controller.h',
465 'http/http_auth_filter.cc',
466 'http/http_auth_filter.h',
467 'http/http_auth_filter_win.h',
468 'http/http_auth_gssapi_posix.cc',
469 'http/http_auth_gssapi_posix.h',
470 'http/http_auth_handler.cc',
471 'http/http_auth_handler.h',
472 'http/http_auth_handler_basic.cc',
473 'http/http_auth_handler_basic.h',
474 'http/http_auth_handler_digest.cc',
475 'http/http_auth_handler_digest.h',
476 'http/http_auth_handler_factory.cc',
477 'http/http_auth_handler_factory.h',
478 'http/http_auth_handler_negotiate.cc',
479 'http/http_auth_handler_negotiate.h',
480 'http/http_auth_handler_ntlm.cc',
481 'http/http_auth_handler_ntlm.h',
482 'http/http_auth_handler_ntlm_portable.cc',
483 'http/http_auth_handler_ntlm_win.cc',
484 'http/http_auth_sspi_win.cc',
485 'http/http_auth_sspi_win.h',
486 'http/http_basic_stream.cc',
487 'http/http_basic_stream.h',
488 'http/http_byte_range.cc',
489 'http/http_byte_range.h',
490 'http/http_cache.cc',
492 'http/http_cache_transaction.cc',
493 'http/http_cache_transaction.h',
494 'http/http_content_disposition.cc',
495 'http/http_content_disposition.h',
496 'http/http_chunked_decoder.cc',
497 'http/http_chunked_decoder.h',
498 'http/http_network_layer.cc',
499 'http/http_network_layer.h',
500 'http/http_network_session.cc',
501 'http/http_network_session.h',
502 'http/http_network_session_peer.cc',
503 'http/http_network_session_peer.h',
504 'http/http_network_transaction.cc',
505 'http/http_network_transaction.h',
506 'http/http_pipelined_connection.h',
507 'http/http_pipelined_connection_impl.cc',
508 'http/http_pipelined_connection_impl.h',
509 'http/http_pipelined_host.cc',
510 'http/http_pipelined_host.h',
511 'http/http_pipelined_host_capability.h',
512 'http/http_pipelined_host_forced.cc',
513 'http/http_pipelined_host_forced.h',
514 'http/http_pipelined_host_impl.cc',
515 'http/http_pipelined_host_impl.h',
516 'http/http_pipelined_host_pool.cc',
517 'http/http_pipelined_host_pool.h',
518 'http/http_pipelined_stream.cc',
519 'http/http_pipelined_stream.h',
520 'http/http_proxy_client_socket.cc',
521 'http/http_proxy_client_socket.h',
522 'http/http_proxy_client_socket_pool.cc',
523 'http/http_proxy_client_socket_pool.h',
524 'http/http_request_headers.cc',
525 'http/http_request_headers.h',
526 'http/http_request_info.cc',
527 'http/http_request_info.h',
528 'http/http_response_body_drainer.cc',
529 'http/http_response_body_drainer.h',
530 'http/http_response_headers.cc',
531 'http/http_response_headers.h',
532 'http/http_response_info.cc',
533 'http/http_response_info.h',
534 'http/http_server_properties.cc',
535 'http/http_server_properties.h',
536 'http/http_server_properties_impl.cc',
537 'http/http_server_properties_impl.h',
538 'http/http_status_code.h',
539 'http/http_stream.h',
540 'http/http_stream_base.h',
541 'http/http_stream_factory.cc',
542 'http/http_stream_factory.h',
543 'http/http_stream_factory_impl.cc',
544 'http/http_stream_factory_impl.h',
545 'http/http_stream_factory_impl_job.cc',
546 'http/http_stream_factory_impl_job.h',
547 'http/http_stream_factory_impl_request.cc',
548 'http/http_stream_factory_impl_request.h',
549 'http/http_stream_parser.cc',
550 'http/http_stream_parser.h',
551 'http/http_transaction.h',
552 'http/http_transaction_delegate.h',
553 'http/http_transaction_factory.h',
556 'http/http_util_icu.cc',
557 'http/http_vary_data.cc',
558 'http/http_vary_data.h',
559 'http/http_version.h',
560 'http/infinite_cache.cc',
561 'http/infinite_cache.h',
564 'http/partial_data.cc',
565 'http/partial_data.h',
566 'http/proxy_client_socket.h',
567 'http/proxy_client_socket.cc',
568 'http/url_security_manager.cc',
569 'http/url_security_manager.h',
570 'http/url_security_manager_posix.cc',
571 'http/url_security_manager_win.cc',
574 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
575 'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
576 'proxy/dhcp_proxy_script_fetcher.cc',
577 'proxy/dhcp_proxy_script_fetcher.h',
578 'proxy/dhcp_proxy_script_fetcher_factory.cc',
579 'proxy/dhcp_proxy_script_fetcher_factory.h',
580 'proxy/dhcp_proxy_script_fetcher_win.cc',
581 'proxy/dhcp_proxy_script_fetcher_win.h',
582 'proxy/dhcpcsvc_init_win.cc',
583 'proxy/dhcpcsvc_init_win.h',
584 'proxy/multi_threaded_proxy_resolver.cc',
585 'proxy/multi_threaded_proxy_resolver.h',
586 'proxy/network_delegate_error_observer.cc',
587 'proxy/network_delegate_error_observer.h',
588 'proxy/polling_proxy_config_service.cc',
589 'proxy/polling_proxy_config_service.h',
590 'proxy/proxy_bypass_rules.cc',
591 'proxy/proxy_bypass_rules.h',
592 'proxy/proxy_config.cc',
593 'proxy/proxy_config.h',
594 'proxy/proxy_config_service.h',
595 'proxy/proxy_config_service_android.cc',
596 'proxy/proxy_config_service_android.h',
597 'proxy/proxy_config_service_fixed.cc',
598 'proxy/proxy_config_service_fixed.h',
599 'proxy/proxy_config_service_ios.cc',
600 'proxy/proxy_config_service_ios.h',
601 'proxy/proxy_config_service_linux.cc',
602 'proxy/proxy_config_service_linux.h',
603 'proxy/proxy_config_service_mac.cc',
604 'proxy/proxy_config_service_mac.h',
605 'proxy/proxy_config_service_win.cc',
606 'proxy/proxy_config_service_win.h',
607 'proxy/proxy_config_source.cc',
608 'proxy/proxy_config_source.h',
609 'proxy/proxy_info.cc',
610 'proxy/proxy_info.h',
611 'proxy/proxy_list.cc',
612 'proxy/proxy_list.h',
613 'proxy/proxy_resolver.h',
614 'proxy/proxy_resolver_error_observer.h',
615 'proxy/proxy_resolver_js_bindings.cc',
616 'proxy/proxy_resolver_js_bindings.h',
617 'proxy/proxy_resolver_mac.cc',
618 'proxy/proxy_resolver_mac.h',
619 'proxy/proxy_resolver_request_context.h',
620 'proxy/proxy_resolver_script.h',
621 'proxy/proxy_resolver_script_data.cc',
622 'proxy/proxy_resolver_script_data.h',
623 'proxy/proxy_resolver_winhttp.cc',
624 'proxy/proxy_resolver_winhttp.h',
625 'proxy/proxy_retry_info.h',
626 'proxy/proxy_script_decider.cc',
627 'proxy/proxy_script_decider.h',
628 'proxy/proxy_script_fetcher.h',
629 'proxy/proxy_script_fetcher_impl.cc',
630 'proxy/proxy_script_fetcher_impl.h',
631 'proxy/proxy_server.cc',
632 'proxy/proxy_server.h',
633 'proxy/proxy_server_mac.cc',
634 'proxy/proxy_service.cc',
635 'proxy/proxy_service.h',
636 'proxy/sync_host_resolver.h',
637 'proxy/sync_host_resolver_bridge.cc',
638 'proxy/sync_host_resolver_bridge.h',
639 'quic/congestion_control/fix_rate_receiver.cc',
640 'quic/congestion_control/fix_rate_receiver.h',
641 'quic/congestion_control/fix_rate_sender.cc',
642 'quic/congestion_control/fix_rate_sender.h',
643 'quic/congestion_control/leaky_bucket.cc',
644 'quic/congestion_control/leaky_bucket.h',
645 'quic/congestion_control/paced_sender.cc',
646 'quic/congestion_control/paced_sender.h',
647 'quic/congestion_control/quic_receipt_metrics_collector.cc',
648 'quic/congestion_control/quic_receipt_metrics_collector.h',
649 'quic/congestion_control/quic_send_scheduler.cc',
650 'quic/congestion_control/quic_send_scheduler.h',
651 'quic/congestion_control/receive_algorithm_interface.cc',
652 'quic/congestion_control/receive_algorithm_interface.h',
653 'quic/congestion_control/send_algorithm_interface.cc',
654 'quic/congestion_control/send_algorithm_interface.h',
655 'quic/crypto/crypto_framer.cc',
656 'quic/crypto/crypto_framer.h',
657 'quic/crypto/crypto_protocol.cc',
658 'quic/crypto/crypto_protocol.h',
659 'quic/crypto/null_decrypter.cc',
660 'quic/crypto/null_encrypter.cc',
661 'quic/crypto/quic_decrypter.h',
662 'quic/crypto/quic_decrypter.cc',
663 'quic/crypto/quic_encrypter.h',
664 'quic/crypto/quic_encrypter.cc',
665 'quic/quic_client_session.cc',
666 'quic/quic_client_session.h',
667 'quic/quic_crypto_client_stream.cc',
668 'quic/quic_crypto_client_stream.h',
669 'quic/quic_crypto_stream.cc',
670 'quic/quic_crypto_stream.h',
671 'quic/quic_clock.cc',
673 'quic/quic_connection.cc',
674 'quic/quic_connection.h',
675 'quic/quic_connection_helper.cc',
676 'quic/quic_connection_helper.h',
677 'quic/quic_data_reader.cc',
678 'quic/quic_data_reader.h',
679 'quic/quic_data_writer.cc',
680 'quic/quic_data_writer.h',
681 'quic/quic_fec_group.cc',
682 'quic/quic_fec_group.h',
683 'quic/quic_framer.cc',
684 'quic/quic_framer.h',
685 'quic/quic_packet_creator.cc',
686 'quic/quic_packet_creator.h',
687 'quic/quic_protocol.cc',
688 'quic/quic_protocol.h',
689 'quic/quic_reliable_client_stream.cc',
690 'quic/quic_reliable_client_stream.h',
691 'quic/quic_session.cc',
692 'quic/quic_session.h',
693 'quic/quic_stream_sequencer.cc',
694 'quic/quic_stream_sequencer.h',
697 'quic/quic_utils.cc',
699 'quic/reliable_quic_stream.cc',
700 'quic/reliable_quic_stream.h',
701 'socket/buffered_write_stream_socket.cc',
702 'socket/buffered_write_stream_socket.h',
703 'socket/client_socket_factory.cc',
704 'socket/client_socket_factory.h',
705 'socket/client_socket_handle.cc',
706 'socket/client_socket_handle.h',
707 'socket/client_socket_pool.cc',
708 'socket/client_socket_pool.h',
709 'socket/client_socket_pool_base.cc',
710 'socket/client_socket_pool_base.h',
711 'socket/client_socket_pool_histograms.cc',
712 'socket/client_socket_pool_histograms.h',
713 'socket/client_socket_pool_manager.cc',
714 'socket/client_socket_pool_manager.h',
715 'socket/client_socket_pool_manager_impl.cc',
716 'socket/client_socket_pool_manager_impl.h',
717 'socket/next_proto.h',
718 'socket/nss_ssl_util.cc',
719 'socket/nss_ssl_util.h',
720 'socket/server_socket.h',
721 'socket/socket_net_log_params.cc',
722 'socket/socket_net_log_params.h',
724 'socket/socks5_client_socket.cc',
725 'socket/socks5_client_socket.h',
726 'socket/socks_client_socket.cc',
727 'socket/socks_client_socket.h',
728 'socket/socks_client_socket_pool.cc',
729 'socket/socks_client_socket_pool.h',
730 'socket/ssl_client_socket.cc',
731 'socket/ssl_client_socket.h',
732 'socket/ssl_client_socket_mac.cc',
733 'socket/ssl_client_socket_mac.h',
734 'socket/ssl_client_socket_nss.cc',
735 'socket/ssl_client_socket_nss.h',
736 'socket/ssl_client_socket_openssl.cc',
737 'socket/ssl_client_socket_openssl.h',
738 'socket/ssl_client_socket_pool.cc',
739 'socket/ssl_client_socket_pool.h',
740 'socket/ssl_client_socket_win.cc',
741 'socket/ssl_client_socket_win.h',
742 'socket/ssl_error_params.cc',
743 'socket/ssl_error_params.h',
744 'socket/ssl_server_socket.h',
745 'socket/ssl_server_socket_nss.cc',
746 'socket/ssl_server_socket_nss.h',
747 'socket/ssl_server_socket_openssl.cc',
748 'socket/ssl_socket.h',
749 'socket/stream_socket.cc',
750 'socket/stream_socket.h',
751 'socket/tcp_client_socket.cc',
752 'socket/tcp_client_socket.h',
753 'socket/tcp_client_socket_libevent.cc',
754 'socket/tcp_client_socket_libevent.h',
755 'socket/tcp_client_socket_win.cc',
756 'socket/tcp_client_socket_win.h',
757 'socket/tcp_server_socket.h',
758 'socket/tcp_server_socket_libevent.cc',
759 'socket/tcp_server_socket_libevent.h',
760 'socket/tcp_server_socket_win.cc',
761 'socket/tcp_server_socket_win.h',
762 'socket/transport_client_socket_pool.cc',
763 'socket/transport_client_socket_pool.h',
764 'socket_stream/socket_stream.cc',
765 'socket_stream/socket_stream.h',
766 'socket_stream/socket_stream_job.cc',
767 'socket_stream/socket_stream_job.h',
768 'socket_stream/socket_stream_job_manager.cc',
769 'socket_stream/socket_stream_job_manager.h',
770 'socket_stream/socket_stream_metrics.cc',
771 'socket_stream/socket_stream_metrics.h',
772 'spdy/buffered_spdy_framer.cc',
773 'spdy/buffered_spdy_framer.h',
774 'spdy/spdy_bitmasks.h',
775 'spdy/spdy_credential_builder.cc',
776 'spdy/spdy_credential_builder.h',
777 'spdy/spdy_credential_state.cc',
778 'spdy/spdy_credential_state.h',
779 'spdy/spdy_frame_builder.cc',
780 'spdy/spdy_frame_builder.h',
781 'spdy/spdy_frame_reader.cc',
782 'spdy/spdy_frame_reader.h',
783 'spdy/spdy_framer.cc',
784 'spdy/spdy_framer.h',
785 'spdy/spdy_header_block.cc',
786 'spdy/spdy_header_block.h',
787 'spdy/spdy_http_stream.cc',
788 'spdy/spdy_http_stream.h',
789 'spdy/spdy_http_utils.cc',
790 'spdy/spdy_http_utils.h',
791 'spdy/spdy_io_buffer.cc',
792 'spdy/spdy_io_buffer.h',
793 'spdy/spdy_protocol.h',
794 'spdy/spdy_proxy_client_socket.cc',
795 'spdy/spdy_proxy_client_socket.h',
796 'spdy/spdy_session.cc',
797 'spdy/spdy_session.h',
798 'spdy/spdy_session_pool.cc',
799 'spdy/spdy_session_pool.h',
800 'spdy/spdy_stream.cc',
801 'spdy/spdy_stream.h',
802 'spdy/spdy_websocket_stream.cc',
803 'spdy/spdy_websocket_stream.h',
804 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
805 'third_party/mozilla_security_manager/nsKeygenHandler.h',
806 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
807 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
808 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
809 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
810 'udp/datagram_client_socket.h',
811 'udp/datagram_server_socket.h',
812 'udp/datagram_socket.h',
813 'udp/udp_client_socket.cc',
814 'udp/udp_client_socket.h',
815 'udp/udp_net_log_parameters.cc',
816 'udp/udp_net_log_parameters.h',
817 'udp/udp_server_socket.cc',
818 'udp/udp_server_socket.h',
820 'udp/udp_socket_libevent.cc',
821 'udp/udp_socket_libevent.h',
822 'udp/udp_socket_win.cc',
823 'udp/udp_socket_win.h',
824 'url_request/data_protocol_handler.cc',
825 'url_request/data_protocol_handler.h',
826 'url_request/file_protocol_handler.cc',
827 'url_request/file_protocol_handler.h',
828 'url_request/fraudulent_certificate_reporter.h',
829 'url_request/ftp_protocol_handler.cc',
830 'url_request/ftp_protocol_handler.h',
831 'url_request/http_user_agent_settings.h',
832 'url_request/static_http_user_agent_settings.cc',
833 'url_request/static_http_user_agent_settings.h',
834 'url_request/url_fetcher.cc',
835 'url_request/url_fetcher.h',
836 'url_request/url_fetcher_core.cc',
837 'url_request/url_fetcher_core.h',
838 'url_request/url_fetcher_delegate.cc',
839 'url_request/url_fetcher_delegate.h',
840 'url_request/url_fetcher_factory.h',
841 'url_request/url_fetcher_impl.cc',
842 'url_request/url_fetcher_impl.h',
843 'url_request/url_request.cc',
844 'url_request/url_request.h',
845 'url_request/url_request_about_job.cc',
846 'url_request/url_request_about_job.h',
847 'url_request/url_request_context.cc',
848 'url_request/url_request_context.h',
849 'url_request/url_request_context_builder.cc',
850 'url_request/url_request_context_builder.h',
851 'url_request/url_request_context_getter.cc',
852 'url_request/url_request_context_getter.h',
853 'url_request/url_request_context_storage.cc',
854 'url_request/url_request_context_storage.h',
855 'url_request/url_request_data_job.cc',
856 'url_request/url_request_data_job.h',
857 'url_request/url_request_error_job.cc',
858 'url_request/url_request_error_job.h',
859 'url_request/url_request_file_dir_job.cc',
860 'url_request/url_request_file_dir_job.h',
861 'url_request/url_request_file_job.cc',
862 'url_request/url_request_file_job.h',
863 'url_request/url_request_filter.cc',
864 'url_request/url_request_filter.h',
865 'url_request/url_request_ftp_job.cc',
866 'url_request/url_request_ftp_job.h',
867 'url_request/url_request_http_job.cc',
868 'url_request/url_request_http_job.h',
869 'url_request/url_request_job.cc',
870 'url_request/url_request_job.h',
871 'url_request/url_request_job_factory.cc',
872 'url_request/url_request_job_factory.h',
873 'url_request/url_request_job_factory_impl.cc',
874 'url_request/url_request_job_factory_impl.h',
875 'url_request/url_request_job_manager.cc',
876 'url_request/url_request_job_manager.h',
877 'url_request/url_request_netlog_params.cc',
878 'url_request/url_request_netlog_params.h',
879 'url_request/url_request_redirect_job.cc',
880 'url_request/url_request_redirect_job.h',
881 'url_request/url_request_simple_job.cc',
882 'url_request/url_request_simple_job.h',
883 'url_request/url_request_status.h',
884 'url_request/url_request_test_job.cc',
885 'url_request/url_request_test_job.h',
886 'url_request/url_request_throttler_entry.cc',
887 'url_request/url_request_throttler_entry.h',
888 'url_request/url_request_throttler_entry_interface.h',
889 'url_request/url_request_throttler_header_adapter.cc',
890 'url_request/url_request_throttler_header_adapter.h',
891 'url_request/url_request_throttler_header_interface.h',
892 'url_request/url_request_throttler_manager.cc',
893 'url_request/url_request_throttler_manager.h',
894 'url_request/view_cache_helper.cc',
895 'url_request/view_cache_helper.h',
896 'websockets/websocket_frame.cc',
897 'websockets/websocket_frame.h',
898 'websockets/websocket_frame_parser.cc',
899 'websockets/websocket_frame_parser.h',
900 'websockets/websocket_handshake_handler.cc',
901 'websockets/websocket_handshake_handler.h',
902 'websockets/websocket_job.cc',
903 'websockets/websocket_job.h',
904 'websockets/websocket_net_log_params.cc',
905 'websockets/websocket_net_log_params.h',
906 'websockets/websocket_stream.h',
907 'websockets/websocket_throttle.cc',
908 'websockets/websocket_throttle.h',
911 'NET_IMPLEMENTATION',
913 'export_dependent_settings': [
914 '../base/base.gyp:base',
919 'base/network_change_notifier_linux.cc',
920 'base/network_change_notifier_linux.h',
921 'base/network_change_notifier_netlink_linux.cc',
922 'base/network_change_notifier_netlink_linux.h',
923 'proxy/proxy_config_service_linux.cc',
924 'proxy/proxy_config_service_linux.h',
927 ['use_kerberos==1', {
934 '/usr/include/kerberosV'
937 ['linux_link_kerberos==1', {
940 '<!@(krb5-config --libs gssapi)',
943 }, { # linux_link_kerberos==0
949 }, { # use_kerberos == 0
951 'http/http_auth_gssapi_posix.cc',
952 'http/http_auth_gssapi_posix.h',
953 'http/http_auth_handler_negotiate.h',
954 'http/http_auth_handler_negotiate.cc',
957 ['posix_avoid_mmap==1', {
961 'direct_dependent_settings': {
967 'disk_cache/mapped_file_posix.cc',
971 'disk_cache/mapped_file_avoid_mmap_posix.cc',
974 ['disable_ftp_support==1', {
976 ['exclude', '^ftp/'],
979 'url_request/ftp_protocol_handler.cc',
980 'url_request/ftp_protocol_handler.h',
981 'url_request/url_request_ftp_job.cc',
982 'url_request/url_request_ftp_job.h',
985 ['enable_built_in_dns==1', {
987 'ENABLE_BUILT_IN_DNS',
991 'dns/address_sorter_posix.cc',
992 'dns/address_sorter_posix.h',
998 'base/cert_database_nss.cc',
999 'base/cert_verify_proc_nss.cc',
1000 'base/cert_verify_proc_nss.h',
1001 'base/crypto_module_nss.cc',
1002 'base/dnssec_keyset.cc',
1003 'base/dnssec_keyset.h',
1004 'base/keygen_handler_nss.cc',
1005 'base/nss_cert_database.cc',
1006 'base/nss_cert_database.h',
1009 'base/test_root_certs_nss.cc',
1010 'base/x509_certificate_nss.cc',
1011 'base/x509_util_nss.cc',
1012 'base/x509_util_nss.h',
1015 'socket/nss_ssl_util.cc',
1016 'socket/nss_ssl_util.h',
1017 'socket/ssl_client_socket_nss.cc',
1018 'socket/ssl_client_socket_nss.h',
1019 'socket/ssl_server_socket_nss.cc',
1020 'socket/ssl_server_socket_nss.h',
1021 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1022 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1023 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1024 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1025 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1026 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1029 { # else !use_openssl: remove the unneeded files
1031 'base/cert_database_openssl.cc',
1032 'base/cert_verify_proc_openssl.cc',
1033 'base/cert_verify_proc_openssl.h',
1034 'base/crypto_module_openssl.cc',
1035 'base/keygen_handler_openssl.cc',
1036 'base/openssl_memory_private_key_store.cc',
1037 'base/openssl_private_key_store.h',
1038 'base/openssl_private_key_store_android.cc',
1039 'base/test_root_certs_openssl.cc',
1040 'base/x509_certificate_openssl.cc',
1041 'base/x509_util_openssl.cc',
1042 'base/x509_util_openssl.h',
1043 'socket/ssl_client_socket_openssl.cc',
1044 'socket/ssl_client_socket_openssl.h',
1045 'socket/ssl_server_socket_openssl.cc',
1049 [ 'use_glib == 1', {
1051 '../build/linux/system.gyp:gconf',
1052 '../build/linux/system.gyp:gio',
1055 ['use_openssl==1', {
1057 '../third_party/openssl/openssl.gyp:openssl',
1060 { # else use_openssl==0, use NSS
1062 '../build/linux/system.gyp:ssl',
1067 'base/network_change_notifier_linux.cc',
1068 'base/network_change_notifier_netlink_linux.cc',
1069 'proxy/proxy_config_service_linux.cc',
1073 '../build/linux/system.gyp:libresolv',
1085 { # else: OS is not in the above list
1087 'base/cert_database_nss.cc',
1088 'base/crypto_module_nss.cc',
1089 'base/keygen_handler_nss.cc',
1090 'base/nss_cert_database.cc',
1091 'base/nss_cert_database.h',
1092 'base/test_root_certs_nss.cc',
1093 'base/x509_certificate_nss.cc',
1096 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1097 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1098 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1099 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1100 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1101 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1105 [ 'toolkit_uses_gtk == 1', {
1107 '../build/linux/system.gyp:gdk',
1112 'base/cert_verify_proc_nss.cc',
1113 'base/cert_verify_proc_nss.h',
1116 [ 'enable_websockets != 1', {
1118 ['exclude', '^socket_stream/'],
1119 ['exclude', '^websockets/'],
1122 'spdy/spdy_websocket_stream.cc',
1123 'spdy/spdy_websocket_stream.h',
1128 'http/http_auth_handler_ntlm_portable.cc',
1129 'socket/tcp_client_socket_libevent.cc',
1130 'socket/tcp_client_socket_libevent.h',
1131 'socket/tcp_server_socket_libevent.cc',
1132 'socket/tcp_server_socket_libevent.h',
1133 'udp/udp_socket_libevent.cc',
1134 'udp/udp_socket_libevent.h',
1137 '../third_party/nss/nss.gyp:nspr',
1138 '../third_party/nss/nss.gyp:nss',
1139 'third_party/nss/ssl.gyp:libssl',
1142 }, { # else: OS != "win"
1144 'base/winsock_init.cc',
1145 'base/winsock_init.h',
1146 'base/winsock_util.cc',
1147 'base/winsock_util.h',
1148 'proxy/proxy_resolver_winhttp.cc',
1149 'proxy/proxy_resolver_winhttp.h',
1155 '../third_party/nss/nss.gyp:nspr',
1156 '../third_party/nss/nss.gyp:nss',
1157 'third_party/nss/ssl.gyp:libssl',
1161 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1162 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1163 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1164 '$(SDKROOT)/usr/lib/libresolv.dylib',
1171 '../third_party/nss/nss.gyp:nss',
1172 'third_party/nss/ssl.gyp:libssl',
1176 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1177 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1178 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1179 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1180 '$(SDKROOT)/usr/lib/libresolv.dylib',
1185 ['OS=="android" and _toolset=="target" and android_build_type == 0', {
1190 [ 'OS == "android"', {
1192 '../third_party/openssl/openssl.gyp:openssl',
1196 'base/dnssec_chain_verifier.cc',
1197 'base/openssl_memory_private_key_store.cc',
1199 }, { # else OS! = "android"
1201 # These are the features Android doesn't support.
1202 'ENABLE_MEDIA_CODEC_THEORA',
1206 [ 'OS == "linux"', {
1208 '../build/linux/system.gyp:dbus',
1209 '../dbus/dbus.gyp:dbus',
1214 'target_conditions': [
1215 # These source files are excluded by default platform rules, but they
1216 # are needed in specific cases on other platforms. Re-including them can
1217 # only be done in target_conditions as it is evaluated after the
1219 ['OS == "android"', {
1221 ['include', '^base/platform_mime_util_linux\\.cc$'],
1226 ['include', '^base/network_change_notifier_mac\\.cc$'],
1227 ['include', '^base/network_config_watcher_mac\\.cc$'],
1228 ['include', '^base/platform_mime_util_mac\\.mm$'],
1229 ['include', '^dns/notify_watcher_mac\\.cc$'],
1230 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1231 ['include', '^proxy/proxy_server_mac\\.cc$'],
1232 # The iOS implementation only partially uses NSS and thus does not
1233 # defines |use_nss|. In particular the |USE_NSS| preprocessor
1234 # definition is not used. The following files are needed though:
1235 ['include', '^base/cert_verify_proc_nss\\.cc$'],
1236 ['include', '^base/cert_verify_proc_nss\\.h$'],
1237 ['include', '^base/test_root_certs_nss\\.cc$'],
1238 ['include', '^base/x509_util_nss\\.cc$'],
1239 ['include', '^base/x509_util_nss\\.h$'],
1240 ['include', '^ocsp/nss_ocsp\\.cc$'],
1241 ['include', '^ocsp/nss_ocsp\\.h$'],
1247 'target_name': 'net_unittests',
1248 'type': '<(gtest_target_type)',
1250 '../base/base.gyp:base',
1251 '../base/base.gyp:base_i18n',
1252 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1253 '../build/temp_gyp/googleurl.gyp:googleurl',
1254 '../crypto/crypto.gyp:crypto',
1255 '../testing/gmock.gyp:gmock',
1256 '../testing/gtest.gyp:gtest',
1257 '../third_party/zlib/zlib.gyp:zlib',
1262 'android/network_change_notifier_android_unittest.cc',
1263 'base/address_list_unittest.cc',
1264 'base/address_tracker_linux_unittest.cc',
1265 'base/backoff_entry_unittest.cc',
1266 'base/big_endian_unittest.cc',
1267 'base/cert_verify_proc_unittest.cc',
1268 'base/crl_set_unittest.cc',
1269 'base/data_url_unittest.cc',
1270 'base/default_server_bound_cert_store_unittest.cc',
1271 'base/directory_lister_unittest.cc',
1272 'base/dnssec_unittest.cc',
1273 'base/dns_util_unittest.cc',
1274 'base/dnsrr_resolver_unittest.cc',
1275 'base/escape_unittest.cc',
1276 'base/ev_root_ca_metadata_unittest.cc',
1277 'base/expiring_cache_unittest.cc',
1278 'base/file_stream_unittest.cc',
1279 'base/filter_unittest.cc',
1280 'base/gzip_filter_unittest.cc',
1281 'base/host_cache_unittest.cc',
1282 'base/host_mapping_rules_unittest.cc',
1283 'base/host_port_pair_unittest.cc',
1284 'base/host_resolver_impl_unittest.cc',
1285 'base/ip_endpoint_unittest.cc',
1286 'base/keygen_handler_unittest.cc',
1287 'base/mapped_host_resolver_unittest.cc',
1288 'base/mime_sniffer_unittest.cc',
1289 'base/mime_util_unittest.cc',
1290 'base/mock_filter_context.cc',
1291 'base/mock_filter_context.h',
1292 'base/multi_threaded_cert_verifier_unittest.cc',
1293 'base/net_log_unittest.h',
1294 'base/net_util_unittest.cc',
1295 'base/network_change_notifier_linux_unittest.cc',
1296 'base/network_change_notifier_win_unittest.cc',
1297 'base/nss_cert_database_unittest.cc',
1298 'base/pem_tokenizer_unittest.cc',
1299 'base/prioritized_dispatcher_unittest.cc',
1300 'base/priority_queue_unittest.cc',
1301 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1302 'base/run_all_unittests.cc',
1303 'base/sdch_filter_unittest.cc',
1304 'base/server_bound_cert_service_unittest.cc',
1305 'base/single_request_host_resolver_unittest.cc',
1306 'base/ssl_cipher_suite_names_unittest.cc',
1307 'base/ssl_client_auth_cache_unittest.cc',
1308 'base/ssl_config_service_unittest.cc',
1309 'base/static_cookie_policy_unittest.cc',
1310 'base/tcp_listen_socket_unittest.cc',
1311 'base/tcp_listen_socket_unittest.h',
1312 'base/test_certificate_data.h',
1313 'base/test_completion_callback_unittest.cc',
1314 'base/transport_security_state_unittest.cc',
1315 'base/unix_domain_socket_posix_unittest.cc',
1316 'base/upload_bytes_element_reader_unittest.cc',
1317 'base/upload_data_stream_unittest.cc',
1318 'base/upload_file_element_reader_unittest.cc',
1319 'base/x509_certificate_unittest.cc',
1320 'base/x509_cert_types_unittest.cc',
1321 'base/x509_util_unittest.cc',
1322 'base/x509_util_nss_unittest.cc',
1323 'base/x509_util_openssl_unittest.cc',
1324 'cookies/canonical_cookie_unittest.cc',
1325 'cookies/cookie_monster_unittest.cc',
1326 'cookies/cookie_store_unittest.h',
1327 'cookies/cookie_util_unittest.cc',
1328 'cookies/parsed_cookie_unittest.cc',
1329 'disk_cache/addr_unittest.cc',
1330 'disk_cache/backend_unittest.cc',
1331 'disk_cache/bitmap_unittest.cc',
1332 'disk_cache/block_files_unittest.cc',
1333 'disk_cache/cache_util_unittest.cc',
1334 'disk_cache/entry_unittest.cc',
1335 'disk_cache/mapped_file_unittest.cc',
1336 'disk_cache/storage_block_unittest.cc',
1337 'disk_cache/flash/segment_unittest.cc',
1338 'disk_cache/flash/storage_unittest.cc',
1339 'dns/address_sorter_posix_unittest.cc',
1340 'dns/address_sorter_unittest.cc',
1341 'dns/dns_config_service_posix_unittest.cc',
1342 'dns/dns_config_service_unittest.cc',
1343 'dns/dns_config_service_win_unittest.cc',
1344 'dns/dns_hosts_unittest.cc',
1345 'dns/dns_query_unittest.cc',
1346 'dns/dns_response_unittest.cc',
1347 'dns/dns_transaction_unittest.cc',
1348 'dns/serial_worker_unittest.cc',
1349 'ftp/ftp_auth_cache_unittest.cc',
1350 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1351 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1352 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1353 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1354 'ftp/ftp_directory_listing_parser_unittest.cc',
1355 'ftp/ftp_directory_listing_parser_unittest.h',
1356 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1357 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1358 'ftp/ftp_network_transaction_unittest.cc',
1359 'ftp/ftp_util_unittest.cc',
1360 'http/des_unittest.cc',
1361 'http/http_auth_cache_unittest.cc',
1362 'http/http_auth_controller_unittest.cc',
1363 'http/http_auth_filter_unittest.cc',
1364 'http/http_auth_gssapi_posix_unittest.cc',
1365 'http/http_auth_handler_basic_unittest.cc',
1366 'http/http_auth_handler_digest_unittest.cc',
1367 'http/http_auth_handler_factory_unittest.cc',
1368 'http/http_auth_handler_mock.cc',
1369 'http/http_auth_handler_mock.h',
1370 'http/http_auth_handler_negotiate_unittest.cc',
1371 'http/http_auth_handler_unittest.cc',
1372 'http/http_auth_sspi_win_unittest.cc',
1373 'http/http_auth_unittest.cc',
1374 'http/http_byte_range_unittest.cc',
1375 'http/http_cache_unittest.cc',
1376 'http/http_chunked_decoder_unittest.cc',
1377 'http/http_content_disposition_unittest.cc',
1378 'http/http_network_layer_unittest.cc',
1379 'http/http_network_transaction_spdy3_unittest.cc',
1380 'http/http_network_transaction_spdy2_unittest.cc',
1381 'http/http_pipelined_connection_impl_unittest.cc',
1382 'http/http_pipelined_host_forced_unittest.cc',
1383 'http/http_pipelined_host_impl_unittest.cc',
1384 'http/http_pipelined_host_pool_unittest.cc',
1385 'http/http_pipelined_host_test_util.cc',
1386 'http/http_pipelined_host_test_util.h',
1387 'http/http_pipelined_network_transaction_unittest.cc',
1388 'http/http_proxy_client_socket_pool_spdy2_unittest.cc',
1389 'http/http_proxy_client_socket_pool_spdy3_unittest.cc',
1390 'http/http_request_headers_unittest.cc',
1391 'http/http_response_body_drainer_unittest.cc',
1392 'http/http_response_headers_unittest.cc',
1393 'http/http_server_properties_impl_unittest.cc',
1394 'http/http_stream_factory_impl_unittest.cc',
1395 'http/http_stream_parser_unittest.cc',
1396 'http/http_transaction_unittest.cc',
1397 'http/http_transaction_unittest.h',
1398 'http/http_util_unittest.cc',
1399 'http/http_vary_data_unittest.cc',
1400 'http/infinite_cache_unittest.cc',
1401 'http/mock_allow_url_security_manager.cc',
1402 'http/mock_allow_url_security_manager.h',
1403 'http/mock_gssapi_library_posix.cc',
1404 'http/mock_gssapi_library_posix.h',
1405 'http/mock_http_cache.cc',
1406 'http/mock_http_cache.h',
1407 'http/mock_sspi_library_win.cc',
1408 'http/mock_sspi_library_win.h',
1409 'http/url_security_manager_unittest.cc',
1410 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1411 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1412 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1413 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1414 'proxy/network_delegate_error_observer_unittest.cc',
1415 'proxy/proxy_bypass_rules_unittest.cc',
1416 'proxy/proxy_config_service_android_unittest.cc',
1417 'proxy/proxy_config_service_linux_unittest.cc',
1418 'proxy/proxy_config_service_win_unittest.cc',
1419 'proxy/proxy_config_unittest.cc',
1420 'proxy/proxy_info_unittest.cc',
1421 'proxy/proxy_list_unittest.cc',
1422 'proxy/proxy_resolver_js_bindings_unittest.cc',
1423 'proxy/proxy_resolver_v8_unittest.cc',
1424 'proxy/proxy_script_decider_unittest.cc',
1425 'proxy/proxy_script_fetcher_impl_unittest.cc',
1426 'proxy/proxy_server_unittest.cc',
1427 'proxy/proxy_service_unittest.cc',
1428 'proxy/sync_host_resolver_bridge_unittest.cc',
1429 'quic/congestion_control/fix_rate_test.cc',
1430 'quic/congestion_control/leaky_bucket_test.cc',
1431 'quic/congestion_control/paced_sender_test.cc',
1432 'quic/congestion_control/quic_receipt_metrics_collector_test.cc',
1433 'quic/congestion_control/quic_send_scheduler_test.cc',
1434 'quic/crypto/crypto_framer_test.cc',
1435 'quic/crypto/null_decrypter_test.cc',
1436 'quic/crypto/null_encrypter_test.cc',
1437 'quic/test_tools/mock_clock.cc',
1438 'quic/test_tools/mock_clock.h',
1439 'quic/test_tools/quic_test_utils.cc',
1440 'quic/test_tools/quic_test_utils.h',
1441 'quic/test_tools/test_task_runner.cc',
1442 'quic/test_tools/test_task_runner.h',
1443 'quic/quic_client_session_test.cc',
1444 'quic/quic_clock_test.cc',
1445 'quic/quic_connection_helper_test.cc',
1446 'quic/quic_connection_test.cc',
1447 'quic/quic_crypto_client_stream_test.cc',
1448 'quic/quic_crypto_stream_test.cc',
1449 'quic/quic_fec_group_test.cc',
1450 'quic/quic_framer_test.cc',
1451 'quic/quic_packet_creator_test.cc',
1452 'quic/quic_reliable_client_stream_test.cc',
1453 'quic/quic_session_test.cc',
1454 'quic/quic_stream_sequencer_test.cc',
1455 'quic/quic_time_test.cc',
1456 'socket/buffered_write_stream_socket_unittest.cc',
1457 'socket/client_socket_pool_base_unittest.cc',
1458 'socket/deterministic_socket_data_unittest.cc',
1459 'socket/mock_client_socket_pool_manager.cc',
1460 'socket/mock_client_socket_pool_manager.h',
1461 'socket/socks5_client_socket_unittest.cc',
1462 'socket/socks_client_socket_pool_unittest.cc',
1463 'socket/socks_client_socket_unittest.cc',
1464 'socket/ssl_client_socket_pool_unittest.cc',
1465 'socket/ssl_client_socket_unittest.cc',
1466 'socket/ssl_server_socket_unittest.cc',
1467 'socket/tcp_client_socket_unittest.cc',
1468 'socket/tcp_server_socket_unittest.cc',
1469 'socket/transport_client_socket_pool_unittest.cc',
1470 'socket/transport_client_socket_unittest.cc',
1471 'socket_stream/socket_stream_metrics_unittest.cc',
1472 'socket_stream/socket_stream_unittest.cc',
1473 'spdy/buffered_spdy_framer_spdy3_unittest.cc',
1474 'spdy/buffered_spdy_framer_spdy2_unittest.cc',
1475 'spdy/spdy_credential_builder_unittest.cc',
1476 'spdy/spdy_credential_state_unittest.cc',
1477 'spdy/spdy_frame_reader_test.cc',
1478 'spdy/spdy_framer_test.cc',
1479 'spdy/spdy_header_block_unittest.cc',
1480 'spdy/spdy_http_stream_spdy3_unittest.cc',
1481 'spdy/spdy_http_stream_spdy2_unittest.cc',
1482 'spdy/spdy_http_utils_unittest.cc',
1483 'spdy/spdy_network_transaction_spdy3_unittest.cc',
1484 'spdy/spdy_network_transaction_spdy2_unittest.cc',
1485 'spdy/spdy_protocol_test.cc',
1486 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
1487 'spdy/spdy_proxy_client_socket_spdy2_unittest.cc',
1488 'spdy/spdy_session_spdy3_unittest.cc',
1489 'spdy/spdy_session_spdy2_unittest.cc',
1490 'spdy/spdy_stream_spdy3_unittest.cc',
1491 'spdy/spdy_stream_spdy2_unittest.cc',
1492 'spdy/spdy_stream_test_util.cc',
1493 'spdy/spdy_stream_test_util.h',
1494 'spdy/spdy_test_util_spdy3.cc',
1495 'spdy/spdy_test_util_spdy3.h',
1496 'spdy/spdy_test_util_spdy2.cc',
1497 'spdy/spdy_test_util_spdy2.h',
1498 'spdy/spdy_websocket_stream_spdy2_unittest.cc',
1499 'spdy/spdy_websocket_stream_spdy3_unittest.cc',
1500 'spdy/spdy_websocket_test_util_spdy2.cc',
1501 'spdy/spdy_websocket_test_util_spdy2.h',
1502 'spdy/spdy_websocket_test_util_spdy3.cc',
1503 'spdy/spdy_websocket_test_util_spdy3.h',
1504 'test/python_utils_unittest.cc',
1505 'tools/dump_cache/url_to_filename_encoder.cc',
1506 'tools/dump_cache/url_to_filename_encoder.h',
1507 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1508 'tools/dump_cache/url_utilities.h',
1509 'tools/dump_cache/url_utilities.cc',
1510 'tools/dump_cache/url_utilities_unittest.cc',
1511 'udp/udp_socket_unittest.cc',
1512 'url_request/url_fetcher_impl_unittest.cc',
1513 'url_request/url_request_context_builder_unittest.cc',
1514 'url_request/url_request_filter_unittest.cc',
1515 'url_request/url_request_ftp_job_unittest.cc',
1516 'url_request/url_request_job_factory_impl_unittest.cc',
1517 'url_request/url_request_job_unittest.cc',
1518 'url_request/url_request_throttler_simulation_unittest.cc',
1519 'url_request/url_request_throttler_test_support.cc',
1520 'url_request/url_request_throttler_test_support.h',
1521 'url_request/url_request_throttler_unittest.cc',
1522 'url_request/url_request_unittest.cc',
1523 'url_request/view_cache_helper_unittest.cc',
1524 'websockets/websocket_frame_parser_unittest.cc',
1525 'websockets/websocket_frame_unittest.cc',
1526 'websockets/websocket_handshake_handler_unittest.cc',
1527 'websockets/websocket_handshake_handler_spdy2_unittest.cc',
1528 'websockets/websocket_handshake_handler_spdy3_unittest.cc',
1529 'websockets/websocket_job_spdy2_unittest.cc',
1530 'websockets/websocket_job_spdy3_unittest.cc',
1531 'websockets/websocket_net_log_params_unittest.cc',
1532 'websockets/websocket_throttle_unittest.cc',
1537 'base/network_change_notifier_linux_unittest.cc',
1538 'proxy/proxy_config_service_linux_unittest.cc',
1541 [ 'OS == "android"', {
1543 # No res_ninit() et al on Android, so this doesn't make a lot of
1545 'dns/dns_config_service_posix_unittest.cc',
1548 [ 'use_glib == 1', {
1550 '../build/linux/system.gyp:ssl',
1552 }, { # else use_glib == 0: !posix || mac
1554 'base/nss_cert_database_unittest.cc',
1558 [ 'toolkit_uses_gtk == 1', {
1560 '../build/linux/system.gyp:gtk',
1564 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1566 ['linux_use_tcmalloc==1', {
1568 '../base/allocator/allocator.gyp:allocator',
1573 [ 'use_kerberos==1', {
1577 }, { # use_kerberos == 0
1579 'http/http_auth_gssapi_posix_unittest.cc',
1580 'http/http_auth_handler_negotiate_unittest.cc',
1581 'http/mock_gssapi_library_posix.cc',
1582 'http/mock_gssapi_library_posix.h',
1585 [ 'use_openssl==1', {
1586 # When building for OpenSSL, we need to exclude NSS specific tests.
1587 # TODO(bulach): Add equivalent tests when the underlying
1588 # functionality is ported to OpenSSL.
1590 'base/x509_util_nss_unittest.cc',
1591 'base/dnssec_unittest.cc',
1592 'base/nss_cert_database_unittest.cc',
1594 }, { # else !use_openssl: remove the unneeded files
1596 'base/x509_util_openssl_unittest.cc',
1600 [ 'enable_websockets != 1', {
1602 ['exclude', '^socket_stream/'],
1603 ['exclude', '^websockets/'],
1604 ['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$'],
1607 [ 'disable_ftp_support==1', {
1609 ['exclude', '^ftp/'],
1612 'url_request/url_request_ftp_job_unittest.cc',
1616 [ 'enable_built_in_dns!=1', {
1618 'dns/address_sorter_posix_unittest.cc',
1619 'dns/address_sorter_unittest.cc',
1623 [ 'use_v8_in_net==1', {
1627 }, { # else: !use_v8_in_net
1629 'proxy/proxy_resolver_v8_unittest.cc',
1635 'dns/dns_config_service_posix_unittest.cc',
1636 'http/http_auth_gssapi_posix_unittest.cc',
1638 # This is needed to trigger the dll copy step on windows.
1639 # TODO(mark): Specifying this here shouldn't be necessary.
1641 '../third_party/icu/icu.gyp:icudata',
1642 '../third_party/nss/nss.gyp:nspr',
1643 '../third_party/nss/nss.gyp:nss',
1644 'third_party/nss/ssl.gyp:libssl',
1650 '../third_party/nss/nss.gyp:nspr',
1651 '../third_party/nss/nss.gyp:nss',
1652 'third_party/nss/ssl.gyp:libssl',
1658 '../third_party/nss/nss.gyp:nss',
1662 'action_name': 'copy_test_data',
1664 'test_data_files': [
1665 'data/ssl/certificates/',
1666 'data/url_request_unittest/',
1668 'test_data_prefix': 'net',
1670 'includes': [ '../build/copy_test_data_ios.gypi' ],
1674 # TODO(droger): The following tests are disabled because the
1675 # implementation is missing or incomplete.
1676 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
1677 'base/keygen_handler_unittest.cc',
1678 # Need to read input data files.
1679 'base/gzip_filter_unittest.cc',
1680 'disk_cache/backend_unittest.cc',
1681 'disk_cache/block_files_unittest.cc',
1682 'socket/ssl_server_socket_unittest.cc',
1684 'proxy/proxy_script_fetcher_impl_unittest.cc',
1685 'socket/ssl_client_socket_unittest.cc',
1686 'url_request/url_fetcher_impl_unittest.cc',
1687 'url_request/url_request_context_builder_unittest.cc',
1688 # Needs GetAppOutput().
1689 'test/python_utils_unittest.cc',
1691 # The following tests are disabled because they don't apply to
1693 # OS is not "linux" or "freebsd" or "openbsd".
1694 'base/unix_domain_socket_posix_unittest.cc',
1699 # These sources can't be built with coverage due to a
1700 # toolchain bug: http://openradar.appspot.com/radar?id=1499403
1701 'base/transport_security_state_unittest.cc',
1703 # These tests crash when run with coverage turned on due to an
1704 # issue with llvm_gcda_increment_indirect_counter:
1705 # http://crbug.com/156058
1706 'cookies/cookie_monster_unittest.cc',
1707 'cookies/cookie_store_unittest.h',
1708 'http/http_auth_controller_unittest.cc',
1709 'http/http_network_layer_unittest.cc',
1710 'http/http_network_transaction_spdy2_unittest.cc',
1711 'http/http_network_transaction_spdy3_unittest.cc',
1716 [ 'OS == "linux"', {
1718 '../build/linux/system.gyp:dbus',
1719 '../dbus/dbus.gyp:dbus_test_support',
1723 [ 'OS == "android"', {
1725 '../third_party/openssl/openssl.gyp:openssl',
1728 'dns/dns_config_service_posix_unittest.cc',
1732 ['OS == "android" and gtest_target_type == "shared_library"', {
1734 '../testing/android/native_test.gyp:native_test_native_code',
1737 [ 'OS != "win" and OS != "mac"', {
1739 'base/x509_cert_types_unittest.cc',
1745 'target_name': 'net_perftests',
1746 'type': 'executable',
1748 '../base/base.gyp:base',
1749 '../base/base.gyp:base_i18n',
1750 '../base/base.gyp:test_support_perf',
1751 '../build/temp_gyp/googleurl.gyp:googleurl',
1752 '../testing/gtest.gyp:gtest',
1757 'cookies/cookie_monster_perftest.cc',
1758 'disk_cache/disk_cache_perftest.cc',
1759 'proxy/proxy_resolver_perftest.cc',
1762 [ 'use_v8_in_net==1', {
1766 }, { # else: !use_v8_in_net
1768 'proxy/proxy_resolver_perftest.cc',
1772 # This is needed to trigger the dll copy step on windows.
1773 # TODO(mark): Specifying this here shouldn't be necessary.
1776 '../third_party/icu/icu.gyp:icudata',
1783 'target_name': 'net_test_support',
1784 'type': 'static_library',
1786 '../base/base.gyp:base',
1787 '../base/base.gyp:test_support_base',
1788 '../testing/gtest.gyp:gtest',
1791 'export_dependent_settings': [
1792 '../base/base.gyp:base',
1793 '../base/base.gyp:test_support_base',
1794 '../testing/gtest.gyp:gtest',
1797 'base/capturing_net_log.cc',
1798 'base/capturing_net_log.h',
1799 'base/cert_test_util.cc',
1800 'base/cert_test_util.h',
1801 'base/mock_cert_verifier.cc',
1802 'base/mock_cert_verifier.h',
1803 'base/mock_file_stream.cc',
1804 'base/mock_file_stream.h',
1805 'base/mock_host_resolver.cc',
1806 'base/mock_host_resolver.h',
1807 'base/net_test_suite.cc',
1808 'base/net_test_suite.h',
1809 'base/test_completion_callback.cc',
1810 'base/test_completion_callback.h',
1811 'base/test_data_directory.cc',
1812 'base/test_data_directory.h',
1813 'cookies/cookie_monster_store_test.cc',
1814 'cookies/cookie_monster_store_test.h',
1815 'cookies/cookie_store_test_callbacks.cc',
1816 'cookies/cookie_store_test_callbacks.h',
1817 'cookies/cookie_store_test_helpers.cc',
1818 'cookies/cookie_store_test_helpers.h',
1819 'disk_cache/disk_cache_test_base.cc',
1820 'disk_cache/disk_cache_test_base.h',
1821 'disk_cache/disk_cache_test_util.cc',
1822 'disk_cache/disk_cache_test_util.h',
1823 'disk_cache/flash/flash_cache_test_base.h',
1824 'disk_cache/flash/flash_cache_test_base.cc',
1825 'dns/dns_test_util.cc',
1826 'dns/dns_test_util.h',
1827 'proxy/mock_proxy_resolver.cc',
1828 'proxy/mock_proxy_resolver.h',
1829 'proxy/mock_proxy_script_fetcher.cc',
1830 'proxy/mock_proxy_script_fetcher.h',
1831 'proxy/proxy_config_service_common_unittest.cc',
1832 'proxy/proxy_config_service_common_unittest.h',
1833 'socket/socket_test_util.cc',
1834 'socket/socket_test_util.h',
1835 'test/base_test_server.cc',
1836 'test/base_test_server.h',
1837 'test/local_sync_test_server.cc',
1838 'test/local_sync_test_server.h',
1839 'test/local_test_server_posix.cc',
1840 'test/local_test_server_win.cc',
1841 'test/local_test_server.cc',
1842 'test/local_test_server.h',
1843 'test/python_utils.cc',
1844 'test/python_utils.h',
1845 'test/remote_test_server.cc',
1846 'test/remote_test_server.h',
1847 'test/spawner_communicator.cc',
1848 'test/spawner_communicator.h',
1849 'test/test_server.h',
1850 'url_request/test_url_fetcher_factory.cc',
1851 'url_request/test_url_fetcher_factory.h',
1852 'url_request/url_request_test_util.cc',
1853 'url_request/url_request_test_util.h',
1856 ['inside_chromium_build==1 and OS != "ios"', {
1858 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_compile',
1859 # The test server uses Python modules generated by the sync protos.
1860 '../sync/protocol/sync_proto.gyp:sync_proto',
1861 '../third_party/protobuf/protobuf.gyp:py_proto',
1864 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1866 ['use_openssl==1', {
1868 '../third_party/openssl/openssl.gyp:openssl',
1872 '../build/linux/system.gyp:ssl',
1877 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1879 ['linux_use_tcmalloc==1', {
1881 '../base/allocator/allocator.gyp:allocator',
1886 ['OS != "android"', {
1888 'test/remote_test_server.cc',
1889 'test/remote_test_server.h',
1890 'test/spawner_communicator.cc',
1891 'test/spawner_communicator.h',
1896 '../third_party/nss/nss.gyp:nss',
1899 [ 'use_v8_in_net==1', {
1908 'target_name': 'net_resources',
1911 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1915 'action_name': 'net_resources',
1917 'grit_grd_file': 'base/net_resources.grd',
1919 'includes': [ '../build/grit_action.gypi' ],
1922 'includes': [ '../build/grit_target.gypi' ],
1925 'target_name': 'http_server',
1926 'type': 'static_library',
1927 'variables': { 'enable_wexit_time_destructors': 1, },
1929 '../base/base.gyp:base',
1933 'server/http_connection.cc',
1934 'server/http_connection.h',
1935 'server/http_server.cc',
1936 'server/http_server.h',
1937 'server/http_server_request_info.cc',
1938 'server/http_server_request_info.h',
1939 'server/web_socket.cc',
1940 'server/web_socket.h',
1945 ['use_v8_in_net == 1', {
1948 'target_name': 'net_with_v8',
1949 'type': '<(component)',
1950 'variables': { 'enable_wexit_time_destructors': 1, },
1952 '../base/base.gyp:base',
1953 '../build/temp_gyp/googleurl.gyp:googleurl',
1954 '../v8/tools/gyp/v8.gyp:v8',
1958 'NET_IMPLEMENTATION',
1961 'proxy/proxy_resolver_v8.cc',
1962 'proxy/proxy_resolver_v8.h',
1963 'proxy/proxy_service_v8.cc',
1964 'proxy/proxy_service_v8.h',
1971 # iOS doesn't have the concept of simple executables, these targets
1972 # can't be compiled on the platform.
1974 'target_name': 'crash_cache',
1975 'type': 'executable',
1977 '../base/base.gyp:base',
1982 'tools/crash_cache/crash_cache.cc',
1986 'target_name': 'crl_set_dump',
1987 'type': 'executable',
1989 '../base/base.gyp:base',
1993 'tools/crl_set_dump/crl_set_dump.cc',
1997 'target_name': 'dns_fuzz_stub',
1998 'type': 'executable',
2000 '../base/base.gyp:base',
2004 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
2008 'target_name': 'dnssec_chain_verify',
2009 'type': 'executable',
2011 '../base/base.gyp:base',
2015 'tools/dnssec_chain_verify/dnssec_chain_verify.cc',
2019 'target_name': 'fetch_client',
2020 'type': 'executable',
2021 'variables': { 'enable_wexit_time_destructors': 1, },
2023 '../base/base.gyp:base',
2024 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2025 '../build/temp_gyp/googleurl.gyp:googleurl',
2026 '../testing/gtest.gyp:gtest',
2031 'tools/fetch/fetch_client.cc',
2035 'target_name': 'fetch_server',
2036 'type': 'executable',
2037 'variables': { 'enable_wexit_time_destructors': 1, },
2039 '../base/base.gyp:base',
2040 '../build/temp_gyp/googleurl.gyp:googleurl',
2044 'tools/fetch/fetch_server.cc',
2045 'tools/fetch/http_listen_socket.cc',
2046 'tools/fetch/http_listen_socket.h',
2047 'tools/fetch/http_server.cc',
2048 'tools/fetch/http_server.h',
2049 'tools/fetch/http_server_request_info.cc',
2050 'tools/fetch/http_server_request_info.h',
2051 'tools/fetch/http_server_response_info.cc',
2052 'tools/fetch/http_server_response_info.h',
2053 'tools/fetch/http_session.cc',
2054 'tools/fetch/http_session.h',
2058 'target_name': 'gdig',
2059 'type': 'executable',
2061 '../base/base.gyp:base',
2065 'tools/gdig/file_net_log.cc',
2066 'tools/gdig/gdig.cc',
2070 'target_name': 'get_server_time',
2071 'type': 'executable',
2073 '../base/base.gyp:base',
2074 '../base/base.gyp:base_i18n',
2075 '../build/temp_gyp/googleurl.gyp:googleurl',
2079 'tools/get_server_time/get_server_time.cc',
2083 'target_name': 'net_watcher',
2084 'type': 'executable',
2086 '../base/base.gyp:base',
2091 'tools/net_watcher/net_watcher.cc',
2095 'target_name': 'run_testserver',
2096 'type': 'executable',
2098 '../base/base.gyp:base',
2099 '../build/temp_gyp/googleurl.gyp:googleurl',
2100 '../testing/gtest.gyp:gtest',
2105 'tools/testserver/run_testserver.cc',
2109 'target_name': 'stress_cache',
2110 'type': 'executable',
2112 '../base/base.gyp:base',
2117 'disk_cache/stress_cache.cc',
2121 'target_name': 'tld_cleanup',
2122 'type': 'executable',
2124 '../base/base.gyp:base',
2125 '../base/base.gyp:base_i18n',
2126 '../build/temp_gyp/googleurl.gyp:googleurl',
2129 'tools/tld_cleanup/tld_cleanup.cc',
2134 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2137 'target_name': 'flip_in_mem_edsm_server',
2138 'type': 'executable',
2143 '../base/base.gyp:base',
2144 '../third_party/openssl/openssl.gyp:openssl',
2148 'tools/dump_cache/url_to_filename_encoder.cc',
2149 'tools/dump_cache/url_to_filename_encoder.h',
2150 'tools/dump_cache/url_utilities.h',
2151 'tools/dump_cache/url_utilities.cc',
2152 'tools/flip_server/acceptor_thread.h',
2153 'tools/flip_server/acceptor_thread.cc',
2154 'tools/flip_server/balsa_enums.h',
2155 'tools/flip_server/balsa_frame.cc',
2156 'tools/flip_server/balsa_frame.h',
2157 'tools/flip_server/balsa_headers.cc',
2158 'tools/flip_server/balsa_headers.h',
2159 'tools/flip_server/balsa_headers_token_utils.cc',
2160 'tools/flip_server/balsa_headers_token_utils.h',
2161 'tools/flip_server/balsa_visitor_interface.h',
2162 'tools/flip_server/buffer_interface.h',
2163 'tools/flip_server/constants.h',
2164 'tools/flip_server/create_listener.cc',
2165 'tools/flip_server/create_listener.h',
2166 'tools/flip_server/epoll_server.cc',
2167 'tools/flip_server/epoll_server.h',
2168 'tools/flip_server/flip_config.cc',
2169 'tools/flip_server/flip_config.h',
2170 'tools/flip_server/flip_in_mem_edsm_server.cc',
2171 'tools/flip_server/http_interface.cc',
2172 'tools/flip_server/http_interface.h',
2173 'tools/flip_server/http_message_constants.cc',
2174 'tools/flip_server/http_message_constants.h',
2175 'tools/flip_server/loadtime_measurement.h',
2176 'tools/flip_server/mem_cache.h',
2177 'tools/flip_server/mem_cache.cc',
2178 'tools/flip_server/output_ordering.cc',
2179 'tools/flip_server/output_ordering.h',
2180 'tools/flip_server/ring_buffer.cc',
2181 'tools/flip_server/ring_buffer.h',
2182 'tools/flip_server/simple_buffer.cc',
2183 'tools/flip_server/simple_buffer.h',
2184 'tools/flip_server/sm_connection.cc',
2185 'tools/flip_server/sm_connection.h',
2186 'tools/flip_server/sm_interface.h',
2187 'tools/flip_server/split.h',
2188 'tools/flip_server/split.cc',
2189 'tools/flip_server/spdy_ssl.cc',
2190 'tools/flip_server/spdy_ssl.h',
2191 'tools/flip_server/spdy_interface.cc',
2192 'tools/flip_server/spdy_interface.h',
2193 'tools/flip_server/spdy_util.cc',
2194 'tools/flip_server/spdy_util.h',
2195 'tools/flip_server/streamer_interface.cc',
2196 'tools/flip_server/streamer_interface.h',
2197 'tools/flip_server/string_piece_utils.h',
2201 'target_name': 'curvecp',
2202 'type': 'static_library',
2203 'variables': { 'enable_wexit_time_destructors': 1, },
2205 '../base/base.gyp:base',
2209 'curvecp/circular_buffer.cc',
2210 'curvecp/circular_buffer.h',
2211 'curvecp/client_packetizer.cc',
2212 'curvecp/client_packetizer.h',
2213 'curvecp/connection_key.cc',
2214 'curvecp/connection_key.h',
2215 'curvecp/curvecp_client_socket.cc',
2216 'curvecp/curvecp_client_socket.h',
2217 'curvecp/curvecp_server_socket.cc',
2218 'curvecp/curvecp_server_socket.h',
2219 'curvecp/messenger.h',
2220 'curvecp/messenger.cc',
2221 'curvecp/packetizer.h',
2222 'curvecp/protocol.cc',
2223 'curvecp/protocol.h',
2224 'curvecp/received_block_list.cc',
2225 'curvecp/received_block_list.h',
2226 'curvecp/rtt_and_send_rate_calculator.cc',
2227 'curvecp/rtt_and_send_rate_calculator.h',
2228 'curvecp/sent_block_list.cc',
2229 'curvecp/sent_block_list.h',
2230 'curvecp/server_messenger.cc',
2231 'curvecp/server_messenger.h',
2232 'curvecp/server_packetizer.cc',
2233 'curvecp/server_packetizer.h',
2237 'target_name': 'curvecp_unittests',
2238 'type': 'executable',
2240 '../base/base.gyp:base',
2241 '../testing/gmock.gyp:gmock',
2242 '../testing/gtest.gyp:gtest',
2243 '../third_party/zlib/zlib.gyp:zlib',
2249 'curvecp/curvecp_transfer_unittest.cc',
2250 'curvecp/test_client.cc',
2251 'curvecp/test_server.cc',
2259 'target_name': 'net_jni_headers',
2262 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2263 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2264 'android/java/src/org/chromium/net/ProxyChangeListener.java',
2267 'jni_gen_dir': 'net',
2269 'includes': [ '../build/jni_generator.gypi' ],
2272 'target_name': 'net_java',
2275 'package_name': 'net',
2276 'java_in_dir': '../net/android/java',
2279 '../base/base.gyp:base',
2282 'includes': [ '../build/java.gypi' ],
2285 'target_name': 'net_java_test_support',
2288 'package_name': 'net_java_test_support',
2289 'java_in_dir': '../net/test/android/javatests',
2291 'includes': [ '../build/java.gypi' ],
2294 'target_name': 'net_javatests',
2297 'package_name': 'net_javatests',
2298 'java_in_dir': '../net/android/javatests',
2301 '../base/base.gyp:base',
2302 '../base/base.gyp:base_java_test_support',
2305 'includes': [ '../build/java.gypi' ],
2308 # This should be extracted to a gypi file and parameterized if
2309 # we have more use cases of using the preprocessor to build java files.
2310 'target_name': 'net_errors_java',
2312 'direct_dependent_settings': {
2314 'generated_src_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net/template/'],
2315 'additional_input_paths': ['<(SHARED_INTERMEDIATE_DIR)/net/template/NetError.java'],
2320 'action_name': 'generate_net_errors_java',
2322 'android/java/net_errors_java.template',
2325 '<(SHARED_INTERMEDIATE_DIR)/net/template/NetError.java',
2336 'message': 'Preprocessing <(_inputs)',
2337 'process_outputs_as_sources': 1,
2343 # Special target to wrap a gtest_target_type==shared_library
2344 # net_unittests into an android apk for execution.
2345 # See base.gyp for TODO(jrg)s about this strategy.
2346 ['OS == "android" and gtest_target_type == "shared_library"', {
2349 'target_name': 'net_unittests_apk',
2356 'test_suite_name': 'net_unittests',
2357 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2359 'includes': [ '../build/apk_test.gypi' ],
2366 # TODO(port): dump_cache is still Windows-specific.
2367 'target_name': 'dump_cache',
2368 'type': 'executable',
2370 '../base/base.gyp:base',
2375 'tools/dump_cache/cache_dumper.cc',
2376 'tools/dump_cache/cache_dumper.h',
2377 'tools/dump_cache/dump_cache.cc',
2378 'tools/dump_cache/dump_files.cc',
2379 'tools/dump_cache/upgrade.cc',
2380 'tools/dump_cache/url_to_filename_encoder.cc',
2381 'tools/dump_cache/url_to_filename_encoder.h',
2382 'tools/dump_cache/url_utilities.h',
2383 'tools/dump_cache/url_utilities.cc',
2388 ['test_isolation_mode != "noop"', {
2391 'target_name': 'net_unittests_run',
2397 'net_unittests.isolate',
2401 'action_name': 'isolate',
2403 'net_unittests.isolate',
2404 '<@(isolate_dependency_tracked)',
2407 '<(PRODUCT_DIR)/net_unittests.isolated',
2411 '../tools/swarm_client/isolate.py',
2412 '<(test_isolation_mode)',
2413 '--outdir', '<(test_isolation_outdir)',
2414 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
2415 '--variable', 'OS', '<(OS)',
2416 '--result', '<@(_outputs)',
2417 '--isolate', 'net_unittests.isolate',