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