Revert "Removed the experimental flag for Chromecast support and the corresponding...
[chromium-blink-merge.git] / net / net.gyp
blobfcc5544184fe718deb66d9bf61f260ed345927d7
1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
9     'linux_link_kerberos%': 0,
10     'use_tracing_cache_backend%': 0,
11     'conditions': [
12       ['chromeos==1 or OS=="android" or OS=="ios"', {
13         # Disable Kerberos on ChromeOS, Android and iOS, at least for now.
14         # It needs configuration (krb5.conf and so on).
15         'use_kerberos%': 0,
16       }, {  # chromeos == 0
17         'use_kerberos%': 1,
18       }],
19       ['OS=="android" and target_arch != "ia32"', {
20         # The way the cache uses mmap() is inefficient on some Android devices.
21         # If this flag is set, we hackily avoid using mmap() in the disk cache.
22         # We are pretty confident that mmap-ing the index would not hurt any
23         # existing x86 android devices, but we cannot be so sure about the
24         # variety of ARM devices. So enable it for x86 only for now.
25         'posix_avoid_mmap%': 1,
26       }, {
27         'posix_avoid_mmap%': 0,
28       }],
29       ['OS=="ios"', {
30         # Websockets and socket stream are not used on iOS.
31         'enable_websockets%': 0,
32         # iOS does not use V8.
33         'use_v8_in_net%': 0,
34         'enable_built_in_dns%': 0,
35       }, {
36         'enable_websockets%': 1,
37         'use_v8_in_net%': 1,
38         'enable_built_in_dns%': 1,
39       }],
40     ],
41   },
42   'includes': [
43     '../build/win_precompile.gypi',
44   ],
45   'targets': [
46     {
47       'target_name': 'net',
48       'type': '<(component)',
49       'variables': { 'enable_wexit_time_destructors': 1, },
50       'dependencies': [
51         '../base/base.gyp:base',
52         '../base/base.gyp:base_i18n',
53         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
54         '../crypto/crypto.gyp:crypto',
55         '../sdch/sdch.gyp:sdch',
56         '../third_party/icu/icu.gyp:icui18n',
57         '../third_party/icu/icu.gyp:icuuc',
58         '../third_party/zlib/zlib.gyp:zlib',
59         '../url/url.gyp:url_lib',
60         'net_resources',
61       ],
62       'sources': [
63         'android/cert_verify_result_android.h',
64         'android/cert_verify_result_android_list.h',
65         'android/gurl_utils.cc',
66         'android/gurl_utils.h',
67         'android/keystore.cc',
68         'android/keystore.h',
69         'android/keystore_openssl.cc',
70         'android/keystore_openssl.h',
71         'android/net_jni_registrar.cc',
72         'android/net_jni_registrar.h',
73         'android/network_change_notifier_android.cc',
74         'android/network_change_notifier_android.h',
75         'android/network_change_notifier_delegate_android.cc',
76         'android/network_change_notifier_delegate_android.h',
77         'android/network_change_notifier_factory_android.cc',
78         'android/network_change_notifier_factory_android.h',
79         'android/network_library.cc',
80         'android/network_library.h',
81         'base/address_family.h',
82         'base/address_list.cc',
83         'base/address_list.h',
84         'base/address_tracker_linux.cc',
85         'base/address_tracker_linux.h',
86         'base/auth.cc',
87         'base/auth.h',
88         'base/backoff_entry.cc',
89         'base/backoff_entry.h',
90         'base/bandwidth_metrics.cc',
91         'base/bandwidth_metrics.h',
92         'base/big_endian.cc',
93         'base/big_endian.h',
94         'base/cache_type.h',
95         'base/completion_callback.h',
96         'base/connection_type_histograms.cc',
97         'base/connection_type_histograms.h',
98         'base/crypto_module.h',
99         'base/crypto_module_nss.cc',
100         'base/crypto_module_openssl.cc',
101         'base/data_url.cc',
102         'base/data_url.h',
103         'base/directory_lister.cc',
104         'base/directory_lister.h',
105         'base/dns_reloader.cc',
106         'base/dns_reloader.h',
107         'base/dns_util.cc',
108         'base/dns_util.h',
109         'base/escape.cc',
110         'base/escape.h',
111         'base/expiring_cache.h',
112         'base/file_stream.cc',
113         'base/file_stream.h',
114         'base/file_stream_context.cc',
115         'base/file_stream_context.h',
116         'base/file_stream_context_posix.cc',
117         'base/file_stream_context_win.cc',
118         'base/file_stream_metrics.cc',
119         'base/file_stream_metrics.h',
120         'base/file_stream_metrics_posix.cc',
121         'base/file_stream_metrics_win.cc',
122         'base/file_stream_net_log_parameters.cc',
123         'base/file_stream_net_log_parameters.h',
124         'base/file_stream_whence.h',
125         'base/filter.cc',
126         'base/filter.h',
127         'base/int128.cc',
128         'base/int128.h',
129         'base/gzip_filter.cc',
130         'base/gzip_filter.h',
131         'base/gzip_header.cc',
132         'base/gzip_header.h',
133         'base/hash_value.cc',
134         'base/hash_value.h',
135         'base/host_mapping_rules.cc',
136         'base/host_mapping_rules.h',
137         'base/host_port_pair.cc',
138         'base/host_port_pair.h',
139         'base/io_buffer.cc',
140         'base/io_buffer.h',
141         'base/iovec.h',
142         'base/ip_endpoint.cc',
143         'base/ip_endpoint.h',
144         'base/keygen_handler.cc',
145         'base/keygen_handler.h',
146         'base/keygen_handler_mac.cc',
147         'base/keygen_handler_nss.cc',
148         'base/keygen_handler_openssl.cc',
149         'base/keygen_handler_win.cc',
150         'base/linked_hash_map.h',
151         'base/load_flags.h',
152         'base/load_flags_list.h',
153         'base/load_states.h',
154         'base/load_states_list.h',
155         'base/load_timing_info.cc',
156         'base/load_timing_info.h',
157         'base/mime_sniffer.cc',
158         'base/mime_sniffer.h',
159         'base/mime_util.cc',
160         'base/mime_util.h',
161         'base/net_error_list.h',
162         'base/net_errors.cc',
163         'base/net_errors.h',
164         'base/net_errors_posix.cc',
165         'base/net_errors_win.cc',
166         'base/net_export.h',
167         'base/net_log.cc',
168         'base/net_log.h',
169         'base/net_log_logger.cc',
170         'base/net_log_logger.h',
171         'base/net_log_event_type_list.h',
172         'base/net_log_source_type_list.h',
173         'base/net_module.cc',
174         'base/net_module.h',
175         'base/net_util.cc',
176         'base/net_util.h',
177         'base/net_util_posix.cc',
178         'base/net_util_win.cc',
179         'base/network_change_notifier.cc',
180         'base/network_change_notifier.h',
181         'base/network_change_notifier_factory.h',
182         'base/network_change_notifier_linux.cc',
183         'base/network_change_notifier_linux.h',
184         'base/network_change_notifier_mac.cc',
185         'base/network_change_notifier_mac.h',
186         'base/network_change_notifier_win.cc',
187         'base/network_change_notifier_win.h',
188         'base/network_config_watcher_mac.cc',
189         'base/network_config_watcher_mac.h',
190         'base/network_delegate.cc',
191         'base/network_delegate.h',
192         'base/network_time_notifier.cc',
193         'base/network_time_notifier.h',
194         'base/nss_memio.c',
195         'base/nss_memio.h',
196         'base/openssl_private_key_store.h',
197         'base/openssl_private_key_store_android.cc',
198         'base/openssl_private_key_store_memory.cc',
199         'base/platform_mime_util.h',
200         # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
201         'base/platform_mime_util_linux.cc',
202         'base/platform_mime_util_mac.mm',
203         'base/platform_mime_util_win.cc',
204         'base/prioritized_dispatcher.cc',
205         'base/prioritized_dispatcher.h',
206         'base/priority_queue.h',
207         'base/rand_callback.h',
208         'base/registry_controlled_domains/registry_controlled_domain.cc',
209         'base/registry_controlled_domains/registry_controlled_domain.h',
210         'base/request_priority.h',
211         'base/sdch_filter.cc',
212         'base/sdch_filter.h',
213         'base/sdch_manager.cc',
214         'base/sdch_manager.h',
215         'base/static_cookie_policy.cc',
216         'base/static_cookie_policy.h',
217         'base/sys_addrinfo.h',
218         'base/test_data_stream.cc',
219         'base/test_data_stream.h',
220         'base/upload_bytes_element_reader.cc',
221         'base/upload_bytes_element_reader.h',
222         'base/upload_data.cc',
223         'base/upload_data.h',
224         'base/upload_data_stream.cc',
225         'base/upload_data_stream.h',
226         'base/upload_element.cc',
227         'base/upload_element.h',
228         'base/upload_element_reader.cc',
229         'base/upload_element_reader.h',
230         'base/upload_file_element_reader.cc',
231         'base/upload_file_element_reader.h',
232         'base/upload_progress.h',
233         'base/url_util.cc',
234         'base/url_util.h',
235         'base/winsock_init.cc',
236         'base/winsock_init.h',
237         'base/winsock_util.cc',
238         'base/winsock_util.h',
239         'base/zap.cc',
240         'base/zap.h',
241         'cert/asn1_util.cc',
242         'cert/asn1_util.h',
243         'cert/cert_database.cc',
244         'cert/cert_database.h',
245         'cert/cert_database_android.cc',
246         'cert/cert_database_ios.cc',
247         'cert/cert_database_mac.cc',
248         'cert/cert_database_nss.cc',
249         'cert/cert_database_openssl.cc',
250         'cert/cert_database_win.cc',
251         'cert/cert_status_flags.cc',
252         'cert/cert_status_flags.h',
253         'cert/cert_trust_anchor_provider.h',
254         'cert/cert_verifier.cc',
255         'cert/cert_verifier.h',
256         'cert/cert_verify_proc.cc',
257         'cert/cert_verify_proc.h',
258         'cert/cert_verify_proc_android.cc',
259         'cert/cert_verify_proc_android.h',
260         'cert/cert_verify_proc_mac.cc',
261         'cert/cert_verify_proc_mac.h',
262         'cert/cert_verify_proc_nss.cc',
263         'cert/cert_verify_proc_nss.h',
264         'cert/cert_verify_proc_openssl.cc',
265         'cert/cert_verify_proc_openssl.h',
266         'cert/cert_verify_proc_win.cc',
267         'cert/cert_verify_proc_win.h',
268         'cert/cert_verify_result.cc',
269         'cert/cert_verify_result.h',
270         'cert/crl_set.cc',
271         'cert/crl_set.h',
272         'cert/ev_root_ca_metadata.cc',
273         'cert/ev_root_ca_metadata.h',
274         'cert/jwk_serializer_nss.cc',
275         'cert/jwk_serializer_openssl.cc',
276         'cert/jwk_serializer.h',
277         'cert/multi_threaded_cert_verifier.cc',
278         'cert/multi_threaded_cert_verifier.h',
279         'cert/nss_cert_database.cc',
280         'cert/nss_cert_database.h',
281         'cert/pem_tokenizer.cc',
282         'cert/pem_tokenizer.h',
283         'cert/single_request_cert_verifier.cc',
284         'cert/single_request_cert_verifier.h',
285         'cert/test_root_certs.cc',
286         'cert/test_root_certs.h',
287         'cert/test_root_certs_mac.cc',
288         'cert/test_root_certs_nss.cc',
289         'cert/test_root_certs_openssl.cc',
290         'cert/test_root_certs_android.cc',
291         'cert/test_root_certs_win.cc',
292         'cert/x509_cert_types.cc',
293         'cert/x509_cert_types.h',
294         'cert/x509_cert_types_mac.cc',
295         'cert/x509_cert_types_win.cc',
296         'cert/x509_certificate.cc',
297         'cert/x509_certificate.h',
298         'cert/x509_certificate_ios.cc',
299         'cert/x509_certificate_mac.cc',
300         'cert/x509_certificate_net_log_param.cc',
301         'cert/x509_certificate_net_log_param.h',
302         'cert/x509_certificate_nss.cc',
303         'cert/x509_certificate_openssl.cc',
304         'cert/x509_certificate_win.cc',
305         'cert/x509_util.h',
306         'cert/x509_util.cc',
307         'cert/x509_util_ios.cc',
308         'cert/x509_util_ios.h',
309         'cert/x509_util_mac.cc',
310         'cert/x509_util_mac.h',
311         'cert/x509_util_nss.cc',
312         'cert/x509_util_nss.h',
313         'cert/x509_util_openssl.cc',
314         'cert/x509_util_openssl.h',
315         'cookies/canonical_cookie.cc',
316         'cookies/canonical_cookie.h',
317         'cookies/cookie_constants.cc',
318         'cookies/cookie_constants.h',
319         'cookies/cookie_monster.cc',
320         'cookies/cookie_monster.h',
321         'cookies/cookie_options.h',
322         'cookies/cookie_store.cc',
323         'cookies/cookie_store.h',
324         'cookies/cookie_util.cc',
325         'cookies/cookie_util.h',
326         'cookies/parsed_cookie.cc',
327         'cookies/parsed_cookie.h',
328         'disk_cache/addr.cc',
329         'disk_cache/addr.h',
330         'disk_cache/backend_impl.cc',
331         'disk_cache/backend_impl.h',
332         'disk_cache/bitmap.cc',
333         'disk_cache/bitmap.h',
334         'disk_cache/block_files.cc',
335         'disk_cache/block_files.h',
336         'disk_cache/cache_creator.cc',
337         'disk_cache/cache_util.h',
338         'disk_cache/cache_util.cc',
339         'disk_cache/cache_util_posix.cc',
340         'disk_cache/cache_util_win.cc',
341         'disk_cache/disk_cache.h',
342         'disk_cache/disk_format.cc',
343         'disk_cache/disk_format.h',
344         'disk_cache/disk_format_base.h',
345         'disk_cache/entry_impl.cc',
346         'disk_cache/entry_impl.h',
347         'disk_cache/errors.h',
348         'disk_cache/eviction.cc',
349         'disk_cache/eviction.h',
350         'disk_cache/experiments.h',
351         'disk_cache/file.cc',
352         'disk_cache/file.h',
353         'disk_cache/file_block.h',
354         'disk_cache/file_lock.cc',
355         'disk_cache/file_lock.h',
356         'disk_cache/file_posix.cc',
357         'disk_cache/file_win.cc',
358         'disk_cache/histogram_macros.h',
359         'disk_cache/in_flight_backend_io.cc',
360         'disk_cache/in_flight_backend_io.h',
361         'disk_cache/in_flight_io.cc',
362         'disk_cache/in_flight_io.h',
363         'disk_cache/mapped_file.cc',
364         'disk_cache/mapped_file.h',
365         'disk_cache/mapped_file_posix.cc',
366         'disk_cache/mapped_file_avoid_mmap_posix.cc',
367         'disk_cache/mapped_file_win.cc',
368         'disk_cache/mem_backend_impl.cc',
369         'disk_cache/mem_backend_impl.h',
370         'disk_cache/mem_entry_impl.cc',
371         'disk_cache/mem_entry_impl.h',
372         'disk_cache/mem_rankings.cc',
373         'disk_cache/mem_rankings.h',
374         'disk_cache/net_log_parameters.cc',
375         'disk_cache/net_log_parameters.h',
376         'disk_cache/rankings.cc',
377         'disk_cache/rankings.h',
378         'disk_cache/sparse_control.cc',
379         'disk_cache/sparse_control.h',
380         'disk_cache/stats.cc',
381         'disk_cache/stats.h',
382         'disk_cache/stats_histogram.cc',
383         'disk_cache/stats_histogram.h',
384         'disk_cache/storage_block-inl.h',
385         'disk_cache/storage_block.h',
386         'disk_cache/stress_support.h',
387         'disk_cache/trace.cc',
388         'disk_cache/trace.h',
389         'disk_cache/tracing_cache_backend.cc',
390         'disk_cache/tracing_cache_backend.h',
391         'disk_cache/simple/simple_backend_impl.cc',
392         'disk_cache/simple/simple_backend_impl.h',
393         'disk_cache/simple/simple_backend_version.h',
394         'disk_cache/simple/simple_entry_format.cc',
395         'disk_cache/simple/simple_entry_format.h',
396         'disk_cache/simple/simple_entry_format_history.h',
397         'disk_cache/simple/simple_entry_impl.cc',
398         'disk_cache/simple/simple_entry_impl.h',
399         'disk_cache/simple/simple_entry_operation.cc',
400         'disk_cache/simple/simple_entry_operation.h',
401         'disk_cache/simple/simple_histogram_macros.h' ,
402         'disk_cache/simple/simple_index.cc',
403         'disk_cache/simple/simple_index.h',
404         'disk_cache/simple/simple_index_delegate.h',
405         'disk_cache/simple/simple_index_file.cc',
406         'disk_cache/simple/simple_index_file.h',
407         'disk_cache/simple/simple_index_file_posix.cc',
408         'disk_cache/simple/simple_index_file_win.cc',
409         'disk_cache/simple/simple_net_log_parameters.cc',
410         'disk_cache/simple/simple_net_log_parameters.h',
411         'disk_cache/simple/simple_synchronous_entry.cc',
412         'disk_cache/simple/simple_synchronous_entry.h',
413         'disk_cache/simple/simple_util.cc',
414         'disk_cache/simple/simple_util.h',
415         'disk_cache/simple/simple_version_upgrade.cc',
416         'disk_cache/simple/simple_version_upgrade.h',
417         'disk_cache/flash/flash_entry_impl.cc',
418         'disk_cache/flash/flash_entry_impl.h',
419         'disk_cache/flash/format.h',
420         'disk_cache/flash/internal_entry.cc',
421         'disk_cache/flash/internal_entry.h',
422         'disk_cache/flash/log_store.cc',
423         'disk_cache/flash/log_store.h',
424         'disk_cache/flash/log_store_entry.cc',
425         'disk_cache/flash/log_store_entry.h',
426         'disk_cache/flash/segment.cc',
427         'disk_cache/flash/segment.h',
428         'disk_cache/flash/storage.cc',
429         'disk_cache/flash/storage.h',
430         'disk_cache/v3/block_bitmaps.cc',
431         'disk_cache/v3/block_bitmaps.h',
432         'disk_cache/v3/disk_format_v3.h',
433         'dns/address_sorter.h',
434         'dns/address_sorter_posix.cc',
435         'dns/address_sorter_posix.h',
436         'dns/address_sorter_win.cc',
437         'dns/dns_client.cc',
438         'dns/dns_client.h',
439         'dns/dns_config_service.cc',
440         'dns/dns_config_service.h',
441         'dns/dns_config_service_posix.cc',
442         'dns/dns_config_service_posix.h',
443         'dns/dns_config_service_win.cc',
444         'dns/dns_config_service_win.h',
445         'dns/dns_hosts.cc',
446         'dns/dns_hosts.h',
447         'dns/dns_protocol.h',
448         'dns/dns_query.cc',
449         'dns/dns_query.h',
450         'dns/dns_response.cc',
451         'dns/dns_response.h',
452         'dns/dns_session.cc',
453         'dns/dns_session.h',
454         'dns/dns_socket_pool.cc',
455         'dns/dns_socket_pool.h',
456         'dns/dns_transaction.cc',
457         'dns/dns_transaction.h',
458         'dns/host_cache.cc',
459         'dns/host_cache.h',
460         'dns/host_resolver.cc',
461         'dns/host_resolver.h',
462         'dns/host_resolver_impl.cc',
463         'dns/host_resolver_impl.h',
464         'dns/host_resolver_proc.cc',
465         'dns/host_resolver_proc.h',
466         'dns/mapped_host_resolver.cc',
467         'dns/mapped_host_resolver.h',
468         'dns/mdns_cache.cc',
469         'dns/mdns_cache.h',
470         'dns/mdns_client.cc',
471         'dns/mdns_client.h',
472         'dns/mdns_client_impl.cc',
473         'dns/mdns_client_impl.h',
474         'dns/notify_watcher_mac.cc',
475         'dns/notify_watcher_mac.h',
476         'dns/record_parsed.cc',
477         'dns/record_parsed.h',
478         'dns/record_rdata.cc',
479         'dns/record_rdata.h',
480         'dns/serial_worker.cc',
481         'dns/serial_worker.h',
482         'dns/single_request_host_resolver.cc',
483         'dns/single_request_host_resolver.h',
484         'ftp/ftp_auth_cache.cc',
485         'ftp/ftp_auth_cache.h',
486         'ftp/ftp_ctrl_response_buffer.cc',
487         'ftp/ftp_ctrl_response_buffer.h',
488         'ftp/ftp_directory_listing_parser.cc',
489         'ftp/ftp_directory_listing_parser.h',
490         'ftp/ftp_directory_listing_parser_ls.cc',
491         'ftp/ftp_directory_listing_parser_ls.h',
492         'ftp/ftp_directory_listing_parser_netware.cc',
493         'ftp/ftp_directory_listing_parser_netware.h',
494         'ftp/ftp_directory_listing_parser_os2.cc',
495         'ftp/ftp_directory_listing_parser_os2.h',
496         'ftp/ftp_directory_listing_parser_vms.cc',
497         'ftp/ftp_directory_listing_parser_vms.h',
498         'ftp/ftp_directory_listing_parser_windows.cc',
499         'ftp/ftp_directory_listing_parser_windows.h',
500         'ftp/ftp_network_layer.cc',
501         'ftp/ftp_network_layer.h',
502         'ftp/ftp_network_session.cc',
503         'ftp/ftp_network_session.h',
504         'ftp/ftp_network_transaction.cc',
505         'ftp/ftp_network_transaction.h',
506         'ftp/ftp_request_info.h',
507         'ftp/ftp_response_info.cc',
508         'ftp/ftp_response_info.h',
509         'ftp/ftp_server_type_histograms.cc',
510         'ftp/ftp_server_type_histograms.h',
511         'ftp/ftp_transaction.h',
512         'ftp/ftp_transaction_factory.h',
513         'ftp/ftp_util.cc',
514         'ftp/ftp_util.h',
515         'http/des.cc',
516         'http/des.h',
517         'http/http_atom_list.h',
518         'http/http_auth.cc',
519         'http/http_auth.h',
520         'http/http_auth_cache.cc',
521         'http/http_auth_cache.h',
522         'http/http_auth_controller.cc',
523         'http/http_auth_controller.h',
524         'http/http_auth_filter.cc',
525         'http/http_auth_filter.h',
526         'http/http_auth_filter_win.h',
527         'http/http_auth_gssapi_posix.cc',
528         'http/http_auth_gssapi_posix.h',
529         'http/http_auth_handler.cc',
530         'http/http_auth_handler.h',
531         'http/http_auth_handler_basic.cc',
532         'http/http_auth_handler_basic.h',
533         'http/http_auth_handler_digest.cc',
534         'http/http_auth_handler_digest.h',
535         'http/http_auth_handler_factory.cc',
536         'http/http_auth_handler_factory.h',
537         'http/http_auth_handler_negotiate.cc',
538         'http/http_auth_handler_negotiate.h',
539         'http/http_auth_handler_ntlm.cc',
540         'http/http_auth_handler_ntlm.h',
541         'http/http_auth_handler_ntlm_portable.cc',
542         'http/http_auth_handler_ntlm_win.cc',
543         'http/http_auth_sspi_win.cc',
544         'http/http_auth_sspi_win.h',
545         'http/http_basic_stream.cc',
546         'http/http_basic_stream.h',
547         'http/http_byte_range.cc',
548         'http/http_byte_range.h',
549         'http/http_cache.cc',
550         'http/http_cache.h',
551         'http/http_cache_transaction.cc',
552         'http/http_cache_transaction.h',
553         'http/http_content_disposition.cc',
554         'http/http_content_disposition.h',
555         'http/http_chunked_decoder.cc',
556         'http/http_chunked_decoder.h',
557         'http/http_network_layer.cc',
558         'http/http_network_layer.h',
559         'http/http_network_session.cc',
560         'http/http_network_session.h',
561         'http/http_network_session_peer.cc',
562         'http/http_network_session_peer.h',
563         'http/http_network_transaction.cc',
564         'http/http_network_transaction.h',
565         'http/http_pipelined_connection.h',
566         'http/http_pipelined_connection_impl.cc',
567         'http/http_pipelined_connection_impl.h',
568         'http/http_pipelined_host.cc',
569         'http/http_pipelined_host.h',
570         'http/http_pipelined_host_capability.h',
571         'http/http_pipelined_host_forced.cc',
572         'http/http_pipelined_host_forced.h',
573         'http/http_pipelined_host_impl.cc',
574         'http/http_pipelined_host_impl.h',
575         'http/http_pipelined_host_pool.cc',
576         'http/http_pipelined_host_pool.h',
577         'http/http_pipelined_stream.cc',
578         'http/http_pipelined_stream.h',
579         'http/http_proxy_client_socket.cc',
580         'http/http_proxy_client_socket.h',
581         'http/http_proxy_client_socket_pool.cc',
582         'http/http_proxy_client_socket_pool.h',
583         'http/http_request_headers.cc',
584         'http/http_request_headers.h',
585         'http/http_request_info.cc',
586         'http/http_request_info.h',
587         'http/http_response_body_drainer.cc',
588         'http/http_response_body_drainer.h',
589         'http/http_response_headers.cc',
590         'http/http_response_headers.h',
591         'http/http_response_info.cc',
592         'http/http_response_info.h',
593         'http/http_security_headers.cc',
594         'http/http_security_headers.h',
595         'http/http_server_properties.cc',
596         'http/http_server_properties.h',
597         'http/http_server_properties_impl.cc',
598         'http/http_server_properties_impl.h',
599         'http/http_status_code.cc',
600         'http/http_status_code.h',
601         'http/http_stream.h',
602         'http/http_stream_base.h',
603         'http/http_stream_factory.cc',
604         'http/http_stream_factory.h',
605         'http/http_stream_factory_impl.cc',
606         'http/http_stream_factory_impl.h',
607         'http/http_stream_factory_impl_job.cc',
608         'http/http_stream_factory_impl_job.h',
609         'http/http_stream_factory_impl_request.cc',
610         'http/http_stream_factory_impl_request.h',
611         'http/http_stream_parser.cc',
612         'http/http_stream_parser.h',
613         'http/http_transaction.h',
614         'http/http_transaction_delegate.h',
615         'http/http_transaction_factory.h',
616         'http/http_util.cc',
617         'http/http_util.h',
618         'http/http_util_icu.cc',
619         'http/http_vary_data.cc',
620         'http/http_vary_data.h',
621         'http/http_version.h',
622         'http/md4.cc',
623         'http/md4.h',
624         'http/partial_data.cc',
625         'http/partial_data.h',
626         'http/proxy_client_socket.h',
627         'http/proxy_client_socket.cc',
628         'http/proxy_connect_redirect_http_stream.h',
629         'http/proxy_connect_redirect_http_stream.cc',
630         'http/transport_security_state.cc',
631         'http/transport_security_state.h',
632         'http/transport_security_state_static.h',
633         'http/url_security_manager.cc',
634         'http/url_security_manager.h',
635         'http/url_security_manager_posix.cc',
636         'http/url_security_manager_win.cc',
637         'ocsp/nss_ocsp.cc',
638         'ocsp/nss_ocsp.h',
639         'proxy/dhcp_proxy_script_adapter_fetcher_win.cc',
640         'proxy/dhcp_proxy_script_adapter_fetcher_win.h',
641         'proxy/dhcp_proxy_script_fetcher.cc',
642         'proxy/dhcp_proxy_script_fetcher.h',
643         'proxy/dhcp_proxy_script_fetcher_factory.cc',
644         'proxy/dhcp_proxy_script_fetcher_factory.h',
645         'proxy/dhcp_proxy_script_fetcher_win.cc',
646         'proxy/dhcp_proxy_script_fetcher_win.h',
647         'proxy/dhcpcsvc_init_win.cc',
648         'proxy/dhcpcsvc_init_win.h',
649         'proxy/multi_threaded_proxy_resolver.cc',
650         'proxy/multi_threaded_proxy_resolver.h',
651         'proxy/network_delegate_error_observer.cc',
652         'proxy/network_delegate_error_observer.h',
653         'proxy/polling_proxy_config_service.cc',
654         'proxy/polling_proxy_config_service.h',
655         'proxy/proxy_bypass_rules.cc',
656         'proxy/proxy_bypass_rules.h',
657         'proxy/proxy_config.cc',
658         'proxy/proxy_config.h',
659         'proxy/proxy_config_service.h',
660         'proxy/proxy_config_service_android.cc',
661         'proxy/proxy_config_service_android.h',
662         'proxy/proxy_config_service_fixed.cc',
663         'proxy/proxy_config_service_fixed.h',
664         'proxy/proxy_config_service_ios.cc',
665         'proxy/proxy_config_service_ios.h',
666         'proxy/proxy_config_service_linux.cc',
667         'proxy/proxy_config_service_linux.h',
668         'proxy/proxy_config_service_mac.cc',
669         'proxy/proxy_config_service_mac.h',
670         'proxy/proxy_config_service_win.cc',
671         'proxy/proxy_config_service_win.h',
672         'proxy/proxy_config_source.cc',
673         'proxy/proxy_config_source.h',
674         'proxy/proxy_info.cc',
675         'proxy/proxy_info.h',
676         'proxy/proxy_list.cc',
677         'proxy/proxy_list.h',
678         'proxy/proxy_resolver.h',
679         'proxy/proxy_resolver_error_observer.h',
680         'proxy/proxy_resolver_mac.cc',
681         'proxy/proxy_resolver_mac.h',
682         'proxy/proxy_resolver_script.h',
683         'proxy/proxy_resolver_script_data.cc',
684         'proxy/proxy_resolver_script_data.h',
685         'proxy/proxy_resolver_winhttp.cc',
686         'proxy/proxy_resolver_winhttp.h',
687         'proxy/proxy_retry_info.h',
688         'proxy/proxy_script_decider.cc',
689         'proxy/proxy_script_decider.h',
690         'proxy/proxy_script_fetcher.h',
691         'proxy/proxy_script_fetcher_impl.cc',
692         'proxy/proxy_script_fetcher_impl.h',
693         'proxy/proxy_server.cc',
694         'proxy/proxy_server.h',
695         'proxy/proxy_server_mac.cc',
696         'proxy/proxy_service.cc',
697         'proxy/proxy_service.h',
698         'quic/congestion_control/available_channel_estimator.cc',
699         'quic/congestion_control/available_channel_estimator.h',
700         'quic/congestion_control/channel_estimator.cc',
701         'quic/congestion_control/channel_estimator.h',
702         'quic/congestion_control/cube_root.cc',
703         'quic/congestion_control/cube_root.h',
704         'quic/congestion_control/cubic.cc',
705         'quic/congestion_control/cubic.h',
706         'quic/congestion_control/fix_rate_receiver.cc',
707         'quic/congestion_control/fix_rate_receiver.h',
708         'quic/congestion_control/fix_rate_sender.cc',
709         'quic/congestion_control/fix_rate_sender.h',
710         'quic/congestion_control/hybrid_slow_start.cc',
711         'quic/congestion_control/hybrid_slow_start.h',
712         'quic/congestion_control/inter_arrival_bitrate_ramp_up.cc',
713         'quic/congestion_control/inter_arrival_bitrate_ramp_up.h',
714         'quic/congestion_control/inter_arrival_overuse_detector.cc',
715         'quic/congestion_control/inter_arrival_overuse_detector.h',
716         'quic/congestion_control/inter_arrival_probe.cc',
717         'quic/congestion_control/inter_arrival_probe.h',
718         'quic/congestion_control/inter_arrival_receiver.cc',
719         'quic/congestion_control/inter_arrival_receiver.h',
720         'quic/congestion_control/inter_arrival_sender.cc',
721         'quic/congestion_control/inter_arrival_sender.h',
722         'quic/congestion_control/inter_arrival_state_machine.cc',
723         'quic/congestion_control/inter_arrival_state_machine.h',
724         'quic/congestion_control/leaky_bucket.cc',
725         'quic/congestion_control/leaky_bucket.h',
726         'quic/congestion_control/paced_sender.cc',
727         'quic/congestion_control/paced_sender.h',
728         'quic/congestion_control/quic_congestion_manager.cc',
729         'quic/congestion_control/quic_congestion_manager.h',
730         'quic/congestion_control/quic_max_sized_map.h',
731         'quic/congestion_control/receive_algorithm_interface.cc',
732         'quic/congestion_control/receive_algorithm_interface.h',
733         'quic/congestion_control/send_algorithm_interface.cc',
734         'quic/congestion_control/send_algorithm_interface.h',
735         'quic/congestion_control/tcp_cubic_sender.cc',
736         'quic/congestion_control/tcp_cubic_sender.h',
737         'quic/congestion_control/tcp_receiver.cc',
738         'quic/congestion_control/tcp_receiver.h',
739         'quic/crypto/aes_128_gcm_12_decrypter.h',
740         'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
741         'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
742         'quic/crypto/aes_128_gcm_12_encrypter.h',
743         'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
744         'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
745         'quic/crypto/cert_compressor.cc',
746         'quic/crypto/cert_compressor.h',
747         'quic/crypto/channel_id.cc',
748         'quic/crypto/channel_id.h',
749         'quic/crypto/channel_id_nss.cc',
750         'quic/crypto/channel_id_openssl.cc',
751         'quic/crypto/common_cert_set.cc',
752         'quic/crypto/common_cert_set.h',
753         'quic/crypto/crypto_framer.cc',
754         'quic/crypto/crypto_framer.h',
755         'quic/crypto/crypto_handshake.cc',
756         'quic/crypto/crypto_handshake.h',
757         'quic/crypto/crypto_protocol.h',
758         'quic/crypto/crypto_secret_boxer.cc',
759         'quic/crypto/crypto_secret_boxer.h',
760         'quic/crypto/crypto_server_config.cc',
761         'quic/crypto/crypto_server_config.h',
762         'quic/crypto/crypto_server_config_protobuf.cc',
763         'quic/crypto/crypto_server_config_protobuf.h',
764         'quic/crypto/crypto_utils.cc',
765         'quic/crypto/crypto_utils.h',
766         'quic/crypto/curve25519_key_exchange.cc',
767         'quic/crypto/curve25519_key_exchange.h',
768         'quic/crypto/ephemeral_key_source.h',
769         'quic/crypto/key_exchange.h',
770         'quic/crypto/null_decrypter.cc',
771         'quic/crypto/null_decrypter.h',
772         'quic/crypto/null_encrypter.cc',
773         'quic/crypto/null_encrypter.h',
774         'quic/crypto/p256_key_exchange.h',
775         'quic/crypto/p256_key_exchange_nss.cc',
776         'quic/crypto/p256_key_exchange_openssl.cc',
777         'quic/crypto/proof_source.h',
778         'quic/crypto/proof_source_chromium.cc',
779         'quic/crypto/proof_source_chromium.h',
780         'quic/crypto/proof_verifier.cc',
781         'quic/crypto/proof_verifier_chromium.cc',
782         'quic/crypto/proof_verifier_chromium.h',
783         'quic/crypto/quic_decrypter.cc',
784         'quic/crypto/quic_decrypter.h',
785         'quic/crypto/quic_encrypter.cc',
786         'quic/crypto/quic_encrypter.h',
787         'quic/crypto/quic_random.cc',
788         'quic/crypto/quic_random.h',
789         'quic/crypto/scoped_evp_cipher_ctx.cc',
790         'quic/crypto/scoped_evp_cipher_ctx.h',
791         'quic/crypto/strike_register.cc',
792         'quic/crypto/strike_register.h',
793         'quic/crypto/source_address_token.cc',
794         'quic/crypto/source_address_token.h',
795         'quic/quic_ack_notifier.cc',
796         'quic/quic_ack_notifier.h',
797         'quic/quic_ack_notifier_manager.cc',
798         'quic/quic_ack_notifier_manager.h',
799         'quic/quic_alarm.cc',
800         'quic/quic_alarm.h',
801         'quic/quic_bandwidth.cc',
802         'quic/quic_bandwidth.h',
803         'quic/quic_blocked_writer_interface.h',
804         'quic/quic_client_session.cc',
805         'quic/quic_client_session.h',
806         'quic/quic_config.cc',
807         'quic/quic_config.h',
808         'quic/quic_crypto_client_stream.cc',
809         'quic/quic_crypto_client_stream.h',
810         'quic/quic_crypto_client_stream_factory.h',
811         'quic/quic_crypto_server_stream.cc',
812         'quic/quic_crypto_server_stream.h',
813         'quic/quic_crypto_stream.cc',
814         'quic/quic_crypto_stream.h',
815         'quic/quic_clock.cc',
816         'quic/quic_clock.h',
817         'quic/quic_connection.cc',
818         'quic/quic_connection.h',
819         'quic/quic_connection_helper.cc',
820         'quic/quic_connection_helper.h',
821         'quic/quic_connection_logger.cc',
822         'quic/quic_connection_logger.h',
823         'quic/quic_connection_stats.cc',
824         'quic/quic_connection_stats.h',
825         'quic/quic_data_reader.cc',
826         'quic/quic_data_reader.h',
827         'quic/quic_data_writer.cc',
828         'quic/quic_data_writer.h',
829         'quic/quic_fec_group.cc',
830         'quic/quic_fec_group.h',
831         'quic/quic_framer.cc',
832         'quic/quic_framer.h',
833         'quic/quic_http_stream.cc',
834         'quic/quic_http_stream.h',
835         'quic/quic_http_utils.cc',
836         'quic/quic_http_utils.h',
837         'quic/quic_packet_creator.cc',
838         'quic/quic_packet_creator.h',
839         'quic/quic_packet_generator.cc',
840         'quic/quic_packet_generator.h',
841         'quic/quic_protocol.cc',
842         'quic/quic_protocol.h',
843         'quic/quic_received_packet_manager.cc',
844         'quic/quic_received_packet_manager.h',
845         'quic/quic_reliable_client_stream.cc',
846         'quic/quic_reliable_client_stream.h',
847         'quic/quic_sent_entropy_manager.cc',
848         'quic/quic_sent_entropy_manager.h',
849         'quic/quic_sent_packet_manager.cc',
850         'quic/quic_sent_packet_manager.h',
851         'quic/quic_session.cc',
852         'quic/quic_session.h',
853         'quic/quic_spdy_compressor.cc',
854         'quic/quic_spdy_compressor.h',
855         'quic/quic_spdy_decompressor.cc',
856         'quic/quic_spdy_decompressor.h',
857         'quic/quic_stream_factory.cc',
858         'quic/quic_stream_factory.h',
859         'quic/quic_stream_sequencer.cc',
860         'quic/quic_stream_sequencer.h',
861         'quic/quic_time.cc',
862         'quic/quic_time.h',
863         'quic/quic_utils.cc',
864         'quic/quic_utils.h',
865         'quic/reliable_quic_stream.cc',
866         'quic/reliable_quic_stream.h',
867         'quic/spdy_utils.cc',
868         'quic/spdy_utils.h',
869         'socket/buffered_write_stream_socket.cc',
870         'socket/buffered_write_stream_socket.h',
871         'socket/client_socket_factory.cc',
872         'socket/client_socket_factory.h',
873         'socket/client_socket_handle.cc',
874         'socket/client_socket_handle.h',
875         'socket/client_socket_pool.cc',
876         'socket/client_socket_pool.h',
877         'socket/client_socket_pool_base.cc',
878         'socket/client_socket_pool_base.h',
879         'socket/client_socket_pool_histograms.cc',
880         'socket/client_socket_pool_histograms.h',
881         'socket/client_socket_pool_manager.cc',
882         'socket/client_socket_pool_manager.h',
883         'socket/client_socket_pool_manager_impl.cc',
884         'socket/client_socket_pool_manager_impl.h',
885         'socket/next_proto.h',
886         'socket/nss_ssl_util.cc',
887         'socket/nss_ssl_util.h',
888         'socket/server_socket.h',
889         'socket/socket_descriptor.cc',
890         'socket/socket_descriptor.h',
891         'socket/socket_net_log_params.cc',
892         'socket/socket_net_log_params.h',
893         'socket/socket.h',
894         'socket/socks5_client_socket.cc',
895         'socket/socks5_client_socket.h',
896         'socket/socks_client_socket.cc',
897         'socket/socks_client_socket.h',
898         'socket/socks_client_socket_pool.cc',
899         'socket/socks_client_socket_pool.h',
900         'socket/ssl_client_socket.cc',
901         'socket/ssl_client_socket.h',
902         'socket/ssl_client_socket_nss.cc',
903         'socket/ssl_client_socket_nss.h',
904         'socket/ssl_client_socket_openssl.cc',
905         'socket/ssl_client_socket_openssl.h',
906         'socket/ssl_client_socket_pool.cc',
907         'socket/ssl_client_socket_pool.h',
908         'socket/ssl_error_params.cc',
909         'socket/ssl_error_params.h',
910         'socket/ssl_server_socket.h',
911         'socket/ssl_server_socket_nss.cc',
912         'socket/ssl_server_socket_nss.h',
913         'socket/ssl_server_socket_openssl.cc',
914         'socket/ssl_socket.h',
915         'socket/stream_listen_socket.cc',
916         'socket/stream_listen_socket.h',
917         'socket/stream_socket.cc',
918         'socket/stream_socket.h',
919         'socket/tcp_client_socket.cc',
920         'socket/tcp_client_socket.h',
921         'socket/tcp_listen_socket.cc',
922         'socket/tcp_listen_socket.h',
923         'socket/tcp_server_socket.cc',
924         'socket/tcp_server_socket.h',
925         'socket/tcp_socket.cc',
926         'socket/tcp_socket.h',
927         'socket/tcp_socket_libevent.cc',
928         'socket/tcp_socket_libevent.h',
929         'socket/tcp_socket_win.cc',
930         'socket/tcp_socket_win.h',
931         'socket/transport_client_socket_pool.cc',
932         'socket/transport_client_socket_pool.h',
933         'socket/unix_domain_socket_posix.cc',
934         'socket/unix_domain_socket_posix.h',
935         'socket_stream/socket_stream.cc',
936         'socket_stream/socket_stream.h',
937         'socket_stream/socket_stream_job.cc',
938         'socket_stream/socket_stream_job.h',
939         'socket_stream/socket_stream_job_manager.cc',
940         'socket_stream/socket_stream_job_manager.h',
941         'socket_stream/socket_stream_metrics.cc',
942         'socket_stream/socket_stream_metrics.h',
943         'spdy/buffered_spdy_framer.cc',
944         'spdy/buffered_spdy_framer.h',
945         'spdy/spdy_bitmasks.h',
946         'spdy/spdy_buffer.cc',
947         'spdy/spdy_buffer.h',
948         'spdy/spdy_buffer_producer.cc',
949         'spdy/spdy_buffer_producer.h',
950         'spdy/spdy_credential_builder.cc',
951         'spdy/spdy_credential_builder.h',
952         'spdy/spdy_credential_state.cc',
953         'spdy/spdy_credential_state.h',
954         'spdy/spdy_frame_builder.cc',
955         'spdy/spdy_frame_builder.h',
956         'spdy/spdy_frame_reader.cc',
957         'spdy/spdy_frame_reader.h',
958         'spdy/spdy_framer.cc',
959         'spdy/spdy_framer.h',
960         'spdy/spdy_header_block.cc',
961         'spdy/spdy_header_block.h',
962         'spdy/spdy_http_stream.cc',
963         'spdy/spdy_http_stream.h',
964         'spdy/spdy_http_utils.cc',
965         'spdy/spdy_http_utils.h',
966         'spdy/spdy_priority_forest.h',
967         'spdy/spdy_protocol.cc',
968         'spdy/spdy_protocol.h',
969         'spdy/spdy_proxy_client_socket.cc',
970         'spdy/spdy_proxy_client_socket.h',
971         'spdy/spdy_read_queue.cc',
972         'spdy/spdy_read_queue.h',
973         'spdy/spdy_session.cc',
974         'spdy/spdy_session.h',
975         'spdy/spdy_session_key.cc',
976         'spdy/spdy_session_key.h',
977         'spdy/spdy_session_pool.cc',
978         'spdy/spdy_session_pool.h',
979         'spdy/spdy_stream.cc',
980         'spdy/spdy_stream.h',
981         'spdy/spdy_websocket_stream.cc',
982         'spdy/spdy_websocket_stream.h',
983         'spdy/spdy_write_queue.cc',
984         'spdy/spdy_write_queue.h',
985         'spdy/write_blocked_list.h',
986         'ssl/client_cert_store.h',
987         'ssl/client_cert_store_impl.h',
988         'ssl/client_cert_store_impl_mac.cc',
989         'ssl/client_cert_store_impl_nss.cc',
990         'ssl/client_cert_store_impl_win.cc',
991         'ssl/default_server_bound_cert_store.cc',
992         'ssl/default_server_bound_cert_store.h',
993         'ssl/openssl_client_key_store.cc',
994         'ssl/openssl_client_key_store.h',
995         'ssl/server_bound_cert_service.cc',
996         'ssl/server_bound_cert_service.h',
997         'ssl/server_bound_cert_store.cc',
998         'ssl/server_bound_cert_store.h',
999         'ssl/ssl_cert_request_info.cc',
1000         'ssl/ssl_cert_request_info.h',
1001         'ssl/ssl_cipher_suite_names.cc',
1002         'ssl/ssl_cipher_suite_names.h',
1003         'ssl/ssl_client_auth_cache.cc',
1004         'ssl/ssl_client_auth_cache.h',
1005         'ssl/ssl_client_cert_type.h',
1006         'ssl/ssl_config_service.cc',
1007         'ssl/ssl_config_service.h',
1008         'ssl/ssl_config_service_defaults.cc',
1009         'ssl/ssl_config_service_defaults.h',
1010         'ssl/ssl_info.cc',
1011         'ssl/ssl_info.h',
1012         'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1013         'third_party/mozilla_security_manager/nsKeygenHandler.h',
1014         'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1015         'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1016         'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1017         'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1018         'udp/datagram_client_socket.h',
1019         'udp/datagram_server_socket.h',
1020         'udp/datagram_socket.h',
1021         'udp/udp_client_socket.cc',
1022         'udp/udp_client_socket.h',
1023         'udp/udp_net_log_parameters.cc',
1024         'udp/udp_net_log_parameters.h',
1025         'udp/udp_server_socket.cc',
1026         'udp/udp_server_socket.h',
1027         'udp/udp_socket.h',
1028         'udp/udp_socket_libevent.cc',
1029         'udp/udp_socket_libevent.h',
1030         'udp/udp_socket_win.cc',
1031         'udp/udp_socket_win.h',
1032         'url_request/data_protocol_handler.cc',
1033         'url_request/data_protocol_handler.h',
1034         'url_request/file_protocol_handler.cc',
1035         'url_request/file_protocol_handler.h',
1036         'url_request/fraudulent_certificate_reporter.h',
1037         'url_request/ftp_protocol_handler.cc',
1038         'url_request/ftp_protocol_handler.h',
1039         'url_request/http_user_agent_settings.h',
1040         'url_request/protocol_intercept_job_factory.cc',
1041         'url_request/protocol_intercept_job_factory.h',
1042         'url_request/static_http_user_agent_settings.cc',
1043         'url_request/static_http_user_agent_settings.h',
1044         'url_request/url_fetcher.cc',
1045         'url_request/url_fetcher.h',
1046         'url_request/url_fetcher_core.cc',
1047         'url_request/url_fetcher_core.h',
1048         'url_request/url_fetcher_delegate.cc',
1049         'url_request/url_fetcher_delegate.h',
1050         'url_request/url_fetcher_factory.h',
1051         'url_request/url_fetcher_impl.cc',
1052         'url_request/url_fetcher_impl.h',
1053         'url_request/url_fetcher_response_writer.cc',
1054         'url_request/url_fetcher_response_writer.h',
1055         'url_request/url_request.cc',
1056         'url_request/url_request.h',
1057         'url_request/url_request_about_job.cc',
1058         'url_request/url_request_about_job.h',
1059         'url_request/url_request_context.cc',
1060         'url_request/url_request_context.h',
1061         'url_request/url_request_context_builder.cc',
1062         'url_request/url_request_context_builder.h',
1063         'url_request/url_request_context_getter.cc',
1064         'url_request/url_request_context_getter.h',
1065         'url_request/url_request_context_storage.cc',
1066         'url_request/url_request_context_storage.h',
1067         'url_request/url_request_data_job.cc',
1068         'url_request/url_request_data_job.h',
1069         'url_request/url_request_error_job.cc',
1070         'url_request/url_request_error_job.h',
1071         'url_request/url_request_file_dir_job.cc',
1072         'url_request/url_request_file_dir_job.h',
1073         'url_request/url_request_file_job.cc',
1074         'url_request/url_request_file_job.h',
1075         'url_request/url_request_filter.cc',
1076         'url_request/url_request_filter.h',
1077         'url_request/url_request_ftp_job.cc',
1078         'url_request/url_request_ftp_job.h',
1079         'url_request/url_request_http_job.cc',
1080         'url_request/url_request_http_job.h',
1081         'url_request/url_request_job.cc',
1082         'url_request/url_request_job.h',
1083         'url_request/url_request_job_factory.cc',
1084         'url_request/url_request_job_factory.h',
1085         'url_request/url_request_job_factory_impl.cc',
1086         'url_request/url_request_job_factory_impl.h',
1087         'url_request/url_request_job_manager.cc',
1088         'url_request/url_request_job_manager.h',
1089         'url_request/url_request_netlog_params.cc',
1090         'url_request/url_request_netlog_params.h',
1091         'url_request/url_request_redirect_job.cc',
1092         'url_request/url_request_redirect_job.h',
1093         'url_request/url_request_simple_job.cc',
1094         'url_request/url_request_simple_job.h',
1095         'url_request/url_request_status.h',
1096         'url_request/url_request_test_job.cc',
1097         'url_request/url_request_test_job.h',
1098         'url_request/url_request_throttler_entry.cc',
1099         'url_request/url_request_throttler_entry.h',
1100         'url_request/url_request_throttler_entry_interface.h',
1101         'url_request/url_request_throttler_header_adapter.cc',
1102         'url_request/url_request_throttler_header_adapter.h',
1103         'url_request/url_request_throttler_header_interface.h',
1104         'url_request/url_request_throttler_manager.cc',
1105         'url_request/url_request_throttler_manager.h',
1106         'url_request/view_cache_helper.cc',
1107         'url_request/view_cache_helper.h',
1108         'websockets/websocket_basic_stream.cc',
1109         'websockets/websocket_basic_stream.h',
1110         'websockets/websocket_channel.cc',
1111         'websockets/websocket_channel.h',
1112         'websockets/websocket_deflater.h',
1113         'websockets/websocket_deflater.cc',
1114         'websockets/websocket_errors.cc',
1115         'websockets/websocket_errors.h',
1116         'websockets/websocket_extension.cc',
1117         'websockets/websocket_extension.h',
1118         'websockets/websocket_extension_parser.cc',
1119         'websockets/websocket_extension_parser.h',
1120         'websockets/websocket_frame.cc',
1121         'websockets/websocket_frame.h',
1122         'websockets/websocket_frame_parser.cc',
1123         'websockets/websocket_frame_parser.h',
1124         'websockets/websocket_handshake_constants.cc',
1125         'websockets/websocket_handshake_constants.h',
1126         'websockets/websocket_handshake_handler.cc',
1127         'websockets/websocket_handshake_handler.h',
1128         'websockets/websocket_job.cc',
1129         'websockets/websocket_job.h',
1130         'websockets/websocket_mux.h',
1131         'websockets/websocket_net_log_params.cc',
1132         'websockets/websocket_net_log_params.h',
1133         'websockets/websocket_stream.cc',
1134         'websockets/websocket_stream.h',
1135         'websockets/websocket_stream_base.h',
1136         'websockets/websocket_throttle.cc',
1137         'websockets/websocket_throttle.h',
1138       ],
1139       'defines': [
1140         'NET_IMPLEMENTATION',
1141       ],
1142       'export_dependent_settings': [
1143         '../base/base.gyp:base',
1144       ],
1145       'conditions': [
1146         ['chromeos==1', {
1147           'sources!': [
1148              'base/network_change_notifier_linux.cc',
1149              'base/network_change_notifier_linux.h',
1150              'base/network_change_notifier_netlink_linux.cc',
1151              'base/network_change_notifier_netlink_linux.h',
1152              'proxy/proxy_config_service_linux.cc',
1153              'proxy/proxy_config_service_linux.h',
1154           ],
1155         }],
1156         ['use_kerberos==1', {
1157           'defines': [
1158             'USE_KERBEROS',
1159           ],
1160           'conditions': [
1161             ['OS=="openbsd"', {
1162               'include_dirs': [
1163                 '/usr/include/kerberosV'
1164               ],
1165             }],
1166             ['linux_link_kerberos==1', {
1167               'link_settings': {
1168                 'ldflags': [
1169                   '<!@(krb5-config --libs gssapi)',
1170                 ],
1171               },
1172             }, { # linux_link_kerberos==0
1173               'defines': [
1174                 'DLOPEN_KERBEROS',
1175               ],
1176             }],
1177           ],
1178         }, { # use_kerberos == 0
1179           'sources!': [
1180             'http/http_auth_gssapi_posix.cc',
1181             'http/http_auth_gssapi_posix.h',
1182             'http/http_auth_handler_negotiate.h',
1183             'http/http_auth_handler_negotiate.cc',
1184           ],
1185         }],
1186         ['posix_avoid_mmap==1', {
1187           'defines': [
1188             'POSIX_AVOID_MMAP',
1189           ],
1190           'direct_dependent_settings': {
1191             'defines': [
1192               'POSIX_AVOID_MMAP',
1193             ],
1194           },
1195           'sources!': [
1196             'disk_cache/mapped_file_posix.cc',
1197           ],
1198         }, { # else
1199           'sources!': [
1200             'disk_cache/mapped_file_avoid_mmap_posix.cc',
1201           ],
1202         }],
1203         ['disable_ftp_support==1', {
1204           'sources/': [
1205             ['exclude', '^ftp/'],
1206           ],
1207           'sources!': [
1208             'url_request/ftp_protocol_handler.cc',
1209             'url_request/ftp_protocol_handler.h',
1210             'url_request/url_request_ftp_job.cc',
1211             'url_request/url_request_ftp_job.h',
1212           ],
1213         }],
1214         ['enable_built_in_dns==1', {
1215           'defines': [
1216             'ENABLE_BUILT_IN_DNS',
1217           ]
1218         }, { # else
1219           'sources!': [
1220             'dns/address_sorter_posix.cc',
1221             'dns/address_sorter_posix.h',
1222             'dns/dns_client.cc',
1223           ],
1224         }],
1225         ['use_tracing_cache_backend==1', {
1226           'defines': [
1227             'USE_TRACING_CACHE_BACKEND'
1228           ],
1229          }],
1230         ['use_openssl==1', {
1231             'sources!': [
1232               'base/crypto_module_nss.cc',
1233               'base/keygen_handler_nss.cc',
1234               'base/nss_memio.c',
1235               'base/nss_memio.h',
1236               'cert/cert_database_nss.cc',
1237               'cert/cert_verify_proc_nss.cc',
1238               'cert/cert_verify_proc_nss.h',
1239               'cert/jwk_serializer_nss.cc',
1240               'cert/nss_cert_database.cc',
1241               'cert/nss_cert_database.h',
1242               'cert/test_root_certs_nss.cc',
1243               'cert/x509_certificate_nss.cc',
1244               'cert/x509_util_nss.cc',
1245               'cert/x509_util_nss.h',
1246               'ocsp/nss_ocsp.cc',
1247               'ocsp/nss_ocsp.h',
1248               'quic/crypto/aes_128_gcm_12_decrypter_nss.cc',
1249               'quic/crypto/aes_128_gcm_12_encrypter_nss.cc',
1250               'quic/crypto/channel_id_nss.cc',
1251               'quic/crypto/p256_key_exchange_nss.cc',
1252               'socket/nss_ssl_util.cc',
1253               'socket/nss_ssl_util.h',
1254               'socket/ssl_client_socket_nss.cc',
1255               'socket/ssl_client_socket_nss.h',
1256               'socket/ssl_server_socket_nss.cc',
1257               'socket/ssl_server_socket_nss.h',
1258               'ssl/client_cert_store_impl_nss.cc',
1259               'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1260               'third_party/mozilla_security_manager/nsKeygenHandler.h',
1261               'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1262               'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1263               'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1264               'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1265             ],
1266           },
1267           {  # else !use_openssl: remove the unneeded files
1268             'sources!': [
1269               'base/crypto_module_openssl.cc',
1270               'base/keygen_handler_openssl.cc',
1271               'base/openssl_private_key_store.h',
1272               'base/openssl_private_key_store_android.cc',
1273               'base/openssl_private_key_store_memory.cc',
1274               'cert/cert_database_openssl.cc',
1275               'cert/cert_verify_proc_openssl.cc',
1276               'cert/cert_verify_proc_openssl.h',
1277               'cert/jwk_serializer_openssl.cc',
1278               'cert/test_root_certs_openssl.cc',
1279               'cert/x509_certificate_openssl.cc',
1280               'cert/x509_util_openssl.cc',
1281               'cert/x509_util_openssl.h',
1282               'quic/crypto/aes_128_gcm_12_decrypter_openssl.cc',
1283               'quic/crypto/aes_128_gcm_12_encrypter_openssl.cc',
1284               'quic/crypto/channel_id_openssl.cc',
1285               'quic/crypto/p256_key_exchange_openssl.cc',
1286               'quic/crypto/scoped_evp_cipher_ctx.cc',
1287               'quic/crypto/scoped_evp_cipher_ctx.h',
1288               'socket/ssl_client_socket_openssl.cc',
1289               'socket/ssl_client_socket_openssl.h',
1290               'socket/ssl_server_socket_openssl.cc',
1291               'ssl/openssl_client_key_store.cc',
1292               'ssl/openssl_client_key_store.h',
1293             ],
1294           },
1295         ],
1296         [ 'use_glib == 1', {
1297             'dependencies': [
1298               '../build/linux/system.gyp:gconf',
1299               '../build/linux/system.gyp:gio',
1300             ],
1301             'conditions': [
1302               ['use_openssl==1', {
1303                 'dependencies': [
1304                   '../third_party/openssl/openssl.gyp:openssl',
1305                 ],
1306               },
1307               {  # else use_openssl==0, use NSS
1308                 'dependencies': [
1309                   '../build/linux/system.gyp:ssl',
1310                 ],
1311               }],
1312               ['os_bsd==1', {
1313                 'sources!': [
1314                   'base/network_change_notifier_linux.cc',
1315                   'base/network_change_notifier_netlink_linux.cc',
1316                   'proxy/proxy_config_service_linux.cc',
1317                 ],
1318               },{
1319                 'dependencies': [
1320                   '../build/linux/system.gyp:libresolv',
1321                 ],
1322               }],
1323               ['OS=="solaris"', {
1324                 'link_settings': {
1325                   'ldflags': [
1326                     '-R/usr/lib/mps',
1327                   ],
1328                 },
1329               }],
1330             ],
1331           },
1332           {  # else: OS is not in the above list
1333             'sources!': [
1334               'base/crypto_module_nss.cc',
1335               'base/keygen_handler_nss.cc',
1336               'cert/cert_database_nss.cc',
1337               'cert/nss_cert_database.cc',
1338               'cert/nss_cert_database.h',
1339               'cert/test_root_certs_nss.cc',
1340               'cert/x509_certificate_nss.cc',
1341               'ocsp/nss_ocsp.cc',
1342               'ocsp/nss_ocsp.h',
1343               'third_party/mozilla_security_manager/nsKeygenHandler.cpp',
1344               'third_party/mozilla_security_manager/nsKeygenHandler.h',
1345               'third_party/mozilla_security_manager/nsNSSCertificateDB.cpp',
1346               'third_party/mozilla_security_manager/nsNSSCertificateDB.h',
1347               'third_party/mozilla_security_manager/nsPKCS12Blob.cpp',
1348               'third_party/mozilla_security_manager/nsPKCS12Blob.h',
1349             ],
1350           },
1351         ],
1352         [ 'toolkit_uses_gtk == 1', {
1353           'dependencies': [
1354             '../build/linux/system.gyp:gdk',
1355           ],
1356         }],
1357         [ 'use_nss != 1', {
1358             'sources!': [
1359               'cert/cert_verify_proc_nss.cc',
1360               'cert/cert_verify_proc_nss.h',
1361               'ssl/client_cert_store_impl_nss.cc',
1362             ],
1363         }],
1364         [ 'enable_websockets != 1', {
1365             'sources/': [
1366               ['exclude', '^socket_stream/'],
1367               ['exclude', '^websockets/'],
1368             ],
1369             'sources!': [
1370               'spdy/spdy_websocket_stream.cc',
1371               'spdy/spdy_websocket_stream.h',
1372             ],
1373         }],
1374         [ 'enable_mdns != 1', {
1375             'sources!' : [
1376               'dns/mdns_cache.cc',
1377               'dns/mdns_cache.h',
1378               'dns/mdns_client.cc',
1379               'dns/mdns_client.h',
1380               'dns/mdns_client_impl.cc',
1381               'dns/mdns_client_impl.h',
1382               'dns/record_parsed.cc',
1383               'dns/record_parsed.h',
1384               'dns/record_rdata.cc',
1385               'dns/record_rdata.h',
1386             ]
1387         }],
1388         [ 'OS == "win"', {
1389             'sources!': [
1390               'http/http_auth_handler_ntlm_portable.cc',
1391               'socket/tcp_socket_libevent.cc',
1392               'socket/tcp_socket_libevent.h',
1393               'ssl/client_cert_store_impl_nss.cc',
1394               'udp/udp_socket_libevent.cc',
1395               'udp/udp_socket_libevent.h',
1396             ],
1397             'dependencies': [
1398               '../third_party/nss/nss.gyp:nspr',
1399               '../third_party/nss/nss.gyp:nss',
1400               'third_party/nss/ssl.gyp:libssl',
1401             ],
1402             # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1403             'msvs_disabled_warnings': [4267, ],
1404           }, { # else: OS != "win"
1405             'sources!': [
1406               'base/winsock_init.cc',
1407               'base/winsock_init.h',
1408               'base/winsock_util.cc',
1409               'base/winsock_util.h',
1410               'proxy/proxy_resolver_winhttp.cc',
1411               'proxy/proxy_resolver_winhttp.h',
1412             ],
1413           },
1414         ],
1415         [ 'OS == "mac"', {
1416             'sources!': [
1417               'ssl/client_cert_store_impl_nss.cc',
1418             ],
1419             'dependencies': [
1420               '../third_party/nss/nss.gyp:nspr',
1421               '../third_party/nss/nss.gyp:nss',
1422               'third_party/nss/ssl.gyp:libssl',
1423             ],
1424             'link_settings': {
1425               'libraries': [
1426                 '$(SDKROOT)/System/Library/Frameworks/Foundation.framework',
1427                 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1428                 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1429                 '$(SDKROOT)/usr/lib/libresolv.dylib',
1430               ]
1431             },
1432           },
1433         ],
1434         [ 'OS == "ios"', {
1435             'dependencies': [
1436               '../third_party/nss/nss.gyp:nss',
1437               'third_party/nss/ssl.gyp:libssl',
1438             ],
1439             'link_settings': {
1440               'libraries': [
1441                 '$(SDKROOT)/System/Library/Frameworks/CFNetwork.framework',
1442                 '$(SDKROOT)/System/Library/Frameworks/MobileCoreServices.framework',
1443                 '$(SDKROOT)/System/Library/Frameworks/Security.framework',
1444                 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framework',
1445                 '$(SDKROOT)/usr/lib/libresolv.dylib',
1446               ],
1447             },
1448           },
1449         ],
1450         ['OS=="android" and _toolset=="target" and android_webview_build == 0', {
1451           'dependencies': [
1452              'net_java',
1453           ],
1454         }],
1455         [ 'OS == "android"', {
1456             'dependencies': [
1457               '../third_party/openssl/openssl.gyp:openssl',
1458               'net_jni_headers',
1459             ],
1460             'sources!': [
1461               'base/openssl_private_key_store_memory.cc',
1462               'cert/cert_database_openssl.cc',
1463               'cert/cert_verify_proc_openssl.cc',
1464               'cert/test_root_certs_openssl.cc',
1465             ],
1466             # The net/android/keystore_openssl.cc source file needs to
1467             # access an OpenSSL-internal header.
1468             'include_dirs': [
1469               '../third_party/openssl',
1470             ],
1471           },
1472         ],
1473       ],
1474       'target_conditions': [
1475         # These source files are excluded by default platform rules, but they
1476         # are needed in specific cases on other platforms. Re-including them can
1477         # only be done in target_conditions as it is evaluated after the
1478         # platform rules.
1479         ['OS == "android"', {
1480           'sources/': [
1481             ['include', '^base/platform_mime_util_linux\\.cc$'],
1482           ],
1483         }],
1484         ['OS == "ios"', {
1485           'sources/': [
1486             ['include', '^base/network_change_notifier_mac\\.cc$'],
1487             ['include', '^base/network_config_watcher_mac\\.cc$'],
1488             ['include', '^base/platform_mime_util_mac\\.mm$'],
1489             # The iOS implementation only partially uses NSS and thus does not
1490             # defines |use_nss|. In particular the |USE_NSS| preprocessor
1491             # definition is not used. The following files are needed though:
1492             ['include', '^cert/cert_verify_proc_nss\\.cc$'],
1493             ['include', '^cert/cert_verify_proc_nss\\.h$'],
1494             ['include', '^cert/test_root_certs_nss\\.cc$'],
1495             ['include', '^cert/x509_util_nss\\.cc$'],
1496             ['include', '^cert/x509_util_nss\\.h$'],
1497             ['include', '^dns/notify_watcher_mac\\.cc$'],
1498             ['include', '^proxy/proxy_resolver_mac\\.cc$'],
1499             ['include', '^proxy/proxy_server_mac\\.cc$'],
1500             ['include', '^ocsp/nss_ocsp\\.cc$'],
1501             ['include', '^ocsp/nss_ocsp\\.h$'],
1502           ],
1503         }],
1504       ],
1505     },
1506     {
1507       'target_name': 'net_unittests',
1508       'type': '<(gtest_target_type)',
1509       'dependencies': [
1510         '../base/base.gyp:base',
1511         '../base/base.gyp:base_i18n',
1512         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
1513         '../crypto/crypto.gyp:crypto',
1514         '../testing/gmock.gyp:gmock',
1515         '../testing/gtest.gyp:gtest',
1516         '../third_party/zlib/zlib.gyp:zlib',
1517         '../url/url.gyp:url_lib',
1518         'http_server',
1519         'net',
1520         'net_test_support'
1521       ],
1522       'sources': [
1523         'android/keystore_unittest.cc',
1524         'android/network_change_notifier_android_unittest.cc',
1525         'base/address_list_unittest.cc',
1526         'base/address_tracker_linux_unittest.cc',
1527         'base/backoff_entry_unittest.cc',
1528         'base/big_endian_unittest.cc',
1529         'base/data_url_unittest.cc',
1530         'base/directory_lister_unittest.cc',
1531         'base/dns_util_unittest.cc',
1532         'base/escape_unittest.cc',
1533         'base/expiring_cache_unittest.cc',
1534         'base/file_stream_unittest.cc',
1535         'base/filter_unittest.cc',
1536         'base/int128_unittest.cc',
1537         'base/gzip_filter_unittest.cc',
1538         'base/host_mapping_rules_unittest.cc',
1539         'base/host_port_pair_unittest.cc',
1540         'base/ip_endpoint_unittest.cc',
1541         'base/keygen_handler_unittest.cc',
1542         'base/mime_sniffer_unittest.cc',
1543         'base/mime_util_unittest.cc',
1544         'base/mock_filter_context.cc',
1545         'base/mock_filter_context.h',
1546         'base/net_log_logger_unittest.cc',
1547         'base/net_log_unittest.cc',
1548         'base/net_log_unittest.h',
1549         'base/net_util_unittest.cc',
1550         'base/network_change_notifier_win_unittest.cc',
1551         'base/prioritized_dispatcher_unittest.cc',
1552         'base/priority_queue_unittest.cc',
1553         'base/registry_controlled_domains/registry_controlled_domain_unittest.cc',
1554         'base/sdch_filter_unittest.cc',
1555         'base/static_cookie_policy_unittest.cc',
1556         'base/test_completion_callback_unittest.cc',
1557         'base/upload_bytes_element_reader_unittest.cc',
1558         'base/upload_data_stream_unittest.cc',
1559         'base/upload_file_element_reader_unittest.cc',
1560         'base/url_util_unittest.cc',
1561         'cert/cert_verify_proc_unittest.cc',
1562         'cert/crl_set_unittest.cc',
1563         'cert/ev_root_ca_metadata_unittest.cc',
1564         'cert/jwk_serializer_unittest.cc',
1565         'cert/multi_threaded_cert_verifier_unittest.cc',
1566         'cert/nss_cert_database_unittest.cc',
1567         'cert/pem_tokenizer_unittest.cc',
1568         'cert/test_root_certs_unittest.cc',
1569         'cert/x509_certificate_unittest.cc',
1570         'cert/x509_cert_types_unittest.cc',
1571         'cert/x509_util_unittest.cc',
1572         'cert/x509_util_nss_unittest.cc',
1573         'cert/x509_util_openssl_unittest.cc',
1574         'cookies/canonical_cookie_unittest.cc',
1575         'cookies/cookie_constants_unittest.cc',
1576         'cookies/cookie_monster_unittest.cc',
1577         'cookies/cookie_store_unittest.h',
1578         'cookies/cookie_util_unittest.cc',
1579         'cookies/parsed_cookie_unittest.cc',
1580         'disk_cache/addr_unittest.cc',
1581         'disk_cache/backend_unittest.cc',
1582         'disk_cache/bitmap_unittest.cc',
1583         'disk_cache/block_files_unittest.cc',
1584         'disk_cache/cache_util_unittest.cc',
1585         'disk_cache/entry_unittest.cc',
1586         'disk_cache/mapped_file_unittest.cc',
1587         'disk_cache/simple/simple_index_file_unittest.cc',
1588         'disk_cache/simple/simple_index_unittest.cc',
1589         'disk_cache/simple/simple_test_util.h',
1590         'disk_cache/simple/simple_test_util.cc',
1591         'disk_cache/simple/simple_util_unittest.cc',
1592         'disk_cache/simple/simple_version_upgrade_unittest.cc',
1593         'disk_cache/storage_block_unittest.cc',
1594         'disk_cache/flash/log_store_entry_unittest.cc',
1595         'disk_cache/flash/log_store_unittest.cc',
1596         'disk_cache/flash/segment_unittest.cc',
1597         'disk_cache/flash/storage_unittest.cc',
1598         'disk_cache/v3/block_bitmaps_unittest.cc',
1599         'dns/address_sorter_posix_unittest.cc',
1600         'dns/address_sorter_unittest.cc',
1601         'dns/dns_config_service_posix_unittest.cc',
1602         'dns/dns_config_service_unittest.cc',
1603         'dns/dns_config_service_win_unittest.cc',
1604         'dns/dns_hosts_unittest.cc',
1605         'dns/dns_query_unittest.cc',
1606         'dns/dns_response_unittest.cc',
1607         'dns/dns_session_unittest.cc',
1608         'dns/dns_transaction_unittest.cc',
1609         'dns/host_cache_unittest.cc',
1610         'dns/host_resolver_impl_unittest.cc',
1611         'dns/mapped_host_resolver_unittest.cc',
1612         'dns/mdns_cache_unittest.cc',
1613         'dns/mdns_client_unittest.cc',
1614         'dns/serial_worker_unittest.cc',
1615         'dns/record_parsed_unittest.cc',
1616         'dns/record_rdata_unittest.cc',
1617         'dns/single_request_host_resolver_unittest.cc',
1618         'ftp/ftp_auth_cache_unittest.cc',
1619         'ftp/ftp_ctrl_response_buffer_unittest.cc',
1620         'ftp/ftp_directory_listing_parser_ls_unittest.cc',
1621         'ftp/ftp_directory_listing_parser_netware_unittest.cc',
1622         'ftp/ftp_directory_listing_parser_os2_unittest.cc',
1623         'ftp/ftp_directory_listing_parser_unittest.cc',
1624         'ftp/ftp_directory_listing_parser_unittest.h',
1625         'ftp/ftp_directory_listing_parser_vms_unittest.cc',
1626         'ftp/ftp_directory_listing_parser_windows_unittest.cc',
1627         'ftp/ftp_network_transaction_unittest.cc',
1628         'ftp/ftp_util_unittest.cc',
1629         'http/des_unittest.cc',
1630         'http/http_auth_cache_unittest.cc',
1631         'http/http_auth_controller_unittest.cc',
1632         'http/http_auth_filter_unittest.cc',
1633         'http/http_auth_gssapi_posix_unittest.cc',
1634         'http/http_auth_handler_basic_unittest.cc',
1635         'http/http_auth_handler_digest_unittest.cc',
1636         'http/http_auth_handler_factory_unittest.cc',
1637         'http/http_auth_handler_mock.cc',
1638         'http/http_auth_handler_mock.h',
1639         'http/http_auth_handler_negotiate_unittest.cc',
1640         'http/http_auth_handler_unittest.cc',
1641         'http/http_auth_sspi_win_unittest.cc',
1642         'http/http_auth_unittest.cc',
1643         'http/http_byte_range_unittest.cc',
1644         'http/http_cache_unittest.cc',
1645         'http/http_chunked_decoder_unittest.cc',
1646         'http/http_content_disposition_unittest.cc',
1647         'http/http_network_layer_unittest.cc',
1648         'http/http_network_transaction_unittest.cc',
1649         'http/http_network_transaction_ssl_unittest.cc',
1650         'http/http_pipelined_connection_impl_unittest.cc',
1651         'http/http_pipelined_host_forced_unittest.cc',
1652         'http/http_pipelined_host_impl_unittest.cc',
1653         'http/http_pipelined_host_pool_unittest.cc',
1654         'http/http_pipelined_host_test_util.cc',
1655         'http/http_pipelined_host_test_util.h',
1656         'http/http_pipelined_network_transaction_unittest.cc',
1657         'http/http_proxy_client_socket_pool_unittest.cc',
1658         'http/http_request_headers_unittest.cc',
1659         'http/http_response_body_drainer_unittest.cc',
1660         'http/http_response_headers_unittest.cc',
1661         'http/http_security_headers_unittest.cc',
1662         'http/http_server_properties_impl_unittest.cc',
1663         'http/http_status_code_unittest.cc',
1664         'http/http_stream_factory_impl_request_unittest.cc',
1665         'http/http_stream_factory_impl_unittest.cc',
1666         'http/http_stream_parser_unittest.cc',
1667         'http/http_transaction_unittest.cc',
1668         'http/http_transaction_unittest.h',
1669         'http/http_util_unittest.cc',
1670         'http/http_vary_data_unittest.cc',
1671         'http/mock_allow_url_security_manager.cc',
1672         'http/mock_allow_url_security_manager.h',
1673         'http/mock_gssapi_library_posix.cc',
1674         'http/mock_gssapi_library_posix.h',
1675         'http/mock_http_cache.cc',
1676         'http/mock_http_cache.h',
1677         'http/mock_sspi_library_win.cc',
1678         'http/mock_sspi_library_win.h',
1679         'http/transport_security_state_unittest.cc',
1680         'http/url_security_manager_unittest.cc',
1681         'ocsp/nss_ocsp_unittest.cc',
1682         'proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc',
1683         'proxy/dhcp_proxy_script_fetcher_factory_unittest.cc',
1684         'proxy/dhcp_proxy_script_fetcher_win_unittest.cc',
1685         'proxy/multi_threaded_proxy_resolver_unittest.cc',
1686         'proxy/network_delegate_error_observer_unittest.cc',
1687         'proxy/proxy_bypass_rules_unittest.cc',
1688         'proxy/proxy_config_service_android_unittest.cc',
1689         'proxy/proxy_config_service_linux_unittest.cc',
1690         'proxy/proxy_config_service_win_unittest.cc',
1691         'proxy/proxy_config_unittest.cc',
1692         'proxy/proxy_info_unittest.cc',
1693         'proxy/proxy_list_unittest.cc',
1694         'proxy/proxy_resolver_v8_tracing_unittest.cc',
1695         'proxy/proxy_resolver_v8_unittest.cc',
1696         'proxy/proxy_script_decider_unittest.cc',
1697         'proxy/proxy_script_fetcher_impl_unittest.cc',
1698         'proxy/proxy_server_unittest.cc',
1699         'proxy/proxy_service_unittest.cc',
1700         'quic/congestion_control/available_channel_estimator_test.cc',
1701         'quic/congestion_control/channel_estimator_test.cc',
1702         'quic/congestion_control/cube_root_test.cc',
1703         'quic/congestion_control/cubic_test.cc',
1704         'quic/congestion_control/fix_rate_test.cc',
1705         'quic/congestion_control/hybrid_slow_start_test.cc',
1706         'quic/congestion_control/inter_arrival_bitrate_ramp_up_test.cc',
1707         'quic/congestion_control/inter_arrival_overuse_detector_test.cc',
1708         'quic/congestion_control/inter_arrival_probe_test.cc',
1709         'quic/congestion_control/inter_arrival_receiver_test.cc',
1710         'quic/congestion_control/inter_arrival_state_machine_test.cc',
1711         'quic/congestion_control/inter_arrival_sender_test.cc',
1712         'quic/congestion_control/leaky_bucket_test.cc',
1713         'quic/congestion_control/paced_sender_test.cc',
1714         'quic/congestion_control/quic_congestion_control_test.cc',
1715         'quic/congestion_control/quic_congestion_manager_test.cc',
1716         'quic/congestion_control/quic_max_sized_map_test.cc',
1717         'quic/congestion_control/tcp_cubic_sender_test.cc',
1718         'quic/congestion_control/tcp_receiver_test.cc',
1719         'quic/crypto/aes_128_gcm_12_decrypter_test.cc',
1720         'quic/crypto/aes_128_gcm_12_encrypter_test.cc',
1721         'quic/crypto/cert_compressor_test.cc',
1722         'quic/crypto/channel_id_test.cc',
1723         'quic/crypto/common_cert_set_test.cc',
1724         'quic/crypto/crypto_framer_test.cc',
1725         'quic/crypto/crypto_handshake_test.cc',
1726         'quic/crypto/crypto_secret_boxer_test.cc',
1727         'quic/crypto/crypto_server_test.cc',
1728         'quic/crypto/crypto_utils_test.cc',
1729         'quic/crypto/curve25519_key_exchange_test.cc',
1730         'quic/crypto/null_decrypter_test.cc',
1731         'quic/crypto/null_encrypter_test.cc',
1732         'quic/crypto/p256_key_exchange_test.cc',
1733         'quic/crypto/proof_test.cc',
1734         'quic/crypto/quic_random_test.cc',
1735         'quic/crypto/strike_register_test.cc',
1736         'quic/test_tools/crypto_test_utils.cc',
1737         'quic/test_tools/crypto_test_utils.h',
1738         'quic/test_tools/crypto_test_utils_chromium.cc',
1739         'quic/test_tools/crypto_test_utils_nss.cc',
1740         'quic/test_tools/crypto_test_utils_openssl.cc',
1741         'quic/test_tools/mock_clock.cc',
1742         'quic/test_tools/mock_clock.h',
1743         'quic/test_tools/mock_crypto_client_stream.cc',
1744         'quic/test_tools/mock_crypto_client_stream.h',
1745         'quic/test_tools/mock_crypto_client_stream_factory.cc',
1746         'quic/test_tools/mock_crypto_client_stream_factory.h',
1747         'quic/test_tools/mock_random.cc',
1748         'quic/test_tools/mock_random.h',
1749         'quic/test_tools/quic_client_session_peer.cc',
1750         'quic/test_tools/quic_client_session_peer.h',
1751         'quic/test_tools/quic_connection_peer.cc',
1752         'quic/test_tools/quic_connection_peer.h',
1753         'quic/test_tools/quic_framer_peer.cc',
1754         'quic/test_tools/quic_framer_peer.h',
1755         'quic/test_tools/quic_packet_creator_peer.cc',
1756         'quic/test_tools/quic_packet_creator_peer.h',
1757         'quic/test_tools/quic_received_packet_manager_peer.cc',
1758         'quic/test_tools/quic_received_packet_manager_peer.h',
1759         'quic/test_tools/quic_session_peer.cc',
1760         'quic/test_tools/quic_session_peer.h',
1761         'quic/test_tools/quic_test_utils.cc',
1762         'quic/test_tools/quic_test_utils.h',
1763         'quic/test_tools/reliable_quic_stream_peer.cc',
1764         'quic/test_tools/reliable_quic_stream_peer.h',
1765         'quic/test_tools/simple_quic_framer.cc',
1766         'quic/test_tools/simple_quic_framer.h',
1767         'quic/test_tools/test_task_runner.cc',
1768         'quic/test_tools/test_task_runner.h',
1769         'quic/quic_ack_notifier_test.cc',
1770         'quic/quic_alarm_test.cc',
1771         'quic/quic_bandwidth_test.cc',
1772         'quic/quic_client_session_test.cc',
1773         'quic/quic_clock_test.cc',
1774         'quic/quic_config_test.cc',
1775         'quic/quic_connection_helper_test.cc',
1776         'quic/quic_connection_test.cc',
1777         'quic/quic_crypto_client_stream_test.cc',
1778         'quic/quic_crypto_server_stream_test.cc',
1779         'quic/quic_crypto_stream_test.cc',
1780         'quic/quic_data_writer_test.cc',
1781         'quic/quic_fec_group_test.cc',
1782         'quic/quic_framer_test.cc',
1783         'quic/quic_http_stream_test.cc',
1784         'quic/quic_http_utils_test.cc',
1785         'quic/quic_network_transaction_unittest.cc',
1786         'quic/quic_packet_creator_test.cc',
1787         'quic/quic_packet_generator_test.cc',
1788         'quic/quic_protocol_test.cc',
1789         'quic/quic_received_packet_manager_test.cc',
1790         'quic/quic_reliable_client_stream_test.cc',
1791         'quic/quic_sent_entropy_manager_test.cc',
1792         'quic/quic_sent_packet_manager_test.cc',
1793         'quic/quic_session_test.cc',
1794         'quic/quic_spdy_compressor_test.cc',
1795         'quic/quic_spdy_decompressor_test.cc',
1796         'quic/quic_stream_factory_test.cc',
1797         'quic/quic_stream_sequencer_test.cc',
1798         'quic/quic_time_test.cc',
1799         'quic/quic_utils_test.cc',
1800         'quic/reliable_quic_stream_test.cc',
1801         'server/http_server_response_info_unittest.cc',
1802         'server/http_server_unittest.cc',
1803         'socket/buffered_write_stream_socket_unittest.cc',
1804         'socket/client_socket_pool_base_unittest.cc',
1805         'socket/deterministic_socket_data_unittest.cc',
1806         'socket/mock_client_socket_pool_manager.cc',
1807         'socket/mock_client_socket_pool_manager.h',
1808         'socket/socks5_client_socket_unittest.cc',
1809         'socket/socks_client_socket_pool_unittest.cc',
1810         'socket/socks_client_socket_unittest.cc',
1811         'socket/ssl_client_socket_openssl_unittest.cc',
1812         'socket/ssl_client_socket_pool_unittest.cc',
1813         'socket/ssl_client_socket_unittest.cc',
1814         'socket/ssl_server_socket_unittest.cc',
1815         'socket/tcp_client_socket_unittest.cc',
1816         'socket/tcp_listen_socket_unittest.cc',
1817         'socket/tcp_listen_socket_unittest.h',
1818         'socket/tcp_server_socket_unittest.cc',
1819         'socket/tcp_socket_unittest.cc',
1820         'socket/transport_client_socket_pool_unittest.cc',
1821         'socket/transport_client_socket_unittest.cc',
1822         'socket/unix_domain_socket_posix_unittest.cc',
1823         'socket_stream/socket_stream_metrics_unittest.cc',
1824         'socket_stream/socket_stream_unittest.cc',
1825         'spdy/buffered_spdy_framer_unittest.cc',
1826         'spdy/spdy_credential_builder_unittest.cc',
1827         'spdy/spdy_buffer_unittest.cc',
1828         'spdy/spdy_credential_state_unittest.cc',
1829         'spdy/spdy_frame_builder_test.cc',
1830         'spdy/spdy_frame_reader_test.cc',
1831         'spdy/spdy_framer_test.cc',
1832         'spdy/spdy_header_block_unittest.cc',
1833         'spdy/spdy_http_stream_unittest.cc',
1834         'spdy/spdy_http_utils_unittest.cc',
1835         'spdy/spdy_network_transaction_unittest.cc',
1836         'spdy/spdy_priority_forest_test.cc',
1837         'spdy/spdy_protocol_test.cc',
1838         'spdy/spdy_proxy_client_socket_unittest.cc',
1839         'spdy/spdy_read_queue_unittest.cc',
1840         'spdy/spdy_session_pool_unittest.cc',
1841         'spdy/spdy_session_test_util.cc',
1842         'spdy/spdy_session_test_util.h',
1843         'spdy/spdy_session_unittest.cc',
1844         'spdy/spdy_stream_test_util.cc',
1845         'spdy/spdy_stream_test_util.h',
1846         'spdy/spdy_stream_unittest.cc',
1847         'spdy/spdy_test_util_common.cc',
1848         'spdy/spdy_test_util_common.h',
1849         'spdy/spdy_test_utils.cc',
1850         'spdy/spdy_test_utils.h',
1851         'spdy/spdy_websocket_stream_unittest.cc',
1852         'spdy/spdy_websocket_test_util.cc',
1853         'spdy/spdy_websocket_test_util.h',
1854         'spdy/spdy_write_queue_unittest.cc',
1855         'spdy/write_blocked_list_test.cc',
1856         'ssl/client_cert_store_impl_unittest.cc',
1857         'ssl/default_server_bound_cert_store_unittest.cc',
1858         'ssl/openssl_client_key_store_unittest.cc',
1859         'ssl/server_bound_cert_service_unittest.cc',
1860         'ssl/ssl_cipher_suite_names_unittest.cc',
1861         'ssl/ssl_client_auth_cache_unittest.cc',
1862         'ssl/ssl_config_service_unittest.cc',
1863         'test/embedded_test_server/embedded_test_server_unittest.cc',
1864         'test/embedded_test_server/http_request_unittest.cc',
1865         'test/embedded_test_server/http_response_unittest.cc',
1866         'test/python_utils_unittest.cc',
1867         'test/run_all_unittests.cc',
1868         'test/test_certificate_data.h',
1869         'tools/dump_cache/url_to_filename_encoder.cc',
1870         'tools/dump_cache/url_to_filename_encoder.h',
1871         'tools/dump_cache/url_to_filename_encoder_unittest.cc',
1872         'tools/dump_cache/url_utilities.h',
1873         'tools/dump_cache/url_utilities.cc',
1874         'tools/dump_cache/url_utilities_unittest.cc',
1875         'tools/tld_cleanup/tld_cleanup_util_unittest.cc',
1876         'udp/udp_socket_unittest.cc',
1877         'url_request/url_fetcher_impl_unittest.cc',
1878         'url_request/url_request_context_builder_unittest.cc',
1879         'url_request/url_request_filter_unittest.cc',
1880         'url_request/url_request_ftp_job_unittest.cc',
1881         'url_request/url_request_http_job_unittest.cc',
1882         'url_request/url_request_job_factory_impl_unittest.cc',
1883         'url_request/url_request_job_unittest.cc',
1884         'url_request/url_request_throttler_simulation_unittest.cc',
1885         'url_request/url_request_throttler_test_support.cc',
1886         'url_request/url_request_throttler_test_support.h',
1887         'url_request/url_request_throttler_unittest.cc',
1888         'url_request/url_request_unittest.cc',
1889         'url_request/view_cache_helper_unittest.cc',
1890         'websockets/websocket_basic_stream_test.cc',
1891         'websockets/websocket_channel_test.cc',
1892         'websockets/websocket_deflater_test.cc',
1893         'websockets/websocket_errors_test.cc',
1894         'websockets/websocket_extension_parser_test.cc',
1895         'websockets/websocket_frame_parser_test.cc',
1896         'websockets/websocket_frame_test.cc',
1897         'websockets/websocket_handshake_handler_test.cc',
1898         'websockets/websocket_handshake_handler_spdy_test.cc',
1899         'websockets/websocket_job_test.cc',
1900         'websockets/websocket_net_log_params_test.cc',
1901         'websockets/websocket_throttle_test.cc',
1902       ],
1903       'conditions': [
1904         ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
1905           'dependencies': [
1906             'balsa',
1907             'epoll_server',
1908             'flip_in_mem_edsm_server_base',
1909             'quic_base',
1910           ],
1911           'sources': [
1912             'quic/quic_end_to_end_unittest.cc',
1913             'tools/balsa/balsa_frame_test.cc',
1914             'tools/balsa/balsa_headers_test.cc',
1915             'tools/flip_server/flip_test_utils.cc',
1916             'tools/flip_server/flip_test_utils.h',
1917             'tools/flip_server/http_interface_test.cc',
1918             'tools/flip_server/mem_cache_test.cc',
1919             'tools/flip_server/spdy_interface_test.cc',
1920             'tools/quic/end_to_end_test.cc',
1921             'tools/quic/quic_client_session_test.cc',
1922             'tools/quic/quic_dispatcher_test.cc',
1923             'tools/quic/quic_epoll_clock_test.cc',
1924             'tools/quic/quic_epoll_connection_helper_test.cc',
1925             'tools/quic/quic_in_memory_cache_test.cc',
1926             'tools/quic/quic_reliable_client_stream_test.cc',
1927             'tools/quic/quic_reliable_server_stream_test.cc',
1928             'tools/quic/quic_server_session_test.cc',
1929             'tools/quic/quic_server_test.cc',
1930             'tools/quic/quic_spdy_server_stream_test.cc',
1931             'tools/quic/quic_time_wait_list_manager_test.cc',
1932             'tools/quic/test_tools/http_message_test_utils.cc',
1933             'tools/quic/test_tools/http_message_test_utils.h',
1934             'tools/quic/test_tools/mock_epoll_server.cc',
1935             'tools/quic/test_tools/mock_epoll_server.h',
1936             'tools/quic/test_tools/mock_quic_dispatcher.cc',
1937             'tools/quic/test_tools/mock_quic_dispatcher.h',
1938             'tools/quic/test_tools/quic_client_peer.cc',
1939             'tools/quic/test_tools/quic_client_peer.h',
1940             'tools/quic/test_tools/quic_epoll_connection_helper_peer.cc',
1941             'tools/quic/test_tools/quic_epoll_connection_helper_peer.h',
1942             'tools/quic/test_tools/quic_in_memory_cache_peer.h',
1943             'tools/quic/test_tools/quic_in_memory_cache_peer.cc',
1944             'tools/quic/test_tools/quic_test_client.cc',
1945             'tools/quic/test_tools/quic_test_client.h',
1946             'tools/quic/test_tools/quic_test_utils.cc',
1947             'tools/quic/test_tools/quic_test_utils.h',
1948             'tools/quic/test_tools/server_thread.h',
1949             'tools/quic/test_tools/server_thread.cc',
1950           ],
1951         }],
1952         ['chromeos==1', {
1953           'sources!': [
1954             'base/network_change_notifier_linux_unittest.cc',
1955             'proxy/proxy_config_service_linux_unittest.cc',
1956           ],
1957         }],
1958         [ 'OS == "android"', {
1959           'sources!': [
1960             # No res_ninit() et al on Android, so this doesn't make a lot of
1961             # sense.
1962             'dns/dns_config_service_posix_unittest.cc',
1963             'ssl/client_cert_store_impl_unittest.cc',
1964           ],
1965           'dependencies': [
1966             'net_javatests',
1967             'net_test_jni_headers',
1968           ],
1969         }],
1970         [ 'use_glib == 1', {
1971             'dependencies': [
1972               '../build/linux/system.gyp:ssl',
1973             ],
1974           }, {  # else use_glib == 0: !posix || mac
1975             'sources!': [
1976               'cert/nss_cert_database_unittest.cc',
1977             ],
1978           },
1979         ],
1980         [ 'toolkit_uses_gtk == 1', {
1981             'dependencies': [
1982               '../build/linux/system.gyp:gtk',
1983             ],
1984           },
1985         ],
1986         [ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
1987           'conditions': [
1988             ['linux_use_tcmalloc==1', {
1989               'dependencies': [
1990                 '../base/allocator/allocator.gyp:allocator',
1991               ],
1992             }],
1993           ],
1994         }],
1995         [ 'use_kerberos==1', {
1996           'defines': [
1997             'USE_KERBEROS',
1998           ],
1999         }, { # use_kerberos == 0
2000           'sources!': [
2001             'http/http_auth_gssapi_posix_unittest.cc',
2002             'http/http_auth_handler_negotiate_unittest.cc',
2003             'http/mock_gssapi_library_posix.cc',
2004             'http/mock_gssapi_library_posix.h',
2005           ],
2006         }],
2007         [ 'use_openssl == 1 or (use_glib == 0 and OS != "ios")', {
2008           # Only include this test when on Posix and using NSS for
2009           # cert verification or on iOS (which also uses NSS for certs).
2010           'sources!': [
2011             'ocsp/nss_ocsp_unittest.cc',
2012           ],
2013         }],
2014         [ 'use_openssl==1', {
2015             # When building for OpenSSL, we need to exclude NSS specific tests.
2016             # TODO(bulach): Add equivalent tests when the underlying
2017             #               functionality is ported to OpenSSL.
2018             'sources!': [
2019               'cert/nss_cert_database_unittest.cc',
2020               'cert/x509_util_nss_unittest.cc',
2021               'quic/test_tools/crypto_test_utils_nss.cc',
2022               'ssl/client_cert_store_impl_unittest.cc',
2023             ],
2024           }, {  # else !use_openssl: remove the unneeded files
2025             'sources!': [
2026               'cert/x509_util_openssl_unittest.cc',
2027               'quic/test_tools/crypto_test_utils_openssl.cc',
2028               'socket/ssl_client_socket_openssl_unittest.cc',
2029               'ssl/openssl_client_key_store_unittest.cc',
2030             ],
2031             'sources/': [
2032               ['exclude', '^tools/flip_server'],
2033             ],
2034           },
2035         ],
2036         [ 'enable_websockets != 1', {
2037             'sources/': [
2038               ['exclude', '^socket_stream/'],
2039               ['exclude', '^websockets/'],
2040               ['exclude', '^spdy/spdy_websocket_stream_unittest\\.cc$'],
2041             ],
2042         }],
2043         [ 'disable_ftp_support==1', {
2044             'sources/': [
2045               ['exclude', '^ftp/'],
2046             ],
2047             'sources!': [
2048               'url_request/url_request_ftp_job_unittest.cc',
2049             ],
2050           },
2051         ],
2052         [ 'enable_built_in_dns!=1', {
2053             'sources!': [
2054               'dns/address_sorter_posix_unittest.cc',
2055               'dns/address_sorter_unittest.cc',
2056             ],
2057           },
2058         ],
2059         [ 'use_v8_in_net==1', {
2060             'dependencies': [
2061               'net_with_v8',
2062             ],
2063           }, {  # else: !use_v8_in_net
2064             'sources!': [
2065               'proxy/proxy_resolver_v8_unittest.cc',
2066               'proxy/proxy_resolver_v8_tracing_unittest.cc',
2067             ],
2068           },
2069         ],
2071         [ 'enable_mdns != 1', {
2072             'sources!' : [
2073               'dns/mdns_cache_unittest.cc',
2074               'dns/mdns_client_unittest.cc',
2075               'dns/mdns_query_unittest.cc',
2076               'dns/record_parsed_unittest.cc',
2077               'dns/record_rdata_unittest.cc',
2078             ],
2079         }],
2080         [ 'OS == "win"', {
2081             'sources!': [
2082               'dns/dns_config_service_posix_unittest.cc',
2083               'http/http_auth_gssapi_posix_unittest.cc',
2084             ],
2085             # This is needed to trigger the dll copy step on windows.
2086             # TODO(mark): Specifying this here shouldn't be necessary.
2087             'dependencies': [
2088               '../third_party/icu/icu.gyp:icudata',
2089               '../third_party/nss/nss.gyp:nspr',
2090               '../third_party/nss/nss.gyp:nss',
2091               'third_party/nss/ssl.gyp:libssl',
2092             ],
2093             # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2094             'msvs_disabled_warnings': [4267, ],
2095           },
2096         ],
2097         [ 'OS == "mac"', {
2098             'dependencies': [
2099               '../third_party/nss/nss.gyp:nspr',
2100               '../third_party/nss/nss.gyp:nss',
2101               'third_party/nss/ssl.gyp:libssl',
2102             ],
2103           },
2104         ],
2105         [ 'OS == "ios"', {
2106             'dependencies': [
2107               '../third_party/nss/nss.gyp:nss',
2108             ],
2109             'actions': [
2110               {
2111                 'action_name': 'copy_test_data',
2112                 'variables': {
2113                   'test_data_files': [
2114                     'data/ssl/certificates/',
2115                     'data/test.html',
2116                     'data/url_request_unittest/',
2117                   ],
2118                   'test_data_prefix': 'net',
2119                 },
2120                 'includes': [ '../build/copy_test_data_ios.gypi' ],
2121               },
2122             ],
2123             'sources!': [
2124               # TODO(droger): The following tests are disabled because the
2125               # implementation is missing or incomplete.
2126               # KeygenHandler::GenKeyAndSignChallenge() is not ported to iOS.
2127               'base/keygen_handler_unittest.cc',
2128               # Need to read input data files.
2129               'base/gzip_filter_unittest.cc',
2130               'disk_cache/backend_unittest.cc',
2131               'disk_cache/block_files_unittest.cc',
2132               'socket/ssl_server_socket_unittest.cc',
2133               # Need TestServer.
2134               'proxy/proxy_script_fetcher_impl_unittest.cc',
2135               'socket/ssl_client_socket_unittest.cc',
2136               'ssl/client_cert_store_impl_unittest.cc',
2137               'url_request/url_fetcher_impl_unittest.cc',
2138               'url_request/url_request_context_builder_unittest.cc',
2139               # Needs GetAppOutput().
2140               'test/python_utils_unittest.cc',
2142               # The following tests are disabled because they don't apply to
2143               # iOS.
2144               # OS is not "linux" or "freebsd" or "openbsd".
2145               'socket/unix_domain_socket_posix_unittest.cc',
2146             ],
2147             'conditions': [
2148               ['coverage != 0', {
2149                 'sources!': [
2150                   # These sources can't be built with coverage due to a
2151                   # toolchain bug: http://openradar.appspot.com/radar?id=1499403
2152                   'http/transport_security_state_unittest.cc',
2154                   # These tests crash when run with coverage turned on due to an
2155                   # issue with llvm_gcda_increment_indirect_counter:
2156                   # http://crbug.com/156058
2157                   'cookies/cookie_monster_unittest.cc',
2158                   'cookies/cookie_store_unittest.h',
2159                   'http/http_auth_controller_unittest.cc',
2160                   'http/http_network_layer_unittest.cc',
2161                   'http/http_network_transaction_unittest.cc',
2162                   'spdy/spdy_http_stream_unittest.cc',
2163                   'spdy/spdy_proxy_client_socket_unittest.cc',
2164                   'spdy/spdy_session_unittest.cc',
2166                   # These tests crash when run with coverage turned on:
2167                   # http://crbug.com/177203
2168                   'proxy/proxy_service_unittest.cc',
2169                 ],
2170               }],
2171             ],
2172         }],
2173         [ 'OS == "android"', {
2174             'dependencies': [
2175               '../third_party/openssl/openssl.gyp:openssl',
2176             ],
2177             'sources!': [
2178               'dns/dns_config_service_posix_unittest.cc',
2179             ],
2180           },
2181         ],
2182         ['OS == "android" and gtest_target_type == "shared_library"', {
2183           'dependencies': [
2184             '../testing/android/native_test.gyp:native_test_native_code',
2185           ]
2186         }],
2187       ],
2188     },
2189     {
2190       'target_name': 'net_perftests',
2191       'type': 'executable',
2192       'dependencies': [
2193         '../base/base.gyp:base',
2194         '../base/base.gyp:base_i18n',
2195         '../base/base.gyp:test_support_perf',
2196         '../testing/gtest.gyp:gtest',
2197         '../url/url.gyp:url_lib',
2198         'net',
2199         'net_test_support',
2200       ],
2201       'sources': [
2202         'cookies/cookie_monster_perftest.cc',
2203         'disk_cache/disk_cache_perftest.cc',
2204         'proxy/proxy_resolver_perftest.cc',
2205       ],
2206       'conditions': [
2207         [ 'use_v8_in_net==1', {
2208             'dependencies': [
2209               'net_with_v8',
2210             ],
2211           }, {  # else: !use_v8_in_net
2212             'sources!': [
2213               'proxy/proxy_resolver_perftest.cc',
2214             ],
2215           },
2216         ],
2217         # This is needed to trigger the dll copy step on windows.
2218         # TODO(mark): Specifying this here shouldn't be necessary.
2219         [ 'OS == "win"', {
2220             'dependencies': [
2221               '../third_party/icu/icu.gyp:icudata',
2222             ],
2223             # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2224             'msvs_disabled_warnings': [4267, ],
2225           },
2226         ],
2227       ],
2228     },
2229     {
2230       'target_name': 'net_test_support',
2231       'type': 'static_library',
2232       'dependencies': [
2233         '../base/base.gyp:base',
2234         '../base/base.gyp:test_support_base',
2235         '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2236         '../testing/gtest.gyp:gtest',
2237         '../testing/gmock.gyp:gmock',
2238         '../url/url.gyp:url_lib',
2239         'net',
2240       ],
2241       'export_dependent_settings': [
2242         '../base/base.gyp:base',
2243         '../base/base.gyp:test_support_base',
2244         '../testing/gtest.gyp:gtest',
2245         '../testing/gmock.gyp:gmock',
2246       ],
2247       'sources': [
2248         'base/capturing_net_log.cc',
2249         'base/capturing_net_log.h',
2250         'base/load_timing_info_test_util.cc',
2251         'base/load_timing_info_test_util.h',
2252         'base/mock_file_stream.cc',
2253         'base/mock_file_stream.h',
2254         'base/test_completion_callback.cc',
2255         'base/test_completion_callback.h',
2256         'base/test_data_directory.cc',
2257         'base/test_data_directory.h',
2258         'cert/mock_cert_verifier.cc',
2259         'cert/mock_cert_verifier.h',
2260         'cookies/cookie_monster_store_test.cc',
2261         'cookies/cookie_monster_store_test.h',
2262         'cookies/cookie_store_test_callbacks.cc',
2263         'cookies/cookie_store_test_callbacks.h',
2264         'cookies/cookie_store_test_helpers.cc',
2265         'cookies/cookie_store_test_helpers.h',
2266         'disk_cache/disk_cache_test_base.cc',
2267         'disk_cache/disk_cache_test_base.h',
2268         'disk_cache/disk_cache_test_util.cc',
2269         'disk_cache/disk_cache_test_util.h',
2270         'disk_cache/flash/flash_cache_test_base.h',
2271         'disk_cache/flash/flash_cache_test_base.cc',
2272         'dns/dns_test_util.cc',
2273         'dns/dns_test_util.h',
2274         'dns/mock_host_resolver.cc',
2275         'dns/mock_host_resolver.h',
2276         'dns/mock_mdns_socket_factory.cc',
2277         'dns/mock_mdns_socket_factory.h',
2278         'proxy/mock_proxy_resolver.cc',
2279         'proxy/mock_proxy_resolver.h',
2280         'proxy/mock_proxy_script_fetcher.cc',
2281         'proxy/mock_proxy_script_fetcher.h',
2282         'proxy/proxy_config_service_common_unittest.cc',
2283         'proxy/proxy_config_service_common_unittest.h',
2284         'socket/socket_test_util.cc',
2285         'socket/socket_test_util.h',
2286         'test/cert_test_util.cc',
2287         'test/cert_test_util.h',
2288         'test/embedded_test_server/embedded_test_server.cc',
2289         'test/embedded_test_server/embedded_test_server.h',
2290         'test/embedded_test_server/http_connection.cc',
2291         'test/embedded_test_server/http_connection.h',
2292         'test/embedded_test_server/http_request.cc',
2293         'test/embedded_test_server/http_request.h',
2294         'test/embedded_test_server/http_response.cc',
2295         'test/embedded_test_server/http_response.h',
2296         'test/net_test_suite.cc',
2297         'test/net_test_suite.h',
2298         'test/python_utils.cc',
2299         'test/python_utils.h',
2300         'test/spawned_test_server/base_test_server.cc',
2301         'test/spawned_test_server/base_test_server.h',
2302         'test/spawned_test_server/local_test_server_posix.cc',
2303         'test/spawned_test_server/local_test_server_win.cc',
2304         'test/spawned_test_server/local_test_server.cc',
2305         'test/spawned_test_server/local_test_server.h',
2306         'test/spawned_test_server/remote_test_server.cc',
2307         'test/spawned_test_server/remote_test_server.h',
2308         'test/spawned_test_server/spawned_test_server.h',
2309         'test/spawned_test_server/spawner_communicator.cc',
2310         'test/spawned_test_server/spawner_communicator.h',
2311         'url_request/test_url_fetcher_factory.cc',
2312         'url_request/test_url_fetcher_factory.h',
2313         'url_request/url_request_test_util.cc',
2314         'url_request/url_request_test_util.h',
2315       ],
2316       'conditions': [
2317         ['OS != "ios"', {
2318           'dependencies': [
2319             '../third_party/protobuf/protobuf.gyp:py_proto',
2320           ],
2321         }],
2322         ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2323           'conditions': [
2324             ['use_openssl==1', {
2325               'dependencies': [
2326                 '../third_party/openssl/openssl.gyp:openssl',
2327               ],
2328             }, {
2329               'dependencies': [
2330                 '../build/linux/system.gyp:ssl',
2331               ],
2332             }],
2333           ],
2334         }],
2335         ['os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', {
2336           'conditions': [
2337             ['linux_use_tcmalloc==1', {
2338               'dependencies': [
2339                 '../base/allocator/allocator.gyp:allocator',
2340               ],
2341             }],
2342           ],
2343         }],
2344         ['OS != "android"', {
2345           'sources!': [
2346             'test/spawned_test_server/remote_test_server.cc',
2347             'test/spawned_test_server/remote_test_server.h',
2348             'test/spawned_test_server/spawner_communicator.cc',
2349             'test/spawned_test_server/spawner_communicator.h',
2350           ],
2351         }],
2352         ['OS == "ios"', {
2353           'dependencies': [
2354             '../third_party/nss/nss.gyp:nss',
2355           ],
2356         }],
2357         [ 'use_v8_in_net==1', {
2358             'dependencies': [
2359               'net_with_v8',
2360             ],
2361           },
2362         ],
2363         [ 'enable_mdns != 1', {
2364             'sources!' : [
2365               'dns/mock_mdns_socket_factory.cc',
2366               'dns/mock_mdns_socket_factory.h'
2367             ]
2368         }],
2369       ],
2370       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2371       'msvs_disabled_warnings': [4267, ],
2372     },
2373     {
2374       'target_name': 'net_resources',
2375       'type': 'none',
2376       'variables': {
2377         'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/net',
2378       },
2379       'actions': [
2380         {
2381           'action_name': 'net_resources',
2382           'variables': {
2383             'grit_grd_file': 'base/net_resources.grd',
2384           },
2385           'includes': [ '../build/grit_action.gypi' ],
2386         },
2387       ],
2388       'includes': [ '../build/grit_target.gypi' ],
2389     },
2390     {
2391       'target_name': 'http_server',
2392       'type': 'static_library',
2393       'variables': { 'enable_wexit_time_destructors': 1, },
2394       'dependencies': [
2395         '../base/base.gyp:base',
2396         'net',
2397       ],
2398       'sources': [
2399         'server/http_connection.cc',
2400         'server/http_connection.h',
2401         'server/http_server.cc',
2402         'server/http_server.h',
2403         'server/http_server_request_info.cc',
2404         'server/http_server_request_info.h',
2405         'server/http_server_response_info.cc',
2406         'server/http_server_response_info.h',
2407         'server/web_socket.cc',
2408         'server/web_socket.h',
2409       ],
2410       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2411       'msvs_disabled_warnings': [4267, ],
2412     },
2413     {
2414       'target_name': 'dump_cache',
2415       'type': 'executable',
2416       'dependencies': [
2417         '../base/base.gyp:base',
2418         'net',
2419         'net_test_support',
2420       ],
2421       'sources': [
2422         'tools/dump_cache/cache_dumper.cc',
2423         'tools/dump_cache/cache_dumper.h',
2424         'tools/dump_cache/dump_cache.cc',
2425         'tools/dump_cache/dump_files.cc',
2426         'tools/dump_cache/dump_files.h',
2427         'tools/dump_cache/simple_cache_dumper.cc',
2428         'tools/dump_cache/simple_cache_dumper.h',
2429         'tools/dump_cache/upgrade_win.cc',
2430         'tools/dump_cache/upgrade_win.h',
2431         'tools/dump_cache/url_to_filename_encoder.cc',
2432         'tools/dump_cache/url_to_filename_encoder.h',
2433         'tools/dump_cache/url_utilities.h',
2434         'tools/dump_cache/url_utilities.cc',
2435       ],
2436       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2437       'msvs_disabled_warnings': [4267, ],
2438     },
2439   ],
2440   'conditions': [
2441     ['use_v8_in_net == 1', {
2442       'targets': [
2443         {
2444           'target_name': 'net_with_v8',
2445           'type': '<(component)',
2446           'variables': { 'enable_wexit_time_destructors': 1, },
2447           'dependencies': [
2448             '../base/base.gyp:base',
2449             '../url/url.gyp:url_lib',
2450             '../v8/tools/gyp/v8.gyp:v8',
2451             'net'
2452           ],
2453           'defines': [
2454             'NET_IMPLEMENTATION',
2455           ],
2456           'sources': [
2457             'proxy/proxy_resolver_v8.cc',
2458             'proxy/proxy_resolver_v8.h',
2459             'proxy/proxy_resolver_v8_tracing.cc',
2460             'proxy/proxy_resolver_v8_tracing.h',
2461             'proxy/proxy_service_v8.cc',
2462             'proxy/proxy_service_v8.h',
2463           ],
2464           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2465           'msvs_disabled_warnings': [4267, ],
2466         },
2467       ],
2468     }],
2469     ['OS != "ios"', {
2470       'targets': [
2471         # iOS doesn't have the concept of simple executables, these targets
2472         # can't be compiled on the platform.
2473         {
2474           'target_name': 'crash_cache',
2475           'type': 'executable',
2476           'dependencies': [
2477             '../base/base.gyp:base',
2478             'net',
2479             'net_test_support',
2480           ],
2481           'sources': [
2482             'tools/crash_cache/crash_cache.cc',
2483           ],
2484           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2485           'msvs_disabled_warnings': [4267, ],
2486         },
2487         {
2488           'target_name': 'crl_set_dump',
2489           'type': 'executable',
2490           'dependencies': [
2491             '../base/base.gyp:base',
2492             'net',
2493           ],
2494           'sources': [
2495             'tools/crl_set_dump/crl_set_dump.cc',
2496           ],
2497           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2498           'msvs_disabled_warnings': [4267, ],
2499         },
2500         {
2501           'target_name': 'dns_fuzz_stub',
2502           'type': 'executable',
2503           'dependencies': [
2504             '../base/base.gyp:base',
2505             'net',
2506           ],
2507           'sources': [
2508             'tools/dns_fuzz_stub/dns_fuzz_stub.cc',
2509           ],
2510           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2511           'msvs_disabled_warnings': [4267, ],
2512         },
2513         {
2514           'target_name': 'fetch_client',
2515           'type': 'executable',
2516           'variables': { 'enable_wexit_time_destructors': 1, },
2517           'dependencies': [
2518             '../base/base.gyp:base',
2519             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2520             '../testing/gtest.gyp:gtest',
2521             '../url/url.gyp:url_lib',
2522             'net',
2523             'net_with_v8',
2524           ],
2525           'sources': [
2526             'tools/fetch/fetch_client.cc',
2527           ],
2528           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2529           'msvs_disabled_warnings': [4267, ],
2530         },
2531         {
2532           'target_name': 'fetch_server',
2533           'type': 'executable',
2534           'variables': { 'enable_wexit_time_destructors': 1, },
2535           'dependencies': [
2536             '../base/base.gyp:base',
2537             '../url/url.gyp:url_lib',
2538             'net',
2539           ],
2540           'sources': [
2541             'tools/fetch/fetch_server.cc',
2542             'tools/fetch/http_listen_socket.cc',
2543             'tools/fetch/http_listen_socket.h',
2544             'tools/fetch/http_server.cc',
2545             'tools/fetch/http_server.h',
2546             'tools/fetch/http_server_request_info.cc',
2547             'tools/fetch/http_server_request_info.h',
2548             'tools/fetch/http_server_response_info.cc',
2549             'tools/fetch/http_server_response_info.h',
2550             'tools/fetch/http_session.cc',
2551             'tools/fetch/http_session.h',
2552           ],
2553           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2554           'msvs_disabled_warnings': [4267, ],
2555         },
2556         {
2557           'target_name': 'gdig',
2558           'type': 'executable',
2559           'dependencies': [
2560             '../base/base.gyp:base',
2561             'net',
2562           ],
2563           'sources': [
2564             'tools/gdig/file_net_log.cc',
2565             'tools/gdig/gdig.cc',
2566           ],
2567         },
2568         {
2569           'target_name': 'get_server_time',
2570           'type': 'executable',
2571           'dependencies': [
2572             '../base/base.gyp:base',
2573             '../base/base.gyp:base_i18n',
2574             '../url/url.gyp:url_lib',
2575             'net',
2576           ],
2577           'sources': [
2578             'tools/get_server_time/get_server_time.cc',
2579           ],
2580           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2581           'msvs_disabled_warnings': [4267, ],
2582         },
2583         {
2584           'target_name': 'net_watcher',
2585           'type': 'executable',
2586           'dependencies': [
2587             '../base/base.gyp:base',
2588             'net',
2589             'net_with_v8',
2590           ],
2591           'conditions': [
2592             [ 'use_glib == 1', {
2593                 'dependencies': [
2594                   '../build/linux/system.gyp:gconf',
2595                   '../build/linux/system.gyp:gio',
2596                 ],
2597               },
2598             ],
2599           ],
2600           'sources': [
2601             'tools/net_watcher/net_watcher.cc',
2602           ],
2603         },
2604         {
2605           'target_name': 'run_testserver',
2606           'type': 'executable',
2607           'dependencies': [
2608             '../base/base.gyp:base',
2609             '../base/base.gyp:test_support_base',
2610             '../testing/gtest.gyp:gtest',
2611             'net_test_support',
2612           ],
2613           'sources': [
2614             'tools/testserver/run_testserver.cc',
2615           ],
2616         },
2617         {
2618           'target_name': 'stress_cache',
2619           'type': 'executable',
2620           'dependencies': [
2621             '../base/base.gyp:base',
2622             'net',
2623             'net_test_support',
2624           ],
2625           'sources': [
2626             'disk_cache/stress_cache.cc',
2627           ],
2628           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2629           'msvs_disabled_warnings': [4267, ],
2630         },
2631         {
2632           'target_name': 'tld_cleanup',
2633           'type': 'executable',
2634           'dependencies': [
2635             '../base/base.gyp:base',
2636             '../base/base.gyp:base_i18n',
2637             '../net/tools/tld_cleanup/tld_cleanup.gyp:tld_cleanup_util',
2638           ],
2639           'sources': [
2640             'tools/tld_cleanup/tld_cleanup.cc',
2641           ],
2642           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
2643           'msvs_disabled_warnings': [4267, ],
2644         },
2645       ],
2646     }],
2647     ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
2648       'targets': [
2649         {
2650           'target_name': 'balsa',
2651           'type': 'static_library',
2652           'dependencies': [
2653             '../base/base.gyp:base',
2654             'net',
2655           ],
2656           'sources': [
2657             'tools/balsa/balsa_enums.h',
2658             'tools/balsa/balsa_frame.cc',
2659             'tools/balsa/balsa_frame.h',
2660             'tools/balsa/balsa_headers.cc',
2661             'tools/balsa/balsa_headers.h',
2662             'tools/balsa/balsa_headers_token_utils.cc',
2663             'tools/balsa/balsa_headers_token_utils.h',
2664             'tools/balsa/balsa_visitor_interface.h',
2665             'tools/balsa/http_message_constants.cc',
2666             'tools/balsa/http_message_constants.h',
2667             'tools/balsa/noop_balsa_visitor.h',
2668             'tools/balsa/simple_buffer.cc',
2669             'tools/balsa/simple_buffer.h',
2670             'tools/balsa/split.cc',
2671             'tools/balsa/split.h',
2672           ],
2673         },
2674         {
2675           'target_name': 'epoll_server',
2676           'type': 'static_library',
2677           'dependencies': [
2678             '../base/base.gyp:base',
2679             'net',
2680           ],
2681           'sources': [
2682             'tools/epoll_server/epoll_server.cc',
2683             'tools/epoll_server/epoll_server.h',
2684           ],
2685         },
2686         {
2687           'target_name': 'flip_in_mem_edsm_server_base',
2688           'type': 'static_library',
2689           'cflags': [
2690             '-Wno-deprecated',
2691           ],
2692           'dependencies': [
2693             '../base/base.gyp:base',
2694             '../third_party/openssl/openssl.gyp:openssl',
2695             'balsa',
2696             'epoll_server',
2697             'net',
2698           ],
2699           'sources': [
2700             'tools/dump_cache/url_to_filename_encoder.cc',
2701             'tools/dump_cache/url_to_filename_encoder.h',
2702             'tools/dump_cache/url_utilities.h',
2703             'tools/dump_cache/url_utilities.cc',
2704             'tools/flip_server/acceptor_thread.h',
2705             'tools/flip_server/acceptor_thread.cc',
2706             'tools/flip_server/create_listener.cc',
2707             'tools/flip_server/create_listener.h',
2708             'tools/flip_server/constants.h',
2709             'tools/flip_server/flip_config.cc',
2710             'tools/flip_server/flip_config.h',
2711             'tools/flip_server/http_interface.cc',
2712             'tools/flip_server/http_interface.h',
2713             'tools/flip_server/loadtime_measurement.h',
2714             'tools/flip_server/mem_cache.h',
2715             'tools/flip_server/mem_cache.cc',
2716             'tools/flip_server/output_ordering.cc',
2717             'tools/flip_server/output_ordering.h',
2718             'tools/flip_server/ring_buffer.cc',
2719             'tools/flip_server/ring_buffer.h',
2720             'tools/flip_server/sm_connection.cc',
2721             'tools/flip_server/sm_connection.h',
2722             'tools/flip_server/sm_interface.h',
2723             'tools/flip_server/spdy_ssl.cc',
2724             'tools/flip_server/spdy_ssl.h',
2725             'tools/flip_server/spdy_interface.cc',
2726             'tools/flip_server/spdy_interface.h',
2727             'tools/flip_server/spdy_util.cc',
2728             'tools/flip_server/spdy_util.h',
2729             'tools/flip_server/streamer_interface.cc',
2730             'tools/flip_server/streamer_interface.h',
2731             'tools/flip_server/string_piece_utils.h',
2732           ],
2733         },
2734         {
2735           'target_name': 'flip_in_mem_edsm_server',
2736           'type': 'executable',
2737           'cflags': [
2738             '-Wno-deprecated',
2739           ],
2740           'dependencies': [
2741             '../base/base.gyp:base',
2742             'flip_in_mem_edsm_server_base',
2743             'net',
2744           ],
2745           'sources': [
2746             'tools/flip_server/flip_in_mem_edsm_server.cc',
2747           ],
2748         },
2749         {
2750           'target_name': 'quic_base',
2751           'type': 'static_library',
2752           'dependencies': [
2753             '../base/base.gyp:base',
2754             '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
2755             '../crypto/crypto.gyp:crypto',
2756             '../third_party/openssl/openssl.gyp:openssl',
2757             '../url/url.gyp:url_lib',
2758             'balsa',
2759             'epoll_server',
2760             'net',
2761           ],
2762           'sources': [
2763             'tools/quic/quic_client.cc',
2764             'tools/quic/quic_client.h',
2765             'tools/quic/quic_client_session.cc',
2766             'tools/quic/quic_client_session.h',
2767             'tools/quic/quic_dispatcher.h',
2768             'tools/quic/quic_dispatcher.cc',
2769             'tools/quic/quic_epoll_clock.cc',
2770             'tools/quic/quic_epoll_clock.h',
2771             'tools/quic/quic_epoll_connection_helper.cc',
2772             'tools/quic/quic_epoll_connection_helper.h',
2773             'tools/quic/quic_in_memory_cache.cc',
2774             'tools/quic/quic_in_memory_cache.h',
2775             'tools/quic/quic_packet_writer.h',
2776             'tools/quic/quic_reliable_client_stream.cc',
2777             'tools/quic/quic_reliable_client_stream.h',
2778             'tools/quic/quic_reliable_server_stream.cc',
2779             'tools/quic/quic_reliable_server_stream.h',
2780             'tools/quic/quic_server.cc',
2781             'tools/quic/quic_server.h',
2782             'tools/quic/quic_server_session.cc',
2783             'tools/quic/quic_server_session.h',
2784             'tools/quic/quic_socket_utils.cc',
2785             'tools/quic/quic_socket_utils.h',
2786             'tools/quic/quic_spdy_client_stream.cc',
2787             'tools/quic/quic_spdy_client_stream.h',
2788             'tools/quic/quic_spdy_server_stream.cc',
2789             'tools/quic/quic_spdy_server_stream.h',
2790             'tools/quic/quic_time_wait_list_manager.h',
2791             'tools/quic/quic_time_wait_list_manager.cc',
2792             'tools/quic/spdy_utils.cc',
2793             'tools/quic/spdy_utils.h',
2794           ],
2795         },
2796         {
2797           'target_name': 'quic_client',
2798           'type': 'executable',
2799           'dependencies': [
2800             '../base/base.gyp:base',
2801             '../third_party/openssl/openssl.gyp:openssl',
2802             'net',
2803             'quic_base',
2804           ],
2805           'sources': [
2806             'tools/quic/quic_client_bin.cc',
2807           ],
2808         },
2809         {
2810           'target_name': 'quic_server',
2811           'type': 'executable',
2812           'dependencies': [
2813             '../base/base.gyp:base',
2814             '../third_party/openssl/openssl.gyp:openssl',
2815             'net',
2816             'quic_base',
2817           ],
2818           'sources': [
2819             'tools/quic/quic_server_bin.cc',
2820           ],
2821         }
2822       ]
2823     }],
2824     ['OS=="android"', {
2825       'targets': [
2826         {
2827           'target_name': 'net_jni_headers',
2828           'type': 'none',
2829           'sources': [
2830             'android/java/src/org/chromium/net/AndroidKeyStore.java',
2831             'android/java/src/org/chromium/net/AndroidNetworkLibrary.java',
2832             'android/java/src/org/chromium/net/GURLUtils.java',
2833             'android/java/src/org/chromium/net/NetworkChangeNotifier.java',
2834             'android/java/src/org/chromium/net/ProxyChangeListener.java',
2835           ],
2836           'variables': {
2837             'jni_gen_package': 'net',
2838           },
2839           'direct_dependent_settings': {
2840             'include_dirs': [
2841               '<(SHARED_INTERMEDIATE_DIR)/net',
2842             ],
2843           },
2844           'includes': [ '../build/jni_generator.gypi' ],
2845         },
2846         {
2847           'target_name': 'net_test_jni_headers',
2848           'type': 'none',
2849           'sources': [
2850             'android/javatests/src/org/chromium/net/AndroidKeyStoreTestUtil.java',
2851           ],
2852           'variables': {
2853             'jni_gen_package': 'net',
2854           },
2855           'direct_dependent_settings': {
2856             'include_dirs': [
2857               '<(SHARED_INTERMEDIATE_DIR)/net',
2858             ],
2859           },
2860           'includes': [ '../build/jni_generator.gypi' ],
2861         },
2862         {
2863           'target_name': 'net_java',
2864           'type': 'none',
2865           'variables': {
2866             'java_in_dir': '../net/android/java',
2867           },
2868           'dependencies': [
2869             '../base/base.gyp:base',
2870             'cert_verify_result_android_java',
2871             'certificate_mime_types_java',
2872             'net_errors_java',
2873             'private_key_types_java',
2874           ],
2875           'includes': [ '../build/java.gypi' ],
2876         },
2877         {
2878           'target_name': 'net_java_test_support',
2879           'type': 'none',
2880           'variables': {
2881             'java_in_dir': '../net/test/android/javatests',
2882           },
2883           'includes': [ '../build/java.gypi' ],
2884         },
2885         {
2886           'target_name': 'net_javatests',
2887           'type': 'none',
2888           'variables': {
2889             'java_in_dir': '../net/android/javatests',
2890           },
2891           'dependencies': [
2892             '../base/base.gyp:base',
2893             '../base/base.gyp:base_java_test_support',
2894             'net_java',
2895           ],
2896           'includes': [ '../build/java.gypi' ],
2897         },
2898         {
2899           'target_name': 'net_errors_java',
2900           'type': 'none',
2901           'sources': [
2902             'android/java/NetError.template',
2903           ],
2904           'variables': {
2905             'package_name': 'org/chromium/net',
2906             'template_deps': ['base/net_error_list.h'],
2907           },
2908           'includes': [ '../build/android/java_cpp_template.gypi' ],
2909         },
2910         {
2911           'target_name': 'certificate_mime_types_java',
2912           'type': 'none',
2913           'sources': [
2914             'android/java/CertificateMimeType.template',
2915           ],
2916           'variables': {
2917             'package_name': 'org/chromium/net',
2918             'template_deps': ['base/mime_util_certificate_type_list.h'],
2919           },
2920           'includes': [ '../build/android/java_cpp_template.gypi' ],
2921         },
2922         {
2923           'target_name': 'cert_verify_result_android_java',
2924           'type': 'none',
2925           'sources': [
2926             'android/java/CertVerifyResultAndroid.template',
2927           ],
2928           'variables': {
2929             'package_name': 'org/chromium/net',
2930             'template_deps': ['android/cert_verify_result_android_list.h'],
2931           },
2932           'includes': [ '../build/android/java_cpp_template.gypi' ],
2933         },
2934         {
2935           'target_name': 'private_key_types_java',
2936           'type': 'none',
2937           'sources': [
2938             'android/java/PrivateKeyType.template',
2939           ],
2940           'variables': {
2941             'package_name': 'org/chromium/net',
2942             'template_deps': ['android/private_key_type_list.h'],
2943           },
2944           'includes': [ '../build/android/java_cpp_template.gypi' ],
2945         },
2946       ],
2947     }],
2948     # Special target to wrap a gtest_target_type==shared_library
2949     # net_unittests into an android apk for execution.
2950     # See base.gyp for TODO(jrg)s about this strategy.
2951     ['OS == "android" and gtest_target_type == "shared_library"', {
2952       'targets': [
2953         {
2954           'target_name': 'net_unittests_apk',
2955           'type': 'none',
2956           'dependencies': [
2957             'net_java',
2958             'net_javatests',
2959             'net_unittests',
2960           ],
2961           'variables': {
2962             'test_suite_name': 'net_unittests',
2963             'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)net_unittests<(SHARED_LIB_SUFFIX)',
2964           },
2965           'includes': [ '../build/apk_test.gypi' ],
2966         },
2967       ],
2968     }],
2969     ['OS == "android" or OS == "linux"', {
2970       'targets': [
2971         {
2972           'target_name': 'disk_cache_memory_test',
2973           'type': 'executable',
2974           'dependencies': [
2975             '../base/base.gyp:base',
2976             'net',
2977           ],
2978           'sources': [
2979             'tools/disk_cache_memory_test/disk_cache_memory_test.cc',
2980           ],
2981         },
2982       ],
2983     }],
2984     ['test_isolation_mode != "noop"', {
2985       'targets': [
2986         {
2987           'target_name': 'net_unittests_run',
2988           'type': 'none',
2989           'dependencies': [
2990             'net_unittests',
2991           ],
2992           'includes': [
2993             '../build/isolate.gypi',
2994             'net_unittests.isolate',
2995           ],
2996           'sources': [
2997             'net_unittests.isolate',
2998           ],
2999         },
3000       ],
3001     }],
3002   ],