1 # Copyright 2013 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,
10 'use_tracing_cache_backend%': 0,
12 ['chromeos==1 or OS=="android" or OS=="ios"', {
13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
14 # It needs configuration (krb5.conf and so on).
19 ['OS=="android" and target_arch != "ia32"', {
20 # The way the cache uses mmap() is inefficient on some Android devices.
21 # If this flag is set, we hackily avoid using mmap() in the disk cache.
22 # We are pretty confident that mmap-ing the index would not hurt any
23 # existing x86 android devices, but we cannot be so sure about the
24 # variety of ARM devices. So enable it for x86 only for now.
25 'posix_avoid_mmap%': 1,
27 'posix_avoid_mmap%': 0,
30 # Websockets and socket stream are not used on iOS.
31 'enable_websockets%': 0,
32 # iOS does not use V8.
34 'enable_built_in_dns%': 0,
36 'enable_websockets%': 1,
38 'enable_built_in_dns%': 1,
43 '../build/win_precompile.gypi',
48 'type': '<(component)',
49 'variables': { 'enable_wexit_time_destructors': 1, },
51 '../base/base.gyp:base',
52 '../base/base.gyp:base_i18n',
53 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
54 '../crypto/crypto.gyp:crypto',
55 '../sdch/sdch.gyp:sdch',
56 '../third_party/icu/icu.gyp:icui18n',
57 '../third_party/icu/icu.gyp:icuuc',
58 '../third_party/zlib/zlib.gyp:zlib',
59 '../url/url.gyp:url_lib',
63 'android/cert_verify_result_android.h',
64 'android/cert_verify_result_android_list.h',
65 'android/gurl_utils.cc',
66 'android/gurl_utils.h',
67 'android/keystore.cc',
69 'android/keystore_openssl.cc',
70 'android/keystore_openssl.h',
71 'android/net_jni_registrar.cc',
72 'android/net_jni_registrar.h',
73 'android/network_change_notifier_android.cc',
74 'android/network_change_notifier_android.h',
75 'android/network_change_notifier_delegate_android.cc',
76 'android/network_change_notifier_delegate_android.h',
77 'android/network_change_notifier_factory_android.cc',
78 'android/network_change_notifier_factory_android.h',
79 'android/network_library.cc',
80 'android/network_library.h',
81 'base/address_family.h',
82 'base/address_list.cc',
83 'base/address_list.h',
84 'base/address_tracker_linux.cc',
85 'base/address_tracker_linux.h',
88 'base/backoff_entry.cc',
89 'base/backoff_entry.h',
90 'base/bandwidth_metrics.cc',
91 'base/bandwidth_metrics.h',
95 'base/completion_callback.h',
96 'base/connection_type_histograms.cc',
97 'base/connection_type_histograms.h',
98 'base/crypto_module.h',
99 'base/crypto_module_nss.cc',
100 'base/crypto_module_openssl.cc',
103 'base/directory_lister.cc',
104 'base/directory_lister.h',
105 'base/dns_reloader.cc',
106 'base/dns_reloader.h',
111 'base/expiring_cache.h',
112 'base/file_stream.cc',
113 'base/file_stream.h',
114 'base/file_stream_context.cc',
115 'base/file_stream_context.h',
116 'base/file_stream_context_posix.cc',
117 'base/file_stream_context_win.cc',
118 'base/file_stream_metrics.cc',
119 'base/file_stream_metrics.h',
120 'base/file_stream_metrics_posix.cc',
121 'base/file_stream_metrics_win.cc',
122 'base/file_stream_net_log_parameters.cc',
123 'base/file_stream_net_log_parameters.h',
124 'base/file_stream_whence.h',
129 'base/gzip_filter.cc',
130 'base/gzip_filter.h',
131 'base/gzip_header.cc',
132 'base/gzip_header.h',
133 'base/hash_value.cc',
135 'base/host_mapping_rules.cc',
136 'base/host_mapping_rules.h',
137 'base/host_port_pair.cc',
138 'base/host_port_pair.h',
142 'base/ip_endpoint.cc',
143 'base/ip_endpoint.h',
144 'base/keygen_handler.cc',
145 'base/keygen_handler.h',
146 'base/keygen_handler_mac.cc',
147 'base/keygen_handler_nss.cc',
148 'base/keygen_handler_openssl.cc',
149 'base/keygen_handler_win.cc',
150 'base/linked_hash_map.h',
152 'base/load_flags_list.h',
153 'base/load_states.h',
154 'base/load_states_list.h',
155 'base/load_timing_info.cc',
156 'base/load_timing_info.h',
157 'base/mime_sniffer.cc',
158 'base/mime_sniffer.h',
161 'base/net_error_list.h',
162 'base/net_errors.cc',
164 'base/net_errors_posix.cc',
165 'base/net_errors_win.cc',
169 'base/net_log_logger.cc',
170 'base/net_log_logger.h',
171 'base/net_log_event_type_list.h',
172 'base/net_log_source_type_list.h',
173 'base/net_module.cc',
177 'base/net_util_posix.cc',
178 'base/net_util_win.cc',
179 'base/network_change_notifier.cc',
180 'base/network_change_notifier.h',
181 'base/network_change_notifier_factory.h',
182 'base/network_change_notifier_linux.cc',
183 'base/network_change_notifier_linux.h',
184 'base/network_change_notifier_mac.cc',
185 'base/network_change_notifier_mac.h',
186 'base/network_change_notifier_win.cc',
187 'base/network_change_notifier_win.h',
188 'base/network_config_watcher_mac.cc',
189 'base/network_config_watcher_mac.h',
190 'base/network_delegate.cc',
191 'base/network_delegate.h',
192 'base/network_time_notifier.cc',
193 'base/network_time_notifier.h',
196 'base/openssl_private_key_store.h',
197 'base/openssl_private_key_store_android.cc',
198 'base/openssl_private_key_store_memory.cc',
199 'base/platform_mime_util.h',
200 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
201 'base/platform_mime_util_linux.cc',
202 'base/platform_mime_util_mac.mm',
203 'base/platform_mime_util_win.cc',
204 'base/prioritized_dispatcher.cc',
205 'base/prioritized_dispatcher.h',
206 'base/priority_queue.h',
207 'base/rand_callback.h',
208 'base/registry_controlled_domains/registry_controlled_domain.cc',
209 'base/registry_controlled_domains/registry_controlled_domain.h',
210 'base/request_priority.h',
211 'base/sdch_filter.cc',
212 'base/sdch_filter.h',
213 'base/sdch_manager.cc',
214 'base/sdch_manager.h',
215 'base/static_cookie_policy.cc',
216 'base/static_cookie_policy.h',
217 'base/sys_addrinfo.h',
218 'base/test_data_stream.cc',
219 'base/test_data_stream.h',
220 'base/upload_bytes_element_reader.cc',
221 'base/upload_bytes_element_reader.h',
222 'base/upload_data.cc',
223 'base/upload_data.h',
224 'base/upload_data_stream.cc',
225 'base/upload_data_stream.h',
226 'base/upload_element.cc',
227 'base/upload_element.h',
228 'base/upload_element_reader.cc',
229 'base/upload_element_reader.h',
230 'base/upload_file_element_reader.cc',
231 'base/upload_file_element_reader.h',
232 'base/upload_progress.h',
235 'base/winsock_init.cc',
236 'base/winsock_init.h',
237 'base/winsock_util.cc',
238 'base/winsock_util.h',
243 'cert/cert_database.cc',
244 'cert/cert_database.h',
245 'cert/cert_database_android.cc',
246 'cert/cert_database_ios.cc',
247 'cert/cert_database_mac.cc',
248 'cert/cert_database_nss.cc',
249 'cert/cert_database_openssl.cc',
250 'cert/cert_database_win.cc',
251 'cert/cert_status_flags.cc',
252 'cert/cert_status_flags.h',
253 'cert/cert_trust_anchor_provider.h',
254 'cert/cert_verifier.cc',
255 'cert/cert_verifier.h',
256 'cert/cert_verify_proc.cc',
257 'cert/cert_verify_proc.h',
258 'cert/cert_verify_proc_android.cc',
259 'cert/cert_verify_proc_android.h',
260 'cert/cert_verify_proc_mac.cc',
261 'cert/cert_verify_proc_mac.h',
262 'cert/cert_verify_proc_nss.cc',
263 'cert/cert_verify_proc_nss.h',
264 'cert/cert_verify_proc_openssl.cc',
265 'cert/cert_verify_proc_openssl.h',
266 'cert/cert_verify_proc_win.cc',
267 'cert/cert_verify_proc_win.h',
268 'cert/cert_verify_result.cc',
269 'cert/cert_verify_result.h',
272 'cert/ev_root_ca_metadata.cc',
273 'cert/ev_root_ca_metadata.h',
274 'cert/multi_threaded_cert_verifier.cc',
275 'cert/multi_threaded_cert_verifier.h',
276 'cert/nss_cert_database.cc',
277 'cert/nss_cert_database.h',
278 'cert/pem_tokenizer.cc',
279 'cert/pem_tokenizer.h',
280 'cert/single_request_cert_verifier.cc',
281 'cert/single_request_cert_verifier.h',
282 'cert/test_root_certs.cc',
283 'cert/test_root_certs.h',
284 'cert/test_root_certs_mac.cc',
285 'cert/test_root_certs_nss.cc',
286 'cert/test_root_certs_openssl.cc',
287 'cert/test_root_certs_android.cc',
288 'cert/test_root_certs_win.cc',
289 'cert/x509_cert_types.cc',
290 'cert/x509_cert_types.h',
291 'cert/x509_cert_types_mac.cc',
292 'cert/x509_cert_types_win.cc',
293 'cert/x509_certificate.cc',
294 'cert/x509_certificate.h',
295 'cert/x509_certificate_ios.cc',
296 'cert/x509_certificate_mac.cc',
297 'cert/x509_certificate_net_log_param.cc',
298 'cert/x509_certificate_net_log_param.h',
299 'cert/x509_certificate_nss.cc',
300 'cert/x509_certificate_openssl.cc',
301 'cert/x509_certificate_win.cc',
304 'cert/x509_util_ios.cc',
305 'cert/x509_util_ios.h',
306 'cert/x509_util_mac.cc',
307 'cert/x509_util_mac.h',
308 'cert/x509_util_nss.cc',
309 'cert/x509_util_nss.h',
310 'cert/x509_util_openssl.cc',
311 'cert/x509_util_openssl.h',
312 'cookies/canonical_cookie.cc',
313 'cookies/canonical_cookie.h',
314 'cookies/cookie_constants.cc',
315 'cookies/cookie_constants.h',
316 'cookies/cookie_monster.cc',
317 'cookies/cookie_monster.h',
318 'cookies/cookie_options.h',
319 'cookies/cookie_store.cc',
320 'cookies/cookie_store.h',
321 'cookies/cookie_util.cc',
322 'cookies/cookie_util.h',
323 'cookies/parsed_cookie.cc',
324 'cookies/parsed_cookie.h',
325 'disk_cache/addr.cc',
327 'disk_cache/backend_impl.cc',
328 'disk_cache/backend_impl.h',
329 'disk_cache/bitmap.cc',
330 'disk_cache/bitmap.h',
331 'disk_cache/block_files.cc',
332 'disk_cache/block_files.h',
333 'disk_cache/cache_creator.cc',
334 'disk_cache/cache_util.h',
335 'disk_cache/cache_util.cc',
336 'disk_cache/cache_util_posix.cc',
337 'disk_cache/cache_util_win.cc',
338 'disk_cache/disk_cache.h',
339 'disk_cache/disk_format.cc',
340 'disk_cache/disk_format.h',
341 'disk_cache/disk_format_base.h',
342 'disk_cache/entry_impl.cc',
343 'disk_cache/entry_impl.h',
344 'disk_cache/errors.h',
345 'disk_cache/eviction.cc',
346 'disk_cache/eviction.h',
347 'disk_cache/experiments.h',
348 'disk_cache/file.cc',
350 'disk_cache/file_block.h',
351 'disk_cache/file_lock.cc',
352 'disk_cache/file_lock.h',
353 'disk_cache/file_posix.cc',
354 'disk_cache/file_win.cc',
355 'disk_cache/histogram_macros.h',
356 'disk_cache/in_flight_backend_io.cc',
357 'disk_cache/in_flight_backend_io.h',
358 'disk_cache/in_flight_io.cc',
359 'disk_cache/in_flight_io.h',
360 'disk_cache/mapped_file.h',
361 'disk_cache/mapped_file_posix.cc',
362 'disk_cache/mapped_file_avoid_mmap_posix.cc',
363 'disk_cache/mapped_file_win.cc',
364 'disk_cache/mem_backend_impl.cc',
365 'disk_cache/mem_backend_impl.h',
366 'disk_cache/mem_entry_impl.cc',
367 'disk_cache/mem_entry_impl.h',
368 'disk_cache/mem_rankings.cc',
369 'disk_cache/mem_rankings.h',
370 'disk_cache/net_log_parameters.cc',
371 'disk_cache/net_log_parameters.h',
372 'disk_cache/rankings.cc',
373 'disk_cache/rankings.h',
374 'disk_cache/sparse_control.cc',
375 'disk_cache/sparse_control.h',
376 'disk_cache/stats.cc',
377 'disk_cache/stats.h',
378 'disk_cache/stats_histogram.cc',
379 'disk_cache/stats_histogram.h',
380 'disk_cache/storage_block-inl.h',
381 'disk_cache/storage_block.h',
382 'disk_cache/stress_support.h',
383 'disk_cache/trace.cc',
384 'disk_cache/trace.h',
385 'disk_cache/tracing_cache_backend.cc',
386 'disk_cache/tracing_cache_backend.h',
387 'disk_cache/simple/simple_backend_impl.cc',
388 'disk_cache/simple/simple_backend_impl.h',
389 'disk_cache/simple/simple_entry_format.cc',
390 'disk_cache/simple/simple_entry_format.h',
391 'disk_cache/simple/simple_entry_impl.cc',
392 'disk_cache/simple/simple_entry_impl.h',
393 'disk_cache/simple/simple_index.cc',
394 'disk_cache/simple/simple_index.h',
395 'disk_cache/simple/simple_index_file.cc',
396 'disk_cache/simple/simple_index_file.h',
397 'disk_cache/simple/simple_synchronous_entry.cc',
398 'disk_cache/simple/simple_synchronous_entry.h',
399 'disk_cache/simple/simple_util.cc',
400 'disk_cache/simple/simple_util.h',
401 'disk_cache/flash/flash_entry_impl.cc',
402 'disk_cache/flash/flash_entry_impl.h',
403 'disk_cache/flash/format.h',
404 'disk_cache/flash/internal_entry.cc',
405 'disk_cache/flash/internal_entry.h',
406 'disk_cache/flash/log_store.cc',
407 'disk_cache/flash/log_store.h',
408 'disk_cache/flash/log_store_entry.cc',
409 'disk_cache/flash/log_store_entry.h',
410 'disk_cache/flash/segment.cc',
411 'disk_cache/flash/segment.h',
412 'disk_cache/flash/storage.cc',
413 'disk_cache/flash/storage.h',
414 'disk_cache/v3/disk_format_v3.h',
415 'dns/address_sorter.h',
416 'dns/address_sorter_posix.cc',
417 'dns/address_sorter_posix.h',
418 'dns/address_sorter_win.cc',
421 'dns/dns_config_service.cc',
422 'dns/dns_config_service.h',
423 'dns/dns_config_service_posix.cc',
424 'dns/dns_config_service_posix.h',
425 'dns/dns_config_service_win.cc',
426 'dns/dns_config_service_win.h',
429 'dns/dns_protocol.h',
432 'dns/dns_response.cc',
433 'dns/dns_response.h',
434 'dns/dns_session.cc',
436 'dns/dns_socket_pool.cc',
437 'dns/dns_socket_pool.h',
438 'dns/dns_transaction.cc',
439 'dns/dns_transaction.h',
442 'dns/host_resolver.cc',
443 'dns/host_resolver.h',
444 'dns/host_resolver_impl.cc',
445 'dns/host_resolver_impl.h',
446 'dns/host_resolver_proc.cc',
447 'dns/host_resolver_proc.h',
448 'dns/mapped_host_resolver.cc',
449 'dns/mapped_host_resolver.h',
452 'dns/mdns_client.cc',
454 'dns/mdns_client_impl.cc',
455 'dns/mdns_client_impl.h',
456 'dns/notify_watcher_mac.cc',
457 'dns/notify_watcher_mac.h',
458 'dns/record_parsed.cc',
459 'dns/record_parsed.h',
460 'dns/record_rdata.cc',
461 'dns/record_rdata.h',
462 'dns/serial_worker.cc',
463 'dns/serial_worker.h',
464 'dns/single_request_host_resolver.cc',
465 'dns/single_request_host_resolver.h',
466 'ftp/ftp_auth_cache.cc',
467 'ftp/ftp_auth_cache.h',
468 'ftp/ftp_ctrl_response_buffer.cc',
469 'ftp/ftp_ctrl_response_buffer.h',
470 'ftp/ftp_directory_listing_parser.cc',
471 'ftp/ftp_directory_listing_parser.h',
472 'ftp/ftp_directory_listing_parser_ls.cc',
473 'ftp/ftp_directory_listing_parser_ls.h',
474 'ftp/ftp_directory_listing_parser_netware.cc',
475 'ftp/ftp_directory_listing_parser_netware.h',
476 'ftp/ftp_directory_listing_parser_os2.cc',
477 'ftp/ftp_directory_listing_parser_os2.h',
478 'ftp/ftp_directory_listing_parser_vms.cc',
479 'ftp/ftp_directory_listing_parser_vms.h',
480 'ftp/ftp_directory_listing_parser_windows.cc',
481 'ftp/ftp_directory_listing_parser_windows.h',
482 'ftp/ftp_network_layer.cc',
483 'ftp/ftp_network_layer.h',
484 'ftp/ftp_network_session.cc',
485 'ftp/ftp_network_session.h',
486 'ftp/ftp_network_transaction.cc',
487 'ftp/ftp_network_transaction.h',
488 'ftp/ftp_request_info.h',
489 'ftp/ftp_response_info.cc',
490 'ftp/ftp_response_info.h',
491 'ftp/ftp_server_type_histograms.cc',
492 'ftp/ftp_server_type_histograms.h',
493 'ftp/ftp_transaction.h',
494 'ftp/ftp_transaction_factory.h',
499 'http/http_atom_list.h',
502 'http/http_auth_cache.cc',
503 'http/http_auth_cache.h',
504 'http/http_auth_controller.cc',
505 'http/http_auth_controller.h',
506 'http/http_auth_filter.cc',
507 'http/http_auth_filter.h',
508 'http/http_auth_filter_win.h',
509 'http/http_auth_gssapi_posix.cc',
510 'http/http_auth_gssapi_posix.h',
511 'http/http_auth_handler.cc',
512 'http/http_auth_handler.h',
513 'http/http_auth_handler_basic.cc',
514 'http/http_auth_handler_basic.h',
515 'http/http_auth_handler_digest.cc',
516 'http/http_auth_handler_digest.h',
517 'http/http_auth_handler_factory.cc',
518 'http/http_auth_handler_factory.h',
519 'http/http_auth_handler_negotiate.cc',
520 'http/http_auth_handler_negotiate.h',
521 'http/http_auth_handler_ntlm.cc',
522 'http/http_auth_handler_ntlm.h',
523 'http/http_auth_handler_ntlm_portable.cc',
524 'http/http_auth_handler_ntlm_win.cc',
525 'http/http_auth_sspi_win.cc',
526 'http/http_auth_sspi_win.h',
527 'http/http_basic_stream.cc',
528 'http/http_basic_stream.h',
529 'http/http_byte_range.cc',
530 'http/http_byte_range.h',
531 'http/http_cache.cc',
533 'http/http_cache_transaction.cc',
534 'http/http_cache_transaction.h',
535 'http/http_content_disposition.cc',
536 'http/http_content_disposition.h',
537 'http/http_chunked_decoder.cc',
538 'http/http_chunked_decoder.h',
539 'http/http_network_layer.cc',
540 'http/http_network_layer.h',
541 'http/http_network_session.cc',
542 'http/http_network_session.h',
543 'http/http_network_session_peer.cc',
544 'http/http_network_session_peer.h',
545 'http/http_network_transaction.cc',
546 'http/http_network_transaction.h',
547 'http/http_pipelined_connection.h',
548 'http/http_pipelined_connection_impl.cc',
549 'http/http_pipelined_connection_impl.h',
550 'http/http_pipelined_host.cc',
551 'http/http_pipelined_host.h',
552 'http/http_pipelined_host_capability.h',
553 'http/http_pipelined_host_forced.cc',
554 'http/http_pipelined_host_forced.h',
555 'http/http_pipelined_host_impl.cc',
556 'http/http_pipelined_host_impl.h',
557 'http/http_pipelined_host_pool.cc',
558 'http/http_pipelined_host_pool.h',
559 'http/http_pipelined_stream.cc',
560 'http/http_pipelined_stream.h',
561 'http/http_proxy_client_socket.cc',
562 'http/http_proxy_client_socket.h',
563 'http/http_proxy_client_socket_pool.cc',
564 'http/http_proxy_client_socket_pool.h',
565 'http/http_request_headers.cc',
566 'http/http_request_headers.h',
567 'http/http_request_info.cc',
568 'http/http_request_info.h',
569 'http/http_response_body_drainer.cc',
570 'http/http_response_body_drainer.h',
571 'http/http_response_headers.cc',
572 'http/http_response_headers.h',
573 'http/http_response_info.cc',
574 'http/http_response_info.h',
575 'http/http_security_headers.cc',
576 'http/http_security_headers.h',
577 'http/http_server_properties.cc',
578 'http/http_server_properties.h',
579 'http/http_server_properties_impl.cc',
580 'http/http_server_properties_impl.h',
581 'http/http_status_code.cc',
582 'http/http_status_code.h',
583 'http/http_stream.h',
584 'http/http_stream_base.h',
585 'http/http_stream_factory.cc',
586 'http/http_stream_factory.h',
587 'http/http_stream_factory_impl.cc',
588 'http/http_stream_factory_impl.h',
589 'http/http_stream_factory_impl_job.cc',
590 'http/http_stream_factory_impl_job.h',
591 'http/http_stream_factory_impl_request.cc',
592 'http/http_stream_factory_impl_request.h',
593 'http/http_stream_parser.cc',
594 'http/http_stream_parser.h',
595 'http/http_transaction.h',
596 'http/http_transaction_delegate.h',
597 'http/http_transaction_factory.h',
600 'http/http_util_icu.cc',
601 'http/http_vary_data.cc',
602 'http/http_vary_data.h',
603 'http/http_version.h',
606 'http/partial_data.cc',
607 'http/partial_data.h',
608 'http/proxy_client_socket.h',
609 'http/proxy_client_socket.cc',
610 'http/proxy_connect_redirect_http_stream.h',
611 'http/proxy_connect_redirect_http_stream.cc',
612 'http/transport_security_state.cc',
613 'http/transport_security_state.h',
614 'http/transport_security_state_static.h',
615 'http/url_security_manager.cc',
616 'http/url_security_manager.h',
617 'http/url_security_manager_posix.cc',
618 'http/url_security_manager_win.cc',
621 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
622 'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
623 'proxy/dhcp_proxy_script_fetcher.cc',
624 'proxy/dhcp_proxy_script_fetcher.h',
625 'proxy/dhcp_proxy_script_fetcher_factory.cc',
626 'proxy/dhcp_proxy_script_fetcher_factory.h',
627 'proxy/dhcp_proxy_script_fetcher_win.cc',
628 'proxy/dhcp_proxy_script_fetcher_win.h',
629 'proxy/dhcpcsvc_init_win.cc',
630 'proxy/dhcpcsvc_init_win.h',
631 'proxy/multi_threaded_proxy_resolver.cc',
632 'proxy/multi_threaded_proxy_resolver.h',
633 'proxy/network_delegate_error_observer.cc',
634 'proxy/network_delegate_error_observer.h',
635 'proxy/polling_proxy_config_service.cc',
636 'proxy/polling_proxy_config_service.h',
637 'proxy/proxy_bypass_rules.cc',
638 'proxy/proxy_bypass_rules.h',
639 'proxy/proxy_config.cc',
640 'proxy/proxy_config.h',
641 'proxy/proxy_config_service.h',
642 'proxy/proxy_config_service_android.cc',
643 'proxy/proxy_config_service_android.h',
644 'proxy/proxy_config_service_fixed.cc',
645 'proxy/proxy_config_service_fixed.h',
646 'proxy/proxy_config_service_ios.cc',
647 'proxy/proxy_config_service_ios.h',
648 'proxy/proxy_config_service_linux.cc',
649 'proxy/proxy_config_service_linux.h',
650 'proxy/proxy_config_service_mac.cc',
651 'proxy/proxy_config_service_mac.h',
652 'proxy/proxy_config_service_win.cc',
653 'proxy/proxy_config_service_win.h',
654 'proxy/proxy_config_source.cc',
655 'proxy/proxy_config_source.h',
656 'proxy/proxy_info.cc',
657 'proxy/proxy_info.h',
658 'proxy/proxy_list.cc',
659 'proxy/proxy_list.h',
660 'proxy/proxy_resolver.h',
661 'proxy/proxy_resolver_error_observer.h',
662 'proxy/proxy_resolver_mac.cc',
663 'proxy/proxy_resolver_mac.h',
664 'proxy/proxy_resolver_script.h',
665 'proxy/proxy_resolver_script_data.cc',
666 'proxy/proxy_resolver_script_data.h',
667 'proxy/proxy_resolver_winhttp.cc',
668 'proxy/proxy_resolver_winhttp.h',
669 'proxy/proxy_retry_info.h',
670 'proxy/proxy_script_decider.cc',
671 'proxy/proxy_script_decider.h',
672 'proxy/proxy_script_fetcher.h',
673 'proxy/proxy_script_fetcher_impl.cc',
674 'proxy/proxy_script_fetcher_impl.h',
675 'proxy/proxy_server.cc',
676 'proxy/proxy_server.h',
677 'proxy/proxy_server_mac.cc',
678 'proxy/proxy_service.cc',
679 'proxy/proxy_service.h',
680 'quic/blocked_list.h',
681 'quic/congestion_control/available_channel_estimator.cc',
682 'quic/congestion_control/available_channel_estimator.h',
683 'quic/congestion_control/channel_estimator.cc',
684 'quic/congestion_control/channel_estimator.h',
685 'quic/congestion_control/cube_root.cc',
686 'quic/congestion_control/cube_root.h',
687 'quic/congestion_control/cubic.cc',
688 'quic/congestion_control/cubic.h',
689 'quic/congestion_control/fix_rate_receiver.cc',
690 'quic/congestion_control/fix_rate_receiver.h',
691 'quic/congestion_control/fix_rate_sender.cc',
692 'quic/congestion_control/fix_rate_sender.h',
693 'quic/congestion_control/hybrid_slow_start.cc',
694 'quic/congestion_control/hybrid_slow_start.h',
695 'quic/congestion_control/inter_arrival_bitrate_ramp_up.cc',
696 'quic/congestion_control/inter_arrival_bitrate_ramp_up.h',
697 'quic/congestion_control/inter_arrival_overuse_detector.cc',
698 'quic/congestion_control/inter_arrival_overuse_detector.h',
699 'quic/congestion_control/inter_arrival_probe.cc',
700 'quic/congestion_control/inter_arrival_probe.h',
701 'quic/congestion_control/inter_arrival_receiver.cc',
702 'quic/congestion_control/inter_arrival_receiver.h',
703 'quic/congestion_control/inter_arrival_sender.cc',
704 'quic/congestion_control/inter_arrival_sender.h',
705 'quic/congestion_control/inter_arrival_state_machine.cc',
706 'quic/congestion_control/inter_arrival_state_machine.h',
707 'quic/congestion_control/leaky_bucket.cc',
708 'quic/congestion_control/leaky_bucket.h',
709 'quic/congestion_control/paced_sender.cc',
710 'quic/congestion_control/paced_sender.h',
711 'quic/congestion_control/quic_congestion_manager.cc',
712 'quic/congestion_control/quic_congestion_manager.h',
713 'quic/congestion_control/quic_max_sized_map.h',
714 'quic/congestion_control/receive_algorithm_interface.cc',
715 'quic/congestion_control/receive_algorithm_interface.h',
716 'quic/congestion_control/send_algorithm_interface.cc',
717 'quic/congestion_control/send_algorithm_interface.h',
718 'quic/congestion_control/tcp_cubic_sender.cc',
719 'quic/congestion_control/tcp_cubic_sender.h',
720 'quic/congestion_control/tcp_receiver.cc',
721 'quic/congestion_control/tcp_receiver.h',
722 'quic/crypto/aes_128_gcm_12_decrypter.h',
723 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
724 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
725 'quic/crypto/aes_128_gcm_12_encrypter.h',
726 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
727 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
728 'quic/crypto/cert_compressor.cc',
729 'quic/crypto/cert_compressor.h',
730 'quic/crypto/channel_id.cc',
731 'quic/crypto/channel_id.h',
732 'quic/crypto/channel_id_nss.cc',
733 'quic/crypto/channel_id_openssl.cc',
734 'quic/crypto/common_cert_set.cc',
735 'quic/crypto/common_cert_set.h',
736 'quic/crypto/crypto_framer.cc',
737 'quic/crypto/crypto_framer.h',
738 'quic/crypto/crypto_handshake.cc',
739 'quic/crypto/crypto_handshake.h',
740 'quic/crypto/crypto_protocol.h',
741 'quic/crypto/crypto_secret_boxer.cc',
742 'quic/crypto/crypto_secret_boxer.h',
743 'quic/crypto/crypto_server_config.cc',
744 'quic/crypto/crypto_server_config.h',
745 'quic/crypto/crypto_server_config_protobuf.cc',
746 'quic/crypto/crypto_server_config_protobuf.h',
747 'quic/crypto/crypto_utils.cc',
748 'quic/crypto/crypto_utils.h',
749 'quic/crypto/curve25519_key_exchange.cc',
750 'quic/crypto/curve25519_key_exchange.h',
751 'quic/crypto/ephemeral_key_source.h',
752 'quic/crypto/key_exchange.h',
753 'quic/crypto/null_decrypter.cc',
754 'quic/crypto/null_decrypter.h',
755 'quic/crypto/null_encrypter.cc',
756 'quic/crypto/null_encrypter.h',
757 'quic/crypto/p256_key_exchange.h',
758 'quic/crypto/p256_key_exchange_nss.cc',
759 'quic/crypto/p256_key_exchange_openssl.cc',
760 'quic/crypto/proof_source.h',
761 'quic/crypto/quic_decrypter.cc',
762 'quic/crypto/quic_decrypter.h',
763 'quic/crypto/quic_encrypter.cc',
764 'quic/crypto/quic_encrypter.h',
765 'quic/crypto/quic_random.cc',
766 'quic/crypto/quic_random.h',
767 'quic/crypto/scoped_evp_cipher_ctx.cc',
768 'quic/crypto/scoped_evp_cipher_ctx.h',
769 'quic/crypto/strike_register.cc',
770 'quic/crypto/strike_register.h',
771 'quic/crypto/source_address_token.cc',
772 'quic/crypto/source_address_token.h',
773 'quic/quic_bandwidth.cc',
774 'quic/quic_bandwidth.h',
775 'quic/quic_blocked_writer_interface.h',
776 'quic/quic_client_session.cc',
777 'quic/quic_client_session.h',
778 'quic/quic_config.cc',
779 'quic/quic_config.h',
780 'quic/quic_crypto_client_stream.cc',
781 'quic/quic_crypto_client_stream.h',
782 'quic/quic_crypto_client_stream_factory.h',
783 'quic/quic_crypto_server_stream.cc',
784 'quic/quic_crypto_server_stream.h',
785 'quic/quic_crypto_stream.cc',
786 'quic/quic_crypto_stream.h',
787 'quic/quic_clock.cc',
789 'quic/quic_connection.cc',
790 'quic/quic_connection.h',
791 'quic/quic_connection_helper.cc',
792 'quic/quic_connection_helper.h',
793 'quic/quic_connection_logger.cc',
794 'quic/quic_connection_logger.h',
795 'quic/quic_data_reader.cc',
796 'quic/quic_data_reader.h',
797 'quic/quic_data_writer.cc',
798 'quic/quic_data_writer.h',
799 'quic/quic_fec_group.cc',
800 'quic/quic_fec_group.h',
801 'quic/quic_framer.cc',
802 'quic/quic_framer.h',
803 'quic/quic_http_stream.cc',
804 'quic/quic_http_stream.h',
805 'quic/quic_packet_creator.cc',
806 'quic/quic_packet_creator.h',
807 'quic/quic_packet_entropy_manager.cc',
808 'quic/quic_packet_entropy_manager.h',
809 'quic/quic_packet_generator.cc',
810 'quic/quic_packet_generator.h',
811 'quic/quic_protocol.cc',
812 'quic/quic_protocol.h',
813 'quic/quic_reliable_client_stream.cc',
814 'quic/quic_reliable_client_stream.h',
815 'quic/quic_session.cc',
816 'quic/quic_session.h',
817 'quic/quic_spdy_compressor.cc',
818 'quic/quic_spdy_compressor.h',
819 'quic/quic_spdy_decompressor.cc',
820 'quic/quic_spdy_decompressor.h',
821 'quic/quic_stats.cc',
823 'quic/quic_stream_factory.cc',
824 'quic/quic_stream_factory.h',
825 'quic/quic_stream_sequencer.cc',
826 'quic/quic_stream_sequencer.h',
829 'quic/quic_utils.cc',
831 'quic/reliable_quic_stream.cc',
832 'quic/reliable_quic_stream.h',
833 'quic/spdy_utils.cc',
835 'socket/buffered_write_stream_socket.cc',
836 'socket/buffered_write_stream_socket.h',
837 'socket/client_socket_factory.cc',
838 'socket/client_socket_factory.h',
839 'socket/client_socket_handle.cc',
840 'socket/client_socket_handle.h',
841 'socket/client_socket_pool.cc',
842 'socket/client_socket_pool.h',
843 'socket/client_socket_pool_base.cc',
844 'socket/client_socket_pool_base.h',
845 'socket/client_socket_pool_histograms.cc',
846 'socket/client_socket_pool_histograms.h',
847 'socket/client_socket_pool_manager.cc',
848 'socket/client_socket_pool_manager.h',
849 'socket/client_socket_pool_manager_impl.cc',
850 'socket/client_socket_pool_manager_impl.h',
851 'socket/next_proto.h',
852 'socket/nss_ssl_util.cc',
853 'socket/nss_ssl_util.h',
854 'socket/server_socket.h',
855 'socket/socket_net_log_params.cc',
856 'socket/socket_net_log_params.h',
858 'socket/socks5_client_socket.cc',
859 'socket/socks5_client_socket.h',
860 'socket/socks_client_socket.cc',
861 'socket/socks_client_socket.h',
862 'socket/socks_client_socket_pool.cc',
863 'socket/socks_client_socket_pool.h',
864 'socket/ssl_client_socket.cc',
865 'socket/ssl_client_socket.h',
866 'socket/ssl_client_socket_nss.cc',
867 'socket/ssl_client_socket_nss.h',
868 'socket/ssl_client_socket_openssl.cc',
869 'socket/ssl_client_socket_openssl.h',
870 'socket/ssl_client_socket_pool.cc',
871 'socket/ssl_client_socket_pool.h',
872 'socket/ssl_error_params.cc',
873 'socket/ssl_error_params.h',
874 'socket/ssl_server_socket.h',
875 'socket/ssl_server_socket_nss.cc',
876 'socket/ssl_server_socket_nss.h',
877 'socket/ssl_server_socket_openssl.cc',
878 'socket/ssl_socket.h',
879 'socket/stream_listen_socket.cc',
880 'socket/stream_listen_socket.h',
881 'socket/stream_socket.cc',
882 'socket/stream_socket.h',
883 'socket/tcp_client_socket.cc',
884 'socket/tcp_client_socket.h',
885 'socket/tcp_client_socket_libevent.cc',
886 'socket/tcp_client_socket_libevent.h',
887 'socket/tcp_client_socket_win.cc',
888 'socket/tcp_client_socket_win.h',
889 'socket/tcp_listen_socket.cc',
890 'socket/tcp_listen_socket.h',
891 'socket/tcp_server_socket.h',
892 'socket/tcp_server_socket_libevent.cc',
893 'socket/tcp_server_socket_libevent.h',
894 'socket/tcp_server_socket_win.cc',
895 'socket/tcp_server_socket_win.h',
896 'socket/transport_client_socket_pool.cc',
897 'socket/transport_client_socket_pool.h',
898 'socket/unix_domain_socket_posix.cc',
899 'socket/unix_domain_socket_posix.h',
900 'socket_stream/socket_stream.cc',
901 'socket_stream/socket_stream.h',
902 'socket_stream/socket_stream_job.cc',
903 'socket_stream/socket_stream_job.h',
904 'socket_stream/socket_stream_job_manager.cc',
905 'socket_stream/socket_stream_job_manager.h',
906 'socket_stream/socket_stream_metrics.cc',
907 'socket_stream/socket_stream_metrics.h',
908 'spdy/buffered_spdy_framer.cc',
909 'spdy/buffered_spdy_framer.h',
910 'spdy/spdy_bitmasks.h',
911 'spdy/spdy_buffer.cc',
912 'spdy/spdy_buffer.h',
913 'spdy/spdy_buffer_producer.cc',
914 'spdy/spdy_buffer_producer.h',
915 'spdy/spdy_credential_builder.cc',
916 'spdy/spdy_credential_builder.h',
917 'spdy/spdy_credential_state.cc',
918 'spdy/spdy_credential_state.h',
919 'spdy/spdy_frame_builder.cc',
920 'spdy/spdy_frame_builder.h',
921 'spdy/spdy_frame_reader.cc',
922 'spdy/spdy_frame_reader.h',
923 'spdy/spdy_framer.cc',
924 'spdy/spdy_framer.h',
925 'spdy/spdy_header_block.cc',
926 'spdy/spdy_header_block.h',
927 'spdy/spdy_http_stream.cc',
928 'spdy/spdy_http_stream.h',
929 'spdy/spdy_http_utils.cc',
930 'spdy/spdy_http_utils.h',
931 'spdy/spdy_priority_forest.h',
932 'spdy/spdy_protocol.cc',
933 'spdy/spdy_protocol.h',
934 'spdy/spdy_proxy_client_socket.cc',
935 'spdy/spdy_proxy_client_socket.h',
936 'spdy/spdy_read_queue.cc',
937 'spdy/spdy_read_queue.h',
938 'spdy/spdy_session.cc',
939 'spdy/spdy_session.h',
940 'spdy/spdy_session_key.cc',
941 'spdy/spdy_session_key.h',
942 'spdy/spdy_session_pool.cc',
943 'spdy/spdy_session_pool.h',
944 'spdy/spdy_stream.cc',
945 'spdy/spdy_stream.h',
946 'spdy/spdy_websocket_stream.cc',
947 'spdy/spdy_websocket_stream.h',
948 'spdy/spdy_write_queue.cc',
949 'spdy/spdy_write_queue.h',
950 'ssl/client_cert_store.h',
951 'ssl/client_cert_store_impl.h',
952 'ssl/client_cert_store_impl_mac.cc',
953 'ssl/client_cert_store_impl_nss.cc',
954 'ssl/client_cert_store_impl_win.cc',
955 'ssl/default_server_bound_cert_store.cc',
956 'ssl/default_server_bound_cert_store.h',
957 'ssl/openssl_client_key_store.cc',
958 'ssl/openssl_client_key_store.h',
959 'ssl/server_bound_cert_service.cc',
960 'ssl/server_bound_cert_service.h',
961 'ssl/server_bound_cert_store.cc',
962 'ssl/server_bound_cert_store.h',
963 'ssl/ssl_cert_request_info.cc',
964 'ssl/ssl_cert_request_info.h',
965 'ssl/ssl_cipher_suite_names.cc',
966 'ssl/ssl_cipher_suite_names.h',
967 'ssl/ssl_client_auth_cache.cc',
968 'ssl/ssl_client_auth_cache.h',
969 'ssl/ssl_client_cert_type.h',
970 'ssl/ssl_config_service.cc',
971 'ssl/ssl_config_service.h',
972 'ssl/ssl_config_service_defaults.cc',
973 'ssl/ssl_config_service_defaults.h',
976 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
977 'third_party/mozilla_security_manager/nsKeygenHandler.h',
978 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
979 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
980 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
981 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
982 'udp/datagram_client_socket.h',
983 'udp/datagram_server_socket.h',
984 'udp/datagram_socket.h',
985 'udp/udp_client_socket.cc',
986 'udp/udp_client_socket.h',
987 'udp/udp_net_log_parameters.cc',
988 'udp/udp_net_log_parameters.h',
989 'udp/udp_server_socket.cc',
990 'udp/udp_server_socket.h',
992 'udp/udp_socket_libevent.cc',
993 'udp/udp_socket_libevent.h',
994 'udp/udp_socket_win.cc',
995 'udp/udp_socket_win.h',
996 'url_request/data_protocol_handler.cc',
997 'url_request/data_protocol_handler.h',
998 'url_request/file_protocol_handler.cc',
999 'url_request/file_protocol_handler.h',
1000 'url_request/fraudulent_certificate_reporter.h',
1001 'url_request/ftp_protocol_handler.cc',
1002 'url_request/ftp_protocol_handler.h',
1003 'url_request/http_user_agent_settings.h',
1004 'url_request/protocol_intercept_job_factory.cc',
1005 'url_request/protocol_intercept_job_factory.h',
1006 'url_request/static_http_user_agent_settings.cc',
1007 'url_request/static_http_user_agent_settings.h',
1008 'url_request/url_fetcher.cc',
1009 'url_request/url_fetcher.h',
1010 'url_request/url_fetcher_core.cc',
1011 'url_request/url_fetcher_core.h',
1012 'url_request/url_fetcher_delegate.cc',
1013 'url_request/url_fetcher_delegate.h',
1014 'url_request/url_fetcher_factory.h',
1015 'url_request/url_fetcher_impl.cc',
1016 'url_request/url_fetcher_impl.h',
1017 'url_request/url_fetcher_response_writer.cc',
1018 'url_request/url_fetcher_response_writer.h',
1019 'url_request/url_request.cc',
1020 'url_request/url_request.h',
1021 'url_request/url_request_about_job.cc',
1022 'url_request/url_request_about_job.h',
1023 'url_request/url_request_context.cc',
1024 'url_request/url_request_context.h',
1025 'url_request/url_request_context_builder.cc',
1026 'url_request/url_request_context_builder.h',
1027 'url_request/url_request_context_getter.cc',
1028 'url_request/url_request_context_getter.h',
1029 'url_request/url_request_context_storage.cc',
1030 'url_request/url_request_context_storage.h',
1031 'url_request/url_request_data_job.cc',
1032 'url_request/url_request_data_job.h',
1033 'url_request/url_request_error_job.cc',
1034 'url_request/url_request_error_job.h',
1035 'url_request/url_request_file_dir_job.cc',
1036 'url_request/url_request_file_dir_job.h',
1037 'url_request/url_request_file_job.cc',
1038 'url_request/url_request_file_job.h',
1039 'url_request/url_request_filter.cc',
1040 'url_request/url_request_filter.h',
1041 'url_request/url_request_ftp_job.cc',
1042 'url_request/url_request_ftp_job.h',
1043 'url_request/url_request_http_job.cc',
1044 'url_request/url_request_http_job.h',
1045 'url_request/url_request_job.cc',
1046 'url_request/url_request_job.h',
1047 'url_request/url_request_job_factory.cc',
1048 'url_request/url_request_job_factory.h',
1049 'url_request/url_request_job_factory_impl.cc',
1050 'url_request/url_request_job_factory_impl.h',
1051 'url_request/url_request_job_manager.cc',
1052 'url_request/url_request_job_manager.h',
1053 'url_request/url_request_netlog_params.cc',
1054 'url_request/url_request_netlog_params.h',
1055 'url_request/url_request_redirect_job.cc',
1056 'url_request/url_request_redirect_job.h',
1057 'url_request/url_request_simple_job.cc',
1058 'url_request/url_request_simple_job.h',
1059 'url_request/url_request_status.h',
1060 'url_request/url_request_test_job.cc',
1061 'url_request/url_request_test_job.h',
1062 'url_request/url_request_throttler_entry.cc',
1063 'url_request/url_request_throttler_entry.h',
1064 'url_request/url_request_throttler_entry_interface.h',
1065 'url_request/url_request_throttler_header_adapter.cc',
1066 'url_request/url_request_throttler_header_adapter.h',
1067 'url_request/url_request_throttler_header_interface.h',
1068 'url_request/url_request_throttler_manager.cc',
1069 'url_request/url_request_throttler_manager.h',
1070 'url_request/view_cache_helper.cc',
1071 'url_request/view_cache_helper.h',
1072 'websockets/websocket_errors.cc',
1073 'websockets/websocket_errors.h',
1074 'websockets/websocket_frame.cc',
1075 'websockets/websocket_frame.h',
1076 'websockets/websocket_frame_parser.cc',
1077 'websockets/websocket_frame_parser.h',
1078 'websockets/websocket_handshake_handler.cc',
1079 'websockets/websocket_handshake_handler.h',
1080 'websockets/websocket_job.cc',
1081 'websockets/websocket_job.h',
1082 'websockets/websocket_net_log_params.cc',
1083 'websockets/websocket_net_log_params.h',
1084 'websockets/websocket_stream.h',
1085 'websockets/websocket_stream_base.h',
1086 'websockets/websocket_throttle.cc',
1087 'websockets/websocket_throttle.h',
1090 'NET_IMPLEMENTATION',
1092 'export_dependent_settings': [
1093 '../base/base.gyp:base',
1098 'base/network_change_notifier_linux.cc',
1099 'base/network_change_notifier_linux.h',
1100 'base/network_change_notifier_netlink_linux.cc',
1101 'base/network_change_notifier_netlink_linux.h',
1102 'proxy/proxy_config_service_linux.cc',
1103 'proxy/proxy_config_service_linux.h',
1106 ['use_kerberos==1', {
1113 '/usr/include/kerberosV'
1116 ['linux_link_kerberos==1', {
1119 '<!@(krb5-config --libs gssapi)',
1122 }, { # linux_link_kerberos==0
1128 }, { # use_kerberos == 0
1130 'http/http_auth_gssapi_posix.cc',
1131 'http/http_auth_gssapi_posix.h',
1132 'http/http_auth_handler_negotiate.h',
1133 'http/http_auth_handler_negotiate.cc',
1136 ['posix_avoid_mmap==1', {
1140 'direct_dependent_settings': {
1146 'disk_cache/mapped_file_posix.cc',
1150 'disk_cache/mapped_file_avoid_mmap_posix.cc',
1153 ['disable_ftp_support==1', {
1155 ['exclude', '^ftp/'],
1158 'url_request/ftp_protocol_handler.cc',
1159 'url_request/ftp_protocol_handler.h',
1160 'url_request/url_request_ftp_job.cc',
1161 'url_request/url_request_ftp_job.h',
1164 ['enable_built_in_dns==1', {
1166 'ENABLE_BUILT_IN_DNS',
1170 'dns/address_sorter_posix.cc',
1171 'dns/address_sorter_posix.h',
1172 'dns/dns_client.cc',
1175 ['use_tracing_cache_backend==1', {
1177 'USE_TRACING_CACHE_BACKEND'
1180 ['use_openssl==1', {
1182 'base/crypto_module_nss.cc',
1183 'base/keygen_handler_nss.cc',
1186 'cert/cert_database_nss.cc',
1187 'cert/cert_verify_proc_nss.cc',
1188 'cert/cert_verify_proc_nss.h',
1189 'cert/nss_cert_database.cc',
1190 'cert/nss_cert_database.h',
1191 'cert/test_root_certs_nss.cc',
1192 'cert/x509_certificate_nss.cc',
1193 'cert/x509_util_nss.cc',
1194 'cert/x509_util_nss.h',
1197 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
1198 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
1199 'quic/crypto/channel_id_nss.cc',
1200 'quic/crypto/p256_key_exchange_nss.cc',
1201 'socket/nss_ssl_util.cc',
1202 'socket/nss_ssl_util.h',
1203 'socket/ssl_client_socket_nss.cc',
1204 'socket/ssl_client_socket_nss.h',
1205 'socket/ssl_server_socket_nss.cc',
1206 'socket/ssl_server_socket_nss.h',
1207 'ssl/client_cert_store_impl_nss.cc',
1208 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1209 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1210 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1211 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1212 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1213 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1216 { # else !use_openssl: remove the unneeded files
1218 'base/crypto_module_openssl.cc',
1219 'base/keygen_handler_openssl.cc',
1220 'base/openssl_private_key_store.h',
1221 'base/openssl_private_key_store_android.cc',
1222 'base/openssl_private_key_store_memory.cc',
1223 'cert/cert_database_openssl.cc',
1224 'cert/cert_verify_proc_openssl.cc',
1225 'cert/cert_verify_proc_openssl.h',
1226 'cert/test_root_certs_openssl.cc',
1227 'cert/x509_certificate_openssl.cc',
1228 'cert/x509_util_openssl.cc',
1229 'cert/x509_util_openssl.h',
1230 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
1231 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
1232 'quic/crypto/channel_id_openssl.cc',
1233 'quic/crypto/p256_key_exchange_openssl.cc',
1234 'quic/crypto/scoped_evp_cipher_ctx.cc',
1235 'quic/crypto/scoped_evp_cipher_ctx.h',
1236 'socket/ssl_client_socket_openssl.cc',
1237 'socket/ssl_client_socket_openssl.h',
1238 'socket/ssl_server_socket_openssl.cc',
1239 'ssl/openssl_client_key_store.cc',
1240 'ssl/openssl_client_key_store.h',
1244 [ 'use_glib == 1', {
1246 '../build/linux/system.gyp:gconf',
1247 '../build/linux/system.gyp:gio',
1250 ['use_openssl==1', {
1252 '../third_party/openssl/openssl.gyp:openssl',
1255 { # else use_openssl==0, use NSS
1257 '../build/linux/system.gyp:ssl',
1262 'base/network_change_notifier_linux.cc',
1263 'base/network_change_notifier_netlink_linux.cc',
1264 'proxy/proxy_config_service_linux.cc',
1268 '../build/linux/system.gyp:libresolv',
1280 { # else: OS is not in the above list
1282 'base/crypto_module_nss.cc',
1283 'base/keygen_handler_nss.cc',
1284 'cert/cert_database_nss.cc',
1285 'cert/nss_cert_database.cc',
1286 'cert/nss_cert_database.h',
1287 'cert/test_root_certs_nss.cc',
1288 'cert/x509_certificate_nss.cc',
1291 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1292 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1293 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1294 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1295 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1296 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1300 [ 'toolkit_uses_gtk == 1', {
1302 '../build/linux/system.gyp:gdk',
1307 'cert/cert_verify_proc_nss.cc',
1308 'cert/cert_verify_proc_nss.h',
1309 'ssl/client_cert_store_impl_nss.cc',
1312 [ 'enable_websockets != 1', {
1314 ['exclude', '^socket_stream/'],
1315 ['exclude', '^websockets/'],
1318 'spdy/spdy_websocket_stream.cc',
1319 'spdy/spdy_websocket_stream.h',
1322 [ 'enable_mdns != 1', {
1324 'dns/mdns_cache.cc',
1326 'dns/mdns_client.cc',
1327 'dns/mdns_client.h',
1328 'dns/mdns_client_impl.cc',
1329 'dns/mdns_client_impl.h',
1330 'dns/record_parsed.cc',
1331 'dns/record_parsed.h',
1332 'dns/record_rdata.cc',
1333 'dns/record_rdata.h',
1338 'http/http_auth_handler_ntlm_portable.cc',
1339 'socket/tcp_client_socket_libevent.cc',
1340 'socket/tcp_client_socket_libevent.h',
1341 'socket/tcp_server_socket_libevent.cc',
1342 'socket/tcp_server_socket_libevent.h',
1343 'ssl/client_cert_store_impl_nss.cc',
1344 'udp/udp_socket_libevent.cc',
1345 'udp/udp_socket_libevent.h',
1348 '../third_party/nss/nss.gyp:nspr',
1349 '../third_party/nss/nss.gyp:nss',
1350 'third_party/nss/ssl.gyp:libssl',
1352 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1353 'msvs_disabled_warnings': [4267, ],
1354 }, { # else: OS != "win"
1356 'base/winsock_init.cc',
1357 'base/winsock_init.h',
1358 'base/winsock_util.cc',
1359 'base/winsock_util.h',
1360 'proxy/proxy_resolver_winhttp.cc',
1361 'proxy/proxy_resolver_winhttp.h',
1367 'ssl/client_cert_store_impl_nss.cc',
1370 '../third_party/nss/nss.gyp:nspr',
1371 '../third_party/nss/nss.gyp:nss',
1372 'third_party/nss/ssl.gyp:libssl',
1376 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1377 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1378 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1379 '$(SDKROOT)/usr/lib/libresolv.dylib',
1386 '../third_party/nss/nss.gyp:nss',
1387 'third_party/nss/ssl.gyp:libssl',
1391 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1392 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1393 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1394 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1395 '$(SDKROOT)/usr/lib/libresolv.dylib',
1400 ['OS=="android" and _toolset=="target" and android_webview_build == 0', {
1405 [ 'OS == "android"', {
1407 '../third_party/openssl/openssl.gyp:openssl',
1411 'base/openssl_private_key_store_memory.cc',
1412 'cert/cert_database_openssl.cc',
1413 'cert/cert_verify_proc_openssl.cc',
1414 'cert/test_root_certs_openssl.cc',
1416 # The net/android/keystore_openssl.cc source file needs to
1417 # access an OpenSSL-internal header.
1419 '../third_party/openssl',
1424 'target_conditions': [
1425 # These source files are excluded by default platform rules, but they
1426 # are needed in specific cases on other platforms. Re-including them can
1427 # only be done in target_conditions as it is evaluated after the
1429 ['OS == "android"', {
1431 ['include', '^base/platform_mime_util_linux\\.cc$'],
1436 ['include', '^base/network_change_notifier_mac\\.cc$'],
1437 ['include', '^base/network_config_watcher_mac\\.cc$'],
1438 ['include', '^base/platform_mime_util_mac\\.mm$'],
1439 # The iOS implementation only partially uses NSS and thus does not
1440 # defines |use_nss|. In particular the |USE_NSS| preprocessor
1441 # definition is not used. The following files are needed though:
1442 ['include', '^cert/cert_verify_proc_nss\\.cc$'],
1443 ['include', '^cert/cert_verify_proc_nss\\.h$'],
1444 ['include', '^cert/test_root_certs_nss\\.cc$'],
1445 ['include', '^cert/x509_util_nss\\.cc$'],
1446 ['include', '^cert/x509_util_nss\\.h$'],
1447 ['include', '^dns/notify_watcher_mac\\.cc$'],
1448 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1449 ['include', '^proxy/proxy_server_mac\\.cc$'],
1450 ['include', '^ocsp/nss_ocsp\\.cc$'],
1451 ['include', '^ocsp/nss_ocsp\\.h$'],
1457 'target_name': 'net_unittests',
1458 'type': '<(gtest_target_type)',
1460 '../base/base.gyp:base',
1461 '../base/base.gyp:base_i18n',
1462 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1463 '../crypto/crypto.gyp:crypto',
1464 '../testing/gmock.gyp:gmock',
1465 '../testing/gtest.gyp:gtest',
1466 '../third_party/zlib/zlib.gyp:zlib',
1467 '../url/url.gyp:url_lib',
1472 'android/keystore_unittest.cc',
1473 'android/network_change_notifier_android_unittest.cc',
1474 'base/address_list_unittest.cc',
1475 'base/address_tracker_linux_unittest.cc',
1476 'base/backoff_entry_unittest.cc',
1477 'base/big_endian_unittest.cc',
1478 'base/data_url_unittest.cc',
1479 'base/directory_lister_unittest.cc',
1480 'base/dns_util_unittest.cc',
1481 'base/escape_unittest.cc',
1482 'base/expiring_cache_unittest.cc',
1483 'base/file_stream_unittest.cc',
1484 'base/filter_unittest.cc',
1485 'base/int128_unittest.cc',
1486 'base/gzip_filter_unittest.cc',
1487 'base/host_mapping_rules_unittest.cc',
1488 'base/host_port_pair_unittest.cc',
1489 'base/ip_endpoint_unittest.cc',
1490 'base/keygen_handler_unittest.cc',
1491 'base/mime_sniffer_unittest.cc',
1492 'base/mime_util_unittest.cc',
1493 'base/mock_filter_context.cc',
1494 'base/mock_filter_context.h',
1495 'base/net_log_logger_unittest.cc',
1496 'base/net_log_unittest.cc',
1497 'base/net_log_unittest.h',
1498 'base/net_util_unittest.cc',
1499 'base/network_change_notifier_win_unittest.cc',
1500 'base/prioritized_dispatcher_unittest.cc',
1501 'base/priority_queue_unittest.cc',
1502 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1503 'base/sdch_filter_unittest.cc',
1504 'base/static_cookie_policy_unittest.cc',
1505 'base/test_completion_callback_unittest.cc',
1506 'base/upload_bytes_element_reader_unittest.cc',
1507 'base/upload_data_stream_unittest.cc',
1508 'base/upload_file_element_reader_unittest.cc',
1509 'base/url_util_unittest.cc',
1510 'cert/cert_verify_proc_unittest.cc',
1511 'cert/crl_set_unittest.cc',
1512 'cert/ev_root_ca_metadata_unittest.cc',
1513 'cert/multi_threaded_cert_verifier_unittest.cc',
1514 'cert/nss_cert_database_unittest.cc',
1515 'cert/pem_tokenizer_unittest.cc',
1516 'cert/test_root_certs_unittest.cc',
1517 'cert/x509_certificate_unittest.cc',
1518 'cert/x509_cert_types_unittest.cc',
1519 'cert/x509_util_unittest.cc',
1520 'cert/x509_util_nss_unittest.cc',
1521 'cert/x509_util_openssl_unittest.cc',
1522 'cookies/canonical_cookie_unittest.cc',
1523 'cookies/cookie_constants_unittest.cc',
1524 'cookies/cookie_monster_unittest.cc',
1525 'cookies/cookie_store_unittest.h',
1526 'cookies/cookie_util_unittest.cc',
1527 'cookies/parsed_cookie_unittest.cc',
1528 'disk_cache/addr_unittest.cc',
1529 'disk_cache/backend_unittest.cc',
1530 'disk_cache/bitmap_unittest.cc',
1531 'disk_cache/block_files_unittest.cc',
1532 'disk_cache/cache_util_unittest.cc',
1533 'disk_cache/entry_unittest.cc',
1534 'disk_cache/mapped_file_unittest.cc',
1535 'disk_cache/simple/simple_index_file_unittest.cc',
1536 'disk_cache/simple/simple_index_unittest.cc',
1537 'disk_cache/simple/simple_util_unittest.cc',
1538 'disk_cache/storage_block_unittest.cc',
1539 'disk_cache/flash/log_store_entry_unittest.cc',
1540 'disk_cache/flash/log_store_unittest.cc',
1541 'disk_cache/flash/segment_unittest.cc',
1542 'disk_cache/flash/storage_unittest.cc',
1543 'dns/address_sorter_posix_unittest.cc',
1544 'dns/address_sorter_unittest.cc',
1545 'dns/dns_config_service_posix_unittest.cc',
1546 'dns/dns_config_service_unittest.cc',
1547 'dns/dns_config_service_win_unittest.cc',
1548 'dns/dns_hosts_unittest.cc',
1549 'dns/dns_query_unittest.cc',
1550 'dns/dns_response_unittest.cc',
1551 'dns/dns_session_unittest.cc',
1552 'dns/dns_transaction_unittest.cc',
1553 'dns/host_cache_unittest.cc',
1554 'dns/host_resolver_impl_unittest.cc',
1555 'dns/mapped_host_resolver_unittest.cc',
1556 'dns/mdns_cache_unittest.cc',
1557 'dns/mdns_client_unittest.cc',
1558 'dns/serial_worker_unittest.cc',
1559 'dns/record_parsed_unittest.cc',
1560 'dns/record_rdata_unittest.cc',
1561 'dns/single_request_host_resolver_unittest.cc',
1562 'ftp/ftp_auth_cache_unittest.cc',
1563 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1564 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1565 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1566 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1567 'ftp/ftp_directory_listing_parser_unittest.cc',
1568 'ftp/ftp_directory_listing_parser_unittest.h',
1569 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1570 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1571 'ftp/ftp_network_transaction_unittest.cc',
1572 'ftp/ftp_util_unittest.cc',
1573 'http/des_unittest.cc',
1574 'http/http_auth_cache_unittest.cc',
1575 'http/http_auth_controller_unittest.cc',
1576 'http/http_auth_filter_unittest.cc',
1577 'http/http_auth_gssapi_posix_unittest.cc',
1578 'http/http_auth_handler_basic_unittest.cc',
1579 'http/http_auth_handler_digest_unittest.cc',
1580 'http/http_auth_handler_factory_unittest.cc',
1581 'http/http_auth_handler_mock.cc',
1582 'http/http_auth_handler_mock.h',
1583 'http/http_auth_handler_negotiate_unittest.cc',
1584 'http/http_auth_handler_unittest.cc',
1585 'http/http_auth_sspi_win_unittest.cc',
1586 'http/http_auth_unittest.cc',
1587 'http/http_byte_range_unittest.cc',
1588 'http/http_cache_unittest.cc',
1589 'http/http_chunked_decoder_unittest.cc',
1590 'http/http_content_disposition_unittest.cc',
1591 'http/http_network_layer_unittest.cc',
1592 'http/http_network_transaction_unittest.cc',
1593 'http/http_network_transaction_ssl_unittest.cc',
1594 'http/http_pipelined_connection_impl_unittest.cc',
1595 'http/http_pipelined_host_forced_unittest.cc',
1596 'http/http_pipelined_host_impl_unittest.cc',
1597 'http/http_pipelined_host_pool_unittest.cc',
1598 'http/http_pipelined_host_test_util.cc',
1599 'http/http_pipelined_host_test_util.h',
1600 'http/http_pipelined_network_transaction_unittest.cc',
1601 'http/http_proxy_client_socket_pool_unittest.cc',
1602 'http/http_request_headers_unittest.cc',
1603 'http/http_response_body_drainer_unittest.cc',
1604 'http/http_response_headers_unittest.cc',
1605 'http/http_security_headers_unittest.cc',
1606 'http/http_server_properties_impl_unittest.cc',
1607 'http/http_status_code_unittest.cc',
1608 'http/http_stream_factory_impl_unittest.cc',
1609 'http/http_stream_parser_unittest.cc',
1610 'http/http_transaction_unittest.cc',
1611 'http/http_transaction_unittest.h',
1612 'http/http_util_unittest.cc',
1613 'http/http_vary_data_unittest.cc',
1614 'http/mock_allow_url_security_manager.cc',
1615 'http/mock_allow_url_security_manager.h',
1616 'http/mock_gssapi_library_posix.cc',
1617 'http/mock_gssapi_library_posix.h',
1618 'http/mock_http_cache.cc',
1619 'http/mock_http_cache.h',
1620 'http/mock_sspi_library_win.cc',
1621 'http/mock_sspi_library_win.h',
1622 'http/transport_security_state_unittest.cc',
1623 'http/url_security_manager_unittest.cc',
1624 'ocsp/nss_ocsp_unittest.cc',
1625 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1626 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1627 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1628 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1629 'proxy/network_delegate_error_observer_unittest.cc',
1630 'proxy/proxy_bypass_rules_unittest.cc',
1631 'proxy/proxy_config_service_android_unittest.cc',
1632 'proxy/proxy_config_service_linux_unittest.cc',
1633 'proxy/proxy_config_service_win_unittest.cc',
1634 'proxy/proxy_config_unittest.cc',
1635 'proxy/proxy_info_unittest.cc',
1636 'proxy/proxy_list_unittest.cc',
1637 'proxy/proxy_resolver_v8_tracing_unittest.cc',
1638 'proxy/proxy_resolver_v8_unittest.cc',
1639 'proxy/proxy_script_decider_unittest.cc',
1640 'proxy/proxy_script_fetcher_impl_unittest.cc',
1641 'proxy/proxy_server_unittest.cc',
1642 'proxy/proxy_service_unittest.cc',
1643 'quic/blocked_list_test.cc',
1644 'quic/congestion_control/available_channel_estimator_test.cc',
1645 'quic/congestion_control/channel_estimator_test.cc',
1646 'quic/congestion_control/cube_root_test.cc',
1647 'quic/congestion_control/cubic_test.cc',
1648 'quic/congestion_control/fix_rate_test.cc',
1649 'quic/congestion_control/hybrid_slow_start_test.cc',
1650 'quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc',
1651 'quic/congestion_control/inter_arrival_overuse_detector_test.cc',
1652 'quic/congestion_control/inter_arrival_probe_test.cc',
1653 'quic/congestion_control/inter_arrival_receiver_test.cc',
1654 'quic/congestion_control/inter_arrival_state_machine_test.cc',
1655 'quic/congestion_control/inter_arrival_sender_test.cc',
1656 'quic/congestion_control/leaky_bucket_test.cc',
1657 'quic/congestion_control/paced_sender_test.cc',
1658 'quic/congestion_control/quic_congestion_control_test.cc',
1659 'quic/congestion_control/quic_congestion_manager_test.cc',
1660 'quic/congestion_control/quic_max_sized_map_test.cc',
1661 'quic/congestion_control/tcp_cubic_sender_test.cc',
1662 'quic/congestion_control/tcp_receiver_test.cc',
1663 'quic/crypto/aes_128_gcm_12_decrypter_test.cc',
1664 'quic/crypto/aes_128_gcm_12_encrypter_test.cc',
1665 'quic/crypto/cert_compressor_test.cc',
1666 'quic/crypto/channel_id_test.cc',
1667 'quic/crypto/common_cert_set_test.cc',
1668 'quic/crypto/crypto_framer_test.cc',
1669 'quic/crypto/crypto_handshake_test.cc',
1670 'quic/crypto/crypto_secret_boxer_test.cc',
1671 'quic/crypto/crypto_server_test.cc',
1672 'quic/crypto/crypto_utils_test.cc',
1673 'quic/crypto/curve25519_key_exchange_test.cc',
1674 'quic/crypto/null_decrypter_test.cc',
1675 'quic/crypto/null_encrypter_test.cc',
1676 'quic/crypto/p256_key_exchange_test.cc',
1677 'quic/crypto/proof_test.cc',
1678 'quic/crypto/quic_random_test.cc',
1679 'quic/crypto/strike_register_test.cc',
1680 'quic/test_tools/crypto_test_utils.cc',
1681 'quic/test_tools/crypto_test_utils.h',
1682 'quic/test_tools/crypto_test_utils_nss.cc',
1683 'quic/test_tools/crypto_test_utils_openssl.cc',
1684 'quic/test_tools/mock_clock.cc',
1685 'quic/test_tools/mock_clock.h',
1686 'quic/test_tools/mock_crypto_client_stream.cc',
1687 'quic/test_tools/mock_crypto_client_stream.h',
1688 'quic/test_tools/mock_crypto_client_stream_factory.cc',
1689 'quic/test_tools/mock_crypto_client_stream_factory.h',
1690 'quic/test_tools/mock_random.cc',
1691 'quic/test_tools/mock_random.h',
1692 'quic/test_tools/quic_client_session_peer.cc',
1693 'quic/test_tools/quic_client_session_peer.h',
1694 'quic/test_tools/quic_connection_peer.cc',
1695 'quic/test_tools/quic_connection_peer.h',
1696 'quic/test_tools/quic_framer_peer.cc',
1697 'quic/test_tools/quic_framer_peer.h',
1698 'quic/test_tools/quic_packet_creator_peer.cc',
1699 'quic/test_tools/quic_packet_creator_peer.h',
1700 'quic/test_tools/quic_session_peer.cc',
1701 'quic/test_tools/quic_session_peer.h',
1702 'quic/test_tools/quic_test_utils.cc',
1703 'quic/test_tools/quic_test_utils.h',
1704 'quic/test_tools/reliable_quic_stream_peer.cc',
1705 'quic/test_tools/reliable_quic_stream_peer.h',
1706 'quic/test_tools/simple_quic_framer.cc',
1707 'quic/test_tools/simple_quic_framer.h',
1708 'quic/test_tools/test_task_runner.cc',
1709 'quic/test_tools/test_task_runner.h',
1710 'quic/quic_bandwidth_test.cc',
1711 'quic/quic_client_session_test.cc',
1712 'quic/quic_clock_test.cc',
1713 'quic/quic_config_test.cc',
1714 'quic/quic_connection_helper_test.cc',
1715 'quic/quic_connection_test.cc',
1716 'quic/quic_crypto_client_stream_test.cc',
1717 'quic/quic_crypto_server_stream_test.cc',
1718 'quic/quic_crypto_stream_test.cc',
1719 'quic/quic_data_writer_test.cc',
1720 'quic/quic_fec_group_test.cc',
1721 'quic/quic_framer_test.cc',
1722 'quic/quic_http_stream_test.cc',
1723 'quic/quic_network_transaction_unittest.cc',
1724 'quic/quic_packet_creator_test.cc',
1725 'quic/quic_packet_entropy_manager_test.cc',
1726 'quic/quic_packet_generator_test.cc',
1727 'quic/quic_protocol_test.cc',
1728 'quic/quic_reliable_client_stream_test.cc',
1729 'quic/quic_session_test.cc',
1730 'quic/quic_spdy_compressor_test.cc',
1731 'quic/quic_spdy_decompressor_test.cc',
1732 'quic/quic_stream_factory_test.cc',
1733 'quic/quic_stream_sequencer_test.cc',
1734 'quic/quic_time_test.cc',
1735 'quic/quic_utils_test.cc',
1736 'quic/reliable_quic_stream_test.cc',
1737 'socket/buffered_write_stream_socket_unittest.cc',
1738 'socket/client_socket_pool_base_unittest.cc',
1739 'socket/deterministic_socket_data_unittest.cc',
1740 'socket/mock_client_socket_pool_manager.cc',
1741 'socket/mock_client_socket_pool_manager.h',
1742 'socket/socks5_client_socket_unittest.cc',
1743 'socket/socks_client_socket_pool_unittest.cc',
1744 'socket/socks_client_socket_unittest.cc',
1745 'socket/ssl_client_socket_openssl_unittest.cc',
1746 'socket/ssl_client_socket_pool_unittest.cc',
1747 'socket/ssl_client_socket_unittest.cc',
1748 'socket/ssl_server_socket_unittest.cc',
1749 'socket/tcp_client_socket_unittest.cc',
1750 'socket/tcp_listen_socket_unittest.cc',
1751 'socket/tcp_listen_socket_unittest.h',
1752 'socket/tcp_server_socket_unittest.cc',
1753 'socket/transport_client_socket_pool_unittest.cc',
1754 'socket/transport_client_socket_unittest.cc',
1755 'socket/unix_domain_socket_posix_unittest.cc',
1756 'socket_stream/socket_stream_metrics_unittest.cc',
1757 'socket_stream/socket_stream_unittest.cc',
1758 'spdy/buffered_spdy_framer_unittest.cc',
1759 'spdy/spdy_credential_builder_unittest.cc',
1760 'spdy/spdy_buffer_unittest.cc',
1761 'spdy/spdy_credential_state_unittest.cc',
1762 'spdy/spdy_frame_builder_test.cc',
1763 'spdy/spdy_frame_reader_test.cc',
1764 'spdy/spdy_framer_test.cc',
1765 'spdy/spdy_header_block_unittest.cc',
1766 'spdy/spdy_http_stream_unittest.cc',
1767 'spdy/spdy_http_utils_unittest.cc',
1768 'spdy/spdy_network_transaction_unittest.cc',
1769 'spdy/spdy_priority_forest_test.cc',
1770 'spdy/spdy_protocol_test.cc',
1771 'spdy/spdy_proxy_client_socket_unittest.cc',
1772 'spdy/spdy_read_queue_unittest.cc',
1773 'spdy/spdy_session_test_util.cc',
1774 'spdy/spdy_session_test_util.h',
1775 'spdy/spdy_session_unittest.cc',
1776 'spdy/spdy_stream_test_util.cc',
1777 'spdy/spdy_stream_test_util.h',
1778 'spdy/spdy_stream_unittest.cc',
1779 'spdy/spdy_test_util_common.cc',
1780 'spdy/spdy_test_util_common.h',
1781 'spdy/spdy_test_utils.cc',
1782 'spdy/spdy_test_utils.h',
1783 'spdy/spdy_websocket_stream_unittest.cc',
1784 'spdy/spdy_websocket_test_util.cc',
1785 'spdy/spdy_websocket_test_util.h',
1786 'spdy/spdy_write_queue_unittest.cc',
1787 'ssl/client_cert_store_impl_unittest.cc',
1788 'ssl/default_server_bound_cert_store_unittest.cc',
1789 'ssl/openssl_client_key_store_unittest.cc',
1790 'ssl/server_bound_cert_service_unittest.cc',
1791 'ssl/ssl_cipher_suite_names_unittest.cc',
1792 'ssl/ssl_client_auth_cache_unittest.cc',
1793 'ssl/ssl_config_service_unittest.cc',
1794 'test/embedded_test_server/embedded_test_server_unittest.cc',
1795 'test/embedded_test_server/http_request_unittest.cc',
1796 'test/embedded_test_server/http_response_unittest.cc',
1797 'test/python_utils_unittest.cc',
1798 'test/run_all_unittests.cc',
1799 'test/test_certificate_data.h',
1800 'tools/dump_cache/url_to_filename_encoder.cc',
1801 'tools/dump_cache/url_to_filename_encoder.h',
1802 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1803 'tools/dump_cache/url_utilities.h',
1804 'tools/dump_cache/url_utilities.cc',
1805 'tools/dump_cache/url_utilities_unittest.cc',
1806 'tools/tld_cleanup/tld_cleanup_util_unittest.cc',
1807 'udp/udp_socket_unittest.cc',
1808 'url_request/url_fetcher_impl_unittest.cc',
1809 'url_request/url_request_context_builder_unittest.cc',
1810 'url_request/url_request_filter_unittest.cc',
1811 'url_request/url_request_ftp_job_unittest.cc',
1812 'url_request/url_request_http_job_unittest.cc',
1813 'url_request/url_request_job_factory_impl_unittest.cc',
1814 'url_request/url_request_job_unittest.cc',
1815 'url_request/url_request_throttler_simulation_unittest.cc',
1816 'url_request/url_request_throttler_test_support.cc',
1817 'url_request/url_request_throttler_test_support.h',
1818 'url_request/url_request_throttler_unittest.cc',
1819 'url_request/url_request_unittest.cc',
1820 'url_request/view_cache_helper_unittest.cc',
1821 'websockets/websocket_errors_unittest.cc',
1822 'websockets/websocket_frame_parser_unittest.cc',
1823 'websockets/websocket_frame_unittest.cc',
1824 'websockets/websocket_handshake_handler_unittest.cc',
1825 'websockets/websocket_handshake_handler_spdy_unittest.cc',
1826 'websockets/websocket_job_unittest.cc',
1827 'websockets/websocket_net_log_params_unittest.cc',
1828 'websockets/websocket_throttle_unittest.cc',
1833 'base/network_change_notifier_linux_unittest.cc',
1834 'proxy/proxy_config_service_linux_unittest.cc',
1837 [ 'OS == "android"', {
1839 # No res_ninit() et al on Android, so this doesn't make a lot of
1841 'dns/dns_config_service_posix_unittest.cc',
1842 'ssl/client_cert_store_impl_unittest.cc',
1846 'net_test_jni_headers',
1849 [ 'use_glib == 1', {
1851 '../build/linux/system.gyp:ssl',
1853 }, { # else use_glib == 0: !posix || mac
1855 'cert/nss_cert_database_unittest.cc',
1859 [ 'toolkit_uses_gtk == 1', {
1861 '../build/linux/system.gyp:gtk',
1865 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1867 ['linux_use_tcmalloc==1', {
1869 '../base/allocator/allocator.gyp:allocator',
1874 [ 'use_kerberos==1', {
1878 }, { # use_kerberos == 0
1880 'http/http_auth_gssapi_posix_unittest.cc',
1881 'http/http_auth_handler_negotiate_unittest.cc',
1882 'http/mock_gssapi_library_posix.cc',
1883 'http/mock_gssapi_library_posix.h',
1886 [ 'use_openssl == 1 or (use_glib == 0 and OS != "ios")', {
1887 # Only include this test when on Posix and using NSS for
1888 # cert verification or on iOS (which also uses NSS for certs).
1890 'ocsp/nss_ocsp_unittest.cc',
1893 [ 'use_openssl==1', {
1894 # When building for OpenSSL, we need to exclude NSS specific tests.
1895 # TODO(bulach): Add equivalent tests when the underlying
1896 # functionality is ported to OpenSSL.
1898 'cert/nss_cert_database_unittest.cc',
1899 'cert/x509_util_nss_unittest.cc',
1900 'quic/test_tools/crypto_test_utils_nss.cc',
1901 'ssl/client_cert_store_impl_unittest.cc',
1903 }, { # else !use_openssl: remove the unneeded files
1905 'cert/x509_util_openssl_unittest.cc',
1906 'quic/test_tools/crypto_test_utils_openssl.cc',
1907 'socket/ssl_client_socket_openssl_unittest.cc',
1908 'ssl/openssl_client_key_store_unittest.cc',
1912 [ 'enable_websockets != 1', {
1914 ['exclude', '^socket_stream/'],
1915 ['exclude', '^websockets/'],
1916 ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'],
1919 [ 'disable_ftp_support==1', {
1921 ['exclude', '^ftp/'],
1924 'url_request/url_request_ftp_job_unittest.cc',
1928 [ 'enable_built_in_dns!=1', {
1930 'dns/address_sorter_posix_unittest.cc',
1931 'dns/address_sorter_unittest.cc',
1935 [ 'use_v8_in_net==1', {
1939 }, { # else: !use_v8_in_net
1941 'proxy/proxy_resolver_v8_unittest.cc',
1942 'proxy/proxy_resolver_v8_tracing_unittest.cc',
1947 [ 'enable_mdns != 1', {
1949 'dns/mdns_cache_unittest.cc',
1950 'dns/mdns_client_unittest.cc',
1951 'dns/mdns_query_unittest.cc',
1952 'dns/record_parsed_unittest.cc',
1953 'dns/record_rdata_unittest.cc',
1958 'dns/dns_config_service_posix_unittest.cc',
1959 'http/http_auth_gssapi_posix_unittest.cc',
1961 # This is needed to trigger the dll copy step on windows.
1962 # TODO(mark): Specifying this here shouldn't be necessary.
1964 '../third_party/icu/icu.gyp:icudata',
1965 '../third_party/nss/nss.gyp:nspr',
1966 '../third_party/nss/nss.gyp:nss',
1967 'third_party/nss/ssl.gyp:libssl',
1969 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1970 'msvs_disabled_warnings': [4267, ],
1975 '../third_party/nss/nss.gyp:nspr',
1976 '../third_party/nss/nss.gyp:nss',
1977 'third_party/nss/ssl.gyp:libssl',
1983 '../third_party/nss/nss.gyp:nss',
1987 'action_name': 'copy_test_data',
1989 'test_data_files': [
1990 'data/ssl/certificates/',
1992 'data/url_request_unittest/',
1994 'test_data_prefix': 'net',
1996 'includes': [ '../build/copy_test_data_ios.gypi' ],
2000 # TODO(droger): The following tests are disabled because the
2001 # implementation is missing or incomplete.
2002 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
2003 'base/keygen_handler_unittest.cc',
2004 # Need to read input data files.
2005 'base/gzip_filter_unittest.cc',
2006 'disk_cache/backend_unittest.cc',
2007 'disk_cache/block_files_unittest.cc',
2008 'socket/ssl_server_socket_unittest.cc',
2010 'proxy/proxy_script_fetcher_impl_unittest.cc',
2011 'socket/ssl_client_socket_unittest.cc',
2012 'ssl/client_cert_store_impl_unittest.cc',
2013 'url_request/url_fetcher_impl_unittest.cc',
2014 'url_request/url_request_context_builder_unittest.cc',
2015 # Needs GetAppOutput().
2016 'test/python_utils_unittest.cc',
2018 # The following tests are disabled because they don't apply to
2020 # OS is not "linux" or "freebsd" or "openbsd".
2021 'socket/unix_domain_socket_posix_unittest.cc',
2026 # These sources can't be built with coverage due to a
2027 # toolchain bug: http://openradar.appspot.com/radar?id=1499403
2028 'http/transport_security_state_unittest.cc',
2030 # These tests crash when run with coverage turned on due to an
2031 # issue with llvm_gcda_increment_indirect_counter:
2032 # http://crbug.com/156058
2033 'cookies/cookie_monster_unittest.cc',
2034 'cookies/cookie_store_unittest.h',
2035 'http/http_auth_controller_unittest.cc',
2036 'http/http_network_layer_unittest.cc',
2037 'http/http_network_transaction_spdy2_unittest.cc',
2038 'http/http_network_transaction_spdy3_unittest.cc',
2039 'spdy/spdy_http_stream_spdy2_unittest.cc',
2040 'spdy/spdy_http_stream_spdy3_unittest.cc',
2041 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
2042 'spdy/spdy_session_spdy3_unittest.cc',
2044 # These tests crash when run with coverage turned on:
2045 # http://crbug.com/177203
2046 'proxy/proxy_service_unittest.cc',
2051 [ 'OS == "android"', {
2053 '../third_party/openssl/openssl.gyp:openssl',
2056 'dns/dns_config_service_posix_unittest.cc',
2060 ['OS == "android" and gtest_target_type == "shared_library"', {
2062 '../testing/android/native_test.gyp:native_test_native_code',
2065 [ 'OS != "win" and OS != "mac"', {
2067 'cert/x509_cert_types_unittest.cc',
2073 'target_name': 'net_perftests',
2074 'type': 'executable',
2076 '../base/base.gyp:base',
2077 '../base/base.gyp:base_i18n',
2078 '../base/base.gyp:test_support_perf',
2079 '../testing/gtest.gyp:gtest',
2080 '../url/url.gyp:url_lib',
2085 'cookies/cookie_monster_perftest.cc',
2086 'disk_cache/disk_cache_perftest.cc',
2087 'proxy/proxy_resolver_perftest.cc',
2090 [ 'use_v8_in_net==1', {
2094 }, { # else: !use_v8_in_net
2096 'proxy/proxy_resolver_perftest.cc',
2100 # This is needed to trigger the dll copy step on windows.
2101 # TODO(mark): Specifying this here shouldn't be necessary.
2104 '../third_party/icu/icu.gyp:icudata',
2106 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2107 'msvs_disabled_warnings': [4267, ],
2113 'target_name': 'net_test_support',
2114 'type': 'static_library',
2116 '../base/base.gyp:base',
2117 '../base/base.gyp:test_support_base',
2118 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2119 '../testing/gtest.gyp:gtest',
2120 '../testing/gmock.gyp:gmock',
2121 '../url/url.gyp:url_lib',
2124 'export_dependent_settings': [
2125 '../base/base.gyp:base',
2126 '../base/base.gyp:test_support_base',
2127 '../testing/gtest.gyp:gtest',
2128 '../testing/gmock.gyp:gmock',
2131 'base/capturing_net_log.cc',
2132 'base/capturing_net_log.h',
2133 'base/load_timing_info_test_util.cc',
2134 'base/load_timing_info_test_util.h',
2135 'base/mock_file_stream.cc',
2136 'base/mock_file_stream.h',
2137 'base/test_completion_callback.cc',
2138 'base/test_completion_callback.h',
2139 'base/test_data_directory.cc',
2140 'base/test_data_directory.h',
2141 'cert/mock_cert_verifier.cc',
2142 'cert/mock_cert_verifier.h',
2143 'cookies/cookie_monster_store_test.cc',
2144 'cookies/cookie_monster_store_test.h',
2145 'cookies/cookie_store_test_callbacks.cc',
2146 'cookies/cookie_store_test_callbacks.h',
2147 'cookies/cookie_store_test_helpers.cc',
2148 'cookies/cookie_store_test_helpers.h',
2149 'disk_cache/disk_cache_test_base.cc',
2150 'disk_cache/disk_cache_test_base.h',
2151 'disk_cache/disk_cache_test_util.cc',
2152 'disk_cache/disk_cache_test_util.h',
2153 'disk_cache/flash/flash_cache_test_base.h',
2154 'disk_cache/flash/flash_cache_test_base.cc',
2155 'dns/dns_test_util.cc',
2156 'dns/dns_test_util.h',
2157 'dns/mock_host_resolver.cc',
2158 'dns/mock_host_resolver.h',
2159 'dns/mock_mdns_socket_factory.cc',
2160 'dns/mock_mdns_socket_factory.h',
2161 'proxy/mock_proxy_resolver.cc',
2162 'proxy/mock_proxy_resolver.h',
2163 'proxy/mock_proxy_script_fetcher.cc',
2164 'proxy/mock_proxy_script_fetcher.h',
2165 'proxy/proxy_config_service_common_unittest.cc',
2166 'proxy/proxy_config_service_common_unittest.h',
2167 'socket/socket_test_util.cc',
2168 'socket/socket_test_util.h',
2169 'test/cert_test_util.cc',
2170 'test/cert_test_util.h',
2171 'test/embedded_test_server/embedded_test_server.cc',
2172 'test/embedded_test_server/embedded_test_server.h',
2173 'test/embedded_test_server/http_connection.cc',
2174 'test/embedded_test_server/http_connection.h',
2175 'test/embedded_test_server/http_request.cc',
2176 'test/embedded_test_server/http_request.h',
2177 'test/embedded_test_server/http_response.cc',
2178 'test/embedded_test_server/http_response.h',
2179 'test/net_test_suite.cc',
2180 'test/net_test_suite.h',
2181 'test/python_utils.cc',
2182 'test/python_utils.h',
2183 'test/spawned_test_server/base_test_server.cc',
2184 'test/spawned_test_server/base_test_server.h',
2185 'test/spawned_test_server/local_test_server_posix.cc',
2186 'test/spawned_test_server/local_test_server_win.cc',
2187 'test/spawned_test_server/local_test_server.cc',
2188 'test/spawned_test_server/local_test_server.h',
2189 'test/spawned_test_server/remote_test_server.cc',
2190 'test/spawned_test_server/remote_test_server.h',
2191 'test/spawned_test_server/spawned_test_server.h',
2192 'test/spawned_test_server/spawner_communicator.cc',
2193 'test/spawned_test_server/spawner_communicator.h',
2194 'url_request/test_url_fetcher_factory.cc',
2195 'url_request/test_url_fetcher_factory.h',
2196 'url_request/url_request_test_util.cc',
2197 'url_request/url_request_test_util.h',
2202 '../third_party/protobuf/protobuf.gyp:py_proto',
2205 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2207 ['use_openssl==1', {
2209 '../third_party/openssl/openssl.gyp:openssl',
2213 '../build/linux/system.gyp:ssl',
2218 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2220 ['linux_use_tcmalloc==1', {
2222 '../base/allocator/allocator.gyp:allocator',
2227 ['OS != "android"', {
2229 'test/spawned_test_server/remote_test_server.cc',
2230 'test/spawned_test_server/remote_test_server.h',
2231 'test/spawned_test_server/spawner_communicator.cc',
2232 'test/spawned_test_server/spawner_communicator.h',
2237 '../third_party/nss/nss.gyp:nss',
2240 [ 'use_v8_in_net==1', {
2246 [ 'enable_mdns != 1', {
2248 'dns/mock_mdns_socket_factory.cc',
2249 'dns/mock_mdns_socket_factory.h'
2253 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2254 'msvs_disabled_warnings': [4267, ],
2257 'target_name': 'net_resources',
2260 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
2264 'action_name': 'net_resources',
2266 'grit_grd_file': 'base/net_resources.grd',
2268 'includes': [ '../build/grit_action.gypi' ],
2271 'includes': [ '../build/grit_target.gypi' ],
2274 'target_name': 'http_server',
2275 'type': 'static_library',
2276 'variables': { 'enable_wexit_time_destructors': 1, },
2278 '../base/base.gyp:base',
2282 'server/http_connection.cc',
2283 'server/http_connection.h',
2284 'server/http_server.cc',
2285 'server/http_server.h',
2286 'server/http_server_request_info.cc',
2287 'server/http_server_request_info.h',
2288 'server/web_socket.cc',
2289 'server/web_socket.h',
2291 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2292 'msvs_disabled_warnings': [4267, ],
2295 'target_name': 'dump_cache',
2296 'type': 'executable',
2298 '../base/base.gyp:base',
2303 'tools/dump_cache/cache_dumper.cc',
2304 'tools/dump_cache/cache_dumper.h',
2305 'tools/dump_cache/dump_cache.cc',
2306 'tools/dump_cache/dump_files.cc',
2307 'tools/dump_cache/dump_files.h',
2308 'tools/dump_cache/simple_cache_dumper.cc',
2309 'tools/dump_cache/simple_cache_dumper.h',
2310 'tools/dump_cache/upgrade_win.cc',
2311 'tools/dump_cache/upgrade_win.h',
2312 'tools/dump_cache/url_to_filename_encoder.cc',
2313 'tools/dump_cache/url_to_filename_encoder.h',
2314 'tools/dump_cache/url_utilities.h',
2315 'tools/dump_cache/url_utilities.cc',
2317 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2318 'msvs_disabled_warnings': [4267, ],
2322 ['use_v8_in_net == 1', {
2325 'target_name': 'net_with_v8',
2326 'type': '<(component)',
2327 'variables': { 'enable_wexit_time_destructors': 1, },
2329 '../base/base.gyp:base',
2330 '../url/url.gyp:url_lib',
2331 '../v8/tools/gyp/v8.gyp:v8',
2335 'NET_IMPLEMENTATION',
2338 'proxy/proxy_resolver_v8.cc',
2339 'proxy/proxy_resolver_v8.h',
2340 'proxy/proxy_resolver_v8_tracing.cc',
2341 'proxy/proxy_resolver_v8_tracing.h',
2342 'proxy/proxy_service_v8.cc',
2343 'proxy/proxy_service_v8.h',
2345 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2346 'msvs_disabled_warnings': [4267, ],
2352 # iOS doesn't have the concept of simple executables, these targets
2353 # can't be compiled on the platform.
2355 'target_name': 'crash_cache',
2356 'type': 'executable',
2358 '../base/base.gyp:base',
2363 'tools/crash_cache/crash_cache.cc',
2365 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2366 'msvs_disabled_warnings': [4267, ],
2369 'target_name': 'crl_set_dump',
2370 'type': 'executable',
2372 '../base/base.gyp:base',
2376 'tools/crl_set_dump/crl_set_dump.cc',
2378 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2379 'msvs_disabled_warnings': [4267, ],
2382 'target_name': 'dns_fuzz_stub',
2383 'type': 'executable',
2385 '../base/base.gyp:base',
2389 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
2391 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2392 'msvs_disabled_warnings': [4267, ],
2395 'target_name': 'fetch_client',
2396 'type': 'executable',
2397 'variables': { 'enable_wexit_time_destructors': 1, },
2399 '../base/base.gyp:base',
2400 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2401 '../testing/gtest.gyp:gtest',
2402 '../url/url.gyp:url_lib',
2407 'tools/fetch/fetch_client.cc',
2409 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2410 'msvs_disabled_warnings': [4267, ],
2413 'target_name': 'fetch_server',
2414 'type': 'executable',
2415 'variables': { 'enable_wexit_time_destructors': 1, },
2417 '../base/base.gyp:base',
2418 '../url/url.gyp:url_lib',
2422 'tools/fetch/fetch_server.cc',
2423 'tools/fetch/http_listen_socket.cc',
2424 'tools/fetch/http_listen_socket.h',
2425 'tools/fetch/http_server.cc',
2426 'tools/fetch/http_server.h',
2427 'tools/fetch/http_server_request_info.cc',
2428 'tools/fetch/http_server_request_info.h',
2429 'tools/fetch/http_server_response_info.cc',
2430 'tools/fetch/http_server_response_info.h',
2431 'tools/fetch/http_session.cc',
2432 'tools/fetch/http_session.h',
2434 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2435 'msvs_disabled_warnings': [4267, ],
2438 'target_name': 'gdig',
2439 'type': 'executable',
2441 '../base/base.gyp:base',
2445 'tools/gdig/file_net_log.cc',
2446 'tools/gdig/gdig.cc',
2450 'target_name': 'get_server_time',
2451 'type': 'executable',
2453 '../base/base.gyp:base',
2454 '../base/base.gyp:base_i18n',
2455 '../url/url.gyp:url_lib',
2459 'tools/get_server_time/get_server_time.cc',
2461 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2462 'msvs_disabled_warnings': [4267, ],
2465 'target_name': 'net_watcher',
2466 'type': 'executable',
2468 '../base/base.gyp:base',
2473 [ 'use_glib == 1', {
2475 '../build/linux/system.gyp:gconf',
2476 '../build/linux/system.gyp:gio',
2482 'tools/net_watcher/net_watcher.cc',
2486 'target_name': 'run_testserver',
2487 'type': 'executable',
2489 '../base/base.gyp:base',
2490 '../base/base.gyp:test_support_base',
2491 '../testing/gtest.gyp:gtest',
2495 'tools/testserver/run_testserver.cc',
2499 'target_name': 'stress_cache',
2500 'type': 'executable',
2502 '../base/base.gyp:base',
2507 'disk_cache/stress_cache.cc',
2509 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2510 'msvs_disabled_warnings': [4267, ],
2513 'target_name': 'tld_cleanup',
2514 'type': 'executable',
2516 '../base/base.gyp:base',
2517 '../base/base.gyp:base_i18n',
2518 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2521 'tools/tld_cleanup/tld_cleanup.cc',
2523 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2524 'msvs_disabled_warnings': [4267, ],
2528 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2531 'target_name': 'flip_balsa_and_epoll_library',
2532 'type': 'static_library',
2534 '../base/base.gyp:base',
2538 'tools/flip_server/balsa_enums.h',
2539 'tools/flip_server/balsa_frame.cc',
2540 'tools/flip_server/balsa_frame.h',
2541 'tools/flip_server/balsa_headers.cc',
2542 'tools/flip_server/balsa_headers.h',
2543 'tools/flip_server/balsa_headers_token_utils.cc',
2544 'tools/flip_server/balsa_headers_token_utils.h',
2545 'tools/flip_server/balsa_visitor_interface.h',
2546 'tools/flip_server/constants.h',
2547 'tools/flip_server/epoll_server.cc',
2548 'tools/flip_server/epoll_server.h',
2549 'tools/flip_server/http_message_constants.cc',
2550 'tools/flip_server/http_message_constants.h',
2551 'tools/flip_server/split.h',
2552 'tools/flip_server/split.cc',
2556 'target_name': 'flip_in_mem_edsm_server',
2557 'type': 'executable',
2562 '../base/base.gyp:base',
2563 '../third_party/openssl/openssl.gyp:openssl',
2564 'flip_balsa_and_epoll_library',
2568 'tools/dump_cache/url_to_filename_encoder.cc',
2569 'tools/dump_cache/url_to_filename_encoder.h',
2570 'tools/dump_cache/url_utilities.h',
2571 'tools/dump_cache/url_utilities.cc',
2572 'tools/flip_server/acceptor_thread.h',
2573 'tools/flip_server/acceptor_thread.cc',
2574 'tools/flip_server/buffer_interface.h',
2575 'tools/flip_server/create_listener.cc',
2576 'tools/flip_server/create_listener.h',
2577 'tools/flip_server/flip_config.cc',
2578 'tools/flip_server/flip_config.h',
2579 'tools/flip_server/flip_in_mem_edsm_server.cc',
2580 'tools/flip_server/http_interface.cc',
2581 'tools/flip_server/http_interface.h',
2582 'tools/flip_server/loadtime_measurement.h',
2583 'tools/flip_server/mem_cache.h',
2584 'tools/flip_server/mem_cache.cc',
2585 'tools/flip_server/output_ordering.cc',
2586 'tools/flip_server/output_ordering.h',
2587 'tools/flip_server/ring_buffer.cc',
2588 'tools/flip_server/ring_buffer.h',
2589 'tools/flip_server/simple_buffer.cc',
2590 'tools/flip_server/simple_buffer.h',
2591 'tools/flip_server/sm_connection.cc',
2592 'tools/flip_server/sm_connection.h',
2593 'tools/flip_server/sm_interface.h',
2594 'tools/flip_server/spdy_ssl.cc',
2595 'tools/flip_server/spdy_ssl.h',
2596 'tools/flip_server/spdy_interface.cc',
2597 'tools/flip_server/spdy_interface.h',
2598 'tools/flip_server/spdy_util.cc',
2599 'tools/flip_server/spdy_util.h',
2600 'tools/flip_server/streamer_interface.cc',
2601 'tools/flip_server/streamer_interface.h',
2602 'tools/flip_server/string_piece_utils.h',
2606 'target_name': 'quic_library',
2607 'type': 'static_library',
2609 '../base/base.gyp:base',
2610 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2611 '../crypto/crypto.gyp:crypto',
2612 '../third_party/openssl/openssl.gyp:openssl',
2613 '../url/url.gyp:url_lib',
2614 'flip_balsa_and_epoll_library',
2618 'tools/quic/quic_client.cc',
2619 'tools/quic/quic_client.h',
2620 'tools/quic/quic_client_session.cc',
2621 'tools/quic/quic_client_session.h',
2622 'tools/quic/quic_dispatcher.h',
2623 'tools/quic/quic_dispatcher.cc',
2624 'tools/quic/quic_epoll_clock.cc',
2625 'tools/quic/quic_epoll_clock.h',
2626 'tools/quic/quic_epoll_connection_helper.cc',
2627 'tools/quic/quic_epoll_connection_helper.h',
2628 'tools/quic/quic_in_memory_cache.cc',
2629 'tools/quic/quic_in_memory_cache.h',
2630 'tools/quic/quic_packet_writer.h',
2631 'tools/quic/quic_reliable_client_stream.cc',
2632 'tools/quic/quic_reliable_client_stream.h',
2633 'tools/quic/quic_reliable_server_stream.cc',
2634 'tools/quic/quic_reliable_server_stream.h',
2635 'tools/quic/quic_server.cc',
2636 'tools/quic/quic_server.h',
2637 'tools/quic/quic_server_session.cc',
2638 'tools/quic/quic_server_session.h',
2639 'tools/quic/quic_socket_utils.cc',
2640 'tools/quic/quic_socket_utils.h',
2641 'tools/quic/quic_spdy_client_stream.cc',
2642 'tools/quic/quic_spdy_client_stream.h',
2643 'tools/quic/quic_spdy_server_stream.cc',
2644 'tools/quic/quic_spdy_server_stream.h',
2645 'tools/quic/quic_time_wait_list_manager.h',
2646 'tools/quic/quic_time_wait_list_manager.cc',
2647 'tools/quic/spdy_utils.cc',
2648 'tools/quic/spdy_utils.h',
2652 'target_name': 'quic_client',
2653 'type': 'executable',
2655 '../base/base.gyp:base',
2656 '../third_party/openssl/openssl.gyp:openssl',
2661 'tools/quic/quic_client_bin.cc',
2665 'target_name': 'quic_server',
2666 'type': 'executable',
2668 '../base/base.gyp:base',
2669 '../third_party/openssl/openssl.gyp:openssl',
2674 'tools/quic/quic_server_bin.cc',
2678 'target_name': 'quic_unittests',
2679 'type': '<(gtest_target_type)',
2681 '../base/base.gyp:test_support_base',
2682 '../crypto/crypto.gyp:crypto',
2683 '../testing/gmock.gyp:gmock',
2684 '../testing/gtest.gyp:gtest',
2689 'quic/test_tools/quic_session_peer.cc',
2690 'quic/test_tools/quic_session_peer.h',
2691 'quic/test_tools/crypto_test_utils.cc',
2692 'quic/test_tools/crypto_test_utils.h',
2693 'quic/test_tools/crypto_test_utils_nss.cc',
2694 'quic/test_tools/crypto_test_utils_openssl.cc',
2695 'quic/test_tools/mock_clock.cc',
2696 'quic/test_tools/mock_clock.h',
2697 'quic/test_tools/mock_random.cc',
2698 'quic/test_tools/mock_random.h',
2699 'quic/test_tools/simple_quic_framer.cc',
2700 'quic/test_tools/simple_quic_framer.h',
2701 'quic/test_tools/quic_connection_peer.cc',
2702 'quic/test_tools/quic_connection_peer.h',
2703 'quic/test_tools/quic_framer_peer.cc',
2704 'quic/test_tools/quic_framer_peer.h',
2705 'quic/test_tools/quic_session_peer.cc',
2706 'quic/test_tools/quic_session_peer.h',
2707 'quic/test_tools/quic_test_utils.cc',
2708 'quic/test_tools/quic_test_utils.h',
2709 'quic/test_tools/reliable_quic_stream_peer.cc',
2710 'quic/test_tools/reliable_quic_stream_peer.h',
2711 'tools/flip_server/simple_buffer.cc',
2712 'tools/flip_server/simple_buffer.h',
2713 'tools/quic/end_to_end_test.cc',
2714 'tools/quic/quic_client_session_test.cc',
2715 'tools/quic/quic_dispatcher_test.cc',
2716 'tools/quic/quic_epoll_clock_test.cc',
2717 'tools/quic/quic_epoll_connection_helper_test.cc',
2718 'tools/quic/quic_in_memory_cache_test.cc',
2719 'tools/quic/quic_reliable_client_stream_test.cc',
2720 'tools/quic/quic_reliable_server_stream_test.cc',
2721 'tools/quic/quic_spdy_server_stream_test.cc',
2722 'tools/quic/test_tools/http_message_test_utils.cc',
2723 'tools/quic/test_tools/http_message_test_utils.h',
2724 'tools/quic/test_tools/mock_epoll_server.cc',
2725 'tools/quic/test_tools/mock_epoll_server.h',
2726 'tools/quic/test_tools/quic_client_peer.cc',
2727 'tools/quic/test_tools/quic_client_peer.h',
2728 'tools/quic/test_tools/quic_epoll_connection_helper_peer.cc',
2729 'tools/quic/test_tools/quic_epoll_connection_helper_peer.h',
2730 'tools/quic/test_tools/quic_test_client.cc',
2731 'tools/quic/test_tools/quic_test_client.h',
2732 'tools/quic/test_tools/quic_test_utils.cc',
2733 'tools/quic/test_tools/quic_test_utils.h',
2734 'tools/quic/test_tools/run_all_unittests.cc',
2737 [ 'use_glib == 1', {
2739 '../build/linux/system.gyp:ssl',
2743 [ 'use_openssl==1', {
2744 # When building for OpenSSL, we need to exclude NSS specific tests.
2746 'quic/test_tools/crypto_test_utils_nss.cc',
2748 }, { # else !use_openssl: remove the unneeded files
2750 'quic/test_tools/crypto_test_utils_openssl.cc',
2761 'target_name': 'net_jni_headers',
2764 'android/java/src/org/chromium/net/AndroidKeyStore.java',
2765 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2766 'android/java/src/org/chromium/net/GURLUtils.java',
2767 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2768 'android/java/src/org/chromium/net/ProxyChangeListener.java',
2771 'jni_gen_package': 'net',
2773 'direct_dependent_settings': {
2775 '<(SHARED_INTERMEDIATE_DIR)/net',
2778 'includes': [ '../build/jni_generator.gypi' ],
2781 'target_name': 'net_test_jni_headers',
2784 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
2787 'jni_gen_package': 'net',
2789 'direct_dependent_settings': {
2791 '<(SHARED_INTERMEDIATE_DIR)/net',
2794 'includes': [ '../build/jni_generator.gypi' ],
2797 'target_name': 'net_java',
2800 'java_in_dir': '../net/android/java',
2803 '../base/base.gyp:base',
2804 'cert_verify_result_android_java',
2805 'certificate_mime_types_java',
2807 'private_key_types_java',
2809 'includes': [ '../build/java.gypi' ],
2812 'target_name': 'net_java_test_support',
2815 'java_in_dir': '../net/test/android/javatests',
2817 'includes': [ '../build/java.gypi' ],
2820 'target_name': 'net_javatests',
2823 'java_in_dir': '../net/android/javatests',
2826 '../base/base.gyp:base',
2827 '../base/base.gyp:base_java_test_support',
2830 'includes': [ '../build/java.gypi' ],
2833 'target_name': 'net_errors_java',
2836 'android/java/NetError.template',
2839 'package_name': 'org/chromium/net',
2840 'template_deps': ['base/net_error_list.h'],
2842 'includes': [ '../build/android/java_cpp_template.gypi' ],
2845 'target_name': 'certificate_mime_types_java',
2848 'android/java/CertificateMimeType.template',
2851 'package_name': 'org/chromium/net',
2852 'template_deps': ['base/mime_util_certificate_type_list.h'],
2854 'includes': [ '../build/android/java_cpp_template.gypi' ],
2857 'target_name': 'cert_verify_result_android_java',
2860 'android/java/CertVerifyResultAndroid.template',
2863 'package_name': 'org/chromium/net',
2864 'template_deps': ['android/cert_verify_result_android_list.h'],
2866 'includes': [ '../build/android/java_cpp_template.gypi' ],
2869 'target_name': 'private_key_types_java',
2872 'android/java/PrivateKeyType.template',
2875 'package_name': 'org/chromium/net',
2876 'template_deps': ['android/private_key_type_list.h'],
2878 'includes': [ '../build/android/java_cpp_template.gypi' ],
2882 # Special target to wrap a gtest_target_type==shared_library
2883 # net_unittests into an android apk for execution.
2884 # See base.gyp for TODO(jrg)s about this strategy.
2885 ['OS == "android" and gtest_target_type == "shared_library"', {
2888 'target_name': 'net_unittests_apk',
2896 'test_suite_name': 'net_unittests',
2897 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2899 'includes': [ '../build/apk_test.gypi' ],
2903 ['test_isolation_mode != "noop"', {
2906 'target_name': 'net_unittests_run',
2912 'net_unittests.isolate',
2916 'action_name': 'isolate',
2918 'net_unittests.isolate',
2919 '<@(isolate_dependency_tracked)',
2922 '<(PRODUCT_DIR)/net_unittests.isolated',
2926 '../tools/swarm_client/isolate.py',
2927 '<(test_isolation_mode)',
2928 '--outdir', '<(test_isolation_outdir)',
2929 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
2930 '--variable', 'OS', '<(OS)',
2931 '--result', '<@(_outputs)',
2932 '--isolate', 'net_unittests.isolate',