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',
128 'base/ev_root_ca_metadata.cc',
129 'base/ev_root_ca_metadata.h',
130 'base/expiring_cache.h',
131 'base/file_stream.cc',
132 'base/file_stream.h',
133 'base/file_stream_context.cc',
134 'base/file_stream_context.h',
135 'base/file_stream_context_posix.cc',
136 'base/file_stream_context_win.cc',
137 'base/file_stream_metrics.cc',
138 'base/file_stream_metrics.h',
139 'base/file_stream_metrics_posix.cc',
140 'base/file_stream_metrics_win.cc',
141 'base/file_stream_net_log_parameters.cc',
142 'base/file_stream_net_log_parameters.h',
143 'base/file_stream_whence.h',
148 'base/gzip_filter.cc',
149 'base/gzip_filter.h',
150 'base/gzip_header.cc',
151 'base/gzip_header.h',
152 'base/host_cache.cc',
154 'base/host_mapping_rules.cc',
155 'base/host_mapping_rules.h',
156 'base/host_port_pair.cc',
157 'base/host_port_pair.h',
158 'base/host_resolver.cc',
159 'base/host_resolver.h',
160 'base/host_resolver_impl.cc',
161 'base/host_resolver_impl.h',
162 'base/host_resolver_proc.cc',
163 'base/host_resolver_proc.h',
166 'base/ip_endpoint.cc',
167 'base/ip_endpoint.h',
168 'base/keygen_handler.cc',
169 'base/keygen_handler.h',
170 'base/keygen_handler_mac.cc',
171 'base/keygen_handler_nss.cc',
172 'base/keygen_handler_openssl.cc',
173 'base/keygen_handler_win.cc',
175 'base/load_flags_list.h',
176 'base/load_states.h',
177 'base/load_states_list.h',
178 'base/mapped_host_resolver.cc',
179 'base/mapped_host_resolver.h',
180 'base/mime_sniffer.cc',
181 'base/mime_sniffer.h',
184 'base/multi_threaded_cert_verifier.cc',
185 'base/multi_threaded_cert_verifier.h',
186 'base/net_error_list.h',
187 'base/net_errors.cc',
189 'base/net_errors_posix.cc',
190 'base/net_errors_win.cc',
194 'base/net_log_event_type_list.h',
195 'base/net_log_source_type_list.h',
196 'base/net_module.cc',
200 'base/net_util_posix.cc',
201 'base/net_util_win.cc',
202 'base/network_change_notifier.cc',
203 'base/network_change_notifier.h',
204 'base/network_change_notifier_factory.h',
205 'base/network_change_notifier_linux.cc',
206 'base/network_change_notifier_linux.h',
207 'base/network_change_notifier_mac.cc',
208 'base/network_change_notifier_mac.h',
209 'base/network_change_notifier_win.cc',
210 'base/network_change_notifier_win.h',
211 'base/network_config_watcher_mac.cc',
212 'base/network_config_watcher_mac.h',
213 'base/network_delegate.cc',
214 'base/network_delegate.h',
215 'base/nss_cert_database.cc',
216 'base/nss_cert_database.h',
219 'base/openssl_memory_private_key_store.cc',
220 'base/openssl_private_key_store.h',
221 'base/openssl_private_key_store_android.cc',
222 'base/pem_tokenizer.cc',
223 'base/pem_tokenizer.h',
224 'base/platform_mime_util.h',
225 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
226 'base/platform_mime_util_linux.cc',
227 'base/platform_mime_util_mac.mm',
228 'base/platform_mime_util_win.cc',
229 'base/prioritized_dispatcher.cc',
230 'base/prioritized_dispatcher.h',
231 'base/priority_queue.h',
232 'base/rand_callback.h',
233 'base/registry_controlled_domains/registry_controlled_domain.cc',
234 'base/registry_controlled_domains/registry_controlled_domain.h',
235 'base/request_priority.h',
236 'base/sdch_filter.cc',
237 'base/sdch_filter.h',
238 'base/sdch_manager.cc',
239 'base/sdch_manager.h',
240 'base/server_bound_cert_service.cc',
241 'base/server_bound_cert_service.h',
242 'base/server_bound_cert_store.cc',
243 'base/server_bound_cert_store.h',
244 'base/single_request_cert_verifier.cc',
245 'base/single_request_cert_verifier.h',
246 'base/single_request_host_resolver.cc',
247 'base/single_request_host_resolver.h',
248 'base/ssl_cert_request_info.cc',
249 'base/ssl_cert_request_info.h',
250 'base/ssl_cipher_suite_names.cc',
251 'base/ssl_cipher_suite_names.h',
252 'base/ssl_client_auth_cache.cc',
253 'base/ssl_client_auth_cache.h',
254 'base/ssl_client_cert_type.h',
255 'base/ssl_config_service.cc',
256 'base/ssl_config_service.h',
257 'base/ssl_config_service_defaults.cc',
258 'base/ssl_config_service_defaults.h',
261 'base/static_cookie_policy.cc',
262 'base/static_cookie_policy.h',
263 'base/stream_listen_socket.cc',
264 'base/stream_listen_socket.h',
265 'base/sys_addrinfo.h',
266 'base/tcp_listen_socket.cc',
267 'base/tcp_listen_socket.h',
268 'base/test_data_stream.cc',
269 'base/test_data_stream.h',
270 'base/test_root_certs.cc',
271 'base/test_root_certs.h',
272 'base/test_root_certs_mac.cc',
273 'base/test_root_certs_nss.cc',
274 'base/test_root_certs_openssl.cc',
275 'base/test_root_certs_win.cc',
276 'base/transport_security_state.cc',
277 'base/transport_security_state.h',
278 'base/transport_security_state_static.h',
279 'base/unix_domain_socket_posix.cc',
280 'base/unix_domain_socket_posix.h',
281 'base/upload_bytes_element_reader.cc',
282 'base/upload_bytes_element_reader.h',
283 'base/upload_data.cc',
284 'base/upload_data.h',
285 'base/upload_data_stream.cc',
286 'base/upload_data_stream.h',
287 'base/upload_element.cc',
288 'base/upload_element.h',
289 'base/upload_element_reader.cc',
290 'base/upload_element_reader.h',
291 'base/upload_file_element_reader.cc',
292 'base/upload_file_element_reader.h',
293 'base/upload_progress.h',
294 'base/winsock_init.cc',
295 'base/winsock_init.h',
296 'base/winsock_util.cc',
297 'base/winsock_util.h',
298 'base/x509_cert_types.cc',
299 'base/x509_cert_types.h',
300 'base/x509_cert_types_mac.cc',
301 'base/x509_cert_types_win.cc',
302 'base/x509_certificate.cc',
303 'base/x509_certificate.h',
304 'base/x509_certificate_ios.cc',
305 'base/x509_certificate_mac.cc',
306 'base/x509_certificate_net_log_param.cc',
307 'base/x509_certificate_net_log_param.h',
308 'base/x509_certificate_nss.cc',
309 'base/x509_certificate_openssl.cc',
310 'base/x509_certificate_win.cc',
313 'base/x509_util_ios.cc',
314 'base/x509_util_ios.h',
315 'base/x509_util_mac.cc',
316 'base/x509_util_mac.h',
317 'base/x509_util_nss.cc',
318 'base/x509_util_nss.h',
319 'base/x509_util_openssl.cc',
320 'base/x509_util_openssl.h',
323 'cookies/canonical_cookie.cc',
324 'cookies/canonical_cookie.h',
325 'cookies/cookie_monster.cc',
326 'cookies/cookie_monster.h',
327 'cookies/cookie_options.h',
328 'cookies/cookie_store.cc',
329 'cookies/cookie_store.h',
330 'cookies/cookie_util.cc',
331 'cookies/cookie_util.h',
332 'cookies/parsed_cookie.cc',
333 'cookies/parsed_cookie.h',
334 'disk_cache/addr.cc',
336 'disk_cache/backend_impl.cc',
337 'disk_cache/backend_impl.h',
338 'disk_cache/bitmap.cc',
339 'disk_cache/bitmap.h',
340 'disk_cache/block_files.cc',
341 'disk_cache/block_files.h',
342 'disk_cache/cache_util.h',
343 'disk_cache/cache_util_posix.cc',
344 'disk_cache/cache_util_win.cc',
345 'disk_cache/disk_cache.h',
346 'disk_cache/disk_format.cc',
347 'disk_cache/disk_format.h',
348 'disk_cache/entry_impl.cc',
349 'disk_cache/entry_impl.h',
350 'disk_cache/errors.h',
351 'disk_cache/eviction.cc',
352 'disk_cache/eviction.h',
353 'disk_cache/experiments.h',
354 'disk_cache/file.cc',
356 'disk_cache/file_block.h',
357 'disk_cache/file_lock.cc',
358 'disk_cache/file_lock.h',
359 'disk_cache/file_posix.cc',
360 'disk_cache/file_win.cc',
361 'disk_cache/histogram_macros.h',
362 'disk_cache/in_flight_backend_io.cc',
363 'disk_cache/in_flight_backend_io.h',
364 'disk_cache/in_flight_io.cc',
365 'disk_cache/in_flight_io.h',
366 'disk_cache/mapped_file.h',
367 'disk_cache/mapped_file_posix.cc',
368 'disk_cache/mapped_file_avoid_mmap_posix.cc',
369 'disk_cache/mapped_file_win.cc',
370 'disk_cache/mem_backend_impl.cc',
371 'disk_cache/mem_backend_impl.h',
372 'disk_cache/mem_entry_impl.cc',
373 'disk_cache/mem_entry_impl.h',
374 'disk_cache/mem_rankings.cc',
375 'disk_cache/mem_rankings.h',
376 'disk_cache/net_log_parameters.cc',
377 'disk_cache/net_log_parameters.h',
378 'disk_cache/rankings.cc',
379 'disk_cache/rankings.h',
380 'disk_cache/sparse_control.cc',
381 'disk_cache/sparse_control.h',
382 'disk_cache/stats.cc',
383 'disk_cache/stats.h',
384 'disk_cache/stats_histogram.cc',
385 'disk_cache/stats_histogram.h',
386 'disk_cache/storage_block-inl.h',
387 'disk_cache/storage_block.h',
388 'disk_cache/stress_support.h',
389 'disk_cache/trace.cc',
390 'disk_cache/trace.h',
391 'disk_cache/flash/format.h',
392 'disk_cache/flash/log_structured_store.cc',
393 'disk_cache/flash/log_structured_store.h',
394 'disk_cache/flash/segment.cc',
395 'disk_cache/flash/segment.h',
396 'disk_cache/flash/storage.cc',
397 'disk_cache/flash/storage.h',
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/keygen_handler_nss.cc',
1003 'base/nss_cert_database.cc',
1004 'base/nss_cert_database.h',
1007 'base/test_root_certs_nss.cc',
1008 'base/x509_certificate_nss.cc',
1009 'base/x509_util_nss.cc',
1010 'base/x509_util_nss.h',
1013 'socket/nss_ssl_util.cc',
1014 'socket/nss_ssl_util.h',
1015 'socket/ssl_client_socket_nss.cc',
1016 'socket/ssl_client_socket_nss.h',
1017 'socket/ssl_server_socket_nss.cc',
1018 'socket/ssl_server_socket_nss.h',
1019 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1020 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1021 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1022 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1023 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1024 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1027 { # else !use_openssl: remove the unneeded files
1029 'base/cert_database_openssl.cc',
1030 'base/cert_verify_proc_openssl.cc',
1031 'base/cert_verify_proc_openssl.h',
1032 'base/crypto_module_openssl.cc',
1033 'base/keygen_handler_openssl.cc',
1034 'base/openssl_memory_private_key_store.cc',
1035 'base/openssl_private_key_store.h',
1036 'base/openssl_private_key_store_android.cc',
1037 'base/test_root_certs_openssl.cc',
1038 'base/x509_certificate_openssl.cc',
1039 'base/x509_util_openssl.cc',
1040 'base/x509_util_openssl.h',
1041 'socket/ssl_client_socket_openssl.cc',
1042 'socket/ssl_client_socket_openssl.h',
1043 'socket/ssl_server_socket_openssl.cc',
1047 [ 'use_glib == 1', {
1049 '../build/linux/system.gyp:gconf',
1050 '../build/linux/system.gyp:gio',
1053 ['use_openssl==1', {
1055 '../third_party/openssl/openssl.gyp:openssl',
1058 { # else use_openssl==0, use NSS
1060 '../build/linux/system.gyp:ssl',
1065 'base/network_change_notifier_linux.cc',
1066 'base/network_change_notifier_netlink_linux.cc',
1067 'proxy/proxy_config_service_linux.cc',
1071 '../build/linux/system.gyp:libresolv',
1083 { # else: OS is not in the above list
1085 'base/cert_database_nss.cc',
1086 'base/crypto_module_nss.cc',
1087 'base/keygen_handler_nss.cc',
1088 'base/nss_cert_database.cc',
1089 'base/nss_cert_database.h',
1090 'base/test_root_certs_nss.cc',
1091 'base/x509_certificate_nss.cc',
1094 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1095 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1096 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1097 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1098 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1099 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1103 [ 'toolkit_uses_gtk == 1', {
1105 '../build/linux/system.gyp:gdk',
1110 'base/cert_verify_proc_nss.cc',
1111 'base/cert_verify_proc_nss.h',
1114 [ 'enable_websockets != 1', {
1116 ['exclude', '^socket_stream/'],
1117 ['exclude', '^websockets/'],
1120 'spdy/spdy_websocket_stream.cc',
1121 'spdy/spdy_websocket_stream.h',
1126 'http/http_auth_handler_ntlm_portable.cc',
1127 'socket/tcp_client_socket_libevent.cc',
1128 'socket/tcp_client_socket_libevent.h',
1129 'socket/tcp_server_socket_libevent.cc',
1130 'socket/tcp_server_socket_libevent.h',
1131 'udp/udp_socket_libevent.cc',
1132 'udp/udp_socket_libevent.h',
1135 '../third_party/nss/nss.gyp:nspr',
1136 '../third_party/nss/nss.gyp:nss',
1137 'third_party/nss/ssl.gyp:libssl',
1140 }, { # else: OS != "win"
1142 'base/winsock_init.cc',
1143 'base/winsock_init.h',
1144 'base/winsock_util.cc',
1145 'base/winsock_util.h',
1146 'proxy/proxy_resolver_winhttp.cc',
1147 'proxy/proxy_resolver_winhttp.h',
1153 '../third_party/nss/nss.gyp:nspr',
1154 '../third_party/nss/nss.gyp:nss',
1155 'third_party/nss/ssl.gyp:libssl',
1159 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1160 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1161 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1162 '$(SDKROOT)/usr/lib/libresolv.dylib',
1169 '../third_party/nss/nss.gyp:nss',
1170 'third_party/nss/ssl.gyp:libssl',
1174 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1175 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1176 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1177 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1178 '$(SDKROOT)/usr/lib/libresolv.dylib',
1183 ['OS=="android" and _toolset=="target" and android_build_type == 0', {
1188 [ 'OS == "android"', {
1190 '../third_party/openssl/openssl.gyp:openssl',
1194 'base/openssl_memory_private_key_store.cc',
1196 }, { # else OS! = "android"
1198 # These are the features Android doesn't support.
1199 'ENABLE_MEDIA_CODEC_THEORA',
1203 [ 'OS == "linux"', {
1205 '../build/linux/system.gyp:dbus',
1206 '../dbus/dbus.gyp:dbus',
1211 'target_conditions': [
1212 # These source files are excluded by default platform rules, but they
1213 # are needed in specific cases on other platforms. Re-including them can
1214 # only be done in target_conditions as it is evaluated after the
1216 ['OS == "android"', {
1218 ['include', '^base/platform_mime_util_linux\\.cc$'],
1223 ['include', '^base/network_change_notifier_mac\\.cc$'],
1224 ['include', '^base/network_config_watcher_mac\\.cc$'],
1225 ['include', '^base/platform_mime_util_mac\\.mm$'],
1226 ['include', '^dns/notify_watcher_mac\\.cc$'],
1227 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1228 ['include', '^proxy/proxy_server_mac\\.cc$'],
1229 # The iOS implementation only partially uses NSS and thus does not
1230 # defines |use_nss|. In particular the |USE_NSS| preprocessor
1231 # definition is not used. The following files are needed though:
1232 ['include', '^base/cert_verify_proc_nss\\.cc$'],
1233 ['include', '^base/cert_verify_proc_nss\\.h$'],
1234 ['include', '^base/test_root_certs_nss\\.cc$'],
1235 ['include', '^base/x509_util_nss\\.cc$'],
1236 ['include', '^base/x509_util_nss\\.h$'],
1237 ['include', '^ocsp/nss_ocsp\\.cc$'],
1238 ['include', '^ocsp/nss_ocsp\\.h$'],
1244 'target_name': 'net_unittests',
1245 'type': '<(gtest_target_type)',
1247 '../base/base.gyp:base',
1248 '../base/base.gyp:base_i18n',
1249 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1250 '../build/temp_gyp/googleurl.gyp:googleurl',
1251 '../crypto/crypto.gyp:crypto',
1252 '../testing/gmock.gyp:gmock',
1253 '../testing/gtest.gyp:gtest',
1254 '../third_party/zlib/zlib.gyp:zlib',
1259 'android/network_change_notifier_android_unittest.cc',
1260 'base/address_list_unittest.cc',
1261 'base/address_tracker_linux_unittest.cc',
1262 'base/backoff_entry_unittest.cc',
1263 'base/big_endian_unittest.cc',
1264 'base/cert_verify_proc_unittest.cc',
1265 'base/crl_set_unittest.cc',
1266 'base/data_url_unittest.cc',
1267 'base/default_server_bound_cert_store_unittest.cc',
1268 'base/directory_lister_unittest.cc',
1269 'base/dns_util_unittest.cc',
1270 'base/dnsrr_resolver_unittest.cc',
1271 'base/escape_unittest.cc',
1272 'base/ev_root_ca_metadata_unittest.cc',
1273 'base/expiring_cache_unittest.cc',
1274 'base/file_stream_unittest.cc',
1275 'base/filter_unittest.cc',
1276 'base/int128_unittest.cc',
1277 'base/gzip_filter_unittest.cc',
1278 'base/host_cache_unittest.cc',
1279 'base/host_mapping_rules_unittest.cc',
1280 'base/host_port_pair_unittest.cc',
1281 'base/host_resolver_impl_unittest.cc',
1282 'base/ip_endpoint_unittest.cc',
1283 'base/keygen_handler_unittest.cc',
1284 'base/mapped_host_resolver_unittest.cc',
1285 'base/mime_sniffer_unittest.cc',
1286 'base/mime_util_unittest.cc',
1287 'base/mock_filter_context.cc',
1288 'base/mock_filter_context.h',
1289 'base/multi_threaded_cert_verifier_unittest.cc',
1290 'base/net_log_unittest.h',
1291 'base/net_util_unittest.cc',
1292 'base/network_change_notifier_linux_unittest.cc',
1293 'base/network_change_notifier_win_unittest.cc',
1294 'base/nss_cert_database_unittest.cc',
1295 'base/pem_tokenizer_unittest.cc',
1296 'base/prioritized_dispatcher_unittest.cc',
1297 'base/priority_queue_unittest.cc',
1298 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1299 'base/run_all_unittests.cc',
1300 'base/sdch_filter_unittest.cc',
1301 'base/server_bound_cert_service_unittest.cc',
1302 'base/single_request_host_resolver_unittest.cc',
1303 'base/ssl_cipher_suite_names_unittest.cc',
1304 'base/ssl_client_auth_cache_unittest.cc',
1305 'base/ssl_config_service_unittest.cc',
1306 'base/static_cookie_policy_unittest.cc',
1307 'base/tcp_listen_socket_unittest.cc',
1308 'base/tcp_listen_socket_unittest.h',
1309 'base/test_certificate_data.h',
1310 'base/test_completion_callback_unittest.cc',
1311 'base/transport_security_state_unittest.cc',
1312 'base/unix_domain_socket_posix_unittest.cc',
1313 'base/upload_bytes_element_reader_unittest.cc',
1314 'base/upload_data_stream_unittest.cc',
1315 'base/upload_file_element_reader_unittest.cc',
1316 'base/x509_certificate_unittest.cc',
1317 'base/x509_cert_types_unittest.cc',
1318 'base/x509_util_unittest.cc',
1319 'base/x509_util_nss_unittest.cc',
1320 'base/x509_util_openssl_unittest.cc',
1321 'cookies/canonical_cookie_unittest.cc',
1322 'cookies/cookie_monster_unittest.cc',
1323 'cookies/cookie_store_unittest.h',
1324 'cookies/cookie_util_unittest.cc',
1325 'cookies/parsed_cookie_unittest.cc',
1326 'disk_cache/addr_unittest.cc',
1327 'disk_cache/backend_unittest.cc',
1328 'disk_cache/bitmap_unittest.cc',
1329 'disk_cache/block_files_unittest.cc',
1330 'disk_cache/cache_util_unittest.cc',
1331 'disk_cache/entry_unittest.cc',
1332 'disk_cache/mapped_file_unittest.cc',
1333 'disk_cache/storage_block_unittest.cc',
1334 'disk_cache/flash/log_structured_store_unittest.cc',
1335 'disk_cache/flash/segment_unittest.cc',
1336 'disk_cache/flash/storage_unittest.cc',
1337 'dns/address_sorter_posix_unittest.cc',
1338 'dns/address_sorter_unittest.cc',
1339 'dns/dns_config_service_posix_unittest.cc',
1340 'dns/dns_config_service_unittest.cc',
1341 'dns/dns_config_service_win_unittest.cc',
1342 'dns/dns_hosts_unittest.cc',
1343 'dns/dns_query_unittest.cc',
1344 'dns/dns_response_unittest.cc',
1345 'dns/dns_transaction_unittest.cc',
1346 'dns/serial_worker_unittest.cc',
1347 'ftp/ftp_auth_cache_unittest.cc',
1348 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1349 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1350 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1351 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1352 'ftp/ftp_directory_listing_parser_unittest.cc',
1353 'ftp/ftp_directory_listing_parser_unittest.h',
1354 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1355 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1356 'ftp/ftp_network_transaction_unittest.cc',
1357 'ftp/ftp_util_unittest.cc',
1358 'http/des_unittest.cc',
1359 'http/http_auth_cache_unittest.cc',
1360 'http/http_auth_controller_unittest.cc',
1361 'http/http_auth_filter_unittest.cc',
1362 'http/http_auth_gssapi_posix_unittest.cc',
1363 'http/http_auth_handler_basic_unittest.cc',
1364 'http/http_auth_handler_digest_unittest.cc',
1365 'http/http_auth_handler_factory_unittest.cc',
1366 'http/http_auth_handler_mock.cc',
1367 'http/http_auth_handler_mock.h',
1368 'http/http_auth_handler_negotiate_unittest.cc',
1369 'http/http_auth_handler_unittest.cc',
1370 'http/http_auth_sspi_win_unittest.cc',
1371 'http/http_auth_unittest.cc',
1372 'http/http_byte_range_unittest.cc',
1373 'http/http_cache_unittest.cc',
1374 'http/http_chunked_decoder_unittest.cc',
1375 'http/http_content_disposition_unittest.cc',
1376 'http/http_network_layer_unittest.cc',
1377 'http/http_network_transaction_spdy3_unittest.cc',
1378 'http/http_network_transaction_spdy2_unittest.cc',
1379 'http/http_pipelined_connection_impl_unittest.cc',
1380 'http/http_pipelined_host_forced_unittest.cc',
1381 'http/http_pipelined_host_impl_unittest.cc',
1382 'http/http_pipelined_host_pool_unittest.cc',
1383 'http/http_pipelined_host_test_util.cc',
1384 'http/http_pipelined_host_test_util.h',
1385 'http/http_pipelined_network_transaction_unittest.cc',
1386 'http/http_proxy_client_socket_pool_spdy2_unittest.cc',
1387 'http/http_proxy_client_socket_pool_spdy3_unittest.cc',
1388 'http/http_request_headers_unittest.cc',
1389 'http/http_response_body_drainer_unittest.cc',
1390 'http/http_response_headers_unittest.cc',
1391 'http/http_server_properties_impl_unittest.cc',
1392 'http/http_stream_factory_impl_unittest.cc',
1393 'http/http_stream_parser_unittest.cc',
1394 'http/http_transaction_unittest.cc',
1395 'http/http_transaction_unittest.h',
1396 'http/http_util_unittest.cc',
1397 'http/http_vary_data_unittest.cc',
1398 'http/infinite_cache_unittest.cc',
1399 'http/mock_allow_url_security_manager.cc',
1400 'http/mock_allow_url_security_manager.h',
1401 'http/mock_gssapi_library_posix.cc',
1402 'http/mock_gssapi_library_posix.h',
1403 'http/mock_http_cache.cc',
1404 'http/mock_http_cache.h',
1405 'http/mock_sspi_library_win.cc',
1406 'http/mock_sspi_library_win.h',
1407 'http/url_security_manager_unittest.cc',
1408 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1409 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1410 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1411 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1412 'proxy/network_delegate_error_observer_unittest.cc',
1413 'proxy/proxy_bypass_rules_unittest.cc',
1414 'proxy/proxy_config_service_android_unittest.cc',
1415 'proxy/proxy_config_service_linux_unittest.cc',
1416 'proxy/proxy_config_service_win_unittest.cc',
1417 'proxy/proxy_config_unittest.cc',
1418 'proxy/proxy_info_unittest.cc',
1419 'proxy/proxy_list_unittest.cc',
1420 'proxy/proxy_resolver_js_bindings_unittest.cc',
1421 'proxy/proxy_resolver_v8_unittest.cc',
1422 'proxy/proxy_script_decider_unittest.cc',
1423 'proxy/proxy_script_fetcher_impl_unittest.cc',
1424 'proxy/proxy_server_unittest.cc',
1425 'proxy/proxy_service_unittest.cc',
1426 'proxy/sync_host_resolver_bridge_unittest.cc',
1427 'quic/congestion_control/fix_rate_test.cc',
1428 'quic/congestion_control/leaky_bucket_test.cc',
1429 'quic/congestion_control/paced_sender_test.cc',
1430 'quic/congestion_control/quic_receipt_metrics_collector_test.cc',
1431 'quic/congestion_control/quic_send_scheduler_test.cc',
1432 'quic/crypto/crypto_framer_test.cc',
1433 'quic/crypto/null_decrypter_test.cc',
1434 'quic/crypto/null_encrypter_test.cc',
1435 'quic/test_tools/mock_clock.cc',
1436 'quic/test_tools/mock_clock.h',
1437 'quic/test_tools/quic_test_utils.cc',
1438 'quic/test_tools/quic_test_utils.h',
1439 'quic/test_tools/test_task_runner.cc',
1440 'quic/test_tools/test_task_runner.h',
1441 'quic/quic_client_session_test.cc',
1442 'quic/quic_clock_test.cc',
1443 'quic/quic_connection_helper_test.cc',
1444 'quic/quic_connection_test.cc',
1445 'quic/quic_crypto_client_stream_test.cc',
1446 'quic/quic_crypto_stream_test.cc',
1447 'quic/quic_fec_group_test.cc',
1448 'quic/quic_framer_test.cc',
1449 'quic/quic_packet_creator_test.cc',
1450 'quic/quic_reliable_client_stream_test.cc',
1451 'quic/quic_session_test.cc',
1452 'quic/quic_stream_sequencer_test.cc',
1453 'quic/quic_time_test.cc',
1454 'socket/buffered_write_stream_socket_unittest.cc',
1455 'socket/client_socket_pool_base_unittest.cc',
1456 'socket/deterministic_socket_data_unittest.cc',
1457 'socket/mock_client_socket_pool_manager.cc',
1458 'socket/mock_client_socket_pool_manager.h',
1459 'socket/socks5_client_socket_unittest.cc',
1460 'socket/socks_client_socket_pool_unittest.cc',
1461 'socket/socks_client_socket_unittest.cc',
1462 'socket/ssl_client_socket_pool_unittest.cc',
1463 'socket/ssl_client_socket_unittest.cc',
1464 'socket/ssl_server_socket_unittest.cc',
1465 'socket/tcp_client_socket_unittest.cc',
1466 'socket/tcp_server_socket_unittest.cc',
1467 'socket/transport_client_socket_pool_unittest.cc',
1468 'socket/transport_client_socket_unittest.cc',
1469 'socket_stream/socket_stream_metrics_unittest.cc',
1470 'socket_stream/socket_stream_unittest.cc',
1471 'spdy/buffered_spdy_framer_spdy3_unittest.cc',
1472 'spdy/buffered_spdy_framer_spdy2_unittest.cc',
1473 'spdy/spdy_credential_builder_unittest.cc',
1474 'spdy/spdy_credential_state_unittest.cc',
1475 'spdy/spdy_frame_reader_test.cc',
1476 'spdy/spdy_framer_test.cc',
1477 'spdy/spdy_header_block_unittest.cc',
1478 'spdy/spdy_http_stream_spdy3_unittest.cc',
1479 'spdy/spdy_http_stream_spdy2_unittest.cc',
1480 'spdy/spdy_http_utils_unittest.cc',
1481 'spdy/spdy_network_transaction_spdy3_unittest.cc',
1482 'spdy/spdy_network_transaction_spdy2_unittest.cc',
1483 'spdy/spdy_protocol_test.cc',
1484 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
1485 'spdy/spdy_proxy_client_socket_spdy2_unittest.cc',
1486 'spdy/spdy_session_spdy3_unittest.cc',
1487 'spdy/spdy_session_spdy2_unittest.cc',
1488 'spdy/spdy_stream_spdy3_unittest.cc',
1489 'spdy/spdy_stream_spdy2_unittest.cc',
1490 'spdy/spdy_stream_test_util.cc',
1491 'spdy/spdy_stream_test_util.h',
1492 'spdy/spdy_test_util_spdy3.cc',
1493 'spdy/spdy_test_util_spdy3.h',
1494 'spdy/spdy_test_util_spdy2.cc',
1495 'spdy/spdy_test_util_spdy2.h',
1496 'spdy/spdy_websocket_stream_spdy2_unittest.cc',
1497 'spdy/spdy_websocket_stream_spdy3_unittest.cc',
1498 'spdy/spdy_websocket_test_util_spdy2.cc',
1499 'spdy/spdy_websocket_test_util_spdy2.h',
1500 'spdy/spdy_websocket_test_util_spdy3.cc',
1501 'spdy/spdy_websocket_test_util_spdy3.h',
1502 'test/python_utils_unittest.cc',
1503 'tools/dump_cache/url_to_filename_encoder.cc',
1504 'tools/dump_cache/url_to_filename_encoder.h',
1505 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1506 'tools/dump_cache/url_utilities.h',
1507 'tools/dump_cache/url_utilities.cc',
1508 'tools/dump_cache/url_utilities_unittest.cc',
1509 'udp/udp_socket_unittest.cc',
1510 'url_request/url_fetcher_impl_unittest.cc',
1511 'url_request/url_request_context_builder_unittest.cc',
1512 'url_request/url_request_filter_unittest.cc',
1513 'url_request/url_request_ftp_job_unittest.cc',
1514 'url_request/url_request_job_factory_impl_unittest.cc',
1515 'url_request/url_request_job_unittest.cc',
1516 'url_request/url_request_throttler_simulation_unittest.cc',
1517 'url_request/url_request_throttler_test_support.cc',
1518 'url_request/url_request_throttler_test_support.h',
1519 'url_request/url_request_throttler_unittest.cc',
1520 'url_request/url_request_unittest.cc',
1521 'url_request/view_cache_helper_unittest.cc',
1522 'websockets/websocket_frame_parser_unittest.cc',
1523 'websockets/websocket_frame_unittest.cc',
1524 'websockets/websocket_handshake_handler_unittest.cc',
1525 'websockets/websocket_handshake_handler_spdy2_unittest.cc',
1526 'websockets/websocket_handshake_handler_spdy3_unittest.cc',
1527 'websockets/websocket_job_spdy2_unittest.cc',
1528 'websockets/websocket_job_spdy3_unittest.cc',
1529 'websockets/websocket_net_log_params_unittest.cc',
1530 'websockets/websocket_throttle_unittest.cc',
1535 'base/network_change_notifier_linux_unittest.cc',
1536 'proxy/proxy_config_service_linux_unittest.cc',
1539 [ 'OS == "android"', {
1541 # No res_ninit() et al on Android, so this doesn't make a lot of
1543 'dns/dns_config_service_posix_unittest.cc',
1546 [ 'use_glib == 1', {
1548 '../build/linux/system.gyp:ssl',
1550 }, { # else use_glib == 0: !posix || mac
1552 'base/nss_cert_database_unittest.cc',
1556 [ 'toolkit_uses_gtk == 1', {
1558 '../build/linux/system.gyp:gtk',
1562 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1564 ['linux_use_tcmalloc==1', {
1566 '../base/allocator/allocator.gyp:allocator',
1571 [ 'use_kerberos==1', {
1575 }, { # use_kerberos == 0
1577 'http/http_auth_gssapi_posix_unittest.cc',
1578 'http/http_auth_handler_negotiate_unittest.cc',
1579 'http/mock_gssapi_library_posix.cc',
1580 'http/mock_gssapi_library_posix.h',
1583 [ 'use_openssl==1', {
1584 # When building for OpenSSL, we need to exclude NSS specific tests.
1585 # TODO(bulach): Add equivalent tests when the underlying
1586 # functionality is ported to OpenSSL.
1588 'base/x509_util_nss_unittest.cc',
1589 'base/nss_cert_database_unittest.cc',
1591 }, { # else !use_openssl: remove the unneeded files
1593 'base/x509_util_openssl_unittest.cc',
1597 [ 'enable_websockets != 1', {
1599 ['exclude', '^socket_stream/'],
1600 ['exclude', '^websockets/'],
1601 ['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$'],
1604 [ 'disable_ftp_support==1', {
1606 ['exclude', '^ftp/'],
1609 'url_request/url_request_ftp_job_unittest.cc',
1613 [ 'enable_built_in_dns!=1', {
1615 'dns/address_sorter_posix_unittest.cc',
1616 'dns/address_sorter_unittest.cc',
1620 [ 'use_v8_in_net==1', {
1624 }, { # else: !use_v8_in_net
1626 'proxy/proxy_resolver_v8_unittest.cc',
1632 'dns/dns_config_service_posix_unittest.cc',
1633 'http/http_auth_gssapi_posix_unittest.cc',
1635 # This is needed to trigger the dll copy step on windows.
1636 # TODO(mark): Specifying this here shouldn't be necessary.
1638 '../third_party/icu/icu.gyp:icudata',
1639 '../third_party/nss/nss.gyp:nspr',
1640 '../third_party/nss/nss.gyp:nss',
1641 'third_party/nss/ssl.gyp:libssl',
1647 '../third_party/nss/nss.gyp:nspr',
1648 '../third_party/nss/nss.gyp:nss',
1649 'third_party/nss/ssl.gyp:libssl',
1655 '../third_party/nss/nss.gyp:nss',
1659 'action_name': 'copy_test_data',
1661 'test_data_files': [
1662 'data/ssl/certificates/',
1663 'data/url_request_unittest/',
1665 'test_data_prefix': 'net',
1667 'includes': [ '../build/copy_test_data_ios.gypi' ],
1671 # TODO(droger): The following tests are disabled because the
1672 # implementation is missing or incomplete.
1673 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
1674 'base/keygen_handler_unittest.cc',
1675 # Need to read input data files.
1676 'base/gzip_filter_unittest.cc',
1677 'disk_cache/backend_unittest.cc',
1678 'disk_cache/block_files_unittest.cc',
1679 'socket/ssl_server_socket_unittest.cc',
1681 'proxy/proxy_script_fetcher_impl_unittest.cc',
1682 'socket/ssl_client_socket_unittest.cc',
1683 'url_request/url_fetcher_impl_unittest.cc',
1684 'url_request/url_request_context_builder_unittest.cc',
1685 # Needs GetAppOutput().
1686 'test/python_utils_unittest.cc',
1688 # The following tests are disabled because they don't apply to
1690 # OS is not "linux" or "freebsd" or "openbsd".
1691 'base/unix_domain_socket_posix_unittest.cc',
1696 # These sources can't be built with coverage due to a
1697 # toolchain bug: http://openradar.appspot.com/radar?id=1499403
1698 'base/transport_security_state_unittest.cc',
1700 # These tests crash when run with coverage turned on due to an
1701 # issue with llvm_gcda_increment_indirect_counter:
1702 # http://crbug.com/156058
1703 'cookies/cookie_monster_unittest.cc',
1704 'cookies/cookie_store_unittest.h',
1705 'http/http_auth_controller_unittest.cc',
1706 'http/http_network_layer_unittest.cc',
1707 'http/http_network_transaction_spdy2_unittest.cc',
1708 'http/http_network_transaction_spdy3_unittest.cc',
1713 [ 'OS == "linux"', {
1715 '../build/linux/system.gyp:dbus',
1716 '../dbus/dbus.gyp:dbus_test_support',
1720 [ 'OS == "android"', {
1722 '../third_party/openssl/openssl.gyp:openssl',
1725 'dns/dns_config_service_posix_unittest.cc',
1729 ['OS == "android" and gtest_target_type == "shared_library"', {
1731 '../testing/android/native_test.gyp:native_test_native_code',
1734 [ 'OS != "win" and OS != "mac"', {
1736 'base/x509_cert_types_unittest.cc',
1742 'target_name': 'net_perftests',
1743 'type': 'executable',
1745 '../base/base.gyp:base',
1746 '../base/base.gyp:base_i18n',
1747 '../base/base.gyp:test_support_perf',
1748 '../build/temp_gyp/googleurl.gyp:googleurl',
1749 '../testing/gtest.gyp:gtest',
1754 'cookies/cookie_monster_perftest.cc',
1755 'disk_cache/disk_cache_perftest.cc',
1756 'proxy/proxy_resolver_perftest.cc',
1759 [ 'use_v8_in_net==1', {
1763 }, { # else: !use_v8_in_net
1765 'proxy/proxy_resolver_perftest.cc',
1769 # This is needed to trigger the dll copy step on windows.
1770 # TODO(mark): Specifying this here shouldn't be necessary.
1773 '../third_party/icu/icu.gyp:icudata',
1780 'target_name': 'net_test_support',
1781 'type': 'static_library',
1783 '../base/base.gyp:base',
1784 '../base/base.gyp:test_support_base',
1785 '../testing/gtest.gyp:gtest',
1788 'export_dependent_settings': [
1789 '../base/base.gyp:base',
1790 '../base/base.gyp:test_support_base',
1791 '../testing/gtest.gyp:gtest',
1794 'base/capturing_net_log.cc',
1795 'base/capturing_net_log.h',
1796 'base/cert_test_util.cc',
1797 'base/cert_test_util.h',
1798 'base/mock_cert_verifier.cc',
1799 'base/mock_cert_verifier.h',
1800 'base/mock_file_stream.cc',
1801 'base/mock_file_stream.h',
1802 'base/mock_host_resolver.cc',
1803 'base/mock_host_resolver.h',
1804 'base/net_test_suite.cc',
1805 'base/net_test_suite.h',
1806 'base/test_completion_callback.cc',
1807 'base/test_completion_callback.h',
1808 'base/test_data_directory.cc',
1809 'base/test_data_directory.h',
1810 'cookies/cookie_monster_store_test.cc',
1811 'cookies/cookie_monster_store_test.h',
1812 'cookies/cookie_store_test_callbacks.cc',
1813 'cookies/cookie_store_test_callbacks.h',
1814 'cookies/cookie_store_test_helpers.cc',
1815 'cookies/cookie_store_test_helpers.h',
1816 'disk_cache/disk_cache_test_base.cc',
1817 'disk_cache/disk_cache_test_base.h',
1818 'disk_cache/disk_cache_test_util.cc',
1819 'disk_cache/disk_cache_test_util.h',
1820 'disk_cache/flash/flash_cache_test_base.h',
1821 'disk_cache/flash/flash_cache_test_base.cc',
1822 'dns/dns_test_util.cc',
1823 'dns/dns_test_util.h',
1824 'proxy/mock_proxy_resolver.cc',
1825 'proxy/mock_proxy_resolver.h',
1826 'proxy/mock_proxy_script_fetcher.cc',
1827 'proxy/mock_proxy_script_fetcher.h',
1828 'proxy/proxy_config_service_common_unittest.cc',
1829 'proxy/proxy_config_service_common_unittest.h',
1830 'socket/socket_test_util.cc',
1831 'socket/socket_test_util.h',
1832 'test/base_test_server.cc',
1833 'test/base_test_server.h',
1834 'test/local_sync_test_server.cc',
1835 'test/local_sync_test_server.h',
1836 'test/local_test_server_posix.cc',
1837 'test/local_test_server_win.cc',
1838 'test/local_test_server.cc',
1839 'test/local_test_server.h',
1840 'test/python_utils.cc',
1841 'test/python_utils.h',
1842 'test/remote_test_server.cc',
1843 'test/remote_test_server.h',
1844 'test/spawner_communicator.cc',
1845 'test/spawner_communicator.h',
1846 'test/test_server.h',
1847 'url_request/test_url_fetcher_factory.cc',
1848 'url_request/test_url_fetcher_factory.h',
1849 'url_request/url_request_test_util.cc',
1850 'url_request/url_request_test_util.h',
1853 ['inside_chromium_build==1 and OS != "ios"', {
1855 # The test server uses Python modules generated by cloud print.
1856 # TODO(sync): Remove this hack (http://crbug.com/119403).
1857 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_compile',
1858 # The test server uses Python modules generated by the sync protos.
1859 # TODO(sync): Remove this hack (http://crbug.com/117559).
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': 'fetch_client',
2009 'type': 'executable',
2010 'variables': { 'enable_wexit_time_destructors': 1, },
2012 '../base/base.gyp:base',
2013 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2014 '../build/temp_gyp/googleurl.gyp:googleurl',
2015 '../testing/gtest.gyp:gtest',
2020 'tools/fetch/fetch_client.cc',
2024 'target_name': 'fetch_server',
2025 'type': 'executable',
2026 'variables': { 'enable_wexit_time_destructors': 1, },
2028 '../base/base.gyp:base',
2029 '../build/temp_gyp/googleurl.gyp:googleurl',
2033 'tools/fetch/fetch_server.cc',
2034 'tools/fetch/http_listen_socket.cc',
2035 'tools/fetch/http_listen_socket.h',
2036 'tools/fetch/http_server.cc',
2037 'tools/fetch/http_server.h',
2038 'tools/fetch/http_server_request_info.cc',
2039 'tools/fetch/http_server_request_info.h',
2040 'tools/fetch/http_server_response_info.cc',
2041 'tools/fetch/http_server_response_info.h',
2042 'tools/fetch/http_session.cc',
2043 'tools/fetch/http_session.h',
2047 'target_name': 'gdig',
2048 'type': 'executable',
2050 '../base/base.gyp:base',
2054 'tools/gdig/file_net_log.cc',
2055 'tools/gdig/gdig.cc',
2059 'target_name': 'get_server_time',
2060 'type': 'executable',
2062 '../base/base.gyp:base',
2063 '../base/base.gyp:base_i18n',
2064 '../build/temp_gyp/googleurl.gyp:googleurl',
2068 'tools/get_server_time/get_server_time.cc',
2072 'target_name': 'net_watcher',
2073 'type': 'executable',
2075 '../base/base.gyp:base',
2080 [ 'use_glib == 1', {
2082 '../build/linux/system.gyp:gconf',
2083 '../build/linux/system.gyp:gio',
2089 'tools/net_watcher/net_watcher.cc',
2093 'target_name': 'run_testserver',
2094 'type': 'executable',
2096 '../base/base.gyp:base',
2097 '../build/temp_gyp/googleurl.gyp:googleurl',
2098 '../testing/gtest.gyp:gtest',
2103 'tools/testserver/run_testserver.cc',
2107 'target_name': 'stress_cache',
2108 'type': 'executable',
2110 '../base/base.gyp:base',
2115 'disk_cache/stress_cache.cc',
2119 'target_name': 'tld_cleanup',
2120 'type': 'executable',
2122 '../base/base.gyp:base',
2123 '../base/base.gyp:base_i18n',
2124 '../build/temp_gyp/googleurl.gyp:googleurl',
2127 'tools/tld_cleanup/tld_cleanup.cc',
2132 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2135 'target_name': 'flip_in_mem_edsm_server',
2136 'type': 'executable',
2141 '../base/base.gyp:base',
2142 '../third_party/openssl/openssl.gyp:openssl',
2146 'tools/dump_cache/url_to_filename_encoder.cc',
2147 'tools/dump_cache/url_to_filename_encoder.h',
2148 'tools/dump_cache/url_utilities.h',
2149 'tools/dump_cache/url_utilities.cc',
2150 'tools/flip_server/acceptor_thread.h',
2151 'tools/flip_server/acceptor_thread.cc',
2152 'tools/flip_server/balsa_enums.h',
2153 'tools/flip_server/balsa_frame.cc',
2154 'tools/flip_server/balsa_frame.h',
2155 'tools/flip_server/balsa_headers.cc',
2156 'tools/flip_server/balsa_headers.h',
2157 'tools/flip_server/balsa_headers_token_utils.cc',
2158 'tools/flip_server/balsa_headers_token_utils.h',
2159 'tools/flip_server/balsa_visitor_interface.h',
2160 'tools/flip_server/buffer_interface.h',
2161 'tools/flip_server/constants.h',
2162 'tools/flip_server/create_listener.cc',
2163 'tools/flip_server/create_listener.h',
2164 'tools/flip_server/epoll_server.cc',
2165 'tools/flip_server/epoll_server.h',
2166 'tools/flip_server/flip_config.cc',
2167 'tools/flip_server/flip_config.h',
2168 'tools/flip_server/flip_in_mem_edsm_server.cc',
2169 'tools/flip_server/http_interface.cc',
2170 'tools/flip_server/http_interface.h',
2171 'tools/flip_server/http_message_constants.cc',
2172 'tools/flip_server/http_message_constants.h',
2173 'tools/flip_server/loadtime_measurement.h',
2174 'tools/flip_server/mem_cache.h',
2175 'tools/flip_server/mem_cache.cc',
2176 'tools/flip_server/output_ordering.cc',
2177 'tools/flip_server/output_ordering.h',
2178 'tools/flip_server/ring_buffer.cc',
2179 'tools/flip_server/ring_buffer.h',
2180 'tools/flip_server/simple_buffer.cc',
2181 'tools/flip_server/simple_buffer.h',
2182 'tools/flip_server/sm_connection.cc',
2183 'tools/flip_server/sm_connection.h',
2184 'tools/flip_server/sm_interface.h',
2185 'tools/flip_server/split.h',
2186 'tools/flip_server/split.cc',
2187 'tools/flip_server/spdy_ssl.cc',
2188 'tools/flip_server/spdy_ssl.h',
2189 'tools/flip_server/spdy_interface.cc',
2190 'tools/flip_server/spdy_interface.h',
2191 'tools/flip_server/spdy_util.cc',
2192 'tools/flip_server/spdy_util.h',
2193 'tools/flip_server/streamer_interface.cc',
2194 'tools/flip_server/streamer_interface.h',
2195 'tools/flip_server/string_piece_utils.h',
2203 'target_name': 'net_jni_headers',
2206 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2207 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2208 'android/java/src/org/chromium/net/ProxyChangeListener.java',
2211 'jni_gen_dir': 'net',
2213 'includes': [ '../build/jni_generator.gypi' ],
2216 'target_name': 'net_java',
2219 'package_name': 'net',
2220 'java_in_dir': '../net/android/java',
2223 '../base/base.gyp:base',
2226 'includes': [ '../build/java.gypi' ],
2229 'target_name': 'net_java_test_support',
2232 'package_name': 'net_java_test_support',
2233 'java_in_dir': '../net/test/android/javatests',
2235 'includes': [ '../build/java.gypi' ],
2238 'target_name': 'net_javatests',
2241 'package_name': 'net_javatests',
2242 'java_in_dir': '../net/android/javatests',
2245 '../base/base.gyp:base',
2246 '../base/base.gyp:base_java_test_support',
2249 'includes': [ '../build/java.gypi' ],
2252 # This should be extracted to a gypi file and parameterized if
2253 # we have more use cases of using the preprocessor to build java files.
2254 'target_name': 'net_errors_java',
2256 'direct_dependent_settings': {
2258 'generated_src_dirs': ['<(SHARED_INTERMEDIATE_DIR)/net/template/'],
2259 'additional_input_paths': ['<(SHARED_INTERMEDIATE_DIR)/net/template/NetError.java'],
2264 'action_name': 'generate_net_errors_java',
2266 'android/java/net_errors_java.template',
2269 '<(SHARED_INTERMEDIATE_DIR)/net/template/NetError.java',
2280 'message': 'Preprocessing <(_inputs)',
2281 'process_outputs_as_sources': 1,
2287 # Special target to wrap a gtest_target_type==shared_library
2288 # net_unittests into an android apk for execution.
2289 # See base.gyp for TODO(jrg)s about this strategy.
2290 ['OS == "android" and gtest_target_type == "shared_library"', {
2293 'target_name': 'net_unittests_apk',
2300 'test_suite_name': 'net_unittests',
2301 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2303 'includes': [ '../build/apk_test.gypi' ],
2310 # TODO(port): dump_cache is still Windows-specific.
2311 'target_name': 'dump_cache',
2312 'type': 'executable',
2314 '../base/base.gyp:base',
2319 'tools/dump_cache/cache_dumper.cc',
2320 'tools/dump_cache/cache_dumper.h',
2321 'tools/dump_cache/dump_cache.cc',
2322 'tools/dump_cache/dump_files.cc',
2323 'tools/dump_cache/upgrade.cc',
2324 'tools/dump_cache/url_to_filename_encoder.cc',
2325 'tools/dump_cache/url_to_filename_encoder.h',
2326 'tools/dump_cache/url_utilities.h',
2327 'tools/dump_cache/url_utilities.cc',
2332 ['test_isolation_mode != "noop"', {
2335 'target_name': 'net_unittests_run',
2341 'net_unittests.isolate',
2345 'action_name': 'isolate',
2347 'net_unittests.isolate',
2348 '<@(isolate_dependency_tracked)',
2351 '<(PRODUCT_DIR)/net_unittests.isolated',
2355 '../tools/swarm_client/isolate.py',
2356 '<(test_isolation_mode)',
2357 '--outdir', '<(test_isolation_outdir)',
2358 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
2359 '--variable', 'OS', '<(OS)',
2360 '--result', '<@(_outputs)',
2361 '--isolate', 'net_unittests.isolate',