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_net_log_parameters.cc',
398 'disk_cache/simple/simple_net_log_parameters.h',
399 'disk_cache/simple/simple_synchronous_entry.cc',
400 'disk_cache/simple/simple_synchronous_entry.h',
401 'disk_cache/simple/simple_util.cc',
402 'disk_cache/simple/simple_util.h',
403 'disk_cache/flash/flash_entry_impl.cc',
404 'disk_cache/flash/flash_entry_impl.h',
405 'disk_cache/flash/format.h',
406 'disk_cache/flash/internal_entry.cc',
407 'disk_cache/flash/internal_entry.h',
408 'disk_cache/flash/log_store.cc',
409 'disk_cache/flash/log_store.h',
410 'disk_cache/flash/log_store_entry.cc',
411 'disk_cache/flash/log_store_entry.h',
412 'disk_cache/flash/segment.cc',
413 'disk_cache/flash/segment.h',
414 'disk_cache/flash/storage.cc',
415 'disk_cache/flash/storage.h',
416 'disk_cache/v3/disk_format_v3.h',
417 'dns/address_sorter.h',
418 'dns/address_sorter_posix.cc',
419 'dns/address_sorter_posix.h',
420 'dns/address_sorter_win.cc',
423 'dns/dns_config_service.cc',
424 'dns/dns_config_service.h',
425 'dns/dns_config_service_posix.cc',
426 'dns/dns_config_service_posix.h',
427 'dns/dns_config_service_win.cc',
428 'dns/dns_config_service_win.h',
431 'dns/dns_protocol.h',
434 'dns/dns_response.cc',
435 'dns/dns_response.h',
436 'dns/dns_session.cc',
438 'dns/dns_socket_pool.cc',
439 'dns/dns_socket_pool.h',
440 'dns/dns_transaction.cc',
441 'dns/dns_transaction.h',
444 'dns/host_resolver.cc',
445 'dns/host_resolver.h',
446 'dns/host_resolver_impl.cc',
447 'dns/host_resolver_impl.h',
448 'dns/host_resolver_proc.cc',
449 'dns/host_resolver_proc.h',
450 'dns/mapped_host_resolver.cc',
451 'dns/mapped_host_resolver.h',
454 'dns/mdns_client.cc',
456 'dns/mdns_client_impl.cc',
457 'dns/mdns_client_impl.h',
458 'dns/notify_watcher_mac.cc',
459 'dns/notify_watcher_mac.h',
460 'dns/record_parsed.cc',
461 'dns/record_parsed.h',
462 'dns/record_rdata.cc',
463 'dns/record_rdata.h',
464 'dns/serial_worker.cc',
465 'dns/serial_worker.h',
466 'dns/single_request_host_resolver.cc',
467 'dns/single_request_host_resolver.h',
468 'ftp/ftp_auth_cache.cc',
469 'ftp/ftp_auth_cache.h',
470 'ftp/ftp_ctrl_response_buffer.cc',
471 'ftp/ftp_ctrl_response_buffer.h',
472 'ftp/ftp_directory_listing_parser.cc',
473 'ftp/ftp_directory_listing_parser.h',
474 'ftp/ftp_directory_listing_parser_ls.cc',
475 'ftp/ftp_directory_listing_parser_ls.h',
476 'ftp/ftp_directory_listing_parser_netware.cc',
477 'ftp/ftp_directory_listing_parser_netware.h',
478 'ftp/ftp_directory_listing_parser_os2.cc',
479 'ftp/ftp_directory_listing_parser_os2.h',
480 'ftp/ftp_directory_listing_parser_vms.cc',
481 'ftp/ftp_directory_listing_parser_vms.h',
482 'ftp/ftp_directory_listing_parser_windows.cc',
483 'ftp/ftp_directory_listing_parser_windows.h',
484 'ftp/ftp_network_layer.cc',
485 'ftp/ftp_network_layer.h',
486 'ftp/ftp_network_session.cc',
487 'ftp/ftp_network_session.h',
488 'ftp/ftp_network_transaction.cc',
489 'ftp/ftp_network_transaction.h',
490 'ftp/ftp_request_info.h',
491 'ftp/ftp_response_info.cc',
492 'ftp/ftp_response_info.h',
493 'ftp/ftp_server_type_histograms.cc',
494 'ftp/ftp_server_type_histograms.h',
495 'ftp/ftp_transaction.h',
496 'ftp/ftp_transaction_factory.h',
501 'http/http_atom_list.h',
504 'http/http_auth_cache.cc',
505 'http/http_auth_cache.h',
506 'http/http_auth_controller.cc',
507 'http/http_auth_controller.h',
508 'http/http_auth_filter.cc',
509 'http/http_auth_filter.h',
510 'http/http_auth_filter_win.h',
511 'http/http_auth_gssapi_posix.cc',
512 'http/http_auth_gssapi_posix.h',
513 'http/http_auth_handler.cc',
514 'http/http_auth_handler.h',
515 'http/http_auth_handler_basic.cc',
516 'http/http_auth_handler_basic.h',
517 'http/http_auth_handler_digest.cc',
518 'http/http_auth_handler_digest.h',
519 'http/http_auth_handler_factory.cc',
520 'http/http_auth_handler_factory.h',
521 'http/http_auth_handler_negotiate.cc',
522 'http/http_auth_handler_negotiate.h',
523 'http/http_auth_handler_ntlm.cc',
524 'http/http_auth_handler_ntlm.h',
525 'http/http_auth_handler_ntlm_portable.cc',
526 'http/http_auth_handler_ntlm_win.cc',
527 'http/http_auth_sspi_win.cc',
528 'http/http_auth_sspi_win.h',
529 'http/http_basic_stream.cc',
530 'http/http_basic_stream.h',
531 'http/http_byte_range.cc',
532 'http/http_byte_range.h',
533 'http/http_cache.cc',
535 'http/http_cache_transaction.cc',
536 'http/http_cache_transaction.h',
537 'http/http_content_disposition.cc',
538 'http/http_content_disposition.h',
539 'http/http_chunked_decoder.cc',
540 'http/http_chunked_decoder.h',
541 'http/http_network_layer.cc',
542 'http/http_network_layer.h',
543 'http/http_network_session.cc',
544 'http/http_network_session.h',
545 'http/http_network_session_peer.cc',
546 'http/http_network_session_peer.h',
547 'http/http_network_transaction.cc',
548 'http/http_network_transaction.h',
549 'http/http_pipelined_connection.h',
550 'http/http_pipelined_connection_impl.cc',
551 'http/http_pipelined_connection_impl.h',
552 'http/http_pipelined_host.cc',
553 'http/http_pipelined_host.h',
554 'http/http_pipelined_host_capability.h',
555 'http/http_pipelined_host_forced.cc',
556 'http/http_pipelined_host_forced.h',
557 'http/http_pipelined_host_impl.cc',
558 'http/http_pipelined_host_impl.h',
559 'http/http_pipelined_host_pool.cc',
560 'http/http_pipelined_host_pool.h',
561 'http/http_pipelined_stream.cc',
562 'http/http_pipelined_stream.h',
563 'http/http_proxy_client_socket.cc',
564 'http/http_proxy_client_socket.h',
565 'http/http_proxy_client_socket_pool.cc',
566 'http/http_proxy_client_socket_pool.h',
567 'http/http_request_headers.cc',
568 'http/http_request_headers.h',
569 'http/http_request_info.cc',
570 'http/http_request_info.h',
571 'http/http_response_body_drainer.cc',
572 'http/http_response_body_drainer.h',
573 'http/http_response_headers.cc',
574 'http/http_response_headers.h',
575 'http/http_response_info.cc',
576 'http/http_response_info.h',
577 'http/http_security_headers.cc',
578 'http/http_security_headers.h',
579 'http/http_server_properties.cc',
580 'http/http_server_properties.h',
581 'http/http_server_properties_impl.cc',
582 'http/http_server_properties_impl.h',
583 'http/http_status_code.cc',
584 'http/http_status_code.h',
585 'http/http_stream.h',
586 'http/http_stream_base.h',
587 'http/http_stream_factory.cc',
588 'http/http_stream_factory.h',
589 'http/http_stream_factory_impl.cc',
590 'http/http_stream_factory_impl.h',
591 'http/http_stream_factory_impl_job.cc',
592 'http/http_stream_factory_impl_job.h',
593 'http/http_stream_factory_impl_request.cc',
594 'http/http_stream_factory_impl_request.h',
595 'http/http_stream_parser.cc',
596 'http/http_stream_parser.h',
597 'http/http_transaction.h',
598 'http/http_transaction_delegate.h',
599 'http/http_transaction_factory.h',
602 'http/http_util_icu.cc',
603 'http/http_vary_data.cc',
604 'http/http_vary_data.h',
605 'http/http_version.h',
608 'http/partial_data.cc',
609 'http/partial_data.h',
610 'http/proxy_client_socket.h',
611 'http/proxy_client_socket.cc',
612 'http/proxy_connect_redirect_http_stream.h',
613 'http/proxy_connect_redirect_http_stream.cc',
614 'http/transport_security_state.cc',
615 'http/transport_security_state.h',
616 'http/transport_security_state_static.h',
617 'http/url_security_manager.cc',
618 'http/url_security_manager.h',
619 'http/url_security_manager_posix.cc',
620 'http/url_security_manager_win.cc',
623 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
624 'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
625 'proxy/dhcp_proxy_script_fetcher.cc',
626 'proxy/dhcp_proxy_script_fetcher.h',
627 'proxy/dhcp_proxy_script_fetcher_factory.cc',
628 'proxy/dhcp_proxy_script_fetcher_factory.h',
629 'proxy/dhcp_proxy_script_fetcher_win.cc',
630 'proxy/dhcp_proxy_script_fetcher_win.h',
631 'proxy/dhcpcsvc_init_win.cc',
632 'proxy/dhcpcsvc_init_win.h',
633 'proxy/multi_threaded_proxy_resolver.cc',
634 'proxy/multi_threaded_proxy_resolver.h',
635 'proxy/network_delegate_error_observer.cc',
636 'proxy/network_delegate_error_observer.h',
637 'proxy/polling_proxy_config_service.cc',
638 'proxy/polling_proxy_config_service.h',
639 'proxy/proxy_bypass_rules.cc',
640 'proxy/proxy_bypass_rules.h',
641 'proxy/proxy_config.cc',
642 'proxy/proxy_config.h',
643 'proxy/proxy_config_service.h',
644 'proxy/proxy_config_service_android.cc',
645 'proxy/proxy_config_service_android.h',
646 'proxy/proxy_config_service_fixed.cc',
647 'proxy/proxy_config_service_fixed.h',
648 'proxy/proxy_config_service_ios.cc',
649 'proxy/proxy_config_service_ios.h',
650 'proxy/proxy_config_service_linux.cc',
651 'proxy/proxy_config_service_linux.h',
652 'proxy/proxy_config_service_mac.cc',
653 'proxy/proxy_config_service_mac.h',
654 'proxy/proxy_config_service_win.cc',
655 'proxy/proxy_config_service_win.h',
656 'proxy/proxy_config_source.cc',
657 'proxy/proxy_config_source.h',
658 'proxy/proxy_info.cc',
659 'proxy/proxy_info.h',
660 'proxy/proxy_list.cc',
661 'proxy/proxy_list.h',
662 'proxy/proxy_resolver.h',
663 'proxy/proxy_resolver_error_observer.h',
664 'proxy/proxy_resolver_mac.cc',
665 'proxy/proxy_resolver_mac.h',
666 'proxy/proxy_resolver_script.h',
667 'proxy/proxy_resolver_script_data.cc',
668 'proxy/proxy_resolver_script_data.h',
669 'proxy/proxy_resolver_winhttp.cc',
670 'proxy/proxy_resolver_winhttp.h',
671 'proxy/proxy_retry_info.h',
672 'proxy/proxy_script_decider.cc',
673 'proxy/proxy_script_decider.h',
674 'proxy/proxy_script_fetcher.h',
675 'proxy/proxy_script_fetcher_impl.cc',
676 'proxy/proxy_script_fetcher_impl.h',
677 'proxy/proxy_server.cc',
678 'proxy/proxy_server.h',
679 'proxy/proxy_server_mac.cc',
680 'proxy/proxy_service.cc',
681 'proxy/proxy_service.h',
682 'quic/blocked_list.h',
683 'quic/congestion_control/available_channel_estimator.cc',
684 'quic/congestion_control/available_channel_estimator.h',
685 'quic/congestion_control/channel_estimator.cc',
686 'quic/congestion_control/channel_estimator.h',
687 'quic/congestion_control/cube_root.cc',
688 'quic/congestion_control/cube_root.h',
689 'quic/congestion_control/cubic.cc',
690 'quic/congestion_control/cubic.h',
691 'quic/congestion_control/fix_rate_receiver.cc',
692 'quic/congestion_control/fix_rate_receiver.h',
693 'quic/congestion_control/fix_rate_sender.cc',
694 'quic/congestion_control/fix_rate_sender.h',
695 'quic/congestion_control/hybrid_slow_start.cc',
696 'quic/congestion_control/hybrid_slow_start.h',
697 'quic/congestion_control/inter_arrival_bitrate_ramp_up.cc',
698 'quic/congestion_control/inter_arrival_bitrate_ramp_up.h',
699 'quic/congestion_control/inter_arrival_overuse_detector.cc',
700 'quic/congestion_control/inter_arrival_overuse_detector.h',
701 'quic/congestion_control/inter_arrival_probe.cc',
702 'quic/congestion_control/inter_arrival_probe.h',
703 'quic/congestion_control/inter_arrival_receiver.cc',
704 'quic/congestion_control/inter_arrival_receiver.h',
705 'quic/congestion_control/inter_arrival_sender.cc',
706 'quic/congestion_control/inter_arrival_sender.h',
707 'quic/congestion_control/inter_arrival_state_machine.cc',
708 'quic/congestion_control/inter_arrival_state_machine.h',
709 'quic/congestion_control/leaky_bucket.cc',
710 'quic/congestion_control/leaky_bucket.h',
711 'quic/congestion_control/paced_sender.cc',
712 'quic/congestion_control/paced_sender.h',
713 'quic/congestion_control/quic_congestion_manager.cc',
714 'quic/congestion_control/quic_congestion_manager.h',
715 'quic/congestion_control/quic_max_sized_map.h',
716 'quic/congestion_control/receive_algorithm_interface.cc',
717 'quic/congestion_control/receive_algorithm_interface.h',
718 'quic/congestion_control/send_algorithm_interface.cc',
719 'quic/congestion_control/send_algorithm_interface.h',
720 'quic/congestion_control/tcp_cubic_sender.cc',
721 'quic/congestion_control/tcp_cubic_sender.h',
722 'quic/congestion_control/tcp_receiver.cc',
723 'quic/congestion_control/tcp_receiver.h',
724 'quic/crypto/aes_128_gcm_12_decrypter.h',
725 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
726 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
727 'quic/crypto/aes_128_gcm_12_encrypter.h',
728 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
729 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
730 'quic/crypto/cert_compressor.cc',
731 'quic/crypto/cert_compressor.h',
732 'quic/crypto/channel_id.cc',
733 'quic/crypto/channel_id.h',
734 'quic/crypto/channel_id_nss.cc',
735 'quic/crypto/channel_id_openssl.cc',
736 'quic/crypto/common_cert_set.cc',
737 'quic/crypto/common_cert_set.h',
738 'quic/crypto/crypto_framer.cc',
739 'quic/crypto/crypto_framer.h',
740 'quic/crypto/crypto_handshake.cc',
741 'quic/crypto/crypto_handshake.h',
742 'quic/crypto/crypto_protocol.h',
743 'quic/crypto/crypto_secret_boxer.cc',
744 'quic/crypto/crypto_secret_boxer.h',
745 'quic/crypto/crypto_server_config.cc',
746 'quic/crypto/crypto_server_config.h',
747 'quic/crypto/crypto_server_config_protobuf.cc',
748 'quic/crypto/crypto_server_config_protobuf.h',
749 'quic/crypto/crypto_utils.cc',
750 'quic/crypto/crypto_utils.h',
751 'quic/crypto/curve25519_key_exchange.cc',
752 'quic/crypto/curve25519_key_exchange.h',
753 'quic/crypto/ephemeral_key_source.h',
754 'quic/crypto/key_exchange.h',
755 'quic/crypto/null_decrypter.cc',
756 'quic/crypto/null_decrypter.h',
757 'quic/crypto/null_encrypter.cc',
758 'quic/crypto/null_encrypter.h',
759 'quic/crypto/p256_key_exchange.h',
760 'quic/crypto/p256_key_exchange_nss.cc',
761 'quic/crypto/p256_key_exchange_openssl.cc',
762 'quic/crypto/proof_source.h',
763 'quic/crypto/proof_source_chromium.cc',
764 'quic/crypto/proof_source_chromium.h',
765 'quic/crypto/proof_verifier.cc',
766 'quic/crypto/proof_verifier_chromium.cc',
767 'quic/crypto/proof_verifier_chromium.h',
768 'quic/crypto/quic_decrypter.cc',
769 'quic/crypto/quic_decrypter.h',
770 'quic/crypto/quic_encrypter.cc',
771 'quic/crypto/quic_encrypter.h',
772 'quic/crypto/quic_random.cc',
773 'quic/crypto/quic_random.h',
774 'quic/crypto/scoped_evp_cipher_ctx.cc',
775 'quic/crypto/scoped_evp_cipher_ctx.h',
776 'quic/crypto/strike_register.cc',
777 'quic/crypto/strike_register.h',
778 'quic/crypto/source_address_token.cc',
779 'quic/crypto/source_address_token.h',
780 'quic/quic_bandwidth.cc',
781 'quic/quic_bandwidth.h',
782 'quic/quic_blocked_writer_interface.h',
783 'quic/quic_client_session.cc',
784 'quic/quic_client_session.h',
785 'quic/quic_config.cc',
786 'quic/quic_config.h',
787 'quic/quic_crypto_client_stream.cc',
788 'quic/quic_crypto_client_stream.h',
789 'quic/quic_crypto_client_stream_factory.h',
790 'quic/quic_crypto_server_stream.cc',
791 'quic/quic_crypto_server_stream.h',
792 'quic/quic_crypto_stream.cc',
793 'quic/quic_crypto_stream.h',
794 'quic/quic_clock.cc',
796 'quic/quic_connection.cc',
797 'quic/quic_connection.h',
798 'quic/quic_connection_helper.cc',
799 'quic/quic_connection_helper.h',
800 'quic/quic_connection_logger.cc',
801 'quic/quic_connection_logger.h',
802 'quic/quic_data_reader.cc',
803 'quic/quic_data_reader.h',
804 'quic/quic_data_writer.cc',
805 'quic/quic_data_writer.h',
806 'quic/quic_fec_group.cc',
807 'quic/quic_fec_group.h',
808 'quic/quic_framer.cc',
809 'quic/quic_framer.h',
810 'quic/quic_http_stream.cc',
811 'quic/quic_http_stream.h',
812 'quic/quic_packet_creator.cc',
813 'quic/quic_packet_creator.h',
814 'quic/quic_packet_generator.cc',
815 'quic/quic_packet_generator.h',
816 'quic/quic_protocol.cc',
817 'quic/quic_protocol.h',
818 'quic/quic_received_entropy_manager.cc',
819 'quic/quic_received_entropy_manager.h',
820 'quic/quic_reliable_client_stream.cc',
821 'quic/quic_reliable_client_stream.h',
822 'quic/quic_sent_entropy_manager.cc',
823 'quic/quic_sent_entropy_manager.h',
824 'quic/quic_session.cc',
825 'quic/quic_session.h',
826 'quic/quic_spdy_compressor.cc',
827 'quic/quic_spdy_compressor.h',
828 'quic/quic_spdy_decompressor.cc',
829 'quic/quic_spdy_decompressor.h',
830 'quic/quic_stats.cc',
832 'quic/quic_stream_factory.cc',
833 'quic/quic_stream_factory.h',
834 'quic/quic_stream_sequencer.cc',
835 'quic/quic_stream_sequencer.h',
838 'quic/quic_utils.cc',
840 'quic/reliable_quic_stream.cc',
841 'quic/reliable_quic_stream.h',
842 'quic/spdy_utils.cc',
844 'socket/buffered_write_stream_socket.cc',
845 'socket/buffered_write_stream_socket.h',
846 'socket/client_socket_factory.cc',
847 'socket/client_socket_factory.h',
848 'socket/client_socket_handle.cc',
849 'socket/client_socket_handle.h',
850 'socket/client_socket_pool.cc',
851 'socket/client_socket_pool.h',
852 'socket/client_socket_pool_base.cc',
853 'socket/client_socket_pool_base.h',
854 'socket/client_socket_pool_histograms.cc',
855 'socket/client_socket_pool_histograms.h',
856 'socket/client_socket_pool_manager.cc',
857 'socket/client_socket_pool_manager.h',
858 'socket/client_socket_pool_manager_impl.cc',
859 'socket/client_socket_pool_manager_impl.h',
860 'socket/next_proto.h',
861 'socket/nss_ssl_util.cc',
862 'socket/nss_ssl_util.h',
863 'socket/server_socket.h',
864 'socket/socket_net_log_params.cc',
865 'socket/socket_net_log_params.h',
867 'socket/socks5_client_socket.cc',
868 'socket/socks5_client_socket.h',
869 'socket/socks_client_socket.cc',
870 'socket/socks_client_socket.h',
871 'socket/socks_client_socket_pool.cc',
872 'socket/socks_client_socket_pool.h',
873 'socket/ssl_client_socket.cc',
874 'socket/ssl_client_socket.h',
875 'socket/ssl_client_socket_nss.cc',
876 'socket/ssl_client_socket_nss.h',
877 'socket/ssl_client_socket_openssl.cc',
878 'socket/ssl_client_socket_openssl.h',
879 'socket/ssl_client_socket_pool.cc',
880 'socket/ssl_client_socket_pool.h',
881 'socket/ssl_error_params.cc',
882 'socket/ssl_error_params.h',
883 'socket/ssl_server_socket.h',
884 'socket/ssl_server_socket_nss.cc',
885 'socket/ssl_server_socket_nss.h',
886 'socket/ssl_server_socket_openssl.cc',
887 'socket/ssl_socket.h',
888 'socket/stream_listen_socket.cc',
889 'socket/stream_listen_socket.h',
890 'socket/stream_socket.cc',
891 'socket/stream_socket.h',
892 'socket/tcp_client_socket.cc',
893 'socket/tcp_client_socket.h',
894 'socket/tcp_client_socket_libevent.cc',
895 'socket/tcp_client_socket_libevent.h',
896 'socket/tcp_client_socket_win.cc',
897 'socket/tcp_client_socket_win.h',
898 'socket/tcp_listen_socket.cc',
899 'socket/tcp_listen_socket.h',
900 'socket/tcp_server_socket.h',
901 'socket/tcp_server_socket_libevent.cc',
902 'socket/tcp_server_socket_libevent.h',
903 'socket/tcp_server_socket_win.cc',
904 'socket/tcp_server_socket_win.h',
905 'socket/transport_client_socket_pool.cc',
906 'socket/transport_client_socket_pool.h',
907 'socket/unix_domain_socket_posix.cc',
908 'socket/unix_domain_socket_posix.h',
909 'socket_stream/socket_stream.cc',
910 'socket_stream/socket_stream.h',
911 'socket_stream/socket_stream_job.cc',
912 'socket_stream/socket_stream_job.h',
913 'socket_stream/socket_stream_job_manager.cc',
914 'socket_stream/socket_stream_job_manager.h',
915 'socket_stream/socket_stream_metrics.cc',
916 'socket_stream/socket_stream_metrics.h',
917 'spdy/buffered_spdy_framer.cc',
918 'spdy/buffered_spdy_framer.h',
919 'spdy/spdy_bitmasks.h',
920 'spdy/spdy_buffer.cc',
921 'spdy/spdy_buffer.h',
922 'spdy/spdy_buffer_producer.cc',
923 'spdy/spdy_buffer_producer.h',
924 'spdy/spdy_credential_builder.cc',
925 'spdy/spdy_credential_builder.h',
926 'spdy/spdy_credential_state.cc',
927 'spdy/spdy_credential_state.h',
928 'spdy/spdy_frame_builder.cc',
929 'spdy/spdy_frame_builder.h',
930 'spdy/spdy_frame_reader.cc',
931 'spdy/spdy_frame_reader.h',
932 'spdy/spdy_framer.cc',
933 'spdy/spdy_framer.h',
934 'spdy/spdy_header_block.cc',
935 'spdy/spdy_header_block.h',
936 'spdy/spdy_http_stream.cc',
937 'spdy/spdy_http_stream.h',
938 'spdy/spdy_http_utils.cc',
939 'spdy/spdy_http_utils.h',
940 'spdy/spdy_priority_forest.h',
941 'spdy/spdy_protocol.cc',
942 'spdy/spdy_protocol.h',
943 'spdy/spdy_proxy_client_socket.cc',
944 'spdy/spdy_proxy_client_socket.h',
945 'spdy/spdy_read_queue.cc',
946 'spdy/spdy_read_queue.h',
947 'spdy/spdy_session.cc',
948 'spdy/spdy_session.h',
949 'spdy/spdy_session_key.cc',
950 'spdy/spdy_session_key.h',
951 'spdy/spdy_session_pool.cc',
952 'spdy/spdy_session_pool.h',
953 'spdy/spdy_stream.cc',
954 'spdy/spdy_stream.h',
955 'spdy/spdy_websocket_stream.cc',
956 'spdy/spdy_websocket_stream.h',
957 'spdy/spdy_write_queue.cc',
958 'spdy/spdy_write_queue.h',
959 'ssl/client_cert_store.h',
960 'ssl/client_cert_store_impl.h',
961 'ssl/client_cert_store_impl_mac.cc',
962 'ssl/client_cert_store_impl_nss.cc',
963 'ssl/client_cert_store_impl_win.cc',
964 'ssl/default_server_bound_cert_store.cc',
965 'ssl/default_server_bound_cert_store.h',
966 'ssl/openssl_client_key_store.cc',
967 'ssl/openssl_client_key_store.h',
968 'ssl/server_bound_cert_service.cc',
969 'ssl/server_bound_cert_service.h',
970 'ssl/server_bound_cert_store.cc',
971 'ssl/server_bound_cert_store.h',
972 'ssl/ssl_cert_request_info.cc',
973 'ssl/ssl_cert_request_info.h',
974 'ssl/ssl_cipher_suite_names.cc',
975 'ssl/ssl_cipher_suite_names.h',
976 'ssl/ssl_client_auth_cache.cc',
977 'ssl/ssl_client_auth_cache.h',
978 'ssl/ssl_client_cert_type.h',
979 'ssl/ssl_config_service.cc',
980 'ssl/ssl_config_service.h',
981 'ssl/ssl_config_service_defaults.cc',
982 'ssl/ssl_config_service_defaults.h',
985 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
986 'third_party/mozilla_security_manager/nsKeygenHandler.h',
987 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
988 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
989 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
990 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
991 'udp/datagram_client_socket.h',
992 'udp/datagram_server_socket.h',
993 'udp/datagram_socket.h',
994 'udp/udp_client_socket.cc',
995 'udp/udp_client_socket.h',
996 'udp/udp_net_log_parameters.cc',
997 'udp/udp_net_log_parameters.h',
998 'udp/udp_server_socket.cc',
999 'udp/udp_server_socket.h',
1001 'udp/udp_socket_libevent.cc',
1002 'udp/udp_socket_libevent.h',
1003 'udp/udp_socket_win.cc',
1004 'udp/udp_socket_win.h',
1005 'url_request/data_protocol_handler.cc',
1006 'url_request/data_protocol_handler.h',
1007 'url_request/file_protocol_handler.cc',
1008 'url_request/file_protocol_handler.h',
1009 'url_request/fraudulent_certificate_reporter.h',
1010 'url_request/ftp_protocol_handler.cc',
1011 'url_request/ftp_protocol_handler.h',
1012 'url_request/http_user_agent_settings.h',
1013 'url_request/protocol_intercept_job_factory.cc',
1014 'url_request/protocol_intercept_job_factory.h',
1015 'url_request/static_http_user_agent_settings.cc',
1016 'url_request/static_http_user_agent_settings.h',
1017 'url_request/url_fetcher.cc',
1018 'url_request/url_fetcher.h',
1019 'url_request/url_fetcher_core.cc',
1020 'url_request/url_fetcher_core.h',
1021 'url_request/url_fetcher_delegate.cc',
1022 'url_request/url_fetcher_delegate.h',
1023 'url_request/url_fetcher_factory.h',
1024 'url_request/url_fetcher_impl.cc',
1025 'url_request/url_fetcher_impl.h',
1026 'url_request/url_fetcher_response_writer.cc',
1027 'url_request/url_fetcher_response_writer.h',
1028 'url_request/url_request.cc',
1029 'url_request/url_request.h',
1030 'url_request/url_request_about_job.cc',
1031 'url_request/url_request_about_job.h',
1032 'url_request/url_request_context.cc',
1033 'url_request/url_request_context.h',
1034 'url_request/url_request_context_builder.cc',
1035 'url_request/url_request_context_builder.h',
1036 'url_request/url_request_context_getter.cc',
1037 'url_request/url_request_context_getter.h',
1038 'url_request/url_request_context_storage.cc',
1039 'url_request/url_request_context_storage.h',
1040 'url_request/url_request_data_job.cc',
1041 'url_request/url_request_data_job.h',
1042 'url_request/url_request_error_job.cc',
1043 'url_request/url_request_error_job.h',
1044 'url_request/url_request_file_dir_job.cc',
1045 'url_request/url_request_file_dir_job.h',
1046 'url_request/url_request_file_job.cc',
1047 'url_request/url_request_file_job.h',
1048 'url_request/url_request_filter.cc',
1049 'url_request/url_request_filter.h',
1050 'url_request/url_request_ftp_job.cc',
1051 'url_request/url_request_ftp_job.h',
1052 'url_request/url_request_http_job.cc',
1053 'url_request/url_request_http_job.h',
1054 'url_request/url_request_job.cc',
1055 'url_request/url_request_job.h',
1056 'url_request/url_request_job_factory.cc',
1057 'url_request/url_request_job_factory.h',
1058 'url_request/url_request_job_factory_impl.cc',
1059 'url_request/url_request_job_factory_impl.h',
1060 'url_request/url_request_job_manager.cc',
1061 'url_request/url_request_job_manager.h',
1062 'url_request/url_request_netlog_params.cc',
1063 'url_request/url_request_netlog_params.h',
1064 'url_request/url_request_redirect_job.cc',
1065 'url_request/url_request_redirect_job.h',
1066 'url_request/url_request_simple_job.cc',
1067 'url_request/url_request_simple_job.h',
1068 'url_request/url_request_status.h',
1069 'url_request/url_request_test_job.cc',
1070 'url_request/url_request_test_job.h',
1071 'url_request/url_request_throttler_entry.cc',
1072 'url_request/url_request_throttler_entry.h',
1073 'url_request/url_request_throttler_entry_interface.h',
1074 'url_request/url_request_throttler_header_adapter.cc',
1075 'url_request/url_request_throttler_header_adapter.h',
1076 'url_request/url_request_throttler_header_interface.h',
1077 'url_request/url_request_throttler_manager.cc',
1078 'url_request/url_request_throttler_manager.h',
1079 'url_request/view_cache_helper.cc',
1080 'url_request/view_cache_helper.h',
1081 'websockets/websocket_channel.cc',
1082 'websockets/websocket_channel.h',
1083 'websockets/websocket_errors.cc',
1084 'websockets/websocket_errors.h',
1085 'websockets/websocket_frame.cc',
1086 'websockets/websocket_frame.h',
1087 'websockets/websocket_frame_parser.cc',
1088 'websockets/websocket_frame_parser.h',
1089 'websockets/websocket_handshake_handler.cc',
1090 'websockets/websocket_handshake_handler.h',
1091 'websockets/websocket_job.cc',
1092 'websockets/websocket_job.h',
1093 'websockets/websocket_mux.h',
1094 'websockets/websocket_net_log_params.cc',
1095 'websockets/websocket_net_log_params.h',
1096 'websockets/websocket_stream.cc',
1097 'websockets/websocket_stream.h',
1098 'websockets/websocket_stream_base.h',
1099 'websockets/websocket_throttle.cc',
1100 'websockets/websocket_throttle.h',
1103 'NET_IMPLEMENTATION',
1105 'export_dependent_settings': [
1106 '../base/base.gyp:base',
1111 'base/network_change_notifier_linux.cc',
1112 'base/network_change_notifier_linux.h',
1113 'base/network_change_notifier_netlink_linux.cc',
1114 'base/network_change_notifier_netlink_linux.h',
1115 'proxy/proxy_config_service_linux.cc',
1116 'proxy/proxy_config_service_linux.h',
1119 ['use_kerberos==1', {
1126 '/usr/include/kerberosV'
1129 ['linux_link_kerberos==1', {
1132 '<!@(krb5-config --libs gssapi)',
1135 }, { # linux_link_kerberos==0
1141 }, { # use_kerberos == 0
1143 'http/http_auth_gssapi_posix.cc',
1144 'http/http_auth_gssapi_posix.h',
1145 'http/http_auth_handler_negotiate.h',
1146 'http/http_auth_handler_negotiate.cc',
1149 ['posix_avoid_mmap==1', {
1153 'direct_dependent_settings': {
1159 'disk_cache/mapped_file_posix.cc',
1163 'disk_cache/mapped_file_avoid_mmap_posix.cc',
1166 ['disable_ftp_support==1', {
1168 ['exclude', '^ftp/'],
1171 'url_request/ftp_protocol_handler.cc',
1172 'url_request/ftp_protocol_handler.h',
1173 'url_request/url_request_ftp_job.cc',
1174 'url_request/url_request_ftp_job.h',
1177 ['enable_built_in_dns==1', {
1179 'ENABLE_BUILT_IN_DNS',
1183 'dns/address_sorter_posix.cc',
1184 'dns/address_sorter_posix.h',
1185 'dns/dns_client.cc',
1188 ['use_tracing_cache_backend==1', {
1190 'USE_TRACING_CACHE_BACKEND'
1193 ['use_openssl==1', {
1195 'base/crypto_module_nss.cc',
1196 'base/keygen_handler_nss.cc',
1199 'cert/cert_database_nss.cc',
1200 'cert/cert_verify_proc_nss.cc',
1201 'cert/cert_verify_proc_nss.h',
1202 'cert/nss_cert_database.cc',
1203 'cert/nss_cert_database.h',
1204 'cert/test_root_certs_nss.cc',
1205 'cert/x509_certificate_nss.cc',
1206 'cert/x509_util_nss.cc',
1207 'cert/x509_util_nss.h',
1210 'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
1211 'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
1212 'quic/crypto/channel_id_nss.cc',
1213 'quic/crypto/p256_key_exchange_nss.cc',
1214 'socket/nss_ssl_util.cc',
1215 'socket/nss_ssl_util.h',
1216 'socket/ssl_client_socket_nss.cc',
1217 'socket/ssl_client_socket_nss.h',
1218 'socket/ssl_server_socket_nss.cc',
1219 'socket/ssl_server_socket_nss.h',
1220 'ssl/client_cert_store_impl_nss.cc',
1221 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1222 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1223 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1224 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1225 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1226 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1229 { # else !use_openssl: remove the unneeded files
1231 'base/crypto_module_openssl.cc',
1232 'base/keygen_handler_openssl.cc',
1233 'base/openssl_private_key_store.h',
1234 'base/openssl_private_key_store_android.cc',
1235 'base/openssl_private_key_store_memory.cc',
1236 'cert/cert_database_openssl.cc',
1237 'cert/cert_verify_proc_openssl.cc',
1238 'cert/cert_verify_proc_openssl.h',
1239 'cert/test_root_certs_openssl.cc',
1240 'cert/x509_certificate_openssl.cc',
1241 'cert/x509_util_openssl.cc',
1242 'cert/x509_util_openssl.h',
1243 'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
1244 'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
1245 'quic/crypto/channel_id_openssl.cc',
1246 'quic/crypto/p256_key_exchange_openssl.cc',
1247 'quic/crypto/scoped_evp_cipher_ctx.cc',
1248 'quic/crypto/scoped_evp_cipher_ctx.h',
1249 'socket/ssl_client_socket_openssl.cc',
1250 'socket/ssl_client_socket_openssl.h',
1251 'socket/ssl_server_socket_openssl.cc',
1252 'ssl/openssl_client_key_store.cc',
1253 'ssl/openssl_client_key_store.h',
1257 [ 'use_glib == 1', {
1259 '../build/linux/system.gyp:gconf',
1260 '../build/linux/system.gyp:gio',
1263 ['use_openssl==1', {
1265 '../third_party/openssl/openssl.gyp:openssl',
1268 { # else use_openssl==0, use NSS
1270 '../build/linux/system.gyp:ssl',
1275 'base/network_change_notifier_linux.cc',
1276 'base/network_change_notifier_netlink_linux.cc',
1277 'proxy/proxy_config_service_linux.cc',
1281 '../build/linux/system.gyp:libresolv',
1293 { # else: OS is not in the above list
1295 'base/crypto_module_nss.cc',
1296 'base/keygen_handler_nss.cc',
1297 'cert/cert_database_nss.cc',
1298 'cert/nss_cert_database.cc',
1299 'cert/nss_cert_database.h',
1300 'cert/test_root_certs_nss.cc',
1301 'cert/x509_certificate_nss.cc',
1304 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1305 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1306 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1307 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1308 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1309 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1313 [ 'toolkit_uses_gtk == 1', {
1315 '../build/linux/system.gyp:gdk',
1320 'cert/cert_verify_proc_nss.cc',
1321 'cert/cert_verify_proc_nss.h',
1322 'ssl/client_cert_store_impl_nss.cc',
1325 [ 'enable_websockets != 1', {
1327 ['exclude', '^socket_stream/'],
1328 ['exclude', '^websockets/'],
1331 'spdy/spdy_websocket_stream.cc',
1332 'spdy/spdy_websocket_stream.h',
1335 [ 'enable_mdns != 1', {
1337 'dns/mdns_cache.cc',
1339 'dns/mdns_client.cc',
1340 'dns/mdns_client.h',
1341 'dns/mdns_client_impl.cc',
1342 'dns/mdns_client_impl.h',
1343 'dns/record_parsed.cc',
1344 'dns/record_parsed.h',
1345 'dns/record_rdata.cc',
1346 'dns/record_rdata.h',
1351 'http/http_auth_handler_ntlm_portable.cc',
1352 'socket/tcp_client_socket_libevent.cc',
1353 'socket/tcp_client_socket_libevent.h',
1354 'socket/tcp_server_socket_libevent.cc',
1355 'socket/tcp_server_socket_libevent.h',
1356 'ssl/client_cert_store_impl_nss.cc',
1357 'udp/udp_socket_libevent.cc',
1358 'udp/udp_socket_libevent.h',
1361 '../third_party/nss/nss.gyp:nspr',
1362 '../third_party/nss/nss.gyp:nss',
1363 'third_party/nss/ssl.gyp:libssl',
1365 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1366 'msvs_disabled_warnings': [4267, ],
1367 }, { # else: OS != "win"
1369 'base/winsock_init.cc',
1370 'base/winsock_init.h',
1371 'base/winsock_util.cc',
1372 'base/winsock_util.h',
1373 'proxy/proxy_resolver_winhttp.cc',
1374 'proxy/proxy_resolver_winhttp.h',
1380 'ssl/client_cert_store_impl_nss.cc',
1383 '../third_party/nss/nss.gyp:nspr',
1384 '../third_party/nss/nss.gyp:nss',
1385 'third_party/nss/ssl.gyp:libssl',
1389 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1390 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1391 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1392 '$(SDKROOT)/usr/lib/libresolv.dylib',
1399 '../third_party/nss/nss.gyp:nss',
1400 'third_party/nss/ssl.gyp:libssl',
1404 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1405 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1406 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1407 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1408 '$(SDKROOT)/usr/lib/libresolv.dylib',
1413 ['OS=="android" and _toolset=="target" and android_webview_build == 0', {
1418 [ 'OS == "android"', {
1420 '../third_party/openssl/openssl.gyp:openssl',
1424 'base/openssl_private_key_store_memory.cc',
1425 'cert/cert_database_openssl.cc',
1426 'cert/cert_verify_proc_openssl.cc',
1427 'cert/test_root_certs_openssl.cc',
1429 # The net/android/keystore_openssl.cc source file needs to
1430 # access an OpenSSL-internal header.
1432 '../third_party/openssl',
1437 'target_conditions': [
1438 # These source files are excluded by default platform rules, but they
1439 # are needed in specific cases on other platforms. Re-including them can
1440 # only be done in target_conditions as it is evaluated after the
1442 ['OS == "android"', {
1444 ['include', '^base/platform_mime_util_linux\\.cc$'],
1449 ['include', '^base/network_change_notifier_mac\\.cc$'],
1450 ['include', '^base/network_config_watcher_mac\\.cc$'],
1451 ['include', '^base/platform_mime_util_mac\\.mm$'],
1452 # The iOS implementation only partially uses NSS and thus does not
1453 # defines |use_nss|. In particular the |USE_NSS| preprocessor
1454 # definition is not used. The following files are needed though:
1455 ['include', '^cert/cert_verify_proc_nss\\.cc$'],
1456 ['include', '^cert/cert_verify_proc_nss\\.h$'],
1457 ['include', '^cert/test_root_certs_nss\\.cc$'],
1458 ['include', '^cert/x509_util_nss\\.cc$'],
1459 ['include', '^cert/x509_util_nss\\.h$'],
1460 ['include', '^dns/notify_watcher_mac\\.cc$'],
1461 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1462 ['include', '^proxy/proxy_server_mac\\.cc$'],
1463 ['include', '^ocsp/nss_ocsp\\.cc$'],
1464 ['include', '^ocsp/nss_ocsp\\.h$'],
1470 'target_name': 'net_unittests',
1471 'type': '<(gtest_target_type)',
1473 '../base/base.gyp:base',
1474 '../base/base.gyp:base_i18n',
1475 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1476 '../crypto/crypto.gyp:crypto',
1477 '../testing/gmock.gyp:gmock',
1478 '../testing/gtest.gyp:gtest',
1479 '../third_party/zlib/zlib.gyp:zlib',
1480 '../url/url.gyp:url_lib',
1486 'android/keystore_unittest.cc',
1487 'android/network_change_notifier_android_unittest.cc',
1488 'base/address_list_unittest.cc',
1489 'base/address_tracker_linux_unittest.cc',
1490 'base/backoff_entry_unittest.cc',
1491 'base/big_endian_unittest.cc',
1492 'base/data_url_unittest.cc',
1493 'base/directory_lister_unittest.cc',
1494 'base/dns_util_unittest.cc',
1495 'base/escape_unittest.cc',
1496 'base/expiring_cache_unittest.cc',
1497 'base/file_stream_unittest.cc',
1498 'base/filter_unittest.cc',
1499 'base/int128_unittest.cc',
1500 'base/gzip_filter_unittest.cc',
1501 'base/host_mapping_rules_unittest.cc',
1502 'base/host_port_pair_unittest.cc',
1503 'base/ip_endpoint_unittest.cc',
1504 'base/keygen_handler_unittest.cc',
1505 'base/mime_sniffer_unittest.cc',
1506 'base/mime_util_unittest.cc',
1507 'base/mock_filter_context.cc',
1508 'base/mock_filter_context.h',
1509 'base/net_log_logger_unittest.cc',
1510 'base/net_log_unittest.cc',
1511 'base/net_log_unittest.h',
1512 'base/net_util_unittest.cc',
1513 'base/network_change_notifier_win_unittest.cc',
1514 'base/prioritized_dispatcher_unittest.cc',
1515 'base/priority_queue_unittest.cc',
1516 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1517 'base/sdch_filter_unittest.cc',
1518 'base/static_cookie_policy_unittest.cc',
1519 'base/test_completion_callback_unittest.cc',
1520 'base/upload_bytes_element_reader_unittest.cc',
1521 'base/upload_data_stream_unittest.cc',
1522 'base/upload_file_element_reader_unittest.cc',
1523 'base/url_util_unittest.cc',
1524 'cert/cert_verify_proc_unittest.cc',
1525 'cert/crl_set_unittest.cc',
1526 'cert/ev_root_ca_metadata_unittest.cc',
1527 'cert/multi_threaded_cert_verifier_unittest.cc',
1528 'cert/nss_cert_database_unittest.cc',
1529 'cert/pem_tokenizer_unittest.cc',
1530 'cert/test_root_certs_unittest.cc',
1531 'cert/x509_certificate_unittest.cc',
1532 'cert/x509_cert_types_unittest.cc',
1533 'cert/x509_util_unittest.cc',
1534 'cert/x509_util_nss_unittest.cc',
1535 'cert/x509_util_openssl_unittest.cc',
1536 'cookies/canonical_cookie_unittest.cc',
1537 'cookies/cookie_constants_unittest.cc',
1538 'cookies/cookie_monster_unittest.cc',
1539 'cookies/cookie_store_unittest.h',
1540 'cookies/cookie_util_unittest.cc',
1541 'cookies/parsed_cookie_unittest.cc',
1542 'disk_cache/addr_unittest.cc',
1543 'disk_cache/backend_unittest.cc',
1544 'disk_cache/bitmap_unittest.cc',
1545 'disk_cache/block_files_unittest.cc',
1546 'disk_cache/cache_util_unittest.cc',
1547 'disk_cache/entry_unittest.cc',
1548 'disk_cache/mapped_file_unittest.cc',
1549 'disk_cache/simple/simple_index_file_unittest.cc',
1550 'disk_cache/simple/simple_index_unittest.cc',
1551 'disk_cache/simple/simple_test_util.h',
1552 'disk_cache/simple/simple_test_util.cc',
1553 'disk_cache/simple/simple_util_unittest.cc',
1554 'disk_cache/storage_block_unittest.cc',
1555 'disk_cache/flash/log_store_entry_unittest.cc',
1556 'disk_cache/flash/log_store_unittest.cc',
1557 'disk_cache/flash/segment_unittest.cc',
1558 'disk_cache/flash/storage_unittest.cc',
1559 'dns/address_sorter_posix_unittest.cc',
1560 'dns/address_sorter_unittest.cc',
1561 'dns/dns_config_service_posix_unittest.cc',
1562 'dns/dns_config_service_unittest.cc',
1563 'dns/dns_config_service_win_unittest.cc',
1564 'dns/dns_hosts_unittest.cc',
1565 'dns/dns_query_unittest.cc',
1566 'dns/dns_response_unittest.cc',
1567 'dns/dns_session_unittest.cc',
1568 'dns/dns_transaction_unittest.cc',
1569 'dns/host_cache_unittest.cc',
1570 'dns/host_resolver_impl_unittest.cc',
1571 'dns/mapped_host_resolver_unittest.cc',
1572 'dns/mdns_cache_unittest.cc',
1573 'dns/mdns_client_unittest.cc',
1574 'dns/serial_worker_unittest.cc',
1575 'dns/record_parsed_unittest.cc',
1576 'dns/record_rdata_unittest.cc',
1577 'dns/single_request_host_resolver_unittest.cc',
1578 'ftp/ftp_auth_cache_unittest.cc',
1579 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1580 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1581 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1582 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1583 'ftp/ftp_directory_listing_parser_unittest.cc',
1584 'ftp/ftp_directory_listing_parser_unittest.h',
1585 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1586 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1587 'ftp/ftp_network_transaction_unittest.cc',
1588 'ftp/ftp_util_unittest.cc',
1589 'http/des_unittest.cc',
1590 'http/http_auth_cache_unittest.cc',
1591 'http/http_auth_controller_unittest.cc',
1592 'http/http_auth_filter_unittest.cc',
1593 'http/http_auth_gssapi_posix_unittest.cc',
1594 'http/http_auth_handler_basic_unittest.cc',
1595 'http/http_auth_handler_digest_unittest.cc',
1596 'http/http_auth_handler_factory_unittest.cc',
1597 'http/http_auth_handler_mock.cc',
1598 'http/http_auth_handler_mock.h',
1599 'http/http_auth_handler_negotiate_unittest.cc',
1600 'http/http_auth_handler_unittest.cc',
1601 'http/http_auth_sspi_win_unittest.cc',
1602 'http/http_auth_unittest.cc',
1603 'http/http_byte_range_unittest.cc',
1604 'http/http_cache_unittest.cc',
1605 'http/http_chunked_decoder_unittest.cc',
1606 'http/http_content_disposition_unittest.cc',
1607 'http/http_network_layer_unittest.cc',
1608 'http/http_network_transaction_unittest.cc',
1609 'http/http_network_transaction_ssl_unittest.cc',
1610 'http/http_pipelined_connection_impl_unittest.cc',
1611 'http/http_pipelined_host_forced_unittest.cc',
1612 'http/http_pipelined_host_impl_unittest.cc',
1613 'http/http_pipelined_host_pool_unittest.cc',
1614 'http/http_pipelined_host_test_util.cc',
1615 'http/http_pipelined_host_test_util.h',
1616 'http/http_pipelined_network_transaction_unittest.cc',
1617 'http/http_proxy_client_socket_pool_unittest.cc',
1618 'http/http_request_headers_unittest.cc',
1619 'http/http_response_body_drainer_unittest.cc',
1620 'http/http_response_headers_unittest.cc',
1621 'http/http_security_headers_unittest.cc',
1622 'http/http_server_properties_impl_unittest.cc',
1623 'http/http_status_code_unittest.cc',
1624 'http/http_stream_factory_impl_unittest.cc',
1625 'http/http_stream_parser_unittest.cc',
1626 'http/http_transaction_unittest.cc',
1627 'http/http_transaction_unittest.h',
1628 'http/http_util_unittest.cc',
1629 'http/http_vary_data_unittest.cc',
1630 'http/mock_allow_url_security_manager.cc',
1631 'http/mock_allow_url_security_manager.h',
1632 'http/mock_gssapi_library_posix.cc',
1633 'http/mock_gssapi_library_posix.h',
1634 'http/mock_http_cache.cc',
1635 'http/mock_http_cache.h',
1636 'http/mock_sspi_library_win.cc',
1637 'http/mock_sspi_library_win.h',
1638 'http/transport_security_state_unittest.cc',
1639 'http/url_security_manager_unittest.cc',
1640 'ocsp/nss_ocsp_unittest.cc',
1641 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1642 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1643 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1644 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1645 'proxy/network_delegate_error_observer_unittest.cc',
1646 'proxy/proxy_bypass_rules_unittest.cc',
1647 'proxy/proxy_config_service_android_unittest.cc',
1648 'proxy/proxy_config_service_linux_unittest.cc',
1649 'proxy/proxy_config_service_win_unittest.cc',
1650 'proxy/proxy_config_unittest.cc',
1651 'proxy/proxy_info_unittest.cc',
1652 'proxy/proxy_list_unittest.cc',
1653 'proxy/proxy_resolver_v8_tracing_unittest.cc',
1654 'proxy/proxy_resolver_v8_unittest.cc',
1655 'proxy/proxy_script_decider_unittest.cc',
1656 'proxy/proxy_script_fetcher_impl_unittest.cc',
1657 'proxy/proxy_server_unittest.cc',
1658 'proxy/proxy_service_unittest.cc',
1659 'quic/blocked_list_test.cc',
1660 'quic/congestion_control/available_channel_estimator_test.cc',
1661 'quic/congestion_control/channel_estimator_test.cc',
1662 'quic/congestion_control/cube_root_test.cc',
1663 'quic/congestion_control/cubic_test.cc',
1664 'quic/congestion_control/fix_rate_test.cc',
1665 'quic/congestion_control/hybrid_slow_start_test.cc',
1666 'quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc',
1667 'quic/congestion_control/inter_arrival_overuse_detector_test.cc',
1668 'quic/congestion_control/inter_arrival_probe_test.cc',
1669 'quic/congestion_control/inter_arrival_receiver_test.cc',
1670 'quic/congestion_control/inter_arrival_state_machine_test.cc',
1671 'quic/congestion_control/inter_arrival_sender_test.cc',
1672 'quic/congestion_control/leaky_bucket_test.cc',
1673 'quic/congestion_control/paced_sender_test.cc',
1674 'quic/congestion_control/quic_congestion_control_test.cc',
1675 'quic/congestion_control/quic_congestion_manager_test.cc',
1676 'quic/congestion_control/quic_max_sized_map_test.cc',
1677 'quic/congestion_control/tcp_cubic_sender_test.cc',
1678 'quic/congestion_control/tcp_receiver_test.cc',
1679 'quic/crypto/aes_128_gcm_12_decrypter_test.cc',
1680 'quic/crypto/aes_128_gcm_12_encrypter_test.cc',
1681 'quic/crypto/cert_compressor_test.cc',
1682 'quic/crypto/channel_id_test.cc',
1683 'quic/crypto/common_cert_set_test.cc',
1684 'quic/crypto/crypto_framer_test.cc',
1685 'quic/crypto/crypto_handshake_test.cc',
1686 'quic/crypto/crypto_secret_boxer_test.cc',
1687 'quic/crypto/crypto_server_test.cc',
1688 'quic/crypto/crypto_utils_test.cc',
1689 'quic/crypto/curve25519_key_exchange_test.cc',
1690 'quic/crypto/null_decrypter_test.cc',
1691 'quic/crypto/null_encrypter_test.cc',
1692 'quic/crypto/p256_key_exchange_test.cc',
1693 'quic/crypto/proof_test.cc',
1694 'quic/crypto/quic_random_test.cc',
1695 'quic/crypto/strike_register_test.cc',
1696 'quic/test_tools/crypto_test_utils.cc',
1697 'quic/test_tools/crypto_test_utils.h',
1698 'quic/test_tools/crypto_test_utils_chromium.cc',
1699 'quic/test_tools/crypto_test_utils_nss.cc',
1700 'quic/test_tools/crypto_test_utils_openssl.cc',
1701 'quic/test_tools/mock_clock.cc',
1702 'quic/test_tools/mock_clock.h',
1703 'quic/test_tools/mock_crypto_client_stream.cc',
1704 'quic/test_tools/mock_crypto_client_stream.h',
1705 'quic/test_tools/mock_crypto_client_stream_factory.cc',
1706 'quic/test_tools/mock_crypto_client_stream_factory.h',
1707 'quic/test_tools/mock_random.cc',
1708 'quic/test_tools/mock_random.h',
1709 'quic/test_tools/quic_client_session_peer.cc',
1710 'quic/test_tools/quic_client_session_peer.h',
1711 'quic/test_tools/quic_connection_peer.cc',
1712 'quic/test_tools/quic_connection_peer.h',
1713 'quic/test_tools/quic_framer_peer.cc',
1714 'quic/test_tools/quic_framer_peer.h',
1715 'quic/test_tools/quic_packet_creator_peer.cc',
1716 'quic/test_tools/quic_packet_creator_peer.h',
1717 'quic/test_tools/quic_session_peer.cc',
1718 'quic/test_tools/quic_session_peer.h',
1719 'quic/test_tools/quic_test_utils.cc',
1720 'quic/test_tools/quic_test_utils.h',
1721 'quic/test_tools/reliable_quic_stream_peer.cc',
1722 'quic/test_tools/reliable_quic_stream_peer.h',
1723 'quic/test_tools/simple_quic_framer.cc',
1724 'quic/test_tools/simple_quic_framer.h',
1725 'quic/test_tools/test_task_runner.cc',
1726 'quic/test_tools/test_task_runner.h',
1727 'quic/quic_bandwidth_test.cc',
1728 'quic/quic_client_session_test.cc',
1729 'quic/quic_clock_test.cc',
1730 'quic/quic_config_test.cc',
1731 'quic/quic_connection_helper_test.cc',
1732 'quic/quic_connection_test.cc',
1733 'quic/quic_crypto_client_stream_test.cc',
1734 'quic/quic_crypto_server_stream_test.cc',
1735 'quic/quic_crypto_stream_test.cc',
1736 'quic/quic_data_writer_test.cc',
1737 'quic/quic_fec_group_test.cc',
1738 'quic/quic_framer_test.cc',
1739 'quic/quic_http_stream_test.cc',
1740 'quic/quic_network_transaction_unittest.cc',
1741 'quic/quic_packet_creator_test.cc',
1742 'quic/quic_packet_generator_test.cc',
1743 'quic/quic_protocol_test.cc',
1744 'quic/quic_received_entropy_manager_test.cc',
1745 'quic/quic_reliable_client_stream_test.cc',
1746 'quic/quic_sent_entropy_manager_test.cc',
1747 'quic/quic_session_test.cc',
1748 'quic/quic_spdy_compressor_test.cc',
1749 'quic/quic_spdy_decompressor_test.cc',
1750 'quic/quic_stream_factory_test.cc',
1751 'quic/quic_stream_sequencer_test.cc',
1752 'quic/quic_time_test.cc',
1753 'quic/quic_utils_test.cc',
1754 'quic/reliable_quic_stream_test.cc',
1755 'server/http_server_response_info_unittest.cc',
1756 'socket/buffered_write_stream_socket_unittest.cc',
1757 'socket/client_socket_pool_base_unittest.cc',
1758 'socket/deterministic_socket_data_unittest.cc',
1759 'socket/mock_client_socket_pool_manager.cc',
1760 'socket/mock_client_socket_pool_manager.h',
1761 'socket/socks5_client_socket_unittest.cc',
1762 'socket/socks_client_socket_pool_unittest.cc',
1763 'socket/socks_client_socket_unittest.cc',
1764 'socket/ssl_client_socket_openssl_unittest.cc',
1765 'socket/ssl_client_socket_pool_unittest.cc',
1766 'socket/ssl_client_socket_unittest.cc',
1767 'socket/ssl_server_socket_unittest.cc',
1768 'socket/tcp_client_socket_unittest.cc',
1769 'socket/tcp_listen_socket_unittest.cc',
1770 'socket/tcp_listen_socket_unittest.h',
1771 'socket/tcp_server_socket_unittest.cc',
1772 'socket/transport_client_socket_pool_unittest.cc',
1773 'socket/transport_client_socket_unittest.cc',
1774 'socket/unix_domain_socket_posix_unittest.cc',
1775 'socket_stream/socket_stream_metrics_unittest.cc',
1776 'socket_stream/socket_stream_unittest.cc',
1777 'spdy/buffered_spdy_framer_unittest.cc',
1778 'spdy/spdy_credential_builder_unittest.cc',
1779 'spdy/spdy_buffer_unittest.cc',
1780 'spdy/spdy_credential_state_unittest.cc',
1781 'spdy/spdy_frame_builder_test.cc',
1782 'spdy/spdy_frame_reader_test.cc',
1783 'spdy/spdy_framer_test.cc',
1784 'spdy/spdy_header_block_unittest.cc',
1785 'spdy/spdy_http_stream_unittest.cc',
1786 'spdy/spdy_http_utils_unittest.cc',
1787 'spdy/spdy_network_transaction_unittest.cc',
1788 'spdy/spdy_priority_forest_test.cc',
1789 'spdy/spdy_protocol_test.cc',
1790 'spdy/spdy_proxy_client_socket_unittest.cc',
1791 'spdy/spdy_read_queue_unittest.cc',
1792 'spdy/spdy_session_pool_unittest.cc',
1793 'spdy/spdy_session_test_util.cc',
1794 'spdy/spdy_session_test_util.h',
1795 'spdy/spdy_session_unittest.cc',
1796 'spdy/spdy_stream_test_util.cc',
1797 'spdy/spdy_stream_test_util.h',
1798 'spdy/spdy_stream_unittest.cc',
1799 'spdy/spdy_test_util_common.cc',
1800 'spdy/spdy_test_util_common.h',
1801 'spdy/spdy_test_utils.cc',
1802 'spdy/spdy_test_utils.h',
1803 'spdy/spdy_websocket_stream_unittest.cc',
1804 'spdy/spdy_websocket_test_util.cc',
1805 'spdy/spdy_websocket_test_util.h',
1806 'spdy/spdy_write_queue_unittest.cc',
1807 'ssl/client_cert_store_impl_unittest.cc',
1808 'ssl/default_server_bound_cert_store_unittest.cc',
1809 'ssl/openssl_client_key_store_unittest.cc',
1810 'ssl/server_bound_cert_service_unittest.cc',
1811 'ssl/ssl_cipher_suite_names_unittest.cc',
1812 'ssl/ssl_client_auth_cache_unittest.cc',
1813 'ssl/ssl_config_service_unittest.cc',
1814 'test/embedded_test_server/embedded_test_server_unittest.cc',
1815 'test/embedded_test_server/http_request_unittest.cc',
1816 'test/embedded_test_server/http_response_unittest.cc',
1817 'test/python_utils_unittest.cc',
1818 'test/run_all_unittests.cc',
1819 'test/test_certificate_data.h',
1820 'tools/dump_cache/url_to_filename_encoder.cc',
1821 'tools/dump_cache/url_to_filename_encoder.h',
1822 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1823 'tools/dump_cache/url_utilities.h',
1824 'tools/dump_cache/url_utilities.cc',
1825 'tools/dump_cache/url_utilities_unittest.cc',
1826 'tools/tld_cleanup/tld_cleanup_util_unittest.cc',
1827 'udp/udp_socket_unittest.cc',
1828 'url_request/url_fetcher_impl_unittest.cc',
1829 'url_request/url_request_context_builder_unittest.cc',
1830 'url_request/url_request_filter_unittest.cc',
1831 'url_request/url_request_ftp_job_unittest.cc',
1832 'url_request/url_request_http_job_unittest.cc',
1833 'url_request/url_request_job_factory_impl_unittest.cc',
1834 'url_request/url_request_job_unittest.cc',
1835 'url_request/url_request_throttler_simulation_unittest.cc',
1836 'url_request/url_request_throttler_test_support.cc',
1837 'url_request/url_request_throttler_test_support.h',
1838 'url_request/url_request_throttler_unittest.cc',
1839 'url_request/url_request_unittest.cc',
1840 'url_request/view_cache_helper_unittest.cc',
1841 'websockets/websocket_channel_test.cc',
1842 'websockets/websocket_errors_unittest.cc',
1843 'websockets/websocket_frame_parser_unittest.cc',
1844 'websockets/websocket_frame_unittest.cc',
1845 'websockets/websocket_handshake_handler_unittest.cc',
1846 'websockets/websocket_handshake_handler_spdy_unittest.cc',
1847 'websockets/websocket_job_unittest.cc',
1848 'websockets/websocket_net_log_params_unittest.cc',
1849 'websockets/websocket_throttle_unittest.cc',
1852 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1857 'tools/flip_server/simple_buffer.cc',
1858 'tools/flip_server/simple_buffer.h',
1859 'tools/quic/end_to_end_test.cc',
1860 'tools/quic/quic_client_session_test.cc',
1861 'tools/quic/quic_dispatcher_test.cc',
1862 'tools/quic/quic_epoll_clock_test.cc',
1863 'tools/quic/quic_epoll_connection_helper_test.cc',
1864 'tools/quic/quic_in_memory_cache_test.cc',
1865 'tools/quic/quic_reliable_client_stream_test.cc',
1866 'tools/quic/quic_reliable_server_stream_test.cc',
1867 'tools/quic/quic_spdy_server_stream_test.cc',
1868 'tools/quic/test_tools/http_message_test_utils.cc',
1869 'tools/quic/test_tools/http_message_test_utils.h',
1870 'tools/quic/test_tools/mock_epoll_server.cc',
1871 'tools/quic/test_tools/mock_epoll_server.h',
1872 'tools/quic/test_tools/quic_client_peer.cc',
1873 'tools/quic/test_tools/quic_client_peer.h',
1874 'tools/quic/test_tools/quic_epoll_connection_helper_peer.cc',
1875 'tools/quic/test_tools/quic_epoll_connection_helper_peer.h',
1876 'tools/quic/test_tools/quic_test_client.cc',
1877 'tools/quic/test_tools/quic_test_client.h',
1878 'tools/quic/test_tools/quic_test_utils.cc',
1879 'tools/quic/test_tools/quic_test_utils.h',
1884 'base/network_change_notifier_linux_unittest.cc',
1885 'proxy/proxy_config_service_linux_unittest.cc',
1888 [ 'OS == "android"', {
1890 # No res_ninit() et al on Android, so this doesn't make a lot of
1892 'dns/dns_config_service_posix_unittest.cc',
1893 'ssl/client_cert_store_impl_unittest.cc',
1897 'net_test_jni_headers',
1900 [ 'use_glib == 1', {
1902 '../build/linux/system.gyp:ssl',
1904 }, { # else use_glib == 0: !posix || mac
1906 'cert/nss_cert_database_unittest.cc',
1910 [ 'toolkit_uses_gtk == 1', {
1912 '../build/linux/system.gyp:gtk',
1916 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1918 ['linux_use_tcmalloc==1', {
1920 '../base/allocator/allocator.gyp:allocator',
1925 [ 'use_kerberos==1', {
1929 }, { # use_kerberos == 0
1931 'http/http_auth_gssapi_posix_unittest.cc',
1932 'http/http_auth_handler_negotiate_unittest.cc',
1933 'http/mock_gssapi_library_posix.cc',
1934 'http/mock_gssapi_library_posix.h',
1937 [ 'use_openssl == 1 or (use_glib == 0 and OS != "ios")', {
1938 # Only include this test when on Posix and using NSS for
1939 # cert verification or on iOS (which also uses NSS for certs).
1941 'ocsp/nss_ocsp_unittest.cc',
1944 [ 'use_openssl==1', {
1945 # When building for OpenSSL, we need to exclude NSS specific tests.
1946 # TODO(bulach): Add equivalent tests when the underlying
1947 # functionality is ported to OpenSSL.
1949 'cert/nss_cert_database_unittest.cc',
1950 'cert/x509_util_nss_unittest.cc',
1951 'quic/test_tools/crypto_test_utils_nss.cc',
1952 'ssl/client_cert_store_impl_unittest.cc',
1954 }, { # else !use_openssl: remove the unneeded files
1956 'cert/x509_util_openssl_unittest.cc',
1957 'quic/test_tools/crypto_test_utils_openssl.cc',
1958 'socket/ssl_client_socket_openssl_unittest.cc',
1959 'ssl/openssl_client_key_store_unittest.cc',
1963 [ 'enable_websockets != 1', {
1965 ['exclude', '^socket_stream/'],
1966 ['exclude', '^websockets/'],
1967 ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'],
1970 [ 'disable_ftp_support==1', {
1972 ['exclude', '^ftp/'],
1975 'url_request/url_request_ftp_job_unittest.cc',
1979 [ 'enable_built_in_dns!=1', {
1981 'dns/address_sorter_posix_unittest.cc',
1982 'dns/address_sorter_unittest.cc',
1986 [ 'use_v8_in_net==1', {
1990 }, { # else: !use_v8_in_net
1992 'proxy/proxy_resolver_v8_unittest.cc',
1993 'proxy/proxy_resolver_v8_tracing_unittest.cc',
1998 [ 'enable_mdns != 1', {
2000 'dns/mdns_cache_unittest.cc',
2001 'dns/mdns_client_unittest.cc',
2002 'dns/mdns_query_unittest.cc',
2003 'dns/record_parsed_unittest.cc',
2004 'dns/record_rdata_unittest.cc',
2009 'dns/dns_config_service_posix_unittest.cc',
2010 'http/http_auth_gssapi_posix_unittest.cc',
2012 # This is needed to trigger the dll copy step on windows.
2013 # TODO(mark): Specifying this here shouldn't be necessary.
2015 '../third_party/icu/icu.gyp:icudata',
2016 '../third_party/nss/nss.gyp:nspr',
2017 '../third_party/nss/nss.gyp:nss',
2018 'third_party/nss/ssl.gyp:libssl',
2020 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2021 'msvs_disabled_warnings': [4267, ],
2026 '../third_party/nss/nss.gyp:nspr',
2027 '../third_party/nss/nss.gyp:nss',
2028 'third_party/nss/ssl.gyp:libssl',
2034 '../third_party/nss/nss.gyp:nss',
2038 'action_name': 'copy_test_data',
2040 'test_data_files': [
2041 'data/ssl/certificates/',
2043 'data/url_request_unittest/',
2045 'test_data_prefix': 'net',
2047 'includes': [ '../build/copy_test_data_ios.gypi' ],
2051 # TODO(droger): The following tests are disabled because the
2052 # implementation is missing or incomplete.
2053 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
2054 'base/keygen_handler_unittest.cc',
2055 # Need to read input data files.
2056 'base/gzip_filter_unittest.cc',
2057 'disk_cache/backend_unittest.cc',
2058 'disk_cache/block_files_unittest.cc',
2059 'socket/ssl_server_socket_unittest.cc',
2061 'proxy/proxy_script_fetcher_impl_unittest.cc',
2062 'socket/ssl_client_socket_unittest.cc',
2063 'ssl/client_cert_store_impl_unittest.cc',
2064 'url_request/url_fetcher_impl_unittest.cc',
2065 'url_request/url_request_context_builder_unittest.cc',
2066 # Needs GetAppOutput().
2067 'test/python_utils_unittest.cc',
2069 # The following tests are disabled because they don't apply to
2071 # OS is not "linux" or "freebsd" or "openbsd".
2072 'socket/unix_domain_socket_posix_unittest.cc',
2077 # These sources can't be built with coverage due to a
2078 # toolchain bug: http://openradar.appspot.com/radar?id=1499403
2079 'http/transport_security_state_unittest.cc',
2081 # These tests crash when run with coverage turned on due to an
2082 # issue with llvm_gcda_increment_indirect_counter:
2083 # http://crbug.com/156058
2084 'cookies/cookie_monster_unittest.cc',
2085 'cookies/cookie_store_unittest.h',
2086 'http/http_auth_controller_unittest.cc',
2087 'http/http_network_layer_unittest.cc',
2088 'http/http_network_transaction_unittest.cc',
2089 'spdy/spdy_http_stream_unittest.cc',
2090 'spdy/spdy_proxy_client_socket_unittest.cc',
2091 'spdy/spdy_session_unittest.cc',
2093 # These tests crash when run with coverage turned on:
2094 # http://crbug.com/177203
2095 'proxy/proxy_service_unittest.cc',
2100 [ 'OS == "android"', {
2102 '../third_party/openssl/openssl.gyp:openssl',
2105 'dns/dns_config_service_posix_unittest.cc',
2109 ['OS == "android" and gtest_target_type == "shared_library"', {
2111 '../testing/android/native_test.gyp:native_test_native_code',
2114 [ 'OS != "win" and OS != "mac"', {
2116 'cert/x509_cert_types_unittest.cc',
2122 'target_name': 'net_perftests',
2123 'type': 'executable',
2125 '../base/base.gyp:base',
2126 '../base/base.gyp:base_i18n',
2127 '../base/base.gyp:test_support_perf',
2128 '../testing/gtest.gyp:gtest',
2129 '../url/url.gyp:url_lib',
2134 'cookies/cookie_monster_perftest.cc',
2135 'disk_cache/disk_cache_perftest.cc',
2136 'proxy/proxy_resolver_perftest.cc',
2139 [ 'use_v8_in_net==1', {
2143 }, { # else: !use_v8_in_net
2145 'proxy/proxy_resolver_perftest.cc',
2149 # This is needed to trigger the dll copy step on windows.
2150 # TODO(mark): Specifying this here shouldn't be necessary.
2153 '../third_party/icu/icu.gyp:icudata',
2155 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2156 'msvs_disabled_warnings': [4267, ],
2162 'target_name': 'net_test_support',
2163 'type': 'static_library',
2165 '../base/base.gyp:base',
2166 '../base/base.gyp:test_support_base',
2167 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2168 '../testing/gtest.gyp:gtest',
2169 '../testing/gmock.gyp:gmock',
2170 '../url/url.gyp:url_lib',
2173 'export_dependent_settings': [
2174 '../base/base.gyp:base',
2175 '../base/base.gyp:test_support_base',
2176 '../testing/gtest.gyp:gtest',
2177 '../testing/gmock.gyp:gmock',
2180 'base/capturing_net_log.cc',
2181 'base/capturing_net_log.h',
2182 'base/load_timing_info_test_util.cc',
2183 'base/load_timing_info_test_util.h',
2184 'base/mock_file_stream.cc',
2185 'base/mock_file_stream.h',
2186 'base/test_completion_callback.cc',
2187 'base/test_completion_callback.h',
2188 'base/test_data_directory.cc',
2189 'base/test_data_directory.h',
2190 'cert/mock_cert_verifier.cc',
2191 'cert/mock_cert_verifier.h',
2192 'cookies/cookie_monster_store_test.cc',
2193 'cookies/cookie_monster_store_test.h',
2194 'cookies/cookie_store_test_callbacks.cc',
2195 'cookies/cookie_store_test_callbacks.h',
2196 'cookies/cookie_store_test_helpers.cc',
2197 'cookies/cookie_store_test_helpers.h',
2198 'disk_cache/disk_cache_test_base.cc',
2199 'disk_cache/disk_cache_test_base.h',
2200 'disk_cache/disk_cache_test_util.cc',
2201 'disk_cache/disk_cache_test_util.h',
2202 'disk_cache/flash/flash_cache_test_base.h',
2203 'disk_cache/flash/flash_cache_test_base.cc',
2204 'dns/dns_test_util.cc',
2205 'dns/dns_test_util.h',
2206 'dns/mock_host_resolver.cc',
2207 'dns/mock_host_resolver.h',
2208 'dns/mock_mdns_socket_factory.cc',
2209 'dns/mock_mdns_socket_factory.h',
2210 'proxy/mock_proxy_resolver.cc',
2211 'proxy/mock_proxy_resolver.h',
2212 'proxy/mock_proxy_script_fetcher.cc',
2213 'proxy/mock_proxy_script_fetcher.h',
2214 'proxy/proxy_config_service_common_unittest.cc',
2215 'proxy/proxy_config_service_common_unittest.h',
2216 'socket/socket_test_util.cc',
2217 'socket/socket_test_util.h',
2218 'test/cert_test_util.cc',
2219 'test/cert_test_util.h',
2220 'test/embedded_test_server/embedded_test_server.cc',
2221 'test/embedded_test_server/embedded_test_server.h',
2222 'test/embedded_test_server/http_connection.cc',
2223 'test/embedded_test_server/http_connection.h',
2224 'test/embedded_test_server/http_request.cc',
2225 'test/embedded_test_server/http_request.h',
2226 'test/embedded_test_server/http_response.cc',
2227 'test/embedded_test_server/http_response.h',
2228 'test/net_test_suite.cc',
2229 'test/net_test_suite.h',
2230 'test/python_utils.cc',
2231 'test/python_utils.h',
2232 'test/spawned_test_server/base_test_server.cc',
2233 'test/spawned_test_server/base_test_server.h',
2234 'test/spawned_test_server/local_test_server_posix.cc',
2235 'test/spawned_test_server/local_test_server_win.cc',
2236 'test/spawned_test_server/local_test_server.cc',
2237 'test/spawned_test_server/local_test_server.h',
2238 'test/spawned_test_server/remote_test_server.cc',
2239 'test/spawned_test_server/remote_test_server.h',
2240 'test/spawned_test_server/spawned_test_server.h',
2241 'test/spawned_test_server/spawner_communicator.cc',
2242 'test/spawned_test_server/spawner_communicator.h',
2243 'url_request/test_url_fetcher_factory.cc',
2244 'url_request/test_url_fetcher_factory.h',
2245 'url_request/url_request_test_util.cc',
2246 'url_request/url_request_test_util.h',
2251 '../third_party/protobuf/protobuf.gyp:py_proto',
2254 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2256 ['use_openssl==1', {
2258 '../third_party/openssl/openssl.gyp:openssl',
2262 '../build/linux/system.gyp:ssl',
2267 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2269 ['linux_use_tcmalloc==1', {
2271 '../base/allocator/allocator.gyp:allocator',
2276 ['OS != "android"', {
2278 'test/spawned_test_server/remote_test_server.cc',
2279 'test/spawned_test_server/remote_test_server.h',
2280 'test/spawned_test_server/spawner_communicator.cc',
2281 'test/spawned_test_server/spawner_communicator.h',
2286 '../third_party/nss/nss.gyp:nss',
2289 [ 'use_v8_in_net==1', {
2295 [ 'enable_mdns != 1', {
2297 'dns/mock_mdns_socket_factory.cc',
2298 'dns/mock_mdns_socket_factory.h'
2302 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2303 'msvs_disabled_warnings': [4267, ],
2306 'target_name': 'net_resources',
2309 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
2313 'action_name': 'net_resources',
2315 'grit_grd_file': 'base/net_resources.grd',
2317 'includes': [ '../build/grit_action.gypi' ],
2320 'includes': [ '../build/grit_target.gypi' ],
2323 'target_name': 'http_server',
2324 'type': 'static_library',
2325 'variables': { 'enable_wexit_time_destructors': 1, },
2327 '../base/base.gyp:base',
2331 'server/http_connection.cc',
2332 'server/http_connection.h',
2333 'server/http_server.cc',
2334 'server/http_server.h',
2335 'server/http_server_request_info.cc',
2336 'server/http_server_request_info.h',
2337 'server/http_server_response_info.cc',
2338 'server/http_server_response_info.h',
2339 'server/web_socket.cc',
2340 'server/web_socket.h',
2342 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2343 'msvs_disabled_warnings': [4267, ],
2346 'target_name': 'dump_cache',
2347 'type': 'executable',
2349 '../base/base.gyp:base',
2354 'tools/dump_cache/cache_dumper.cc',
2355 'tools/dump_cache/cache_dumper.h',
2356 'tools/dump_cache/dump_cache.cc',
2357 'tools/dump_cache/dump_files.cc',
2358 'tools/dump_cache/dump_files.h',
2359 'tools/dump_cache/simple_cache_dumper.cc',
2360 'tools/dump_cache/simple_cache_dumper.h',
2361 'tools/dump_cache/upgrade_win.cc',
2362 'tools/dump_cache/upgrade_win.h',
2363 'tools/dump_cache/url_to_filename_encoder.cc',
2364 'tools/dump_cache/url_to_filename_encoder.h',
2365 'tools/dump_cache/url_utilities.h',
2366 'tools/dump_cache/url_utilities.cc',
2368 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2369 'msvs_disabled_warnings': [4267, ],
2373 ['use_v8_in_net == 1', {
2376 'target_name': 'net_with_v8',
2377 'type': '<(component)',
2378 'variables': { 'enable_wexit_time_destructors': 1, },
2380 '../base/base.gyp:base',
2381 '../url/url.gyp:url_lib',
2382 '../v8/tools/gyp/v8.gyp:v8',
2386 'NET_IMPLEMENTATION',
2389 'proxy/proxy_resolver_v8.cc',
2390 'proxy/proxy_resolver_v8.h',
2391 'proxy/proxy_resolver_v8_tracing.cc',
2392 'proxy/proxy_resolver_v8_tracing.h',
2393 'proxy/proxy_service_v8.cc',
2394 'proxy/proxy_service_v8.h',
2396 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2397 'msvs_disabled_warnings': [4267, ],
2403 # iOS doesn't have the concept of simple executables, these targets
2404 # can't be compiled on the platform.
2406 'target_name': 'crash_cache',
2407 'type': 'executable',
2409 '../base/base.gyp:base',
2414 'tools/crash_cache/crash_cache.cc',
2416 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2417 'msvs_disabled_warnings': [4267, ],
2420 'target_name': 'crl_set_dump',
2421 'type': 'executable',
2423 '../base/base.gyp:base',
2427 'tools/crl_set_dump/crl_set_dump.cc',
2429 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2430 'msvs_disabled_warnings': [4267, ],
2433 'target_name': 'dns_fuzz_stub',
2434 'type': 'executable',
2436 '../base/base.gyp:base',
2440 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
2442 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2443 'msvs_disabled_warnings': [4267, ],
2446 'target_name': 'fetch_client',
2447 'type': 'executable',
2448 'variables': { 'enable_wexit_time_destructors': 1, },
2450 '../base/base.gyp:base',
2451 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2452 '../testing/gtest.gyp:gtest',
2453 '../url/url.gyp:url_lib',
2458 'tools/fetch/fetch_client.cc',
2460 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2461 'msvs_disabled_warnings': [4267, ],
2464 'target_name': 'fetch_server',
2465 'type': 'executable',
2466 'variables': { 'enable_wexit_time_destructors': 1, },
2468 '../base/base.gyp:base',
2469 '../url/url.gyp:url_lib',
2473 'tools/fetch/fetch_server.cc',
2474 'tools/fetch/http_listen_socket.cc',
2475 'tools/fetch/http_listen_socket.h',
2476 'tools/fetch/http_server.cc',
2477 'tools/fetch/http_server.h',
2478 'tools/fetch/http_server_request_info.cc',
2479 'tools/fetch/http_server_request_info.h',
2480 'tools/fetch/http_server_response_info.cc',
2481 'tools/fetch/http_server_response_info.h',
2482 'tools/fetch/http_session.cc',
2483 'tools/fetch/http_session.h',
2485 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2486 'msvs_disabled_warnings': [4267, ],
2489 'target_name': 'gdig',
2490 'type': 'executable',
2492 '../base/base.gyp:base',
2496 'tools/gdig/file_net_log.cc',
2497 'tools/gdig/gdig.cc',
2501 'target_name': 'get_server_time',
2502 'type': 'executable',
2504 '../base/base.gyp:base',
2505 '../base/base.gyp:base_i18n',
2506 '../url/url.gyp:url_lib',
2510 'tools/get_server_time/get_server_time.cc',
2512 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2513 'msvs_disabled_warnings': [4267, ],
2516 'target_name': 'net_watcher',
2517 'type': 'executable',
2519 '../base/base.gyp:base',
2524 [ 'use_glib == 1', {
2526 '../build/linux/system.gyp:gconf',
2527 '../build/linux/system.gyp:gio',
2533 'tools/net_watcher/net_watcher.cc',
2537 'target_name': 'run_testserver',
2538 'type': 'executable',
2540 '../base/base.gyp:base',
2541 '../base/base.gyp:test_support_base',
2542 '../testing/gtest.gyp:gtest',
2546 'tools/testserver/run_testserver.cc',
2550 'target_name': 'stress_cache',
2551 'type': 'executable',
2553 '../base/base.gyp:base',
2558 'disk_cache/stress_cache.cc',
2560 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2561 'msvs_disabled_warnings': [4267, ],
2564 'target_name': 'tld_cleanup',
2565 'type': 'executable',
2567 '../base/base.gyp:base',
2568 '../base/base.gyp:base_i18n',
2569 '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2572 'tools/tld_cleanup/tld_cleanup.cc',
2574 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2575 'msvs_disabled_warnings': [4267, ],
2579 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2582 'target_name': 'flip_balsa_and_epoll_library',
2583 'type': 'static_library',
2585 '../base/base.gyp:base',
2589 'tools/flip_server/balsa_enums.h',
2590 'tools/flip_server/balsa_frame.cc',
2591 'tools/flip_server/balsa_frame.h',
2592 'tools/flip_server/balsa_headers.cc',
2593 'tools/flip_server/balsa_headers.h',
2594 'tools/flip_server/balsa_headers_token_utils.cc',
2595 'tools/flip_server/balsa_headers_token_utils.h',
2596 'tools/flip_server/balsa_visitor_interface.h',
2597 'tools/flip_server/constants.h',
2598 'tools/flip_server/epoll_server.cc',
2599 'tools/flip_server/epoll_server.h',
2600 'tools/flip_server/http_message_constants.cc',
2601 'tools/flip_server/http_message_constants.h',
2602 'tools/flip_server/split.h',
2603 'tools/flip_server/split.cc',
2607 'target_name': 'flip_in_mem_edsm_server',
2608 'type': 'executable',
2613 '../base/base.gyp:base',
2614 '../third_party/openssl/openssl.gyp:openssl',
2615 'flip_balsa_and_epoll_library',
2619 'tools/dump_cache/url_to_filename_encoder.cc',
2620 'tools/dump_cache/url_to_filename_encoder.h',
2621 'tools/dump_cache/url_utilities.h',
2622 'tools/dump_cache/url_utilities.cc',
2623 'tools/flip_server/acceptor_thread.h',
2624 'tools/flip_server/acceptor_thread.cc',
2625 'tools/flip_server/buffer_interface.h',
2626 'tools/flip_server/create_listener.cc',
2627 'tools/flip_server/create_listener.h',
2628 'tools/flip_server/flip_config.cc',
2629 'tools/flip_server/flip_config.h',
2630 'tools/flip_server/flip_in_mem_edsm_server.cc',
2631 'tools/flip_server/http_interface.cc',
2632 'tools/flip_server/http_interface.h',
2633 'tools/flip_server/loadtime_measurement.h',
2634 'tools/flip_server/mem_cache.h',
2635 'tools/flip_server/mem_cache.cc',
2636 'tools/flip_server/output_ordering.cc',
2637 'tools/flip_server/output_ordering.h',
2638 'tools/flip_server/ring_buffer.cc',
2639 'tools/flip_server/ring_buffer.h',
2640 'tools/flip_server/simple_buffer.cc',
2641 'tools/flip_server/simple_buffer.h',
2642 'tools/flip_server/sm_connection.cc',
2643 'tools/flip_server/sm_connection.h',
2644 'tools/flip_server/sm_interface.h',
2645 'tools/flip_server/spdy_ssl.cc',
2646 'tools/flip_server/spdy_ssl.h',
2647 'tools/flip_server/spdy_interface.cc',
2648 'tools/flip_server/spdy_interface.h',
2649 'tools/flip_server/spdy_util.cc',
2650 'tools/flip_server/spdy_util.h',
2651 'tools/flip_server/streamer_interface.cc',
2652 'tools/flip_server/streamer_interface.h',
2653 'tools/flip_server/string_piece_utils.h',
2657 'target_name': 'quic_library',
2658 'type': 'static_library',
2660 '../base/base.gyp:base',
2661 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2662 '../crypto/crypto.gyp:crypto',
2663 '../third_party/openssl/openssl.gyp:openssl',
2664 '../url/url.gyp:url_lib',
2665 'flip_balsa_and_epoll_library',
2669 'tools/quic/quic_client.cc',
2670 'tools/quic/quic_client.h',
2671 'tools/quic/quic_client_session.cc',
2672 'tools/quic/quic_client_session.h',
2673 'tools/quic/quic_dispatcher.h',
2674 'tools/quic/quic_dispatcher.cc',
2675 'tools/quic/quic_epoll_clock.cc',
2676 'tools/quic/quic_epoll_clock.h',
2677 'tools/quic/quic_epoll_connection_helper.cc',
2678 'tools/quic/quic_epoll_connection_helper.h',
2679 'tools/quic/quic_in_memory_cache.cc',
2680 'tools/quic/quic_in_memory_cache.h',
2681 'tools/quic/quic_packet_writer.h',
2682 'tools/quic/quic_reliable_client_stream.cc',
2683 'tools/quic/quic_reliable_client_stream.h',
2684 'tools/quic/quic_reliable_server_stream.cc',
2685 'tools/quic/quic_reliable_server_stream.h',
2686 'tools/quic/quic_server.cc',
2687 'tools/quic/quic_server.h',
2688 'tools/quic/quic_server_session.cc',
2689 'tools/quic/quic_server_session.h',
2690 'tools/quic/quic_socket_utils.cc',
2691 'tools/quic/quic_socket_utils.h',
2692 'tools/quic/quic_spdy_client_stream.cc',
2693 'tools/quic/quic_spdy_client_stream.h',
2694 'tools/quic/quic_spdy_server_stream.cc',
2695 'tools/quic/quic_spdy_server_stream.h',
2696 'tools/quic/quic_time_wait_list_manager.h',
2697 'tools/quic/quic_time_wait_list_manager.cc',
2698 'tools/quic/spdy_utils.cc',
2699 'tools/quic/spdy_utils.h',
2703 'target_name': 'quic_client',
2704 'type': 'executable',
2706 '../base/base.gyp:base',
2707 '../third_party/openssl/openssl.gyp:openssl',
2712 'tools/quic/quic_client_bin.cc',
2716 'target_name': 'quic_server',
2717 'type': 'executable',
2719 '../base/base.gyp:base',
2720 '../third_party/openssl/openssl.gyp:openssl',
2725 'tools/quic/quic_server_bin.cc',
2733 'target_name': 'net_jni_headers',
2736 'android/java/src/org/chromium/net/AndroidKeyStore.java',
2737 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2738 'android/java/src/org/chromium/net/GURLUtils.java',
2739 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2740 'android/java/src/org/chromium/net/ProxyChangeListener.java',
2743 'jni_gen_package': 'net',
2745 'direct_dependent_settings': {
2747 '<(SHARED_INTERMEDIATE_DIR)/net',
2750 'includes': [ '../build/jni_generator.gypi' ],
2753 'target_name': 'net_test_jni_headers',
2756 'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
2759 'jni_gen_package': 'net',
2761 'direct_dependent_settings': {
2763 '<(SHARED_INTERMEDIATE_DIR)/net',
2766 'includes': [ '../build/jni_generator.gypi' ],
2769 'target_name': 'net_java',
2772 'java_in_dir': '../net/android/java',
2775 '../base/base.gyp:base',
2776 'cert_verify_result_android_java',
2777 'certificate_mime_types_java',
2779 'private_key_types_java',
2781 'includes': [ '../build/java.gypi' ],
2784 'target_name': 'net_java_test_support',
2787 'java_in_dir': '../net/test/android/javatests',
2789 'includes': [ '../build/java.gypi' ],
2792 'target_name': 'net_javatests',
2795 'java_in_dir': '../net/android/javatests',
2798 '../base/base.gyp:base',
2799 '../base/base.gyp:base_java_test_support',
2802 'includes': [ '../build/java.gypi' ],
2805 'target_name': 'net_errors_java',
2808 'android/java/NetError.template',
2811 'package_name': 'org/chromium/net',
2812 'template_deps': ['base/net_error_list.h'],
2814 'includes': [ '../build/android/java_cpp_template.gypi' ],
2817 'target_name': 'certificate_mime_types_java',
2820 'android/java/CertificateMimeType.template',
2823 'package_name': 'org/chromium/net',
2824 'template_deps': ['base/mime_util_certificate_type_list.h'],
2826 'includes': [ '../build/android/java_cpp_template.gypi' ],
2829 'target_name': 'cert_verify_result_android_java',
2832 'android/java/CertVerifyResultAndroid.template',
2835 'package_name': 'org/chromium/net',
2836 'template_deps': ['android/cert_verify_result_android_list.h'],
2838 'includes': [ '../build/android/java_cpp_template.gypi' ],
2841 'target_name': 'private_key_types_java',
2844 'android/java/PrivateKeyType.template',
2847 'package_name': 'org/chromium/net',
2848 'template_deps': ['android/private_key_type_list.h'],
2850 'includes': [ '../build/android/java_cpp_template.gypi' ],
2854 # Special target to wrap a gtest_target_type==shared_library
2855 # net_unittests into an android apk for execution.
2856 # See base.gyp for TODO(jrg)s about this strategy.
2857 ['OS == "android" and gtest_target_type == "shared_library"', {
2860 'target_name': 'net_unittests_apk',
2868 'test_suite_name': 'net_unittests',
2869 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2871 'includes': [ '../build/apk_test.gypi' ],
2875 ['test_isolation_mode != "noop"', {
2878 'target_name': 'net_unittests_run',
2884 '../build/isolate.gypi',
2885 'net_unittests.isolate',
2888 'net_unittests.isolate',