1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 'linux_link_kerberos%': 0,
11 ['chromeos==1 or OS=="android" or OS=="ios"', {
12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
13 # It needs configuration (krb5.conf and so on).
19 # The way the cache uses mmap() is inefficient on some Android devices.
20 # If this flag is set, we hackily avoid using mmap() in the disk cache.
21 'posix_avoid_mmap%': 1,
23 'posix_avoid_mmap%': 0,
26 # Websockets and socket stream are not used on iOS.
27 'enable_websockets%': 0,
28 # iOS does not use V8.
30 'enable_built_in_dns%': 0,
32 'enable_websockets%': 1,
34 'enable_built_in_dns%': 1,
39 '../build/win_precompile.gypi',
44 'type': '<(component)',
45 'variables': { 'enable_wexit_time_destructors': 1, },
47 '../base/base.gyp:base',
48 '../base/base.gyp:base_i18n',
49 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
50 '../build/temp_gyp/googleurl.gyp:googleurl',
51 '../crypto/crypto.gyp:crypto',
52 '../sdch/sdch.gyp:sdch',
53 '../third_party/icu/icu.gyp:icui18n',
54 '../third_party/icu/icu.gyp:icuuc',
55 '../third_party/zlib/zlib.gyp:zlib',
59 'android/gurl_utils.cc',
60 'android/gurl_utils.h',
61 'android/net_jni_registrar.cc',
62 'android/net_jni_registrar.h',
63 'android/network_change_notifier_android.cc',
64 'android/network_change_notifier_android.h',
65 'android/network_change_notifier_delegate_android.cc',
66 'android/network_change_notifier_delegate_android.h',
67 'android/network_change_notifier_factory_android.cc',
68 'android/network_change_notifier_factory_android.h',
69 'android/network_library.cc',
70 'android/network_library.h',
71 'base/address_family.h',
72 'base/address_list.cc',
73 'base/address_list.h',
74 'base/address_tracker_linux.cc',
75 'base/address_tracker_linux.h',
80 'base/backoff_entry.cc',
81 'base/backoff_entry.h',
82 'base/bandwidth_metrics.cc',
83 'base/bandwidth_metrics.h',
87 'base/cert_database.cc',
88 'base/cert_database.h',
89 'base/cert_database_android.cc',
90 'base/cert_database_ios.cc',
91 'base/cert_database_mac.cc',
92 'base/cert_database_nss.cc',
93 'base/cert_database_openssl.cc',
94 'base/cert_database_win.cc',
95 'base/cert_status_flags.cc',
96 'base/cert_status_flags.h',
97 'base/cert_verifier.cc',
98 'base/cert_verifier.h',
99 'base/cert_verify_proc.cc',
100 'base/cert_verify_proc.h',
101 'base/cert_verify_proc_android.cc',
102 'base/cert_verify_proc_android.h',
103 'base/cert_verify_proc_mac.cc',
104 'base/cert_verify_proc_mac.h',
105 'base/cert_verify_proc_nss.cc',
106 'base/cert_verify_proc_nss.h',
107 'base/cert_verify_proc_openssl.cc',
108 'base/cert_verify_proc_openssl.h',
109 'base/cert_verify_proc_win.cc',
110 'base/cert_verify_proc_win.h',
111 'base/cert_verify_result.cc',
112 'base/cert_verify_result.h',
113 'base/completion_callback.h',
114 'base/connection_type_histograms.cc',
115 'base/connection_type_histograms.h',
118 'base/crypto_module.h',
119 'base/crypto_module_nss.cc',
120 'base/crypto_module_openssl.cc',
123 'base/default_server_bound_cert_store.cc',
124 'base/default_server_bound_cert_store.h',
125 'base/directory_lister.cc',
126 'base/directory_lister.h',
127 'base/dns_reloader.cc',
128 'base/dns_reloader.h',
133 'base/ev_root_ca_metadata.cc',
134 'base/ev_root_ca_metadata.h',
135 'base/expiring_cache.h',
136 'base/file_stream.cc',
137 'base/file_stream.h',
138 'base/file_stream_context.cc',
139 'base/file_stream_context.h',
140 'base/file_stream_context_posix.cc',
141 'base/file_stream_context_win.cc',
142 'base/file_stream_metrics.cc',
143 'base/file_stream_metrics.h',
144 'base/file_stream_metrics_posix.cc',
145 'base/file_stream_metrics_win.cc',
146 'base/file_stream_net_log_parameters.cc',
147 'base/file_stream_net_log_parameters.h',
148 'base/file_stream_whence.h',
153 'base/gzip_filter.cc',
154 'base/gzip_filter.h',
155 'base/gzip_header.cc',
156 'base/gzip_header.h',
157 'base/hash_value.cc',
159 'base/host_cache.cc',
161 'base/host_mapping_rules.cc',
162 'base/host_mapping_rules.h',
163 'base/host_port_pair.cc',
164 'base/host_port_pair.h',
165 'base/host_resolver.cc',
166 'base/host_resolver.h',
167 'base/host_resolver_impl.cc',
168 'base/host_resolver_impl.h',
169 'base/host_resolver_proc.cc',
170 'base/host_resolver_proc.h',
173 'base/ip_endpoint.cc',
174 'base/ip_endpoint.h',
175 'base/keygen_handler.cc',
176 'base/keygen_handler.h',
177 'base/keygen_handler_mac.cc',
178 'base/keygen_handler_nss.cc',
179 'base/keygen_handler_openssl.cc',
180 'base/keygen_handler_win.cc',
182 'base/load_flags_list.h',
183 'base/load_states.h',
184 'base/load_states_list.h',
185 'base/load_timing_info.cc',
186 'base/load_timing_info.h',
187 'base/mapped_host_resolver.cc',
188 'base/mapped_host_resolver.h',
189 'base/mime_sniffer.cc',
190 'base/mime_sniffer.h',
193 'base/multi_threaded_cert_verifier.cc',
194 'base/multi_threaded_cert_verifier.h',
195 'base/net_error_list.h',
196 'base/net_errors.cc',
198 'base/net_errors_posix.cc',
199 'base/net_errors_win.cc',
203 'base/net_log_event_type_list.h',
204 'base/net_log_source_type_list.h',
205 'base/net_module.cc',
209 'base/net_util_posix.cc',
210 'base/net_util_win.cc',
211 'base/network_change_notifier.cc',
212 'base/network_change_notifier.h',
213 'base/network_change_notifier_factory.h',
214 'base/network_change_notifier_linux.cc',
215 'base/network_change_notifier_linux.h',
216 'base/network_change_notifier_mac.cc',
217 'base/network_change_notifier_mac.h',
218 'base/network_change_notifier_win.cc',
219 'base/network_change_notifier_win.h',
220 'base/network_config_watcher_mac.cc',
221 'base/network_config_watcher_mac.h',
222 'base/network_delegate.cc',
223 'base/network_delegate.h',
224 'base/nss_cert_database.cc',
225 'base/nss_cert_database.h',
228 'base/openssl_memory_private_key_store.cc',
229 'base/openssl_private_key_store.h',
230 'base/openssl_private_key_store_android.cc',
231 'base/pem_tokenizer.cc',
232 'base/pem_tokenizer.h',
233 'base/platform_mime_util.h',
234 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
235 'base/platform_mime_util_linux.cc',
236 'base/platform_mime_util_mac.mm',
237 'base/platform_mime_util_win.cc',
238 'base/prioritized_dispatcher.cc',
239 'base/prioritized_dispatcher.h',
240 'base/priority_queue.h',
241 'base/rand_callback.h',
242 'base/registry_controlled_domains/registry_controlled_domain.cc',
243 'base/registry_controlled_domains/registry_controlled_domain.h',
244 'base/request_priority.h',
245 'base/sdch_filter.cc',
246 'base/sdch_filter.h',
247 'base/sdch_manager.cc',
248 'base/sdch_manager.h',
249 'base/server_bound_cert_service.cc',
250 'base/server_bound_cert_service.h',
251 'base/server_bound_cert_store.cc',
252 'base/server_bound_cert_store.h',
253 'base/single_request_cert_verifier.cc',
254 'base/single_request_cert_verifier.h',
255 'base/single_request_host_resolver.cc',
256 'base/single_request_host_resolver.h',
257 'base/ssl_cert_request_info.cc',
258 'base/ssl_cert_request_info.h',
259 'base/ssl_cipher_suite_names.cc',
260 'base/ssl_cipher_suite_names.h',
261 'base/ssl_client_auth_cache.cc',
262 'base/ssl_client_auth_cache.h',
263 'base/ssl_client_cert_type.h',
264 'base/ssl_config_service.cc',
265 'base/ssl_config_service.h',
266 'base/ssl_config_service_defaults.cc',
267 'base/ssl_config_service_defaults.h',
270 'base/static_cookie_policy.cc',
271 'base/static_cookie_policy.h',
272 'base/stream_listen_socket.cc',
273 'base/stream_listen_socket.h',
274 'base/sys_addrinfo.h',
275 'base/tcp_listen_socket.cc',
276 'base/tcp_listen_socket.h',
277 'base/test_data_stream.cc',
278 'base/test_data_stream.h',
279 'base/test_root_certs.cc',
280 'base/test_root_certs.h',
281 'base/test_root_certs_mac.cc',
282 'base/test_root_certs_nss.cc',
283 'base/test_root_certs_openssl.cc',
284 'base/test_root_certs_android.cc',
285 'base/test_root_certs_win.cc',
286 'base/transport_security_state.cc',
287 'base/transport_security_state.h',
288 'base/transport_security_state_static.h',
289 'base/unix_domain_socket_posix.cc',
290 'base/unix_domain_socket_posix.h',
291 'base/upload_bytes_element_reader.cc',
292 'base/upload_bytes_element_reader.h',
293 'base/upload_data.cc',
294 'base/upload_data.h',
295 'base/upload_data_stream.cc',
296 'base/upload_data_stream.h',
297 'base/upload_element.cc',
298 'base/upload_element.h',
299 'base/upload_element_reader.cc',
300 'base/upload_element_reader.h',
301 'base/upload_file_element_reader.cc',
302 'base/upload_file_element_reader.h',
303 'base/upload_progress.h',
304 'base/winsock_init.cc',
305 'base/winsock_init.h',
306 'base/winsock_util.cc',
307 'base/winsock_util.h',
308 'base/x509_cert_types.cc',
309 'base/x509_cert_types.h',
310 'base/x509_cert_types_mac.cc',
311 'base/x509_cert_types_win.cc',
312 'base/x509_certificate.cc',
313 'base/x509_certificate.h',
314 'base/x509_certificate_ios.cc',
315 'base/x509_certificate_mac.cc',
316 'base/x509_certificate_net_log_param.cc',
317 'base/x509_certificate_net_log_param.h',
318 'base/x509_certificate_nss.cc',
319 'base/x509_certificate_openssl.cc',
320 'base/x509_certificate_win.cc',
323 'base/x509_util_ios.cc',
324 'base/x509_util_ios.h',
325 'base/x509_util_mac.cc',
326 'base/x509_util_mac.h',
327 'base/x509_util_nss.cc',
328 'base/x509_util_nss.h',
329 'base/x509_util_openssl.cc',
330 'base/x509_util_openssl.h',
333 'cookies/canonical_cookie.cc',
334 'cookies/canonical_cookie.h',
335 'cookies/cookie_monster.cc',
336 'cookies/cookie_monster.h',
337 'cookies/cookie_options.h',
338 'cookies/cookie_store.cc',
339 'cookies/cookie_store.h',
340 'cookies/cookie_util.cc',
341 'cookies/cookie_util.h',
342 'cookies/parsed_cookie.cc',
343 'cookies/parsed_cookie.h',
344 'disk_cache/addr.cc',
346 'disk_cache/backend_impl.cc',
347 'disk_cache/backend_impl.h',
348 'disk_cache/bitmap.cc',
349 'disk_cache/bitmap.h',
350 'disk_cache/block_files.cc',
351 'disk_cache/block_files.h',
352 'disk_cache/cache_util.h',
353 'disk_cache/cache_util_posix.cc',
354 'disk_cache/cache_util_win.cc',
355 'disk_cache/disk_cache.h',
356 'disk_cache/disk_format.cc',
357 'disk_cache/disk_format.h',
358 'disk_cache/entry_impl.cc',
359 'disk_cache/entry_impl.h',
360 'disk_cache/errors.h',
361 'disk_cache/eviction.cc',
362 'disk_cache/eviction.h',
363 'disk_cache/experiments.h',
364 'disk_cache/file.cc',
366 'disk_cache/file_block.h',
367 'disk_cache/file_lock.cc',
368 'disk_cache/file_lock.h',
369 'disk_cache/file_posix.cc',
370 'disk_cache/file_win.cc',
371 'disk_cache/histogram_macros.h',
372 'disk_cache/in_flight_backend_io.cc',
373 'disk_cache/in_flight_backend_io.h',
374 'disk_cache/in_flight_io.cc',
375 'disk_cache/in_flight_io.h',
376 'disk_cache/mapped_file.h',
377 'disk_cache/mapped_file_posix.cc',
378 'disk_cache/mapped_file_avoid_mmap_posix.cc',
379 'disk_cache/mapped_file_win.cc',
380 'disk_cache/mem_backend_impl.cc',
381 'disk_cache/mem_backend_impl.h',
382 'disk_cache/mem_entry_impl.cc',
383 'disk_cache/mem_entry_impl.h',
384 'disk_cache/mem_rankings.cc',
385 'disk_cache/mem_rankings.h',
386 'disk_cache/net_log_parameters.cc',
387 'disk_cache/net_log_parameters.h',
388 'disk_cache/rankings.cc',
389 'disk_cache/rankings.h',
390 'disk_cache/sparse_control.cc',
391 'disk_cache/sparse_control.h',
392 'disk_cache/stats.cc',
393 'disk_cache/stats.h',
394 'disk_cache/stats_histogram.cc',
395 'disk_cache/stats_histogram.h',
396 'disk_cache/storage_block-inl.h',
397 'disk_cache/storage_block.h',
398 'disk_cache/stress_support.h',
399 'disk_cache/trace.cc',
400 'disk_cache/trace.h',
401 'disk_cache/flash/format.h',
402 'disk_cache/flash/log_store.cc',
403 'disk_cache/flash/log_store.h',
404 'disk_cache/flash/log_store_entry.cc',
405 'disk_cache/flash/log_store_entry.h',
406 'disk_cache/flash/segment.cc',
407 'disk_cache/flash/segment.h',
408 'disk_cache/flash/storage.cc',
409 'disk_cache/flash/storage.h',
410 'dns/address_sorter.h',
411 'dns/address_sorter_posix.cc',
412 'dns/address_sorter_posix.h',
413 'dns/address_sorter_win.cc',
416 'dns/dns_config_service.cc',
417 'dns/dns_config_service.h',
418 'dns/dns_config_service_posix.cc',
419 'dns/dns_config_service_posix.h',
420 'dns/dns_config_service_win.cc',
421 'dns/dns_config_service_win.h',
424 'dns/dns_protocol.h',
427 'dns/dns_response.cc',
428 'dns/dns_response.h',
429 'dns/dns_session.cc',
431 'dns/dns_socket_pool.cc',
432 'dns/dns_socket_pool.h',
433 'dns/dns_transaction.cc',
434 'dns/dns_transaction.h',
435 'dns/notify_watcher_mac.cc',
436 'dns/notify_watcher_mac.h',
437 'dns/serial_worker.cc',
438 'dns/serial_worker.h',
439 'ftp/ftp_auth_cache.cc',
440 'ftp/ftp_auth_cache.h',
441 'ftp/ftp_ctrl_response_buffer.cc',
442 'ftp/ftp_ctrl_response_buffer.h',
443 'ftp/ftp_directory_listing_parser.cc',
444 'ftp/ftp_directory_listing_parser.h',
445 'ftp/ftp_directory_listing_parser_ls.cc',
446 'ftp/ftp_directory_listing_parser_ls.h',
447 'ftp/ftp_directory_listing_parser_netware.cc',
448 'ftp/ftp_directory_listing_parser_netware.h',
449 'ftp/ftp_directory_listing_parser_os2.cc',
450 'ftp/ftp_directory_listing_parser_os2.h',
451 'ftp/ftp_directory_listing_parser_vms.cc',
452 'ftp/ftp_directory_listing_parser_vms.h',
453 'ftp/ftp_directory_listing_parser_windows.cc',
454 'ftp/ftp_directory_listing_parser_windows.h',
455 'ftp/ftp_network_layer.cc',
456 'ftp/ftp_network_layer.h',
457 'ftp/ftp_network_session.cc',
458 'ftp/ftp_network_session.h',
459 'ftp/ftp_network_transaction.cc',
460 'ftp/ftp_network_transaction.h',
461 'ftp/ftp_request_info.h',
462 'ftp/ftp_response_info.cc',
463 'ftp/ftp_response_info.h',
464 'ftp/ftp_server_type_histograms.cc',
465 'ftp/ftp_server_type_histograms.h',
466 'ftp/ftp_transaction.h',
467 'ftp/ftp_transaction_factory.h',
472 'http/http_atom_list.h',
475 'http/http_auth_cache.cc',
476 'http/http_auth_cache.h',
477 'http/http_auth_controller.cc',
478 'http/http_auth_controller.h',
479 'http/http_auth_filter.cc',
480 'http/http_auth_filter.h',
481 'http/http_auth_filter_win.h',
482 'http/http_auth_gssapi_posix.cc',
483 'http/http_auth_gssapi_posix.h',
484 'http/http_auth_handler.cc',
485 'http/http_auth_handler.h',
486 'http/http_auth_handler_basic.cc',
487 'http/http_auth_handler_basic.h',
488 'http/http_auth_handler_digest.cc',
489 'http/http_auth_handler_digest.h',
490 'http/http_auth_handler_factory.cc',
491 'http/http_auth_handler_factory.h',
492 'http/http_auth_handler_negotiate.cc',
493 'http/http_auth_handler_negotiate.h',
494 'http/http_auth_handler_ntlm.cc',
495 'http/http_auth_handler_ntlm.h',
496 'http/http_auth_handler_ntlm_portable.cc',
497 'http/http_auth_handler_ntlm_win.cc',
498 'http/http_auth_sspi_win.cc',
499 'http/http_auth_sspi_win.h',
500 'http/http_basic_stream.cc',
501 'http/http_basic_stream.h',
502 'http/http_byte_range.cc',
503 'http/http_byte_range.h',
504 'http/http_cache.cc',
506 'http/http_cache_transaction.cc',
507 'http/http_cache_transaction.h',
508 'http/http_content_disposition.cc',
509 'http/http_content_disposition.h',
510 'http/http_chunked_decoder.cc',
511 'http/http_chunked_decoder.h',
512 'http/http_network_layer.cc',
513 'http/http_network_layer.h',
514 'http/http_network_session.cc',
515 'http/http_network_session.h',
516 'http/http_network_session_peer.cc',
517 'http/http_network_session_peer.h',
518 'http/http_network_transaction.cc',
519 'http/http_network_transaction.h',
520 'http/http_pipelined_connection.h',
521 'http/http_pipelined_connection_impl.cc',
522 'http/http_pipelined_connection_impl.h',
523 'http/http_pipelined_host.cc',
524 'http/http_pipelined_host.h',
525 'http/http_pipelined_host_capability.h',
526 'http/http_pipelined_host_forced.cc',
527 'http/http_pipelined_host_forced.h',
528 'http/http_pipelined_host_impl.cc',
529 'http/http_pipelined_host_impl.h',
530 'http/http_pipelined_host_pool.cc',
531 'http/http_pipelined_host_pool.h',
532 'http/http_pipelined_stream.cc',
533 'http/http_pipelined_stream.h',
534 'http/http_proxy_client_socket.cc',
535 'http/http_proxy_client_socket.h',
536 'http/http_proxy_client_socket_pool.cc',
537 'http/http_proxy_client_socket_pool.h',
538 'http/http_request_headers.cc',
539 'http/http_request_headers.h',
540 'http/http_request_info.cc',
541 'http/http_request_info.h',
542 'http/http_response_body_drainer.cc',
543 'http/http_response_body_drainer.h',
544 'http/http_response_headers.cc',
545 'http/http_response_headers.h',
546 'http/http_response_info.cc',
547 'http/http_response_info.h',
548 'http/http_security_headers.cc',
549 'http/http_security_headers.h',
550 'http/http_server_properties.cc',
551 'http/http_server_properties.h',
552 'http/http_server_properties_impl.cc',
553 'http/http_server_properties_impl.h',
554 'http/http_status_code.h',
555 'http/http_stream.h',
556 'http/http_stream_base.h',
557 'http/http_stream_factory.cc',
558 'http/http_stream_factory.h',
559 'http/http_stream_factory_impl.cc',
560 'http/http_stream_factory_impl.h',
561 'http/http_stream_factory_impl_job.cc',
562 'http/http_stream_factory_impl_job.h',
563 'http/http_stream_factory_impl_request.cc',
564 'http/http_stream_factory_impl_request.h',
565 'http/http_stream_parser.cc',
566 'http/http_stream_parser.h',
567 'http/http_transaction.h',
568 'http/http_transaction_delegate.h',
569 'http/http_transaction_factory.h',
572 'http/http_util_icu.cc',
573 'http/http_vary_data.cc',
574 'http/http_vary_data.h',
575 'http/http_version.h',
576 'http/infinite_cache.cc',
577 'http/infinite_cache.h',
580 'http/partial_data.cc',
581 'http/partial_data.h',
582 'http/proxy_client_socket.h',
583 'http/proxy_client_socket.cc',
584 'http/url_security_manager.cc',
585 'http/url_security_manager.h',
586 'http/url_security_manager_posix.cc',
587 'http/url_security_manager_win.cc',
590 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
591 'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
592 'proxy/dhcp_proxy_script_fetcher.cc',
593 'proxy/dhcp_proxy_script_fetcher.h',
594 'proxy/dhcp_proxy_script_fetcher_factory.cc',
595 'proxy/dhcp_proxy_script_fetcher_factory.h',
596 'proxy/dhcp_proxy_script_fetcher_win.cc',
597 'proxy/dhcp_proxy_script_fetcher_win.h',
598 'proxy/dhcpcsvc_init_win.cc',
599 'proxy/dhcpcsvc_init_win.h',
600 'proxy/multi_threaded_proxy_resolver.cc',
601 'proxy/multi_threaded_proxy_resolver.h',
602 'proxy/network_delegate_error_observer.cc',
603 'proxy/network_delegate_error_observer.h',
604 'proxy/polling_proxy_config_service.cc',
605 'proxy/polling_proxy_config_service.h',
606 'proxy/proxy_bypass_rules.cc',
607 'proxy/proxy_bypass_rules.h',
608 'proxy/proxy_config.cc',
609 'proxy/proxy_config.h',
610 'proxy/proxy_config_service.h',
611 'proxy/proxy_config_service_android.cc',
612 'proxy/proxy_config_service_android.h',
613 'proxy/proxy_config_service_fixed.cc',
614 'proxy/proxy_config_service_fixed.h',
615 'proxy/proxy_config_service_ios.cc',
616 'proxy/proxy_config_service_ios.h',
617 'proxy/proxy_config_service_linux.cc',
618 'proxy/proxy_config_service_linux.h',
619 'proxy/proxy_config_service_mac.cc',
620 'proxy/proxy_config_service_mac.h',
621 'proxy/proxy_config_service_win.cc',
622 'proxy/proxy_config_service_win.h',
623 'proxy/proxy_config_source.cc',
624 'proxy/proxy_config_source.h',
625 'proxy/proxy_info.cc',
626 'proxy/proxy_info.h',
627 'proxy/proxy_list.cc',
628 'proxy/proxy_list.h',
629 'proxy/proxy_resolver.h',
630 'proxy/proxy_resolver_error_observer.h',
631 'proxy/proxy_resolver_js_bindings.cc',
632 'proxy/proxy_resolver_js_bindings.h',
633 'proxy/proxy_resolver_mac.cc',
634 'proxy/proxy_resolver_mac.h',
635 'proxy/proxy_resolver_request_context.h',
636 'proxy/proxy_resolver_script.h',
637 'proxy/proxy_resolver_script_data.cc',
638 'proxy/proxy_resolver_script_data.h',
639 'proxy/proxy_resolver_winhttp.cc',
640 'proxy/proxy_resolver_winhttp.h',
641 'proxy/proxy_retry_info.h',
642 'proxy/proxy_script_decider.cc',
643 'proxy/proxy_script_decider.h',
644 'proxy/proxy_script_fetcher.h',
645 'proxy/proxy_script_fetcher_impl.cc',
646 'proxy/proxy_script_fetcher_impl.h',
647 'proxy/proxy_server.cc',
648 'proxy/proxy_server.h',
649 'proxy/proxy_server_mac.cc',
650 'proxy/proxy_service.cc',
651 'proxy/proxy_service.h',
652 'proxy/sync_host_resolver.h',
653 'proxy/sync_host_resolver_bridge.cc',
654 'proxy/sync_host_resolver_bridge.h',
655 'quic/congestion_control/cubic.cc',
656 'quic/congestion_control/cubic.h',
657 'quic/congestion_control/fix_rate_receiver.cc',
658 'quic/congestion_control/fix_rate_receiver.h',
659 'quic/congestion_control/fix_rate_sender.cc',
660 'quic/congestion_control/fix_rate_sender.h',
661 'quic/congestion_control/hybrid_slow_start.cc',
662 'quic/congestion_control/hybrid_slow_start.h',
663 'quic/congestion_control/leaky_bucket.cc',
664 'quic/congestion_control/leaky_bucket.h',
665 'quic/congestion_control/paced_sender.cc',
666 'quic/congestion_control/paced_sender.h',
667 'quic/congestion_control/quic_receipt_metrics_collector.cc',
668 'quic/congestion_control/quic_receipt_metrics_collector.h',
669 'quic/congestion_control/quic_send_scheduler.cc',
670 'quic/congestion_control/quic_send_scheduler.h',
671 'quic/congestion_control/receive_algorithm_interface.cc',
672 'quic/congestion_control/receive_algorithm_interface.h',
673 'quic/congestion_control/send_algorithm_interface.cc',
674 'quic/congestion_control/send_algorithm_interface.h',
675 'quic/congestion_control/tcp_cubic_sender.cc',
676 'quic/congestion_control/tcp_cubic_sender.h',
677 'quic/congestion_control/tcp_receiver.cc',
678 'quic/congestion_control/tcp_receiver.h',
679 'quic/crypto/crypto_framer.cc',
680 'quic/crypto/crypto_framer.h',
681 'quic/crypto/crypto_protocol.cc',
682 'quic/crypto/crypto_protocol.h',
683 'quic/crypto/null_decrypter.cc',
684 'quic/crypto/null_decrypter.h',
685 'quic/crypto/null_encrypter.cc',
686 'quic/crypto/null_encrypter.h',
687 'quic/crypto/quic_decrypter.cc',
688 'quic/crypto/quic_decrypter.h',
689 'quic/crypto/quic_encrypter.cc',
690 'quic/crypto/quic_encrypter.h',
691 'quic/crypto/quic_random.cc',
692 'quic/crypto/quic_random.h',
693 'quic/quic_client_session.cc',
694 'quic/quic_client_session.h',
695 'quic/quic_crypto_client_stream.cc',
696 'quic/quic_crypto_client_stream.h',
697 'quic/quic_crypto_stream.cc',
698 'quic/quic_crypto_stream.h',
699 'quic/quic_clock.cc',
701 'quic/quic_connection.cc',
702 'quic/quic_connection.h',
703 'quic/quic_connection_helper.cc',
704 'quic/quic_connection_helper.h',
705 'quic/quic_data_reader.cc',
706 'quic/quic_data_reader.h',
707 'quic/quic_data_writer.cc',
708 'quic/quic_data_writer.h',
709 'quic/quic_fec_group.cc',
710 'quic/quic_fec_group.h',
711 'quic/quic_framer.cc',
712 'quic/quic_framer.h',
713 'quic/quic_http_stream.cc',
714 'quic/quic_http_stream.h',
715 'quic/quic_packet_creator.cc',
716 'quic/quic_packet_creator.h',
717 'quic/quic_protocol.cc',
718 'quic/quic_protocol.h',
719 'quic/quic_reliable_client_stream.cc',
720 'quic/quic_reliable_client_stream.h',
721 'quic/quic_session.cc',
722 'quic/quic_session.h',
723 'quic/quic_stream_factory.cc',
724 'quic/quic_stream_factory.h',
725 'quic/quic_stream_sequencer.cc',
726 'quic/quic_stream_sequencer.h',
729 'quic/quic_utils.cc',
731 'quic/reliable_quic_stream.cc',
732 'quic/reliable_quic_stream.h',
733 'socket/buffered_write_stream_socket.cc',
734 'socket/buffered_write_stream_socket.h',
735 'socket/client_socket_factory.cc',
736 'socket/client_socket_factory.h',
737 'socket/client_socket_handle.cc',
738 'socket/client_socket_handle.h',
739 'socket/client_socket_pool.cc',
740 'socket/client_socket_pool.h',
741 'socket/client_socket_pool_base.cc',
742 'socket/client_socket_pool_base.h',
743 'socket/client_socket_pool_histograms.cc',
744 'socket/client_socket_pool_histograms.h',
745 'socket/client_socket_pool_manager.cc',
746 'socket/client_socket_pool_manager.h',
747 'socket/client_socket_pool_manager_impl.cc',
748 'socket/client_socket_pool_manager_impl.h',
749 'socket/next_proto.h',
750 'socket/nss_ssl_util.cc',
751 'socket/nss_ssl_util.h',
752 'socket/server_socket.h',
753 'socket/socket_net_log_params.cc',
754 'socket/socket_net_log_params.h',
756 'socket/socks5_client_socket.cc',
757 'socket/socks5_client_socket.h',
758 'socket/socks_client_socket.cc',
759 'socket/socks_client_socket.h',
760 'socket/socks_client_socket_pool.cc',
761 'socket/socks_client_socket_pool.h',
762 'socket/ssl_client_socket.cc',
763 'socket/ssl_client_socket.h',
764 'socket/ssl_client_socket_mac.cc',
765 'socket/ssl_client_socket_mac.h',
766 'socket/ssl_client_socket_nss.cc',
767 'socket/ssl_client_socket_nss.h',
768 'socket/ssl_client_socket_openssl.cc',
769 'socket/ssl_client_socket_openssl.h',
770 'socket/ssl_client_socket_pool.cc',
771 'socket/ssl_client_socket_pool.h',
772 'socket/ssl_client_socket_win.cc',
773 'socket/ssl_client_socket_win.h',
774 'socket/ssl_error_params.cc',
775 'socket/ssl_error_params.h',
776 'socket/ssl_server_socket.h',
777 'socket/ssl_server_socket_nss.cc',
778 'socket/ssl_server_socket_nss.h',
779 'socket/ssl_server_socket_openssl.cc',
780 'socket/ssl_socket.h',
781 'socket/stream_socket.cc',
782 'socket/stream_socket.h',
783 'socket/tcp_client_socket.cc',
784 'socket/tcp_client_socket.h',
785 'socket/tcp_client_socket_libevent.cc',
786 'socket/tcp_client_socket_libevent.h',
787 'socket/tcp_client_socket_win.cc',
788 'socket/tcp_client_socket_win.h',
789 'socket/tcp_server_socket.h',
790 'socket/tcp_server_socket_libevent.cc',
791 'socket/tcp_server_socket_libevent.h',
792 'socket/tcp_server_socket_win.cc',
793 'socket/tcp_server_socket_win.h',
794 'socket/transport_client_socket_pool.cc',
795 'socket/transport_client_socket_pool.h',
796 'socket_stream/socket_stream.cc',
797 'socket_stream/socket_stream.h',
798 'socket_stream/socket_stream_job.cc',
799 'socket_stream/socket_stream_job.h',
800 'socket_stream/socket_stream_job_manager.cc',
801 'socket_stream/socket_stream_job_manager.h',
802 'socket_stream/socket_stream_metrics.cc',
803 'socket_stream/socket_stream_metrics.h',
804 'spdy/buffered_spdy_framer.cc',
805 'spdy/buffered_spdy_framer.h',
806 'spdy/spdy_bitmasks.h',
807 'spdy/spdy_credential_builder.cc',
808 'spdy/spdy_credential_builder.h',
809 'spdy/spdy_credential_state.cc',
810 'spdy/spdy_credential_state.h',
811 'spdy/spdy_frame_builder.cc',
812 'spdy/spdy_frame_builder.h',
813 'spdy/spdy_frame_reader.cc',
814 'spdy/spdy_frame_reader.h',
815 'spdy/spdy_framer.cc',
816 'spdy/spdy_framer.h',
817 'spdy/spdy_header_block.cc',
818 'spdy/spdy_header_block.h',
819 'spdy/spdy_http_stream.cc',
820 'spdy/spdy_http_stream.h',
821 'spdy/spdy_http_utils.cc',
822 'spdy/spdy_http_utils.h',
823 'spdy/spdy_io_buffer.cc',
824 'spdy/spdy_io_buffer.h',
825 'spdy/spdy_protocol.h',
826 'spdy/spdy_proxy_client_socket.cc',
827 'spdy/spdy_proxy_client_socket.h',
828 'spdy/spdy_session.cc',
829 'spdy/spdy_session.h',
830 'spdy/spdy_session_pool.cc',
831 'spdy/spdy_session_pool.h',
832 'spdy/spdy_stream.cc',
833 'spdy/spdy_stream.h',
834 'spdy/spdy_websocket_stream.cc',
835 'spdy/spdy_websocket_stream.h',
836 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
837 'third_party/mozilla_security_manager/nsKeygenHandler.h',
838 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
839 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
840 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
841 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
842 'udp/datagram_client_socket.h',
843 'udp/datagram_server_socket.h',
844 'udp/datagram_socket.h',
845 'udp/udp_client_socket.cc',
846 'udp/udp_client_socket.h',
847 'udp/udp_net_log_parameters.cc',
848 'udp/udp_net_log_parameters.h',
849 'udp/udp_server_socket.cc',
850 'udp/udp_server_socket.h',
852 'udp/udp_socket_libevent.cc',
853 'udp/udp_socket_libevent.h',
854 'udp/udp_socket_win.cc',
855 'udp/udp_socket_win.h',
856 'url_request/data_protocol_handler.cc',
857 'url_request/data_protocol_handler.h',
858 'url_request/file_protocol_handler.cc',
859 'url_request/file_protocol_handler.h',
860 'url_request/fraudulent_certificate_reporter.h',
861 'url_request/ftp_protocol_handler.cc',
862 'url_request/ftp_protocol_handler.h',
863 'url_request/http_user_agent_settings.h',
864 'url_request/protocol_intercept_job_factory.cc',
865 'url_request/protocol_intercept_job_factory.h',
866 'url_request/static_http_user_agent_settings.cc',
867 'url_request/static_http_user_agent_settings.h',
868 'url_request/url_fetcher.cc',
869 'url_request/url_fetcher.h',
870 'url_request/url_fetcher_core.cc',
871 'url_request/url_fetcher_core.h',
872 'url_request/url_fetcher_delegate.cc',
873 'url_request/url_fetcher_delegate.h',
874 'url_request/url_fetcher_factory.h',
875 'url_request/url_fetcher_impl.cc',
876 'url_request/url_fetcher_impl.h',
877 'url_request/url_request.cc',
878 'url_request/url_request.h',
879 'url_request/url_request_about_job.cc',
880 'url_request/url_request_about_job.h',
881 'url_request/url_request_context.cc',
882 'url_request/url_request_context.h',
883 'url_request/url_request_context_builder.cc',
884 'url_request/url_request_context_builder.h',
885 'url_request/url_request_context_getter.cc',
886 'url_request/url_request_context_getter.h',
887 'url_request/url_request_context_storage.cc',
888 'url_request/url_request_context_storage.h',
889 'url_request/url_request_data_job.cc',
890 'url_request/url_request_data_job.h',
891 'url_request/url_request_error_job.cc',
892 'url_request/url_request_error_job.h',
893 'url_request/url_request_file_dir_job.cc',
894 'url_request/url_request_file_dir_job.h',
895 'url_request/url_request_file_job.cc',
896 'url_request/url_request_file_job.h',
897 'url_request/url_request_filter.cc',
898 'url_request/url_request_filter.h',
899 'url_request/url_request_ftp_job.cc',
900 'url_request/url_request_ftp_job.h',
901 'url_request/url_request_http_job.cc',
902 'url_request/url_request_http_job.h',
903 'url_request/url_request_job.cc',
904 'url_request/url_request_job.h',
905 'url_request/url_request_job_factory.cc',
906 'url_request/url_request_job_factory.h',
907 'url_request/url_request_job_factory_impl.cc',
908 'url_request/url_request_job_factory_impl.h',
909 'url_request/url_request_job_manager.cc',
910 'url_request/url_request_job_manager.h',
911 'url_request/url_request_netlog_params.cc',
912 'url_request/url_request_netlog_params.h',
913 'url_request/url_request_redirect_job.cc',
914 'url_request/url_request_redirect_job.h',
915 'url_request/url_request_simple_job.cc',
916 'url_request/url_request_simple_job.h',
917 'url_request/url_request_status.h',
918 'url_request/url_request_test_job.cc',
919 'url_request/url_request_test_job.h',
920 'url_request/url_request_throttler_entry.cc',
921 'url_request/url_request_throttler_entry.h',
922 'url_request/url_request_throttler_entry_interface.h',
923 'url_request/url_request_throttler_header_adapter.cc',
924 'url_request/url_request_throttler_header_adapter.h',
925 'url_request/url_request_throttler_header_interface.h',
926 'url_request/url_request_throttler_manager.cc',
927 'url_request/url_request_throttler_manager.h',
928 'url_request/view_cache_helper.cc',
929 'url_request/view_cache_helper.h',
930 'websockets/websocket_frame.cc',
931 'websockets/websocket_frame.h',
932 'websockets/websocket_frame_parser.cc',
933 'websockets/websocket_frame_parser.h',
934 'websockets/websocket_handshake_handler.cc',
935 'websockets/websocket_handshake_handler.h',
936 'websockets/websocket_job.cc',
937 'websockets/websocket_job.h',
938 'websockets/websocket_net_log_params.cc',
939 'websockets/websocket_net_log_params.h',
940 'websockets/websocket_stream.h',
941 'websockets/websocket_throttle.cc',
942 'websockets/websocket_throttle.h',
945 'NET_IMPLEMENTATION',
947 'export_dependent_settings': [
948 '../base/base.gyp:base',
953 'base/network_change_notifier_linux.cc',
954 'base/network_change_notifier_linux.h',
955 'base/network_change_notifier_netlink_linux.cc',
956 'base/network_change_notifier_netlink_linux.h',
957 'proxy/proxy_config_service_linux.cc',
958 'proxy/proxy_config_service_linux.h',
961 ['use_kerberos==1', {
968 '/usr/include/kerberosV'
971 ['linux_link_kerberos==1', {
974 '<!@(krb5-config --libs gssapi)',
977 }, { # linux_link_kerberos==0
983 }, { # use_kerberos == 0
985 'http/http_auth_gssapi_posix.cc',
986 'http/http_auth_gssapi_posix.h',
987 'http/http_auth_handler_negotiate.h',
988 'http/http_auth_handler_negotiate.cc',
991 ['posix_avoid_mmap==1', {
995 'direct_dependent_settings': {
1001 'disk_cache/mapped_file_posix.cc',
1005 'disk_cache/mapped_file_avoid_mmap_posix.cc',
1008 ['disable_ftp_support==1', {
1010 ['exclude', '^ftp/'],
1013 'url_request/ftp_protocol_handler.cc',
1014 'url_request/ftp_protocol_handler.h',
1015 'url_request/url_request_ftp_job.cc',
1016 'url_request/url_request_ftp_job.h',
1019 ['enable_built_in_dns==1', {
1021 'ENABLE_BUILT_IN_DNS',
1025 'dns/address_sorter_posix.cc',
1026 'dns/address_sorter_posix.h',
1027 'dns/dns_client.cc',
1030 ['use_openssl==1', {
1032 'base/cert_database_nss.cc',
1033 'base/cert_verify_proc_nss.cc',
1034 'base/cert_verify_proc_nss.h',
1035 'base/crypto_module_nss.cc',
1036 'base/keygen_handler_nss.cc',
1037 'base/nss_cert_database.cc',
1038 'base/nss_cert_database.h',
1041 'base/test_root_certs_nss.cc',
1042 'base/x509_certificate_nss.cc',
1043 'base/x509_util_nss.cc',
1044 'base/x509_util_nss.h',
1047 'socket/nss_ssl_util.cc',
1048 'socket/nss_ssl_util.h',
1049 'socket/ssl_client_socket_nss.cc',
1050 'socket/ssl_client_socket_nss.h',
1051 'socket/ssl_server_socket_nss.cc',
1052 'socket/ssl_server_socket_nss.h',
1053 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1054 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1055 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1056 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1057 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1058 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1061 { # else !use_openssl: remove the unneeded files
1063 'base/cert_database_openssl.cc',
1064 'base/cert_verify_proc_openssl.cc',
1065 'base/cert_verify_proc_openssl.h',
1066 'base/crypto_module_openssl.cc',
1067 'base/keygen_handler_openssl.cc',
1068 'base/openssl_memory_private_key_store.cc',
1069 'base/openssl_private_key_store.h',
1070 'base/openssl_private_key_store_android.cc',
1071 'base/test_root_certs_openssl.cc',
1072 'base/x509_certificate_openssl.cc',
1073 'base/x509_util_openssl.cc',
1074 'base/x509_util_openssl.h',
1075 'socket/ssl_client_socket_openssl.cc',
1076 'socket/ssl_client_socket_openssl.h',
1077 'socket/ssl_server_socket_openssl.cc',
1081 [ 'use_glib == 1', {
1083 '../build/linux/system.gyp:gconf',
1084 '../build/linux/system.gyp:gio',
1087 ['use_openssl==1', {
1089 '../third_party/openssl/openssl.gyp:openssl',
1092 { # else use_openssl==0, use NSS
1094 '../build/linux/system.gyp:ssl',
1099 'base/network_change_notifier_linux.cc',
1100 'base/network_change_notifier_netlink_linux.cc',
1101 'proxy/proxy_config_service_linux.cc',
1105 '../build/linux/system.gyp:libresolv',
1117 { # else: OS is not in the above list
1119 'base/cert_database_nss.cc',
1120 'base/crypto_module_nss.cc',
1121 'base/keygen_handler_nss.cc',
1122 'base/nss_cert_database.cc',
1123 'base/nss_cert_database.h',
1124 'base/test_root_certs_nss.cc',
1125 'base/x509_certificate_nss.cc',
1128 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1129 'third_party/mozilla_security_manager/nsKeygenHandler.h',
1130 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1131 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1132 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1133 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1137 [ 'toolkit_uses_gtk == 1', {
1139 '../build/linux/system.gyp:gdk',
1144 'base/cert_verify_proc_nss.cc',
1145 'base/cert_verify_proc_nss.h',
1148 [ 'enable_websockets != 1', {
1150 ['exclude', '^socket_stream/'],
1151 ['exclude', '^websockets/'],
1154 'spdy/spdy_websocket_stream.cc',
1155 'spdy/spdy_websocket_stream.h',
1160 'http/http_auth_handler_ntlm_portable.cc',
1161 'socket/tcp_client_socket_libevent.cc',
1162 'socket/tcp_client_socket_libevent.h',
1163 'socket/tcp_server_socket_libevent.cc',
1164 'socket/tcp_server_socket_libevent.h',
1165 'udp/udp_socket_libevent.cc',
1166 'udp/udp_socket_libevent.h',
1169 '../third_party/nss/nss.gyp:nspr',
1170 '../third_party/nss/nss.gyp:nss',
1171 'third_party/nss/ssl.gyp:libssl',
1174 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1175 'msvs_disabled_warnings': [4267, ],
1176 }, { # else: OS != "win"
1178 'base/winsock_init.cc',
1179 'base/winsock_init.h',
1180 'base/winsock_util.cc',
1181 'base/winsock_util.h',
1182 'proxy/proxy_resolver_winhttp.cc',
1183 'proxy/proxy_resolver_winhttp.h',
1189 '../third_party/nss/nss.gyp:nspr',
1190 '../third_party/nss/nss.gyp:nss',
1191 'third_party/nss/ssl.gyp:libssl',
1195 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1196 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1197 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1198 '$(SDKROOT)/usr/lib/libresolv.dylib',
1205 '../third_party/nss/nss.gyp:nss',
1206 'third_party/nss/ssl.gyp:libssl',
1210 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1211 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1212 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1213 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1214 '$(SDKROOT)/usr/lib/libresolv.dylib',
1219 ['OS=="android" and _toolset=="target" and android_build_type == 0', {
1224 [ 'OS == "android"', {
1226 '../third_party/openssl/openssl.gyp:openssl',
1230 'base/cert_database_openssl.cc',
1231 'base/cert_verify_proc_openssl.cc',
1232 'base/openssl_memory_private_key_store.cc',
1233 'base/test_root_certs_openssl.cc',
1235 }, { # else OS != "android"
1237 # These are the features Android doesn't support.
1238 'ENABLE_MEDIA_CODEC_THEORA',
1242 [ 'OS == "linux"', {
1244 '../build/linux/system.gyp:dbus',
1245 '../dbus/dbus.gyp:dbus',
1250 'target_conditions': [
1251 # These source files are excluded by default platform rules, but they
1252 # are needed in specific cases on other platforms. Re-including them can
1253 # only be done in target_conditions as it is evaluated after the
1255 ['OS == "android"', {
1257 ['include', '^base/platform_mime_util_linux\\.cc$'],
1262 ['include', '^base/network_change_notifier_mac\\.cc$'],
1263 ['include', '^base/network_config_watcher_mac\\.cc$'],
1264 ['include', '^base/platform_mime_util_mac\\.mm$'],
1265 ['include', '^dns/notify_watcher_mac\\.cc$'],
1266 ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1267 ['include', '^proxy/proxy_server_mac\\.cc$'],
1268 # The iOS implementation only partially uses NSS and thus does not
1269 # defines |use_nss|. In particular the |USE_NSS| preprocessor
1270 # definition is not used. The following files are needed though:
1271 ['include', '^base/cert_verify_proc_nss\\.cc$'],
1272 ['include', '^base/cert_verify_proc_nss\\.h$'],
1273 ['include', '^base/test_root_certs_nss\\.cc$'],
1274 ['include', '^base/x509_util_nss\\.cc$'],
1275 ['include', '^base/x509_util_nss\\.h$'],
1276 ['include', '^ocsp/nss_ocsp\\.cc$'],
1277 ['include', '^ocsp/nss_ocsp\\.h$'],
1283 'target_name': 'net_unittests',
1284 'type': '<(gtest_target_type)',
1286 '../base/base.gyp:base',
1287 '../base/base.gyp:base_i18n',
1288 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1289 '../build/temp_gyp/googleurl.gyp:googleurl',
1290 '../crypto/crypto.gyp:crypto',
1291 '../testing/gmock.gyp:gmock',
1292 '../testing/gtest.gyp:gtest',
1293 '../third_party/zlib/zlib.gyp:zlib',
1298 'android/network_change_notifier_android_unittest.cc',
1299 'base/address_list_unittest.cc',
1300 'base/address_tracker_linux_unittest.cc',
1301 'base/backoff_entry_unittest.cc',
1302 'base/big_endian_unittest.cc',
1303 'base/cert_verify_proc_unittest.cc',
1304 'base/crl_set_unittest.cc',
1305 'base/data_url_unittest.cc',
1306 'base/default_server_bound_cert_store_unittest.cc',
1307 'base/directory_lister_unittest.cc',
1308 'base/dns_util_unittest.cc',
1309 'base/escape_unittest.cc',
1310 'base/ev_root_ca_metadata_unittest.cc',
1311 'base/expiring_cache_unittest.cc',
1312 'base/file_stream_unittest.cc',
1313 'base/filter_unittest.cc',
1314 'base/int128_unittest.cc',
1315 'base/gzip_filter_unittest.cc',
1316 'base/host_cache_unittest.cc',
1317 'base/host_mapping_rules_unittest.cc',
1318 'base/host_port_pair_unittest.cc',
1319 'base/host_resolver_impl_unittest.cc',
1320 'base/ip_endpoint_unittest.cc',
1321 'base/keygen_handler_unittest.cc',
1322 'base/mapped_host_resolver_unittest.cc',
1323 'base/mime_sniffer_unittest.cc',
1324 'base/mime_util_unittest.cc',
1325 'base/mock_filter_context.cc',
1326 'base/mock_filter_context.h',
1327 'base/multi_threaded_cert_verifier_unittest.cc',
1328 'base/net_log_unittest.h',
1329 'base/net_util_unittest.cc',
1330 'base/network_change_notifier_win_unittest.cc',
1331 'base/nss_cert_database_unittest.cc',
1332 'base/pem_tokenizer_unittest.cc',
1333 'base/prioritized_dispatcher_unittest.cc',
1334 'base/priority_queue_unittest.cc',
1335 'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1336 'base/run_all_unittests.cc',
1337 'base/sdch_filter_unittest.cc',
1338 'base/server_bound_cert_service_unittest.cc',
1339 'base/single_request_host_resolver_unittest.cc',
1340 'base/ssl_cipher_suite_names_unittest.cc',
1341 'base/ssl_client_auth_cache_unittest.cc',
1342 'base/ssl_config_service_unittest.cc',
1343 'base/static_cookie_policy_unittest.cc',
1344 'base/tcp_listen_socket_unittest.cc',
1345 'base/tcp_listen_socket_unittest.h',
1346 'base/test_certificate_data.h',
1347 'base/test_completion_callback_unittest.cc',
1348 'base/transport_security_state_unittest.cc',
1349 'base/unix_domain_socket_posix_unittest.cc',
1350 'base/upload_bytes_element_reader_unittest.cc',
1351 'base/upload_data_stream_unittest.cc',
1352 'base/upload_file_element_reader_unittest.cc',
1353 'base/x509_certificate_unittest.cc',
1354 'base/x509_cert_types_unittest.cc',
1355 'base/x509_util_unittest.cc',
1356 'base/x509_util_nss_unittest.cc',
1357 'base/x509_util_openssl_unittest.cc',
1358 'cookies/canonical_cookie_unittest.cc',
1359 'cookies/cookie_monster_unittest.cc',
1360 'cookies/cookie_store_unittest.h',
1361 'cookies/cookie_util_unittest.cc',
1362 'cookies/parsed_cookie_unittest.cc',
1363 'disk_cache/addr_unittest.cc',
1364 'disk_cache/backend_unittest.cc',
1365 'disk_cache/bitmap_unittest.cc',
1366 'disk_cache/block_files_unittest.cc',
1367 'disk_cache/cache_util_unittest.cc',
1368 'disk_cache/entry_unittest.cc',
1369 'disk_cache/mapped_file_unittest.cc',
1370 'disk_cache/storage_block_unittest.cc',
1371 'disk_cache/flash/log_store_entry_unittest.cc',
1372 'disk_cache/flash/log_store_unittest.cc',
1373 'disk_cache/flash/segment_unittest.cc',
1374 'disk_cache/flash/storage_unittest.cc',
1375 'dns/address_sorter_posix_unittest.cc',
1376 'dns/address_sorter_unittest.cc',
1377 'dns/dns_config_service_posix_unittest.cc',
1378 'dns/dns_config_service_unittest.cc',
1379 'dns/dns_config_service_win_unittest.cc',
1380 'dns/dns_hosts_unittest.cc',
1381 'dns/dns_query_unittest.cc',
1382 'dns/dns_response_unittest.cc',
1383 'dns/dns_session_unittest.cc',
1384 'dns/dns_transaction_unittest.cc',
1385 'dns/serial_worker_unittest.cc',
1386 'ftp/ftp_auth_cache_unittest.cc',
1387 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1388 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1389 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1390 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1391 'ftp/ftp_directory_listing_parser_unittest.cc',
1392 'ftp/ftp_directory_listing_parser_unittest.h',
1393 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1394 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1395 'ftp/ftp_network_transaction_unittest.cc',
1396 'ftp/ftp_util_unittest.cc',
1397 'http/des_unittest.cc',
1398 'http/http_auth_cache_unittest.cc',
1399 'http/http_auth_controller_unittest.cc',
1400 'http/http_auth_filter_unittest.cc',
1401 'http/http_auth_gssapi_posix_unittest.cc',
1402 'http/http_auth_handler_basic_unittest.cc',
1403 'http/http_auth_handler_digest_unittest.cc',
1404 'http/http_auth_handler_factory_unittest.cc',
1405 'http/http_auth_handler_mock.cc',
1406 'http/http_auth_handler_mock.h',
1407 'http/http_auth_handler_negotiate_unittest.cc',
1408 'http/http_auth_handler_unittest.cc',
1409 'http/http_auth_sspi_win_unittest.cc',
1410 'http/http_auth_unittest.cc',
1411 'http/http_byte_range_unittest.cc',
1412 'http/http_cache_unittest.cc',
1413 'http/http_chunked_decoder_unittest.cc',
1414 'http/http_content_disposition_unittest.cc',
1415 'http/http_network_layer_unittest.cc',
1416 'http/http_network_transaction_spdy3_unittest.cc',
1417 'http/http_network_transaction_spdy2_unittest.cc',
1418 'http/http_pipelined_connection_impl_unittest.cc',
1419 'http/http_pipelined_host_forced_unittest.cc',
1420 'http/http_pipelined_host_impl_unittest.cc',
1421 'http/http_pipelined_host_pool_unittest.cc',
1422 'http/http_pipelined_host_test_util.cc',
1423 'http/http_pipelined_host_test_util.h',
1424 'http/http_pipelined_network_transaction_unittest.cc',
1425 'http/http_proxy_client_socket_pool_spdy2_unittest.cc',
1426 'http/http_proxy_client_socket_pool_spdy3_unittest.cc',
1427 'http/http_request_headers_unittest.cc',
1428 'http/http_response_body_drainer_unittest.cc',
1429 'http/http_response_headers_unittest.cc',
1430 'http/http_security_headers_unittest.cc',
1431 'http/http_server_properties_impl_unittest.cc',
1432 'http/http_stream_factory_impl_unittest.cc',
1433 'http/http_stream_parser_unittest.cc',
1434 'http/http_transaction_unittest.cc',
1435 'http/http_transaction_unittest.h',
1436 'http/http_util_unittest.cc',
1437 'http/http_vary_data_unittest.cc',
1438 'http/infinite_cache_unittest.cc',
1439 'http/mock_allow_url_security_manager.cc',
1440 'http/mock_allow_url_security_manager.h',
1441 'http/mock_gssapi_library_posix.cc',
1442 'http/mock_gssapi_library_posix.h',
1443 'http/mock_http_cache.cc',
1444 'http/mock_http_cache.h',
1445 'http/mock_sspi_library_win.cc',
1446 'http/mock_sspi_library_win.h',
1447 'http/url_security_manager_unittest.cc',
1448 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1449 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1450 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1451 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1452 'proxy/network_delegate_error_observer_unittest.cc',
1453 'proxy/proxy_bypass_rules_unittest.cc',
1454 'proxy/proxy_config_service_android_unittest.cc',
1455 'proxy/proxy_config_service_linux_unittest.cc',
1456 'proxy/proxy_config_service_win_unittest.cc',
1457 'proxy/proxy_config_unittest.cc',
1458 'proxy/proxy_info_unittest.cc',
1459 'proxy/proxy_list_unittest.cc',
1460 'proxy/proxy_resolver_js_bindings_unittest.cc',
1461 'proxy/proxy_resolver_v8_unittest.cc',
1462 'proxy/proxy_script_decider_unittest.cc',
1463 'proxy/proxy_script_fetcher_impl_unittest.cc',
1464 'proxy/proxy_server_unittest.cc',
1465 'proxy/proxy_service_unittest.cc',
1466 'proxy/sync_host_resolver_bridge_unittest.cc',
1467 'quic/congestion_control/cubic_test.cc',
1468 'quic/congestion_control/fix_rate_test.cc',
1469 'quic/congestion_control/hybrid_slow_start_test.cc',
1470 'quic/congestion_control/leaky_bucket_test.cc',
1471 'quic/congestion_control/paced_sender_test.cc',
1472 'quic/congestion_control/quic_receipt_metrics_collector_test.cc',
1473 'quic/congestion_control/quic_send_scheduler_test.cc',
1474 'quic/congestion_control/tcp_cubic_sender_test.cc',
1475 'quic/congestion_control/tcp_receiver_test.cc',
1476 'quic/crypto/crypto_framer_test.cc',
1477 'quic/crypto/null_decrypter_test.cc',
1478 'quic/crypto/null_encrypter_test.cc',
1479 'quic/crypto/quic_random_test.cc',
1480 'quic/test_tools/mock_clock.cc',
1481 'quic/test_tools/mock_clock.h',
1482 'quic/test_tools/mock_random.cc',
1483 'quic/test_tools/mock_random.h',
1484 'quic/test_tools/quic_connection_peer.cc',
1485 'quic/test_tools/quic_connection_peer.h',
1486 'quic/test_tools/quic_session_peer.cc',
1487 'quic/test_tools/quic_session_peer.h',
1488 'quic/test_tools/quic_test_utils.cc',
1489 'quic/test_tools/quic_test_utils.h',
1490 'quic/test_tools/reliable_quic_stream_peer.cc',
1491 'quic/test_tools/reliable_quic_stream_peer.h',
1492 'quic/test_tools/test_task_runner.cc',
1493 'quic/test_tools/test_task_runner.h',
1494 'quic/quic_client_session_test.cc',
1495 'quic/quic_clock_test.cc',
1496 'quic/quic_connection_helper_test.cc',
1497 'quic/quic_connection_test.cc',
1498 'quic/quic_crypto_client_stream_test.cc',
1499 'quic/quic_crypto_stream_test.cc',
1500 'quic/quic_data_writer_test.cc',
1501 'quic/quic_fec_group_test.cc',
1502 'quic/quic_framer_test.cc',
1503 'quic/quic_http_stream_test.cc',
1504 'quic/quic_packet_creator_test.cc',
1505 'quic/quic_reliable_client_stream_test.cc',
1506 'quic/quic_session_test.cc',
1507 'quic/quic_stream_factory_test.cc',
1508 'quic/quic_stream_sequencer_test.cc',
1509 'quic/quic_time_test.cc',
1510 'socket/buffered_write_stream_socket_unittest.cc',
1511 'socket/client_socket_pool_base_unittest.cc',
1512 'socket/deterministic_socket_data_unittest.cc',
1513 'socket/mock_client_socket_pool_manager.cc',
1514 'socket/mock_client_socket_pool_manager.h',
1515 'socket/socks5_client_socket_unittest.cc',
1516 'socket/socks_client_socket_pool_unittest.cc',
1517 'socket/socks_client_socket_unittest.cc',
1518 'socket/ssl_client_socket_pool_unittest.cc',
1519 'socket/ssl_client_socket_unittest.cc',
1520 'socket/ssl_server_socket_unittest.cc',
1521 'socket/tcp_client_socket_unittest.cc',
1522 'socket/tcp_server_socket_unittest.cc',
1523 'socket/transport_client_socket_pool_unittest.cc',
1524 'socket/transport_client_socket_unittest.cc',
1525 'socket_stream/socket_stream_metrics_unittest.cc',
1526 'socket_stream/socket_stream_unittest.cc',
1527 'spdy/buffered_spdy_framer_spdy3_unittest.cc',
1528 'spdy/buffered_spdy_framer_spdy2_unittest.cc',
1529 'spdy/spdy_credential_builder_unittest.cc',
1530 'spdy/spdy_credential_state_unittest.cc',
1531 'spdy/spdy_frame_reader_test.cc',
1532 'spdy/spdy_framer_test.cc',
1533 'spdy/spdy_header_block_unittest.cc',
1534 'spdy/spdy_http_stream_spdy3_unittest.cc',
1535 'spdy/spdy_http_stream_spdy2_unittest.cc',
1536 'spdy/spdy_http_utils_unittest.cc',
1537 'spdy/spdy_network_transaction_spdy3_unittest.cc',
1538 'spdy/spdy_network_transaction_spdy2_unittest.cc',
1539 'spdy/spdy_protocol_test.cc',
1540 'spdy/spdy_proxy_client_socket_spdy3_unittest.cc',
1541 'spdy/spdy_proxy_client_socket_spdy2_unittest.cc',
1542 'spdy/spdy_session_spdy3_unittest.cc',
1543 'spdy/spdy_session_spdy2_unittest.cc',
1544 'spdy/spdy_stream_spdy3_unittest.cc',
1545 'spdy/spdy_stream_spdy2_unittest.cc',
1546 'spdy/spdy_stream_test_util.cc',
1547 'spdy/spdy_stream_test_util.h',
1548 'spdy/spdy_test_util_spdy3.cc',
1549 'spdy/spdy_test_util_spdy3.h',
1550 'spdy/spdy_test_util_spdy2.cc',
1551 'spdy/spdy_test_util_spdy2.h',
1552 'spdy/spdy_websocket_stream_spdy2_unittest.cc',
1553 'spdy/spdy_websocket_stream_spdy3_unittest.cc',
1554 'spdy/spdy_websocket_test_util_spdy2.cc',
1555 'spdy/spdy_websocket_test_util_spdy2.h',
1556 'spdy/spdy_websocket_test_util_spdy3.cc',
1557 'spdy/spdy_websocket_test_util_spdy3.h',
1558 'test/python_utils_unittest.cc',
1559 'tools/dump_cache/url_to_filename_encoder.cc',
1560 'tools/dump_cache/url_to_filename_encoder.h',
1561 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1562 'tools/dump_cache/url_utilities.h',
1563 'tools/dump_cache/url_utilities.cc',
1564 'tools/dump_cache/url_utilities_unittest.cc',
1565 'udp/udp_socket_unittest.cc',
1566 'url_request/url_fetcher_impl_unittest.cc',
1567 'url_request/url_request_context_builder_unittest.cc',
1568 'url_request/url_request_filter_unittest.cc',
1569 'url_request/url_request_ftp_job_unittest.cc',
1570 'url_request/url_request_job_factory_impl_unittest.cc',
1571 'url_request/url_request_job_unittest.cc',
1572 'url_request/url_request_throttler_simulation_unittest.cc',
1573 'url_request/url_request_throttler_test_support.cc',
1574 'url_request/url_request_throttler_test_support.h',
1575 'url_request/url_request_throttler_unittest.cc',
1576 'url_request/url_request_unittest.cc',
1577 'url_request/view_cache_helper_unittest.cc',
1578 'websockets/websocket_frame_parser_unittest.cc',
1579 'websockets/websocket_frame_unittest.cc',
1580 'websockets/websocket_handshake_handler_unittest.cc',
1581 'websockets/websocket_handshake_handler_spdy2_unittest.cc',
1582 'websockets/websocket_handshake_handler_spdy3_unittest.cc',
1583 'websockets/websocket_job_spdy2_unittest.cc',
1584 'websockets/websocket_job_spdy3_unittest.cc',
1585 'websockets/websocket_net_log_params_unittest.cc',
1586 'websockets/websocket_throttle_unittest.cc',
1591 'base/network_change_notifier_linux_unittest.cc',
1592 'proxy/proxy_config_service_linux_unittest.cc',
1595 [ 'OS == "android"', {
1597 # No res_ninit() et al on Android, so this doesn't make a lot of
1599 'dns/dns_config_service_posix_unittest.cc',
1602 [ 'use_glib == 1', {
1604 '../build/linux/system.gyp:ssl',
1606 }, { # else use_glib == 0: !posix || mac
1608 'base/nss_cert_database_unittest.cc',
1612 [ 'toolkit_uses_gtk == 1', {
1614 '../build/linux/system.gyp:gtk',
1618 [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1620 ['linux_use_tcmalloc==1', {
1622 '../base/allocator/allocator.gyp:allocator',
1627 [ 'use_kerberos==1', {
1631 }, { # use_kerberos == 0
1633 'http/http_auth_gssapi_posix_unittest.cc',
1634 'http/http_auth_handler_negotiate_unittest.cc',
1635 'http/mock_gssapi_library_posix.cc',
1636 'http/mock_gssapi_library_posix.h',
1639 [ 'use_openssl==1', {
1640 # When building for OpenSSL, we need to exclude NSS specific tests.
1641 # TODO(bulach): Add equivalent tests when the underlying
1642 # functionality is ported to OpenSSL.
1644 'base/x509_util_nss_unittest.cc',
1645 'base/nss_cert_database_unittest.cc',
1647 }, { # else !use_openssl: remove the unneeded files
1649 'base/x509_util_openssl_unittest.cc',
1653 [ 'enable_websockets != 1', {
1655 ['exclude', '^socket_stream/'],
1656 ['exclude', '^websockets/'],
1657 ['exclude', '^spdy/spdy_websocket_stream_spdy._unittest\\.cc$'],
1660 [ 'disable_ftp_support==1', {
1662 ['exclude', '^ftp/'],
1665 'url_request/url_request_ftp_job_unittest.cc',
1669 [ 'enable_built_in_dns!=1', {
1671 'dns/address_sorter_posix_unittest.cc',
1672 'dns/address_sorter_unittest.cc',
1676 [ 'use_v8_in_net==1', {
1680 }, { # else: !use_v8_in_net
1682 'proxy/proxy_resolver_v8_unittest.cc',
1688 'dns/dns_config_service_posix_unittest.cc',
1689 'http/http_auth_gssapi_posix_unittest.cc',
1691 # This is needed to trigger the dll copy step on windows.
1692 # TODO(mark): Specifying this here shouldn't be necessary.
1694 '../third_party/icu/icu.gyp:icudata',
1695 '../third_party/nss/nss.gyp:nspr',
1696 '../third_party/nss/nss.gyp:nss',
1697 'third_party/nss/ssl.gyp:libssl',
1699 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1700 'msvs_disabled_warnings': [4267, ],
1705 '../third_party/nss/nss.gyp:nspr',
1706 '../third_party/nss/nss.gyp:nss',
1707 'third_party/nss/ssl.gyp:libssl',
1713 '../third_party/nss/nss.gyp:nss',
1717 'action_name': 'copy_test_data',
1719 'test_data_files': [
1720 'data/ssl/certificates/',
1721 'data/url_request_unittest/',
1723 'test_data_prefix': 'net',
1725 'includes': [ '../build/copy_test_data_ios.gypi' ],
1729 # TODO(droger): The following tests are disabled because the
1730 # implementation is missing or incomplete.
1731 # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
1732 'base/keygen_handler_unittest.cc',
1733 # Need to read input data files.
1734 'base/gzip_filter_unittest.cc',
1735 'disk_cache/backend_unittest.cc',
1736 'disk_cache/block_files_unittest.cc',
1737 'socket/ssl_server_socket_unittest.cc',
1739 'proxy/proxy_script_fetcher_impl_unittest.cc',
1740 'socket/ssl_client_socket_unittest.cc',
1741 'url_request/url_fetcher_impl_unittest.cc',
1742 'url_request/url_request_context_builder_unittest.cc',
1743 # Needs GetAppOutput().
1744 'test/python_utils_unittest.cc',
1746 # The following tests are disabled because they don't apply to
1748 # OS is not "linux" or "freebsd" or "openbsd".
1749 'base/unix_domain_socket_posix_unittest.cc',
1754 # These sources can't be built with coverage due to a
1755 # toolchain bug: http://openradar.appspot.com/radar?id=1499403
1756 'base/transport_security_state_unittest.cc',
1758 # These tests crash when run with coverage turned on due to an
1759 # issue with llvm_gcda_increment_indirect_counter:
1760 # http://crbug.com/156058
1761 'cookies/cookie_monster_unittest.cc',
1762 'cookies/cookie_store_unittest.h',
1763 'http/http_auth_controller_unittest.cc',
1764 'http/http_network_layer_unittest.cc',
1765 'http/http_network_transaction_spdy2_unittest.cc',
1766 'http/http_network_transaction_spdy3_unittest.cc',
1771 [ 'OS == "linux"', {
1773 '../build/linux/system.gyp:dbus',
1774 '../dbus/dbus.gyp:dbus_test_support',
1778 [ 'OS == "android"', {
1780 '../third_party/openssl/openssl.gyp:openssl',
1783 'dns/dns_config_service_posix_unittest.cc',
1787 ['OS == "android" and gtest_target_type == "shared_library"', {
1789 '../testing/android/native_test.gyp:native_test_native_code',
1792 [ 'OS != "win" and OS != "mac"', {
1794 'base/x509_cert_types_unittest.cc',
1800 'target_name': 'net_perftests',
1801 'type': 'executable',
1803 '../base/base.gyp:base',
1804 '../base/base.gyp:base_i18n',
1805 '../base/base.gyp:test_support_perf',
1806 '../build/temp_gyp/googleurl.gyp:googleurl',
1807 '../testing/gtest.gyp:gtest',
1812 'cookies/cookie_monster_perftest.cc',
1813 'disk_cache/disk_cache_perftest.cc',
1814 'proxy/proxy_resolver_perftest.cc',
1817 [ 'use_v8_in_net==1', {
1821 }, { # else: !use_v8_in_net
1823 'proxy/proxy_resolver_perftest.cc',
1827 # This is needed to trigger the dll copy step on windows.
1828 # TODO(mark): Specifying this here shouldn't be necessary.
1831 '../third_party/icu/icu.gyp:icudata',
1833 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1834 'msvs_disabled_warnings': [4267, ],
1840 'target_name': 'net_test_support',
1841 'type': 'static_library',
1843 '../base/base.gyp:base',
1844 '../base/base.gyp:test_support_base',
1845 '../testing/gtest.gyp:gtest',
1848 'export_dependent_settings': [
1849 '../base/base.gyp:base',
1850 '../base/base.gyp:test_support_base',
1851 '../testing/gtest.gyp:gtest',
1854 'base/capturing_net_log.cc',
1855 'base/capturing_net_log.h',
1856 'base/cert_test_util.cc',
1857 'base/cert_test_util.h',
1858 'base/load_timing_info_test_util.cc',
1859 'base/load_timing_info_test_util.h',
1860 'base/mock_cert_verifier.cc',
1861 'base/mock_cert_verifier.h',
1862 'base/mock_file_stream.cc',
1863 'base/mock_file_stream.h',
1864 'base/mock_host_resolver.cc',
1865 'base/mock_host_resolver.h',
1866 'base/net_test_suite.cc',
1867 'base/net_test_suite.h',
1868 'base/test_completion_callback.cc',
1869 'base/test_completion_callback.h',
1870 'base/test_data_directory.cc',
1871 'base/test_data_directory.h',
1872 'cookies/cookie_monster_store_test.cc',
1873 'cookies/cookie_monster_store_test.h',
1874 'cookies/cookie_store_test_callbacks.cc',
1875 'cookies/cookie_store_test_callbacks.h',
1876 'cookies/cookie_store_test_helpers.cc',
1877 'cookies/cookie_store_test_helpers.h',
1878 'disk_cache/disk_cache_test_base.cc',
1879 'disk_cache/disk_cache_test_base.h',
1880 'disk_cache/disk_cache_test_util.cc',
1881 'disk_cache/disk_cache_test_util.h',
1882 'disk_cache/flash/flash_cache_test_base.h',
1883 'disk_cache/flash/flash_cache_test_base.cc',
1884 'dns/dns_test_util.cc',
1885 'dns/dns_test_util.h',
1886 'proxy/mock_proxy_resolver.cc',
1887 'proxy/mock_proxy_resolver.h',
1888 'proxy/mock_proxy_script_fetcher.cc',
1889 'proxy/mock_proxy_script_fetcher.h',
1890 'proxy/proxy_config_service_common_unittest.cc',
1891 'proxy/proxy_config_service_common_unittest.h',
1892 'socket/socket_test_util.cc',
1893 'socket/socket_test_util.h',
1894 'test/base_test_server.cc',
1895 'test/base_test_server.h',
1896 'test/local_sync_test_server.cc',
1897 'test/local_sync_test_server.h',
1898 'test/local_test_server_posix.cc',
1899 'test/local_test_server_win.cc',
1900 'test/local_test_server.cc',
1901 'test/local_test_server.h',
1902 'test/python_utils.cc',
1903 'test/python_utils.h',
1904 'test/remote_test_server.cc',
1905 'test/remote_test_server.h',
1906 'test/spawner_communicator.cc',
1907 'test/spawner_communicator.h',
1908 'test/test_server.h',
1909 'url_request/test_url_fetcher_factory.cc',
1910 'url_request/test_url_fetcher_factory.h',
1911 'url_request/url_request_test_util.cc',
1912 'url_request/url_request_test_util.h',
1915 ['inside_chromium_build==1 and OS != "ios"', {
1917 # The test server uses Python modules generated by cloud print.
1918 # TODO(sync): Remove this hack (http://crbug.com/119403).
1919 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_compile',
1920 # The test server uses Python modules generated by the sync protos.
1921 # TODO(sync): Remove this hack (http://crbug.com/117559).
1922 '../sync/protocol/sync_proto.gyp:sync_proto',
1923 '../third_party/protobuf/protobuf.gyp:py_proto',
1926 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1928 ['use_openssl==1', {
1930 '../third_party/openssl/openssl.gyp:openssl',
1934 '../build/linux/system.gyp:ssl',
1939 ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1941 ['linux_use_tcmalloc==1', {
1943 '../base/allocator/allocator.gyp:allocator',
1948 ['OS != "android"', {
1950 'test/remote_test_server.cc',
1951 'test/remote_test_server.h',
1952 'test/spawner_communicator.cc',
1953 'test/spawner_communicator.h',
1958 '../third_party/nss/nss.gyp:nss',
1961 [ 'use_v8_in_net==1', {
1968 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1969 'msvs_disabled_warnings': [4267, ],
1972 'target_name': 'net_resources',
1975 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1979 'action_name': 'net_resources',
1981 'grit_grd_file': 'base/net_resources.grd',
1983 'includes': [ '../build/grit_action.gypi' ],
1986 'includes': [ '../build/grit_target.gypi' ],
1989 'target_name': 'http_server',
1990 'type': 'static_library',
1991 'variables': { 'enable_wexit_time_destructors': 1, },
1993 '../base/base.gyp:base',
1997 'server/http_connection.cc',
1998 'server/http_connection.h',
1999 'server/http_server.cc',
2000 'server/http_server.h',
2001 'server/http_server_request_info.cc',
2002 'server/http_server_request_info.h',
2003 'server/web_socket.cc',
2004 'server/web_socket.h',
2006 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2007 'msvs_disabled_warnings': [4267, ],
2010 'target_name': 'dump_cache',
2011 'type': 'executable',
2013 '../base/base.gyp:base',
2018 'tools/dump_cache/cache_dumper.cc',
2019 'tools/dump_cache/cache_dumper.h',
2020 'tools/dump_cache/dump_cache.cc',
2021 'tools/dump_cache/dump_files.cc',
2022 'tools/dump_cache/dump_files.h',
2023 'tools/dump_cache/simple_cache_dumper.cc',
2024 'tools/dump_cache/simple_cache_dumper.h',
2025 'tools/dump_cache/upgrade_win.cc',
2026 'tools/dump_cache/upgrade_win.h',
2027 'tools/dump_cache/url_to_filename_encoder.cc',
2028 'tools/dump_cache/url_to_filename_encoder.h',
2029 'tools/dump_cache/url_utilities.h',
2030 'tools/dump_cache/url_utilities.cc',
2032 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2033 'msvs_disabled_warnings': [4267, ],
2037 ['use_v8_in_net == 1', {
2040 'target_name': 'net_with_v8',
2041 'type': '<(component)',
2042 'variables': { 'enable_wexit_time_destructors': 1, },
2044 '../base/base.gyp:base',
2045 '../build/temp_gyp/googleurl.gyp:googleurl',
2046 '../v8/tools/gyp/v8.gyp:v8',
2050 'NET_IMPLEMENTATION',
2053 'proxy/proxy_resolver_v8.cc',
2054 'proxy/proxy_resolver_v8.h',
2055 'proxy/proxy_service_v8.cc',
2056 'proxy/proxy_service_v8.h',
2058 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2059 'msvs_disabled_warnings': [4267, ],
2065 # iOS doesn't have the concept of simple executables, these targets
2066 # can't be compiled on the platform.
2068 'target_name': 'crash_cache',
2069 'type': 'executable',
2071 '../base/base.gyp:base',
2076 'tools/crash_cache/crash_cache.cc',
2078 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2079 'msvs_disabled_warnings': [4267, ],
2082 'target_name': 'crl_set_dump',
2083 'type': 'executable',
2085 '../base/base.gyp:base',
2089 'tools/crl_set_dump/crl_set_dump.cc',
2091 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2092 'msvs_disabled_warnings': [4267, ],
2095 'target_name': 'dns_fuzz_stub',
2096 'type': 'executable',
2098 '../base/base.gyp:base',
2102 'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
2104 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2105 'msvs_disabled_warnings': [4267, ],
2108 'target_name': 'fetch_client',
2109 'type': 'executable',
2110 'variables': { 'enable_wexit_time_destructors': 1, },
2112 '../base/base.gyp:base',
2113 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2114 '../build/temp_gyp/googleurl.gyp:googleurl',
2115 '../testing/gtest.gyp:gtest',
2120 'tools/fetch/fetch_client.cc',
2122 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2123 'msvs_disabled_warnings': [4267, ],
2126 'target_name': 'fetch_server',
2127 'type': 'executable',
2128 'variables': { 'enable_wexit_time_destructors': 1, },
2130 '../base/base.gyp:base',
2131 '../build/temp_gyp/googleurl.gyp:googleurl',
2135 'tools/fetch/fetch_server.cc',
2136 'tools/fetch/http_listen_socket.cc',
2137 'tools/fetch/http_listen_socket.h',
2138 'tools/fetch/http_server.cc',
2139 'tools/fetch/http_server.h',
2140 'tools/fetch/http_server_request_info.cc',
2141 'tools/fetch/http_server_request_info.h',
2142 'tools/fetch/http_server_response_info.cc',
2143 'tools/fetch/http_server_response_info.h',
2144 'tools/fetch/http_session.cc',
2145 'tools/fetch/http_session.h',
2147 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2148 'msvs_disabled_warnings': [4267, ],
2151 'target_name': 'gdig',
2152 'type': 'executable',
2154 '../base/base.gyp:base',
2158 'tools/gdig/file_net_log.cc',
2159 'tools/gdig/gdig.cc',
2163 'target_name': 'get_server_time',
2164 'type': 'executable',
2166 '../base/base.gyp:base',
2167 '../base/base.gyp:base_i18n',
2168 '../build/temp_gyp/googleurl.gyp:googleurl',
2172 'tools/get_server_time/get_server_time.cc',
2174 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2175 'msvs_disabled_warnings': [4267, ],
2178 'target_name': 'net_watcher',
2179 'type': 'executable',
2181 '../base/base.gyp:base',
2186 [ 'use_glib == 1', {
2188 '../build/linux/system.gyp:gconf',
2189 '../build/linux/system.gyp:gio',
2195 'tools/net_watcher/net_watcher.cc',
2199 'target_name': 'run_testserver',
2200 'type': 'executable',
2202 '../base/base.gyp:base',
2203 '../build/temp_gyp/googleurl.gyp:googleurl',
2204 '../testing/gtest.gyp:gtest',
2209 'tools/testserver/run_testserver.cc',
2213 'target_name': 'stress_cache',
2214 'type': 'executable',
2216 '../base/base.gyp:base',
2221 'disk_cache/stress_cache.cc',
2223 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2224 'msvs_disabled_warnings': [4267, ],
2227 'target_name': 'tld_cleanup',
2228 'type': 'executable',
2230 '../base/base.gyp:base',
2231 '../base/base.gyp:base_i18n',
2232 '../build/temp_gyp/googleurl.gyp:googleurl',
2235 'tools/tld_cleanup/tld_cleanup.cc',
2237 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2238 'msvs_disabled_warnings': [4267, ],
2242 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2245 'target_name': 'flip_in_mem_edsm_server',
2246 'type': 'executable',
2251 '../base/base.gyp:base',
2252 '../third_party/openssl/openssl.gyp:openssl',
2256 'tools/dump_cache/url_to_filename_encoder.cc',
2257 'tools/dump_cache/url_to_filename_encoder.h',
2258 'tools/dump_cache/url_utilities.h',
2259 'tools/dump_cache/url_utilities.cc',
2260 'tools/flip_server/acceptor_thread.h',
2261 'tools/flip_server/acceptor_thread.cc',
2262 'tools/flip_server/balsa_enums.h',
2263 'tools/flip_server/balsa_frame.cc',
2264 'tools/flip_server/balsa_frame.h',
2265 'tools/flip_server/balsa_headers.cc',
2266 'tools/flip_server/balsa_headers.h',
2267 'tools/flip_server/balsa_headers_token_utils.cc',
2268 'tools/flip_server/balsa_headers_token_utils.h',
2269 'tools/flip_server/balsa_visitor_interface.h',
2270 'tools/flip_server/buffer_interface.h',
2271 'tools/flip_server/constants.h',
2272 'tools/flip_server/create_listener.cc',
2273 'tools/flip_server/create_listener.h',
2274 'tools/flip_server/epoll_server.cc',
2275 'tools/flip_server/epoll_server.h',
2276 'tools/flip_server/flip_config.cc',
2277 'tools/flip_server/flip_config.h',
2278 'tools/flip_server/flip_in_mem_edsm_server.cc',
2279 'tools/flip_server/http_interface.cc',
2280 'tools/flip_server/http_interface.h',
2281 'tools/flip_server/http_message_constants.cc',
2282 'tools/flip_server/http_message_constants.h',
2283 'tools/flip_server/loadtime_measurement.h',
2284 'tools/flip_server/mem_cache.h',
2285 'tools/flip_server/mem_cache.cc',
2286 'tools/flip_server/output_ordering.cc',
2287 'tools/flip_server/output_ordering.h',
2288 'tools/flip_server/ring_buffer.cc',
2289 'tools/flip_server/ring_buffer.h',
2290 'tools/flip_server/simple_buffer.cc',
2291 'tools/flip_server/simple_buffer.h',
2292 'tools/flip_server/sm_connection.cc',
2293 'tools/flip_server/sm_connection.h',
2294 'tools/flip_server/sm_interface.h',
2295 'tools/flip_server/split.h',
2296 'tools/flip_server/split.cc',
2297 'tools/flip_server/spdy_ssl.cc',
2298 'tools/flip_server/spdy_ssl.h',
2299 'tools/flip_server/spdy_interface.cc',
2300 'tools/flip_server/spdy_interface.h',
2301 'tools/flip_server/spdy_util.cc',
2302 'tools/flip_server/spdy_util.h',
2303 'tools/flip_server/streamer_interface.cc',
2304 'tools/flip_server/streamer_interface.h',
2305 'tools/flip_server/string_piece_utils.h',
2313 'target_name': 'net_jni_headers',
2316 'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2317 'android/java/src/org/chromium/net/GURLUtils.java',
2318 'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2319 'android/java/src/org/chromium/net/ProxyChangeListener.java',
2322 'jni_gen_dir': 'net',
2324 'includes': [ '../build/jni_generator.gypi' ],
2327 'target_name': 'net_java',
2330 'package_name': 'net',
2331 'java_in_dir': '../net/android/java',
2334 '../base/base.gyp:base',
2336 'certificate_mime_types_java',
2338 'includes': [ '../build/java.gypi' ],
2341 'target_name': 'net_java_test_support',
2344 'package_name': 'net_java_test_support',
2345 'java_in_dir': '../net/test/android/javatests',
2347 'includes': [ '../build/java.gypi' ],
2350 'target_name': 'net_javatests',
2353 'package_name': 'net_javatests',
2354 'java_in_dir': '../net/android/javatests',
2357 '../base/base.gyp:base',
2358 '../base/base.gyp:base_java_test_support',
2361 'includes': [ '../build/java.gypi' ],
2364 'target_name': 'net_errors_java',
2367 'base/net_error_list.h',
2368 'android/java/NetError.template',
2371 'package_name': 'org.chromium.net',
2373 'includes': [ '../build/android/java_cpp_template.gypi' ],
2376 'target_name': 'certificate_mime_types_java',
2379 'base/mime_util_certificate_type_list.h',
2380 'android/java/CertificateMimeType.template',
2383 'package_name': 'org.chromium.net',
2385 'includes': [ '../build/android/java_cpp_template.gypi' ],
2389 # Special target to wrap a gtest_target_type==shared_library
2390 # net_unittests into an android apk for execution.
2391 # See base.gyp for TODO(jrg)s about this strategy.
2392 ['OS == "android" and gtest_target_type == "shared_library"', {
2395 'target_name': 'net_unittests_apk',
2402 'test_suite_name': 'net_unittests',
2403 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2405 'includes': [ '../build/apk_test.gypi' ],
2409 ['test_isolation_mode != "noop"', {
2412 'target_name': 'net_unittests_run',
2418 'net_unittests.isolate',
2422 'action_name': 'isolate',
2424 'net_unittests.isolate',
2425 '<@(isolate_dependency_tracked)',
2428 '<(PRODUCT_DIR)/net_unittests.isolated',
2432 '../tools/swarm_client/isolate.py',
2433 '<(test_isolation_mode)',
2434 '--outdir', '<(test_isolation_outdir)',
2435 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
2436 '--variable', 'OS', '<(OS)',
2437 '--result', '<@(_outputs)',
2438 '--isolate', 'net_unittests.isolate',