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