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