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"', {
12 # Disable Kerberos on ChromeOS and Android, at least for now.
13 # It needs configuration (krb5.conf and so on).
21 '../build/win_precompile.gypi',
26 'type': '<(component)',
27 'variables': { 'enable_wexit_time_destructors': 1, },
29 '../base/base.gyp:base',
30 '../base/base.gyp:base_i18n',
31 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
32 '../build/temp_gyp/googleurl.gyp:googleurl',
33 '../crypto/crypto.gyp:crypto',
34 '../sdch/sdch.gyp:sdch',
35 '../third_party/icu/icu.gyp:icui18n',
36 '../third_party/icu/icu.gyp:icuuc',
37 '../third_party/zlib/zlib.gyp:zlib',
38 '../v8/tools/gyp/v8.gyp:v8',
40 'ssl_false_start_blacklist_process#host',
43 'android/network_library.cc',
44 'android/network_library.h',
45 'base/address_family.h',
46 'base/address_list.cc',
47 'base/address_list.h',
48 'base/address_list_net_log_param.cc',
49 'base/address_list_net_log_param.h',
54 'base/backoff_entry.cc',
55 'base/backoff_entry.h',
56 'base/bandwidth_metrics.cc',
57 'base/bandwidth_metrics.h',
61 'base/capturing_net_log.cc',
62 'base/capturing_net_log.h',
63 'base/cert_database.cc',
64 'base/cert_database.h',
65 'base/cert_database_mac.cc',
66 'base/cert_database_nss.cc',
67 'base/cert_database_openssl.cc',
68 'base/cert_database_win.cc',
69 'base/cert_status_flags.cc',
70 'base/cert_status_flags.h',
71 'base/cert_verifier.cc',
72 'base/cert_verifier.h',
73 'base/cert_verify_result.cc',
74 'base/cert_verify_result.h',
75 'base/completion_callback.h',
76 'base/connection_type_histograms.cc',
77 'base/connection_type_histograms.h',
78 'base/cookie_monster.cc',
79 'base/cookie_monster.h',
80 'base/cookie_options.h',
81 'base/cookie_store.cc',
82 'base/cookie_store.h',
83 'base/cookie_util.cc',
87 'base/crypto_module.h',
88 'base/crypto_module_nss.cc',
89 'base/crypto_module_openssl.cc',
92 'base/default_origin_bound_cert_store.cc',
93 'base/default_origin_bound_cert_store.h',
94 'base/directory_lister.cc',
95 'base/directory_lister.h',
96 'base/dns_reloader.cc',
97 'base/dns_reloader.h',
100 'base/dnsrr_resolver.cc',
101 'base/dnsrr_resolver.h',
102 'base/dnssec_chain_verifier.cc',
103 'base/dnssec_chain_verifier.h',
104 'base/dnssec_keyset.cc',
105 'base/dnssec_keyset.h',
108 'base/escape_icu.cc',
109 'base/ev_root_ca_metadata.cc',
110 'base/ev_root_ca_metadata.h',
111 'base/file_stream.h',
112 'base/file_stream_metrics.cc',
113 'base/file_stream_metrics.h',
114 'base/file_stream_metrics_posix.cc',
115 'base/file_stream_metrics_win.cc',
116 'base/file_stream_net_log_parameters.cc',
117 'base/file_stream_net_log_parameters.h',
118 'base/file_stream_posix.cc',
119 'base/file_stream_win.cc',
122 'base/gzip_filter.cc',
123 'base/gzip_filter.h',
124 'base/gzip_header.cc',
125 'base/gzip_header.h',
126 'base/host_cache.cc',
128 'base/host_mapping_rules.cc',
129 'base/host_mapping_rules.h',
130 'base/host_port_pair.cc',
131 'base/host_port_pair.h',
132 'base/host_resolver.cc',
133 'base/host_resolver.h',
134 'base/host_resolver_impl.cc',
135 'base/host_resolver_impl.h',
136 'base/host_resolver_proc.cc',
137 'base/host_resolver_proc.h',
140 'base/ip_endpoint.cc',
141 'base/ip_endpoint.h',
142 'base/keygen_handler.cc',
143 'base/keygen_handler.h',
144 'base/keygen_handler_mac.cc',
145 'base/keygen_handler_nss.cc',
146 'base/keygen_handler_openssl.cc',
147 'base/keygen_handler_win.cc',
148 'base/listen_socket.cc',
149 'base/listen_socket.h',
151 'base/load_flags_list.h',
152 'base/load_states.h',
153 'base/mapped_host_resolver.cc',
154 'base/mapped_host_resolver.h',
155 'base/mime_sniffer.cc',
156 'base/mime_sniffer.h',
159 'base/net_error_list.h',
160 'base/net_errors.cc',
162 'base/net_errors_posix.cc',
163 'base/net_errors_win.cc',
167 'base/net_log_event_type_list.h',
168 'base/net_log_source_type_list.h',
169 'base/net_module.cc',
173 'base/net_util_posix.cc',
174 'base/net_util_win.cc',
175 'base/network_change_notifier.cc',
176 'base/network_change_notifier.h',
177 'base/network_change_notifier_factory.h',
178 'base/network_change_notifier_linux.cc',
179 'base/network_change_notifier_linux.h',
180 'base/network_change_notifier_mac.cc',
181 'base/network_change_notifier_mac.h',
182 'base/network_change_notifier_netlink_linux.cc',
183 'base/network_change_notifier_netlink_linux.h',
184 'base/network_change_notifier_win.cc',
185 'base/network_change_notifier_win.h',
186 'base/network_config_watcher_mac.cc',
187 'base/network_config_watcher_mac.h',
188 'base/network_delegate.cc',
189 'base/network_delegate.h',
192 'base/openssl_memory_private_key_store.cc',
193 'base/openssl_private_key_store.h',
194 'base/openssl_private_key_store_android.cc',
195 'base/origin_bound_cert_service.cc',
196 'base/origin_bound_cert_service.h',
197 'base/origin_bound_cert_store.cc',
198 'base/origin_bound_cert_store.h',
199 'base/pem_tokenizer.cc',
200 'base/pem_tokenizer.h',
201 'base/platform_mime_util.h',
202 # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
203 'base/platform_mime_util_linux.cc',
204 'base/platform_mime_util_mac.cc',
205 'base/platform_mime_util_win.cc',
206 'base/prioritized_dispatcher.cc',
207 'base/prioritized_dispatcher.h',
208 'base/priority_queue.h',
209 'base/rand_callback.h',
210 'base/registry_controlled_domain.cc',
211 'base/registry_controlled_domain.h',
212 'base/request_priority.h',
213 'base/sdch_filter.cc',
214 'base/sdch_filter.h',
215 'base/sdch_manager.cc',
216 'base/sdch_manager.h',
217 'base/single_request_host_resolver.cc',
218 'base/single_request_host_resolver.h',
219 'base/ssl_cert_request_info.cc',
220 'base/ssl_cert_request_info.h',
221 'base/ssl_cipher_suite_names.cc',
222 'base/ssl_cipher_suite_names.h',
223 'base/ssl_client_auth_cache.cc',
224 'base/ssl_client_auth_cache.h',
225 'base/ssl_client_cert_type.h',
226 'base/ssl_config_service.cc',
227 'base/ssl_config_service.h',
228 'base/ssl_config_service_defaults.cc',
229 'base/ssl_config_service_defaults.h',
230 'base/ssl_false_start_blacklist.cc',
231 'base/ssl_false_start_blacklist.h',
234 'base/static_cookie_policy.cc',
235 'base/static_cookie_policy.h',
236 'base/sys_addrinfo.h',
237 'base/test_data_stream.cc',
238 'base/test_data_stream.h',
239 'base/test_root_certs.cc',
240 'base/test_root_certs.h',
241 'base/test_root_certs_mac.cc',
242 'base/test_root_certs_nss.cc',
243 'base/test_root_certs_openssl.cc',
244 'base/test_root_certs_win.cc',
245 'base/transport_security_state.cc',
246 'base/transport_security_state.h',
247 'base/upload_data.cc',
248 'base/upload_data.h',
249 'base/upload_data_stream.cc',
250 'base/upload_data_stream.h',
251 'base/winsock_init.cc',
252 'base/winsock_init.h',
253 'base/winsock_util.cc',
254 'base/winsock_util.h',
255 'base/x509_cert_types.cc',
256 'base/x509_cert_types.h',
257 'base/x509_cert_types_mac.cc',
258 'base/x509_cert_types_win.cc',
259 'base/x509_certificate.cc',
260 'base/x509_certificate.h',
261 'base/x509_certificate_mac.cc',
262 'base/x509_certificate_net_log_param.cc',
263 'base/x509_certificate_net_log_param.h',
264 'base/x509_certificate_nss.cc',
265 'base/x509_certificate_openssl.cc',
266 'base/x509_certificate_win.cc',
268 'base/x509_util_nss.cc',
269 'base/x509_util_nss.h',
270 'base/x509_util_openssl.cc',
271 'base/x509_util_openssl.h',
274 'disk_cache/addr.cc',
276 'disk_cache/backend_impl.cc',
277 'disk_cache/backend_impl.h',
278 'disk_cache/bitmap.cc',
279 'disk_cache/bitmap.h',
280 'disk_cache/block_files.cc',
281 'disk_cache/block_files.h',
282 'disk_cache/cache_util.h',
283 'disk_cache/cache_util_posix.cc',
284 'disk_cache/cache_util_win.cc',
285 'disk_cache/disk_cache.h',
286 'disk_cache/disk_format.cc',
287 'disk_cache/disk_format.h',
288 'disk_cache/entry_impl.cc',
289 'disk_cache/entry_impl.h',
290 'disk_cache/errors.h',
291 'disk_cache/eviction.cc',
292 'disk_cache/eviction.h',
293 'disk_cache/experiments.h',
294 'disk_cache/file.cc',
296 'disk_cache/file_block.h',
297 'disk_cache/file_lock.cc',
298 'disk_cache/file_lock.h',
299 'disk_cache/file_posix.cc',
300 'disk_cache/file_win.cc',
301 'disk_cache/hash.cc',
303 'disk_cache/histogram_macros.h',
304 'disk_cache/in_flight_backend_io.cc',
305 'disk_cache/in_flight_backend_io.h',
306 'disk_cache/in_flight_io.cc',
307 'disk_cache/in_flight_io.h',
308 'disk_cache/mapped_file.h',
309 'disk_cache/mapped_file_posix.cc',
310 'disk_cache/mapped_file_win.cc',
311 'disk_cache/mem_backend_impl.cc',
312 'disk_cache/mem_backend_impl.h',
313 'disk_cache/mem_entry_impl.cc',
314 'disk_cache/mem_entry_impl.h',
315 'disk_cache/mem_rankings.cc',
316 'disk_cache/mem_rankings.h',
317 'disk_cache/net_log_parameters.cc',
318 'disk_cache/net_log_parameters.h',
319 'disk_cache/rankings.cc',
320 'disk_cache/rankings.h',
321 'disk_cache/sparse_control.cc',
322 'disk_cache/sparse_control.h',
323 'disk_cache/stats.cc',
324 'disk_cache/stats.h',
325 'disk_cache/stats_histogram.cc',
326 'disk_cache/stats_histogram.h',
327 'disk_cache/storage_block-inl.h',
328 'disk_cache/storage_block.h',
329 'disk_cache/stress_support.h',
330 'disk_cache/trace.cc',
331 'disk_cache/trace.h',
332 'dns/dns_config_service.cc',
333 'dns/dns_config_service.h',
334 'dns/dns_config_service_posix.cc',
335 'dns/dns_config_service_posix.h',
336 'dns/dns_config_service_win.cc',
337 'dns/dns_config_service_win.h',
340 'dns/dns_protocol.h',
343 'dns/dns_response.cc',
344 'dns/dns_response.h',
345 'dns/dns_session.cc',
347 'dns/dns_transaction.cc',
348 'dns/dns_transaction.h',
349 'dns/serial_worker.cc',
350 'dns/serial_worker.h',
351 'dns/watching_file_reader.cc',
352 'dns/watching_file_reader.h',
353 'ftp/ftp_auth_cache.cc',
354 'ftp/ftp_auth_cache.h',
355 'ftp/ftp_ctrl_response_buffer.cc',
356 'ftp/ftp_ctrl_response_buffer.h',
357 'ftp/ftp_directory_listing_parser.cc',
358 'ftp/ftp_directory_listing_parser.h',
359 'ftp/ftp_directory_listing_parser_ls.cc',
360 'ftp/ftp_directory_listing_parser_ls.h',
361 'ftp/ftp_directory_listing_parser_netware.cc',
362 'ftp/ftp_directory_listing_parser_netware.h',
363 'ftp/ftp_directory_listing_parser_os2.cc',
364 'ftp/ftp_directory_listing_parser_os2.h',
365 'ftp/ftp_directory_listing_parser_vms.cc',
366 'ftp/ftp_directory_listing_parser_vms.h',
367 'ftp/ftp_directory_listing_parser_windows.cc',
368 'ftp/ftp_directory_listing_parser_windows.h',
369 'ftp/ftp_network_layer.cc',
370 'ftp/ftp_network_layer.h',
371 'ftp/ftp_network_session.cc',
372 'ftp/ftp_network_session.h',
373 'ftp/ftp_network_transaction.cc',
374 'ftp/ftp_network_transaction.h',
375 'ftp/ftp_request_info.h',
376 'ftp/ftp_response_info.cc',
377 'ftp/ftp_response_info.h',
378 'ftp/ftp_server_type_histograms.cc',
379 'ftp/ftp_server_type_histograms.h',
380 'ftp/ftp_transaction.h',
381 'ftp/ftp_transaction_factory.h',
386 'http/disk_cache_based_ssl_host_info.cc',
387 'http/disk_cache_based_ssl_host_info.h',
388 'http/http_atom_list.h',
391 'http/http_auth_cache.cc',
392 'http/http_auth_cache.h',
393 'http/http_auth_controller.cc',
394 'http/http_auth_controller.h',
395 'http/http_auth_filter.cc',
396 'http/http_auth_filter.h',
397 'http/http_auth_filter_win.h',
398 'http/http_auth_gssapi_posix.cc',
399 'http/http_auth_gssapi_posix.h',
400 'http/http_auth_handler.cc',
401 'http/http_auth_handler.h',
402 'http/http_auth_handler_basic.cc',
403 'http/http_auth_handler_basic.h',
404 'http/http_auth_handler_digest.cc',
405 'http/http_auth_handler_digest.h',
406 'http/http_auth_handler_factory.cc',
407 'http/http_auth_handler_factory.h',
408 'http/http_auth_handler_negotiate.cc',
409 'http/http_auth_handler_negotiate.h',
410 'http/http_auth_handler_ntlm.cc',
411 'http/http_auth_handler_ntlm.h',
412 'http/http_auth_handler_ntlm_portable.cc',
413 'http/http_auth_handler_ntlm_win.cc',
414 'http/http_auth_sspi_win.cc',
415 'http/http_auth_sspi_win.h',
416 'http/http_basic_stream.cc',
417 'http/http_basic_stream.h',
418 'http/http_byte_range.cc',
419 'http/http_byte_range.h',
420 'http/http_cache.cc',
422 'http/http_cache_transaction.cc',
423 'http/http_cache_transaction.h',
424 'http/http_content_disposition.cc',
425 'http/http_content_disposition.h',
426 'http/http_chunked_decoder.cc',
427 'http/http_chunked_decoder.h',
428 'http/http_mac_signature.cc',
429 'http/http_mac_signature.h',
430 'http/http_net_log_params.cc',
431 'http/http_net_log_params.h',
432 'http/http_network_layer.cc',
433 'http/http_network_layer.h',
434 'http/http_network_session.cc',
435 'http/http_network_session.h',
436 'http/http_network_session_peer.cc',
437 'http/http_network_session_peer.h',
438 'http/http_network_transaction.cc',
439 'http/http_network_transaction.h',
440 'http/http_pipelined_connection.h',
441 'http/http_pipelined_connection_impl.cc',
442 'http/http_pipelined_connection_impl.h',
443 'http/http_pipelined_host.h',
444 'http/http_pipelined_host_capability.h',
445 'http/http_pipelined_host_impl.cc',
446 'http/http_pipelined_host_impl.h',
447 'http/http_pipelined_host_pool.cc',
448 'http/http_pipelined_host_pool.h',
449 'http/http_pipelined_stream.cc',
450 'http/http_pipelined_stream.h',
451 'http/http_proxy_client_socket.cc',
452 'http/http_proxy_client_socket.h',
453 'http/http_proxy_client_socket_pool.cc',
454 'http/http_proxy_client_socket_pool.h',
455 'http/http_proxy_utils.cc',
456 'http/http_proxy_utils.h',
457 'http/http_request_headers.cc',
458 'http/http_request_headers.h',
459 'http/http_request_info.cc',
460 'http/http_request_info.h',
461 'http/http_response_body_drainer.cc',
462 'http/http_response_body_drainer.h',
463 'http/http_response_headers.cc',
464 'http/http_response_headers.h',
465 'http/http_response_info.cc',
466 'http/http_response_info.h',
467 'http/http_server_properties.cc',
468 'http/http_server_properties.h',
469 'http/http_server_properties_impl.cc',
470 'http/http_server_properties_impl.h',
471 'http/http_stream.h',
472 'http/http_stream_factory.cc',
473 'http/http_stream_factory.h',
474 'http/http_stream_factory_impl.cc',
475 'http/http_stream_factory_impl.h',
476 'http/http_stream_factory_impl_job.cc',
477 'http/http_stream_factory_impl_job.h',
478 'http/http_stream_factory_impl_request.cc',
479 'http/http_stream_factory_impl_request.h',
480 'http/http_stream_parser.cc',
481 'http/http_stream_parser.h',
482 'http/http_transaction.h',
483 'http/http_transaction_factory.h',
486 'http/http_util_icu.cc',
487 'http/http_vary_data.cc',
488 'http/http_vary_data.h',
489 'http/http_version.h',
492 'http/partial_data.cc',
493 'http/partial_data.h',
494 'http/proxy_client_socket.h',
495 'http/url_security_manager.cc',
496 'http/url_security_manager.h',
497 'http/url_security_manager_posix.cc',
498 'http/url_security_manager_win.cc',
501 'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
502 'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
503 'proxy/dhcp_proxy_script_fetcher.cc',
504 'proxy/dhcp_proxy_script_fetcher.h',
505 'proxy/dhcp_proxy_script_fetcher_factory.cc',
506 'proxy/dhcp_proxy_script_fetcher_factory.h',
507 'proxy/dhcp_proxy_script_fetcher_win.cc',
508 'proxy/dhcp_proxy_script_fetcher_win.h',
509 'proxy/dhcpcsvc_init_win.cc',
510 'proxy/dhcpcsvc_init_win.h',
511 'proxy/multi_threaded_proxy_resolver.cc',
512 'proxy/multi_threaded_proxy_resolver.h',
513 'proxy/network_delegate_error_observer.cc',
514 'proxy/network_delegate_error_observer.h',
515 'proxy/polling_proxy_config_service.cc',
516 'proxy/polling_proxy_config_service.h',
517 'proxy/proxy_bypass_rules.cc',
518 'proxy/proxy_bypass_rules.h',
519 'proxy/proxy_config.cc',
520 'proxy/proxy_config.h',
521 'proxy/proxy_config_service.h',
522 'proxy/proxy_config_service_fixed.cc',
523 'proxy/proxy_config_service_fixed.h',
524 'proxy/proxy_config_service_linux.cc',
525 'proxy/proxy_config_service_linux.h',
526 'proxy/proxy_config_service_mac.cc',
527 'proxy/proxy_config_service_mac.h',
528 'proxy/proxy_config_service_win.cc',
529 'proxy/proxy_config_service_win.h',
530 'proxy/proxy_info.cc',
531 'proxy/proxy_info.h',
532 'proxy/proxy_list.cc',
533 'proxy/proxy_list.h',
534 'proxy/proxy_resolver.h',
535 'proxy/proxy_resolver_error_observer.h',
536 'proxy/proxy_resolver_js_bindings.cc',
537 'proxy/proxy_resolver_js_bindings.h',
538 'proxy/proxy_resolver_mac.cc',
539 'proxy/proxy_resolver_mac.h',
540 'proxy/proxy_resolver_request_context.h',
541 'proxy/proxy_resolver_script.h',
542 'proxy/proxy_resolver_script_data.cc',
543 'proxy/proxy_resolver_script_data.h',
544 'proxy/proxy_resolver_v8.cc',
545 'proxy/proxy_resolver_v8.h',
546 'proxy/proxy_resolver_winhttp.cc',
547 'proxy/proxy_resolver_winhttp.h',
548 'proxy/proxy_retry_info.h',
549 'proxy/proxy_script_decider.cc',
550 'proxy/proxy_script_decider.h',
551 'proxy/proxy_script_fetcher.h',
552 'proxy/proxy_script_fetcher_impl.cc',
553 'proxy/proxy_script_fetcher_impl.h',
554 'proxy/proxy_server.cc',
555 'proxy/proxy_server.h',
556 'proxy/proxy_server_mac.cc',
557 'proxy/proxy_service.cc',
558 'proxy/proxy_service.h',
559 'proxy/sync_host_resolver.h',
560 'proxy/sync_host_resolver_bridge.cc',
561 'proxy/sync_host_resolver_bridge.h',
562 'socket/client_socket_factory.cc',
563 'socket/client_socket_factory.h',
564 'socket/client_socket_handle.cc',
565 'socket/client_socket_handle.h',
566 'socket/client_socket_pool.cc',
567 'socket/client_socket_pool.h',
568 'socket/client_socket_pool_base.cc',
569 'socket/client_socket_pool_base.h',
570 'socket/client_socket_pool_histograms.cc',
571 'socket/client_socket_pool_histograms.h',
572 'socket/client_socket_pool_manager.cc',
573 'socket/client_socket_pool_manager.h',
574 'socket/client_socket_pool_manager_impl.cc',
575 'socket/client_socket_pool_manager_impl.h',
576 'socket/nss_ssl_util.cc',
577 'socket/nss_ssl_util.h',
578 'socket/server_socket.h',
580 'socket/socks5_client_socket.cc',
581 'socket/socks5_client_socket.h',
582 'socket/socks_client_socket.cc',
583 'socket/socks_client_socket.h',
584 'socket/socks_client_socket_pool.cc',
585 'socket/socks_client_socket_pool.h',
586 'socket/ssl_client_socket.cc',
587 'socket/ssl_client_socket.h',
588 'socket/ssl_client_socket_mac.cc',
589 'socket/ssl_client_socket_mac.h',
590 'socket/ssl_client_socket_nss.cc',
591 'socket/ssl_client_socket_nss.h',
592 'socket/ssl_client_socket_openssl.cc',
593 'socket/ssl_client_socket_openssl.h',
594 'socket/ssl_client_socket_pool.cc',
595 'socket/ssl_client_socket_pool.h',
596 'socket/ssl_client_socket_win.cc',
597 'socket/ssl_client_socket_win.h',
598 'socket/ssl_error_params.cc',
599 'socket/ssl_error_params.h',
600 'socket/ssl_host_info.cc',
601 'socket/ssl_host_info.h',
602 'socket/ssl_server_socket.h',
603 'socket/ssl_server_socket_nss.cc',
604 'socket/ssl_server_socket_nss.h',
605 'socket/ssl_server_socket_openssl.cc',
606 'socket/ssl_socket.h',
607 'socket/stream_socket.cc',
608 'socket/stream_socket.h',
609 'socket/tcp_client_socket.cc',
610 'socket/tcp_client_socket.h',
611 'socket/tcp_client_socket_libevent.cc',
612 'socket/tcp_client_socket_libevent.h',
613 'socket/tcp_client_socket_win.cc',
614 'socket/tcp_client_socket_win.h',
615 'socket/tcp_server_socket.h',
616 'socket/tcp_server_socket_libevent.cc',
617 'socket/tcp_server_socket_libevent.h',
618 'socket/tcp_server_socket_win.cc',
619 'socket/tcp_server_socket_win.h',
620 'socket/transport_client_socket_pool.cc',
621 'socket/transport_client_socket_pool.h',
622 'socket/web_socket_server_socket.cc',
623 'socket/web_socket_server_socket.h',
624 'socket_stream/socket_stream.cc',
625 'socket_stream/socket_stream.h',
626 'socket_stream/socket_stream_job.cc',
627 'socket_stream/socket_stream_job.h',
628 'socket_stream/socket_stream_job_manager.cc',
629 'socket_stream/socket_stream_job_manager.h',
630 'socket_stream/socket_stream_metrics.cc',
631 'socket_stream/socket_stream_metrics.h',
632 'spdy/buffered_spdy_framer.cc',
633 'spdy/buffered_spdy_framer.h',
634 'spdy/spdy_bitmasks.h',
635 'spdy/spdy_credential_state.cc',
636 'spdy/spdy_credential_state.h',
637 'spdy/spdy_frame_builder.cc',
638 'spdy/spdy_frame_builder.h',
639 'spdy/spdy_framer.cc',
640 'spdy/spdy_framer.h',
641 'spdy/spdy_http_stream.cc',
642 'spdy/spdy_http_stream.h',
643 'spdy/spdy_http_utils.cc',
644 'spdy/spdy_http_utils.h',
645 'spdy/spdy_io_buffer.cc',
646 'spdy/spdy_io_buffer.h',
647 'spdy/spdy_protocol.h',
648 'spdy/spdy_proxy_client_socket.cc',
649 'spdy/spdy_proxy_client_socket.h',
650 'spdy/spdy_session.cc',
651 'spdy/spdy_session.h',
652 'spdy/spdy_session_pool.cc',
653 'spdy/spdy_session_pool.h',
654 'spdy/spdy_settings_storage.cc',
655 'spdy/spdy_settings_storage.h',
656 'spdy/spdy_stream.cc',
657 'spdy/spdy_stream.h',
658 'spdy/spdy_websocket_stream.cc',
659 'spdy/spdy_websocket_stream.h',
660 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
661 'third_party/mozilla_security_manager/nsKeygenHandler.h',
662 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
663 'third_party/mozilla_security_manager/nsNSSCertTrust.h',
664 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
665 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
666 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
667 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
668 'udp/datagram_client_socket.h',
669 'udp/datagram_server_socket.h',
670 'udp/datagram_socket.h',
671 'udp/udp_client_socket.cc',
672 'udp/udp_client_socket.h',
673 'udp/udp_data_transfer_param.cc',
674 'udp/udp_data_transfer_param.h',
675 'udp/udp_server_socket.cc',
676 'udp/udp_server_socket.h',
678 'udp/udp_socket_libevent.cc',
679 'udp/udp_socket_libevent.h',
680 'udp/udp_socket_win.cc',
681 'udp/udp_socket_win.h',
682 'url_request/fraudulent_certificate_reporter.h',
683 'url_request/url_request.cc',
684 'url_request/url_request.h',
685 'url_request/url_request_about_job.cc',
686 'url_request/url_request_about_job.h',
687 'url_request/url_request_context.cc',
688 'url_request/url_request_context.h',
689 'url_request/url_request_context_getter.cc',
690 'url_request/url_request_context_getter.h',
691 'url_request/url_request_context_storage.cc',
692 'url_request/url_request_context_storage.h',
693 'url_request/url_request_data_job.cc',
694 'url_request/url_request_data_job.h',
695 'url_request/url_request_error_job.cc',
696 'url_request/url_request_error_job.h',
697 'url_request/url_request_file_dir_job.cc',
698 'url_request/url_request_file_dir_job.h',
699 'url_request/url_request_file_job.cc',
700 'url_request/url_request_file_job.h',
701 'url_request/url_request_filter.cc',
702 'url_request/url_request_filter.h',
703 'url_request/url_request_ftp_job.cc',
704 'url_request/url_request_ftp_job.h',
705 'url_request/url_request_http_job.cc',
706 'url_request/url_request_http_job.h',
707 'url_request/url_request_job.cc',
708 'url_request/url_request_job.h',
709 'url_request/url_request_job_factory.cc',
710 'url_request/url_request_job_factory.h',
711 'url_request/url_request_job_manager.cc',
712 'url_request/url_request_job_manager.h',
713 'url_request/url_request_netlog_params.cc',
714 'url_request/url_request_netlog_params.h',
715 'url_request/url_request_redirect_job.cc',
716 'url_request/url_request_redirect_job.h',
717 'url_request/url_request_simple_job.cc',
718 'url_request/url_request_simple_job.h',
719 'url_request/url_request_status.h',
720 'url_request/url_request_test_job.cc',
721 'url_request/url_request_test_job.h',
722 'url_request/url_request_throttler_entry.cc',
723 'url_request/url_request_throttler_entry.h',
724 'url_request/url_request_throttler_entry_interface.h',
725 'url_request/url_request_throttler_header_adapter.cc',
726 'url_request/url_request_throttler_header_adapter.h',
727 'url_request/url_request_throttler_header_interface.h',
728 'url_request/url_request_throttler_manager.cc',
729 'url_request/url_request_throttler_manager.h',
730 'url_request/view_cache_helper.cc',
731 'url_request/view_cache_helper.h',
732 'websockets/websocket_handshake_handler.cc',
733 'websockets/websocket_handshake_handler.h',
734 'websockets/websocket_job.cc',
735 'websockets/websocket_job.h',
736 'websockets/websocket_net_log_params.cc',
737 'websockets/websocket_net_log_params.h',
738 'websockets/websocket_throttle.cc',
739 'websockets/websocket_throttle.h',
742 'NET_IMPLEMENTATION',
744 'export_dependent_settings': [
745 '../base/base.gyp:base',
749 'action_name': 'ssl_false_start_blacklist',
751 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)',
752 'base/ssl_false_start_blacklist.txt',
755 '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc',
758 ['<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)ssl_false_start_blacklist_process<(EXECUTABLE_SUFFIX)',
759 'base/ssl_false_start_blacklist.txt',
760 '<(SHARED_INTERMEDIATE_DIR)/net/base/ssl_false_start_blacklist_data.cc',
762 'message': 'Generating SSL False Start blacklist',
763 'process_outputs_as_sources': 1,
769 'proxy/proxy_config_service_linux.cc',
770 'proxy/proxy_config_service_linux.h',
773 ['use_kerberos==1', {
780 '/usr/include/kerberosV'
783 ['linux_link_kerberos==1', {
786 '<!@(krb5-config --libs gssapi)',
789 }, { # linux_link_kerberos==0
795 }, { # use_kerberos == 0
797 'http/http_auth_gssapi_posix.cc',
798 'http/http_auth_gssapi_posix.h',
799 'http/http_auth_handler_negotiate.h',
800 'http/http_auth_handler_negotiate.cc',
805 'base/cert_database_nss.cc',
806 'base/crypto_module_nss.cc',
807 'base/dnssec_keyset.cc',
808 'base/dnssec_keyset.h',
809 'base/keygen_handler_nss.cc',
812 'base/test_root_certs_nss.cc',
813 'base/x509_certificate_nss.cc',
814 'base/x509_util_nss.cc',
815 'base/x509_util_nss.h',
818 'socket/nss_ssl_util.cc',
819 'socket/nss_ssl_util.h',
820 'socket/ssl_client_socket_nss.cc',
821 'socket/ssl_client_socket_nss.h',
822 'socket/ssl_server_socket_nss.cc',
823 'socket/ssl_server_socket_nss.h',
824 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
825 'third_party/mozilla_security_manager/nsKeygenHandler.h',
826 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
827 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
828 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
829 'third_party/mozilla_security_manager/nsNSSCertTrust.h',
830 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
831 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
834 { # else !use_openssl: remove the unneeded files
836 'base/cert_database_openssl.cc',
837 'base/crypto_module_openssl.cc',
838 'base/keygen_handler_openssl.cc',
839 'base/openssl_memory_private_key_store.cc',
840 'base/openssl_private_key_store.h',
841 'base/test_root_certs_openssl.cc',
842 'base/x509_certificate_openssl.cc',
843 'base/x509_util_openssl.cc',
844 'base/x509_util_openssl.h',
845 'socket/ssl_client_socket_openssl.cc',
846 'socket/ssl_client_socket_openssl.h',
847 'socket/ssl_server_socket_openssl.cc',
853 '../build/linux/system.gyp:gconf',
854 '../build/linux/system.gyp:gio',
859 '../third_party/openssl/openssl.gyp:openssl',
862 { # else use_openssl==0, use NSS
864 '../build/linux/system.gyp:ssl',
869 'base/network_change_notifier_linux.cc',
870 'base/network_change_notifier_netlink_linux.cc',
871 'proxy/proxy_config_service_linux.cc',
875 '../build/linux/system.gyp:libresolv',
887 { # else: OS is not in the above list
889 'base/cert_database_nss.cc',
890 'base/crypto_module_nss.cc',
891 'base/keygen_handler_nss.cc',
892 'base/test_root_certs_nss.cc',
893 'base/x509_certificate_nss.cc',
896 'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
897 'third_party/mozilla_security_manager/nsKeygenHandler.h',
898 'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
899 'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
900 'third_party/mozilla_security_manager/nsNSSCertTrust.cpp',
901 'third_party/mozilla_security_manager/nsNSSCertTrust.h',
902 'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
903 'third_party/mozilla_security_manager/nsPKCS12Blob.h',
907 [ 'toolkit_uses_gtk == 1', {
909 '../build/linux/system.gyp:gdk',
914 'http/http_auth_handler_ntlm_portable.cc',
915 'socket/tcp_client_socket_libevent.cc',
916 'socket/tcp_client_socket_libevent.h',
917 'socket/tcp_server_socket_libevent.cc',
918 'socket/tcp_server_socket_libevent.h',
919 'udp/udp_socket_libevent.cc',
920 'udp/udp_socket_libevent.h',
923 '../third_party/nss/nss.gyp:nspr',
924 '../third_party/nss/nss.gyp:nss',
925 'third_party/nss/ssl.gyp:libssl',
928 }, { # else: OS != "win"
930 'base/winsock_init.cc',
931 'base/winsock_init.h',
932 'base/winsock_util.cc',
933 'base/winsock_util.h',
934 'proxy/proxy_resolver_winhttp.cc',
935 'proxy/proxy_resolver_winhttp.h',
941 '../third_party/nss/nss.gyp:nspr',
942 '../third_party/nss/nss.gyp:nss',
943 'third_party/nss/ssl.gyp:libssl',
947 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
948 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
949 '$(SDKROOT)/usr/lib/libresolv.dylib',
954 [ 'OS == "android"', {
956 # Android can shut down our app at any time, so we persist session cookies.
957 'ENABLE_PERSISTENT_SESSION_COOKIES'
960 '../build/android/system.gyp:ssl',
963 # TODO(jingzhao): The below files are excluded because of the
964 # missing JNI, add them back when JNI is ready.
965 ['exclude', '^android/'],
967 }, { # else OS! = "android"
969 # These are the features Android doesn't support.
970 'ENABLE_MEDIA_CODEC_THEORA',
971 'ENABLE_MEDIA_TYPE_OGG',
977 '../build/linux/system.gyp:dbus',
978 '../dbus/dbus.gyp:dbus',
983 'target_conditions': [
984 ['OS == "android"', {
986 ['include', '^base/platform_mime_util_linux\\.cc$'],
992 'target_name': 'net_unittests',
993 'type': 'executable',
997 '../base/base.gyp:base',
998 '../base/base.gyp:base_i18n',
999 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1000 '../build/temp_gyp/googleurl.gyp:googleurl',
1001 '../crypto/crypto.gyp:crypto',
1002 '../testing/gmock.gyp:gmock',
1003 '../testing/gtest.gyp:gtest',
1004 '../third_party/zlib/zlib.gyp:zlib',
1007 'base/address_list_unittest.cc',
1008 'base/backoff_entry_unittest.cc',
1009 'base/big_endian_unittest.cc',
1010 'base/cert_database_nss_unittest.cc',
1011 'base/cert_verifier_unittest.cc',
1012 'base/cookie_monster_unittest.cc',
1013 'base/cookie_store_unittest.h',
1014 'base/cookie_util_unittest.cc',
1015 'base/crl_set_unittest.cc',
1016 'base/data_url_unittest.cc',
1017 'base/default_origin_bound_cert_store_unittest.cc',
1018 'base/directory_lister_unittest.cc',
1019 'base/dnssec_unittest.cc',
1020 'base/dns_util_unittest.cc',
1021 'base/dnsrr_resolver_unittest.cc',
1022 'base/escape_unittest.cc',
1023 'base/file_stream_unittest.cc',
1024 'base/filter_unittest.cc',
1025 'base/gzip_filter_unittest.cc',
1026 'base/host_cache_unittest.cc',
1027 'base/host_mapping_rules_unittest.cc',
1028 'base/host_port_pair_unittest.cc',
1029 'base/host_resolver_impl_unittest.cc',
1030 'base/ip_endpoint_unittest.cc',
1031 'base/keygen_handler_unittest.cc',
1032 'base/listen_socket_unittest.cc',
1033 'base/listen_socket_unittest.h',
1034 'base/mapped_host_resolver_unittest.cc',
1035 'base/mime_sniffer_unittest.cc',
1036 'base/mime_util_unittest.cc',
1037 'base/mock_filter_context.cc',
1038 'base/mock_filter_context.h',
1039 'base/net_log_unittest.cc',
1040 'base/net_log_unittest.h',
1041 'base/net_util_unittest.cc',
1042 'base/network_change_notifier_linux_unittest.cc',
1043 'base/network_change_notifier_win_unittest.cc',
1044 'base/origin_bound_cert_service_unittest.cc',
1045 'base/pem_tokenizer_unittest.cc',
1046 'base/prioritized_dispatcher_unittest.cc',
1047 'base/priority_queue_unittest.cc',
1048 'base/registry_controlled_domain_unittest.cc',
1049 'base/run_all_unittests.cc',
1050 'base/sdch_filter_unittest.cc',
1051 'base/single_request_host_resolver_unittest.cc',
1052 'base/ssl_cipher_suite_names_unittest.cc',
1053 'base/ssl_client_auth_cache_unittest.cc',
1054 'base/ssl_config_service_unittest.cc',
1055 'base/ssl_false_start_blacklist_unittest.cc',
1056 'base/static_cookie_policy_unittest.cc',
1057 'base/test_certificate_data.h',
1058 'base/test_completion_callback_unittest.cc',
1059 'base/transport_security_state_unittest.cc',
1060 'base/upload_data_unittest.cc',
1061 'base/upload_data_stream_unittest.cc',
1062 'base/x509_certificate_unittest.cc',
1063 'base/x509_cert_types_unittest.cc',
1064 'base/x509_util_nss_unittest.cc',
1065 'base/x509_util_openssl_unittest.cc',
1066 'disk_cache/addr_unittest.cc',
1067 'disk_cache/backend_unittest.cc',
1068 'disk_cache/bitmap_unittest.cc',
1069 'disk_cache/block_files_unittest.cc',
1070 'disk_cache/cache_util_unittest.cc',
1071 'disk_cache/entry_unittest.cc',
1072 'disk_cache/mapped_file_unittest.cc',
1073 'disk_cache/storage_block_unittest.cc',
1074 'dns/dns_config_service_posix_unittest.cc',
1075 'dns/dns_config_service_unittest.cc',
1076 'dns/dns_config_service_win_unittest.cc',
1077 'dns/dns_hosts_unittest.cc',
1078 'dns/dns_query_unittest.cc',
1079 'dns/dns_response_unittest.cc',
1080 'dns/dns_transaction_unittest.cc',
1081 'dns/serial_worker_unittest.cc',
1082 'dns/watching_file_reader_unittest.cc',
1083 'ftp/ftp_auth_cache_unittest.cc',
1084 'ftp/ftp_ctrl_response_buffer_unittest.cc',
1085 'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1086 'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1087 'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1088 'ftp/ftp_directory_listing_parser_unittest.cc',
1089 'ftp/ftp_directory_listing_parser_unittest.h',
1090 'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1091 'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1092 'ftp/ftp_network_transaction_unittest.cc',
1093 'ftp/ftp_util_unittest.cc',
1094 'http/des_unittest.cc',
1095 'http/disk_cache_based_ssl_host_info_unittest.cc',
1096 'http/http_auth_cache_unittest.cc',
1097 'http/http_auth_controller_unittest.cc',
1098 'http/http_auth_filter_unittest.cc',
1099 'http/http_auth_gssapi_posix_unittest.cc',
1100 'http/http_auth_handler_basic_unittest.cc',
1101 'http/http_auth_handler_digest_unittest.cc',
1102 'http/http_auth_handler_factory_unittest.cc',
1103 'http/http_auth_handler_mock.cc',
1104 'http/http_auth_handler_mock.h',
1105 'http/http_auth_handler_negotiate_unittest.cc',
1106 'http/http_auth_handler_unittest.cc',
1107 'http/http_auth_sspi_win_unittest.cc',
1108 'http/http_auth_unittest.cc',
1109 'http/http_byte_range_unittest.cc',
1110 'http/http_cache_unittest.cc',
1111 'http/http_chunked_decoder_unittest.cc',
1112 'http/http_content_disposition_unittest.cc',
1113 'http/http_mac_signature_unittest.cc',
1114 'http/http_network_layer_unittest.cc',
1115 'http/http_network_transaction_unittest.cc',
1116 'http/http_pipelined_connection_impl_unittest.cc',
1117 'http/http_pipelined_host_impl_unittest.cc',
1118 'http/http_pipelined_host_pool_unittest.cc',
1119 'http/http_pipelined_network_transaction_unittest.cc',
1120 'http/http_proxy_client_socket_pool_unittest.cc',
1121 'http/http_request_headers_unittest.cc',
1122 'http/http_response_body_drainer_unittest.cc',
1123 'http/http_response_headers_unittest.cc',
1124 'http/http_server_properties_impl_unittest.cc',
1125 'http/http_stream_factory_impl_unittest.cc',
1126 'http/http_stream_parser_unittest.cc',
1127 'http/http_transaction_unittest.cc',
1128 'http/http_transaction_unittest.h',
1129 'http/http_util_unittest.cc',
1130 'http/http_vary_data_unittest.cc',
1131 'http/mock_allow_url_security_manager.cc',
1132 'http/mock_allow_url_security_manager.h',
1133 'http/mock_gssapi_library_posix.cc',
1134 'http/mock_gssapi_library_posix.h',
1135 'http/mock_http_cache.cc',
1136 'http/mock_http_cache.h',
1137 'http/mock_sspi_library_win.h',
1138 'http/mock_sspi_library_win.cc',
1139 'http/url_security_manager_unittest.cc',
1140 'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1141 'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1142 'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1143 'proxy/multi_threaded_proxy_resolver_unittest.cc',
1144 'proxy/network_delegate_error_observer_unittest.cc',
1145 'proxy/proxy_bypass_rules_unittest.cc',
1146 'proxy/proxy_config_service_linux_unittest.cc',
1147 'proxy/proxy_config_service_win_unittest.cc',
1148 'proxy/proxy_config_unittest.cc',
1149 'proxy/proxy_list_unittest.cc',
1150 'proxy/proxy_resolver_js_bindings_unittest.cc',
1151 'proxy/proxy_resolver_v8_unittest.cc',
1152 'proxy/proxy_script_decider_unittest.cc',
1153 'proxy/proxy_script_fetcher_impl_unittest.cc',
1154 'proxy/proxy_server_unittest.cc',
1155 'proxy/proxy_service_unittest.cc',
1156 'proxy/sync_host_resolver_bridge_unittest.cc',
1157 'socket/client_socket_pool_base_unittest.cc',
1158 'socket/deterministic_socket_data_unittest.cc',
1159 'socket/mock_client_socket_pool_manager.cc',
1160 'socket/mock_client_socket_pool_manager.h',
1161 'socket/socks5_client_socket_unittest.cc',
1162 'socket/socks_client_socket_pool_unittest.cc',
1163 'socket/socks_client_socket_unittest.cc',
1164 'socket/ssl_client_socket_pool_unittest.cc',
1165 'socket/ssl_client_socket_unittest.cc',
1166 'socket/ssl_server_socket_unittest.cc',
1167 'socket/tcp_client_socket_unittest.cc',
1168 'socket/tcp_server_socket_unittest.cc',
1169 'socket/transport_client_socket_pool_unittest.cc',
1170 'socket/transport_client_socket_unittest.cc',
1171 'socket/web_socket_server_socket_unittest.cc',
1172 'socket_stream/socket_stream_metrics_unittest.cc',
1173 'socket_stream/socket_stream_unittest.cc',
1174 'spdy/buffered_spdy_framer_unittest.cc',
1175 'spdy/spdy_credential_state_unittest.cc',
1176 'spdy/spdy_framer_test.cc',
1177 'spdy/spdy_http_stream_unittest.cc',
1178 'spdy/spdy_network_transaction_unittest.cc',
1179 'spdy/spdy_protocol_test.cc',
1180 'spdy/spdy_proxy_client_socket_unittest.cc',
1181 'spdy/spdy_session_unittest.cc',
1182 'spdy/spdy_stream_unittest.cc',
1183 'spdy/spdy_test_util.cc',
1184 'spdy/spdy_test_util.h',
1185 'spdy/spdy_websocket_stream_unittest.cc',
1186 'spdy/spdy_websocket_test_util.cc',
1187 'spdy/spdy_websocket_test_util.h',
1188 'test/python_utils_unittest.cc',
1189 'tools/dump_cache/url_to_filename_encoder.cc',
1190 'tools/dump_cache/url_to_filename_encoder.h',
1191 'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1192 'tools/dump_cache/url_utilities.h',
1193 'tools/dump_cache/url_utilities.cc',
1194 'tools/dump_cache/url_utilities_unittest.cc',
1195 'udp/udp_socket_unittest.cc',
1196 'url_request/url_request_job_factory_unittest.cc',
1197 'url_request/url_request_job_unittest.cc',
1198 'url_request/url_request_throttler_simulation_unittest.cc',
1199 'url_request/url_request_throttler_test_support.cc',
1200 'url_request/url_request_throttler_test_support.h',
1201 'url_request/url_request_throttler_unittest.cc',
1202 'url_request/url_request_unittest.cc',
1203 'url_request/view_cache_helper_unittest.cc',
1204 'websockets/websocket_handshake_handler_unittest.cc',
1205 'websockets/websocket_job_unittest.cc',
1206 'websockets/websocket_net_log_params_unittest.cc',
1207 'websockets/websocket_throttle_unittest.cc',
1212 'proxy/proxy_config_service_linux_unittest.cc',
1215 [ 'use_glib == 1', {
1217 '../build/linux/system.gyp:ssl',
1219 }, { # else: OS is not in the above list
1221 'base/cert_database_nss_unittest.cc',
1225 [ 'toolkit_uses_gtk == 1', {
1227 '../build/linux/system.gyp:gtk',
1231 [ 'os_posix == 1 and OS != "mac" and OS != "android"', {
1233 ['linux_use_tcmalloc==1', {
1235 '../base/allocator/allocator.gyp:allocator',
1240 [ 'use_kerberos==1', {
1244 }, { # use_kerberos == 0
1246 'http/http_auth_gssapi_posix_unittest.cc',
1247 'http/http_auth_handler_negotiate_unittest.cc',
1248 'http/mock_gssapi_library_posix.cc',
1249 'http/mock_gssapi_library_posix.h',
1252 [ 'use_openssl==1', {
1253 # When building for OpenSSL, we need to exclude NSS specific tests.
1254 # TODO(bulach): Add equivalent tests when the underlying
1255 # functionality is ported to OpenSSL.
1257 'base/x509_util_nss_unittest.cc',
1258 'base/cert_database_nss_unittest.cc',
1259 'base/dnssec_unittest.cc',
1261 }, { # else !use_openssl: remove the unneeded files
1263 'base/x509_util_openssl_unittest.cc',
1269 'dns/dns_config_service_posix_unittest.cc',
1270 'http/http_auth_gssapi_posix_unittest.cc',
1272 # This is needed to trigger the dll copy step on windows.
1273 # TODO(mark): Specifying this here shouldn't be necessary.
1275 '../third_party/icu/icu.gyp:icudata',
1276 '../third_party/nss/nss.gyp:nspr',
1277 '../third_party/nss/nss.gyp:nss',
1278 'third_party/nss/ssl.gyp:libssl',
1284 '../third_party/nss/nss.gyp:nspr',
1285 '../third_party/nss/nss.gyp:nss',
1286 'third_party/nss/ssl.gyp:libssl',
1290 [ 'OS == "linux"', {
1292 '../build/linux/system.gyp:dbus',
1293 '../dbus/dbus.gyp:dbus_test_support',
1297 [ 'OS == "android"', {
1299 '../build/android/system.gyp:ssl',
1302 'dns/dns_config_service_posix_unittest.cc',
1306 [ 'OS != "win" and OS != "mac"', {
1308 'base/x509_cert_types_unittest.cc',
1314 'target_name': 'net_perftests',
1315 'type': 'executable',
1319 '../base/base.gyp:base',
1320 '../base/base.gyp:base_i18n',
1321 '../base/base.gyp:test_support_perf',
1322 '../build/temp_gyp/googleurl.gyp:googleurl',
1323 '../testing/gtest.gyp:gtest',
1326 'base/cookie_monster_perftest.cc',
1327 'disk_cache/disk_cache_perftest.cc',
1328 'proxy/proxy_resolver_perftest.cc',
1331 # This is needed to trigger the dll copy step on windows.
1332 # TODO(mark): Specifying this here shouldn't be necessary.
1335 '../third_party/icu/icu.gyp:icudata',
1342 'target_name': 'stress_cache',
1343 'type': 'executable',
1347 '../base/base.gyp:base',
1350 'disk_cache/stress_cache.cc',
1354 'target_name': 'tld_cleanup',
1355 'type': 'executable',
1357 '../base/base.gyp:base',
1358 '../base/base.gyp:base_i18n',
1359 '../build/temp_gyp/googleurl.gyp:googleurl',
1362 'tools/tld_cleanup/tld_cleanup.cc',
1366 'target_name': 'crash_cache',
1367 'type': 'executable',
1371 '../base/base.gyp:base',
1374 'tools/crash_cache/crash_cache.cc',
1378 'target_name': 'run_testserver',
1379 'type': 'executable',
1383 '../base/base.gyp:base',
1384 '../build/temp_gyp/googleurl.gyp:googleurl',
1385 '../testing/gtest.gyp:gtest',
1388 'tools/testserver/run_testserver.cc',
1392 'target_name': 'net_test_support',
1393 'type': 'static_library',
1396 '../base/base.gyp:base',
1397 '../base/base.gyp:test_support_base',
1398 '../testing/gtest.gyp:gtest',
1401 'base/cert_test_util.cc',
1402 'base/cert_test_util.h',
1403 'base/cookie_monster_store_test.cc',
1404 'base/cookie_monster_store_test.h',
1405 'base/cookie_store_test_callbacks.cc',
1406 'base/cookie_store_test_callbacks.h',
1407 'base/cookie_store_test_helpers.cc',
1408 'base/cookie_store_test_helpers.h',
1409 'base/mock_file_stream.cc',
1410 'base/mock_file_stream.h',
1411 'base/mock_host_resolver.cc',
1412 'base/mock_host_resolver.h',
1413 'base/net_test_suite.cc',
1414 'base/net_test_suite.h',
1415 'base/test_completion_callback.cc',
1416 'base/test_completion_callback.h',
1417 'disk_cache/disk_cache_test_base.cc',
1418 'disk_cache/disk_cache_test_base.h',
1419 'disk_cache/disk_cache_test_util.cc',
1420 'disk_cache/disk_cache_test_util.h',
1421 'dns/dns_test_util.h',
1422 'proxy/mock_proxy_resolver.cc',
1423 'proxy/mock_proxy_resolver.h',
1424 'proxy/mock_proxy_script_fetcher.cc',
1425 'proxy/mock_proxy_script_fetcher.h',
1426 'proxy/proxy_config_service_common_unittest.cc',
1427 'proxy/proxy_config_service_common_unittest.h',
1428 'socket/socket_test_util.cc',
1429 'socket/socket_test_util.h',
1430 'test/python_utils.cc',
1431 'test/python_utils.h',
1432 'test/test_server.cc',
1433 'test/test_server_posix.cc',
1434 'test/test_server_win.cc',
1435 'test/test_server.h',
1436 'url_request/url_request_test_util.cc',
1437 'url_request/url_request_test_util.h',
1440 ['inside_chromium_build==1', {
1442 '../chrome/app/policy/cloud_policy_codegen.gyp:cloud_policy_proto_compile',
1443 # The test server uses Python modules generated by the sync protos.
1444 '../chrome/browser/sync/protocol/sync_proto.gyp:sync_proto',
1445 '../third_party/protobuf/protobuf.gyp:py_proto',
1448 ['os_posix == 1 and OS != "mac" and OS != "android"', {
1450 ['use_openssl==1', {
1452 '../third_party/openssl/openssl.gyp:openssl',
1456 '../build/linux/system.gyp:ssl',
1461 ['os_posix == 1 and OS != "mac" and OS != "android"', {
1463 ['linux_use_tcmalloc==1', {
1465 '../base/allocator/allocator.gyp:allocator',
1473 'target_name': 'net_resources',
1476 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
1480 'action_name': 'net_resources',
1482 'grit_grd_file': 'base/net_resources.grd',
1484 'includes': [ '../build/grit_action.gypi' ],
1487 'includes': [ '../build/grit_target.gypi' ],
1490 'target_name': 'fetch_client',
1491 'type': 'executable',
1492 'variables': { 'enable_wexit_time_destructors': 1, },
1495 '../base/base.gyp:base',
1496 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1497 '../build/temp_gyp/googleurl.gyp:googleurl',
1498 '../testing/gtest.gyp:gtest',
1501 'tools/fetch/fetch_client.cc',
1505 'target_name': 'fetch_server',
1506 'type': 'executable',
1507 'variables': { 'enable_wexit_time_destructors': 1, },
1510 '../base/base.gyp:base',
1511 '../build/temp_gyp/googleurl.gyp:googleurl',
1514 'tools/fetch/fetch_server.cc',
1515 'tools/fetch/http_listen_socket.cc',
1516 'tools/fetch/http_listen_socket.h',
1517 'tools/fetch/http_server.cc',
1518 'tools/fetch/http_server.h',
1519 'tools/fetch/http_server_request_info.cc',
1520 'tools/fetch/http_server_request_info.h',
1521 'tools/fetch/http_server_response_info.cc',
1522 'tools/fetch/http_server_response_info.h',
1523 'tools/fetch/http_session.cc',
1524 'tools/fetch/http_session.h',
1528 'target_name': 'http_server',
1529 'type': 'static_library',
1530 'variables': { 'enable_wexit_time_destructors': 1, },
1533 '../base/base.gyp:base',
1536 'server/http_connection.cc',
1537 'server/http_connection.h',
1538 'server/http_server.cc',
1539 'server/http_server.h',
1540 'server/http_server_request_info.cc',
1541 'server/http_server_request_info.h',
1542 'server/web_socket.cc',
1543 'server/web_socket.h',
1547 'target_name': 'dnssec_chain_verify',
1548 'type': 'executable',
1551 '../base/base.gyp:base',
1554 'tools/dnssec_chain_verify/dnssec_chain_verify.cc',
1558 'target_name': 'crl_set_dump',
1559 'type': 'executable',
1562 '../base/base.gyp:base',
1565 'tools/crl_set_dump/crl_set_dump.cc',
1569 'target_name': 'ssl_false_start_blacklist_process',
1570 'type': 'executable',
1571 'toolsets': ['host'],
1573 '../base/base.gyp:base',
1574 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1580 'base/ssl_false_start_blacklist_process.cc',
1581 'base/ssl_false_start_blacklist.h',
1584 ['OS == "android" and host_os == "linux"', {
1593 ['os_posix == 1 and OS != "mac" and OS != "android"', {
1596 'target_name': 'flip_in_mem_edsm_server',
1597 'type': 'executable',
1602 '../base/base.gyp:base',
1604 '../third_party/openssl/openssl.gyp:openssl',
1607 'tools/dump_cache/url_to_filename_encoder.cc',
1608 'tools/dump_cache/url_to_filename_encoder.h',
1609 'tools/dump_cache/url_utilities.h',
1610 'tools/dump_cache/url_utilities.cc',
1612 'tools/flip_server/acceptor_thread.h',
1613 'tools/flip_server/acceptor_thread.cc',
1614 'tools/flip_server/balsa_enums.h',
1615 'tools/flip_server/balsa_frame.cc',
1616 'tools/flip_server/balsa_frame.h',
1617 'tools/flip_server/balsa_headers.cc',
1618 'tools/flip_server/balsa_headers.h',
1619 'tools/flip_server/balsa_headers_token_utils.cc',
1620 'tools/flip_server/balsa_headers_token_utils.h',
1621 'tools/flip_server/balsa_visitor_interface.h',
1622 'tools/flip_server/buffer_interface.h',
1623 'tools/flip_server/constants.h',
1624 'tools/flip_server/create_listener.cc',
1625 'tools/flip_server/create_listener.h',
1626 'tools/flip_server/epoll_server.cc',
1627 'tools/flip_server/epoll_server.h',
1628 'tools/flip_server/flip_config.cc',
1629 'tools/flip_server/flip_config.h',
1630 'tools/flip_server/flip_in_mem_edsm_server.cc',
1631 'tools/flip_server/http_interface.cc',
1632 'tools/flip_server/http_interface.h',
1633 'tools/flip_server/http_message_constants.cc',
1634 'tools/flip_server/http_message_constants.h',
1635 'tools/flip_server/loadtime_measurement.h',
1636 'tools/flip_server/mem_cache.h',
1637 'tools/flip_server/mem_cache.cc',
1638 'tools/flip_server/output_ordering.cc',
1639 'tools/flip_server/output_ordering.h',
1640 'tools/flip_server/ring_buffer.cc',
1641 'tools/flip_server/ring_buffer.h',
1642 'tools/flip_server/simple_buffer.cc',
1643 'tools/flip_server/simple_buffer.h',
1644 'tools/flip_server/sm_connection.cc',
1645 'tools/flip_server/sm_connection.h',
1646 'tools/flip_server/sm_interface.h',
1647 'tools/flip_server/split.h',
1648 'tools/flip_server/split.cc',
1649 'tools/flip_server/spdy_ssl.cc',
1650 'tools/flip_server/spdy_ssl.h',
1651 'tools/flip_server/spdy_interface.cc',
1652 'tools/flip_server/spdy_interface.h',
1653 'tools/flip_server/spdy_util.cc',
1654 'tools/flip_server/spdy_util.h',
1655 'tools/flip_server/streamer_interface.cc',
1656 'tools/flip_server/streamer_interface.h',
1657 'tools/flip_server/string_piece_utils.h',
1661 'target_name': 'curvecp',
1662 'type': 'static_library',
1663 'variables': { 'enable_wexit_time_destructors': 1, },
1665 '../base/base.gyp:base',
1669 'curvecp/circular_buffer.cc',
1670 'curvecp/circular_buffer.h',
1671 'curvecp/client_packetizer.cc',
1672 'curvecp/client_packetizer.h',
1673 'curvecp/connection_key.cc',
1674 'curvecp/connection_key.h',
1675 'curvecp/curvecp_client_socket.cc',
1676 'curvecp/curvecp_client_socket.h',
1677 'curvecp/curvecp_server_socket.cc',
1678 'curvecp/curvecp_server_socket.h',
1679 'curvecp/messenger.h',
1680 'curvecp/messenger.cc',
1681 'curvecp/packetizer.h',
1682 'curvecp/protocol.cc',
1683 'curvecp/protocol.h',
1684 'curvecp/received_block_list.cc',
1685 'curvecp/received_block_list.h',
1686 'curvecp/rtt_and_send_rate_calculator.cc',
1687 'curvecp/rtt_and_send_rate_calculator.h',
1688 'curvecp/sent_block_list.cc',
1689 'curvecp/sent_block_list.h',
1690 'curvecp/server_messenger.cc',
1691 'curvecp/server_messenger.h',
1692 'curvecp/server_packetizer.cc',
1693 'curvecp/server_packetizer.h',
1697 'target_name': 'curvecp_unittests',
1698 'type': 'executable',
1700 '../base/base.gyp:base',
1704 '../testing/gmock.gyp:gmock',
1705 '../testing/gtest.gyp:gtest',
1706 '../third_party/zlib/zlib.gyp:zlib',
1709 'curvecp/curvecp_transfer_unittest.cc',
1710 'curvecp/test_client.cc',
1711 'curvecp/test_server.cc',
1719 # TODO(port): dump_cache is still Windows-specific.
1720 'target_name': 'dump_cache',
1721 'type': 'executable',
1725 '../base/base.gyp:base',
1728 'tools/dump_cache/cache_dumper.cc',
1729 'tools/dump_cache/cache_dumper.h',
1730 'tools/dump_cache/dump_cache.cc',
1731 'tools/dump_cache/dump_files.cc',
1732 'tools/dump_cache/upgrade.cc',
1733 'tools/dump_cache/url_to_filename_encoder.cc',
1734 'tools/dump_cache/url_to_filename_encoder.h',
1735 'tools/dump_cache/url_utilities.h',
1736 'tools/dump_cache/url_utilities.cc',