Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / tools / gn / secondary / net / BUILD.gn
1 # Copyright (c) 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.
4
5 import("//build/config/crypto.gni")
6 import("//tools/grit/grit_rule.gni")
7
8 component("net") {
9   sources = [
10     "android/cert_verify_result_android.h",
11     "android/cert_verify_result_android_list.h",
12     "android/gurl_utils.cc",
13     "android/gurl_utils.h",
14     "android/keystore.cc",
15     "android/keystore.h",
16     "android/keystore_openssl.cc",
17     "android/keystore_openssl.h",
18     "android/net_jni_registrar.cc",
19     "android/net_jni_registrar.h",
20     "android/network_change_notifier_android.cc",
21     "android/network_change_notifier_android.h",
22     "android/network_change_notifier_delegate_android.cc",
23     "android/network_change_notifier_delegate_android.h",
24     "android/network_change_notifier_factory_android.cc",
25     "android/network_change_notifier_factory_android.h",
26     "android/network_library.cc",
27     "android/network_library.h",
28     "base/address_family.h",
29     "base/address_list.cc",
30     "base/address_list.h",
31     "base/address_tracker_linux.cc",
32     "base/address_tracker_linux.h",
33     "base/auth.cc",
34     "base/auth.h",
35     "base/backoff_entry.cc",
36     "base/backoff_entry.h",
37     "base/bandwidth_metrics.cc",
38     "base/bandwidth_metrics.h",
39     "base/big_endian.cc",
40     "base/big_endian.h",
41     "base/cache_type.h",
42     "base/completion_callback.h",
43     "base/connection_type_histograms.cc",
44     "base/connection_type_histograms.h",
45     "base/crypto_module.h",
46     "base/crypto_module_nss.cc",
47     "base/crypto_module_openssl.cc",
48     "base/data_url.cc",
49     "base/data_url.h",
50     "base/directory_lister.cc",
51     "base/directory_lister.h",
52     "base/dns_reloader.cc",
53     "base/dns_reloader.h",
54     "base/dns_util.cc",
55     "base/dns_util.h",
56     "base/escape.cc",
57     "base/escape.h",
58     "base/expiring_cache.h",
59     "base/file_stream.cc",
60     "base/file_stream.h",
61     "base/file_stream_context.cc",
62     "base/file_stream_context.h",
63     "base/file_stream_context_posix.cc",
64     "base/file_stream_context_win.cc",
65     "base/file_stream_metrics.cc",
66     "base/file_stream_metrics.h",
67     "base/file_stream_metrics_posix.cc",
68     "base/file_stream_metrics_win.cc",
69     "base/file_stream_net_log_parameters.cc",
70     "base/file_stream_net_log_parameters.h",
71     "base/file_stream_whence.h",
72     "base/filter.cc",
73     "base/filter.h",
74     "base/int128.cc",
75     "base/int128.h",
76     "base/gzip_filter.cc",
77     "base/gzip_filter.h",
78     "base/gzip_header.cc",
79     "base/gzip_header.h",
80     "base/hash_value.cc",
81     "base/hash_value.h",
82     "base/host_mapping_rules.cc",
83     "base/host_mapping_rules.h",
84     "base/host_port_pair.cc",
85     "base/host_port_pair.h",
86     "base/io_buffer.cc",
87     "base/io_buffer.h",
88     "base/iovec.h",
89     "base/ip_endpoint.cc",
90     "base/ip_endpoint.h",
91     "base/keygen_handler.cc",
92     "base/keygen_handler.h",
93     "base/keygen_handler_mac.cc",
94     "base/keygen_handler_nss.cc",
95     "base/keygen_handler_openssl.cc",
96     "base/keygen_handler_win.cc",
97     "base/linked_hash_map.h",
98     "base/load_flags.h",
99     "base/load_flags_list.h",
100     "base/load_states.h",
101     "base/load_states_list.h",
102     "base/load_timing_info.cc",
103     "base/load_timing_info.h",
104     "base/mime_sniffer.cc",
105     "base/mime_sniffer.h",
106     "base/mime_util.cc",
107     "base/mime_util.h",
108     "base/net_error_list.h",
109     "base/net_errors.cc",
110     "base/net_errors.h",
111     "base/net_errors_posix.cc",
112     "base/net_errors_win.cc",
113     "base/net_export.h",
114     "base/net_log.cc",
115     "base/net_log.h",
116     "base/net_log_logger.cc",
117     "base/net_log_logger.h",
118     "base/net_log_event_type_list.h",
119     "base/net_log_source_type_list.h",
120     "base/net_module.cc",
121     "base/net_module.h",
122     "base/net_util.cc",
123     "base/net_util.h",
124     "base/net_util_posix.cc",
125     "base/net_util_win.cc",
126     "base/network_change_notifier.cc",
127     "base/network_change_notifier.h",
128     "base/network_change_notifier_factory.h",
129     "base/network_change_notifier_linux.cc",
130     "base/network_change_notifier_linux.h",
131     "base/network_change_notifier_mac.cc",
132     "base/network_change_notifier_mac.h",
133     "base/network_change_notifier_win.cc",
134     "base/network_change_notifier_win.h",
135     "base/network_config_watcher_mac.cc",
136     "base/network_config_watcher_mac.h",
137     "base/network_delegate.cc",
138     "base/network_delegate.h",
139     "base/network_time_notifier.cc",
140     "base/network_time_notifier.h",
141     "base/nss_memio.c",
142     "base/nss_memio.h",
143     "base/openssl_private_key_store.h",
144     "base/openssl_private_key_store_android.cc",
145     "base/openssl_private_key_store_memory.cc",
146     "base/platform_mime_util.h",
147     # TODO(tc): gnome-vfs? xdgmime? /etc/mime.types?
148     "base/platform_mime_util_linux.cc",
149     "base/platform_mime_util_mac.mm",
150     "base/platform_mime_util_win.cc",
151     "base/prioritized_dispatcher.cc",
152     "base/prioritized_dispatcher.h",
153     "base/priority_queue.h",
154     "base/rand_callback.h",
155     "base/registry_controlled_domains/registry_controlled_domain.cc",
156     "base/registry_controlled_domains/registry_controlled_domain.h",
157     "base/request_priority.h",
158     "base/sdch_filter.cc",
159     "base/sdch_filter.h",
160     "base/sdch_manager.cc",
161     "base/sdch_manager.h",
162     "base/static_cookie_policy.cc",
163     "base/static_cookie_policy.h",
164     "base/sys_addrinfo.h",
165     "base/test_data_stream.cc",
166     "base/test_data_stream.h",
167     "base/upload_bytes_element_reader.cc",
168     "base/upload_bytes_element_reader.h",
169     "base/upload_data.cc",
170     "base/upload_data.h",
171     "base/upload_data_stream.cc",
172     "base/upload_data_stream.h",
173     "base/upload_element.cc",
174     "base/upload_element.h",
175     "base/upload_element_reader.cc",
176     "base/upload_element_reader.h",
177     "base/upload_file_element_reader.cc",
178     "base/upload_file_element_reader.h",
179     "base/upload_progress.h",
180     "base/url_util.cc",
181     "base/url_util.h",
182     "base/winsock_init.cc",
183     "base/winsock_init.h",
184     "base/winsock_util.cc",
185     "base/winsock_util.h",
186     "base/zap.cc",
187     "base/zap.h",
188     "cert/asn1_util.cc",
189     "cert/asn1_util.h",
190     "cert/cert_database.cc",
191     "cert/cert_database.h",
192     "cert/cert_database_android.cc",
193     "cert/cert_database_ios.cc",
194     "cert/cert_database_mac.cc",
195     "cert/cert_database_nss.cc",
196     "cert/cert_database_openssl.cc",
197     "cert/cert_database_win.cc",
198     "cert/cert_status_flags.cc",
199     "cert/cert_status_flags.h",
200     "cert/cert_trust_anchor_provider.h",
201     "cert/cert_verifier.cc",
202     "cert/cert_verifier.h",
203     "cert/cert_verify_proc.cc",
204     "cert/cert_verify_proc.h",
205     "cert/cert_verify_proc_android.cc",
206     "cert/cert_verify_proc_android.h",
207     "cert/cert_verify_proc_mac.cc",
208     "cert/cert_verify_proc_mac.h",
209     "cert/cert_verify_proc_nss.cc",
210     "cert/cert_verify_proc_nss.h",
211     "cert/cert_verify_proc_openssl.cc",
212     "cert/cert_verify_proc_openssl.h",
213     "cert/cert_verify_proc_win.cc",
214     "cert/cert_verify_proc_win.h",
215     "cert/cert_verify_result.cc",
216     "cert/cert_verify_result.h",
217     "cert/crl_set.cc",
218     "cert/crl_set.h",
219     "cert/ev_root_ca_metadata.cc",
220     "cert/ev_root_ca_metadata.h",
221     "cert/jwk_serializer_nss.cc",
222     "cert/jwk_serializer_openssl.cc",
223     "cert/jwk_serializer.h",
224     "cert/multi_threaded_cert_verifier.cc",
225     "cert/multi_threaded_cert_verifier.h",
226     "cert/nss_cert_database.cc",
227     "cert/nss_cert_database.h",
228     "cert/pem_tokenizer.cc",
229     "cert/pem_tokenizer.h",
230     "cert/single_request_cert_verifier.cc",
231     "cert/single_request_cert_verifier.h",
232     "cert/test_root_certs.cc",
233     "cert/test_root_certs.h",
234     "cert/test_root_certs_mac.cc",
235     "cert/test_root_certs_nss.cc",
236     "cert/test_root_certs_openssl.cc",
237     "cert/test_root_certs_android.cc",
238     "cert/test_root_certs_win.cc",
239     "cert/x509_cert_types.cc",
240     "cert/x509_cert_types.h",
241     "cert/x509_cert_types_mac.cc",
242     "cert/x509_cert_types_win.cc",
243     "cert/x509_certificate.cc",
244     "cert/x509_certificate.h",
245     "cert/x509_certificate_ios.cc",
246     "cert/x509_certificate_mac.cc",
247     "cert/x509_certificate_net_log_param.cc",
248     "cert/x509_certificate_net_log_param.h",
249     "cert/x509_certificate_nss.cc",
250     "cert/x509_certificate_openssl.cc",
251     "cert/x509_certificate_win.cc",
252     "cert/x509_util.h",
253     "cert/x509_util.cc",
254     "cert/x509_util_android.cc",
255     "cert/x509_util_android.h",
256     "cert/x509_util_ios.cc",
257     "cert/x509_util_ios.h",
258     "cert/x509_util_mac.cc",
259     "cert/x509_util_mac.h",
260     "cert/x509_util_nss.cc",
261     "cert/x509_util_nss.h",
262     "cert/x509_util_openssl.cc",
263     "cert/x509_util_openssl.h",
264     "cookies/canonical_cookie.cc",
265     "cookies/canonical_cookie.h",
266     "cookies/cookie_constants.cc",
267     "cookies/cookie_constants.h",
268     "cookies/cookie_monster.cc",
269     "cookies/cookie_monster.h",
270     "cookies/cookie_options.h",
271     "cookies/cookie_store.cc",
272     "cookies/cookie_store.h",
273     "cookies/cookie_util.cc",
274     "cookies/cookie_util.h",
275     "cookies/parsed_cookie.cc",
276     "cookies/parsed_cookie.h",
277     "disk_cache/addr.cc",
278     "disk_cache/addr.h",
279     "disk_cache/backend_impl.cc",
280     "disk_cache/backend_impl.h",
281     "disk_cache/bitmap.cc",
282     "disk_cache/bitmap.h",
283     "disk_cache/block_files.cc",
284     "disk_cache/block_files.h",
285     "disk_cache/cache_creator.cc",
286     "disk_cache/cache_util.h",
287     "disk_cache/cache_util.cc",
288     "disk_cache/cache_util_posix.cc",
289     "disk_cache/cache_util_win.cc",
290     "disk_cache/disk_cache.h",
291     "disk_cache/disk_format.cc",
292     "disk_cache/disk_format.h",
293     "disk_cache/disk_format_base.h",
294     "disk_cache/entry_impl.cc",
295     "disk_cache/entry_impl.h",
296     "disk_cache/errors.h",
297     "disk_cache/eviction.cc",
298     "disk_cache/eviction.h",
299     "disk_cache/experiments.h",
300     "disk_cache/file.cc",
301     "disk_cache/file.h",
302     "disk_cache/file_block.h",
303     "disk_cache/file_lock.cc",
304     "disk_cache/file_lock.h",
305     "disk_cache/file_posix.cc",
306     "disk_cache/file_win.cc",
307     "disk_cache/histogram_macros.h",
308     "disk_cache/in_flight_backend_io.cc",
309     "disk_cache/in_flight_backend_io.h",
310     "disk_cache/in_flight_io.cc",
311     "disk_cache/in_flight_io.h",
312     "disk_cache/mapped_file.h",
313     "disk_cache/mapped_file_posix.cc",
314     "disk_cache/mapped_file_avoid_mmap_posix.cc",
315     "disk_cache/mapped_file_win.cc",
316     "disk_cache/mem_backend_impl.cc",
317     "disk_cache/mem_backend_impl.h",
318     "disk_cache/mem_entry_impl.cc",
319     "disk_cache/mem_entry_impl.h",
320     "disk_cache/mem_rankings.cc",
321     "disk_cache/mem_rankings.h",
322     "disk_cache/net_log_parameters.cc",
323     "disk_cache/net_log_parameters.h",
324     "disk_cache/rankings.cc",
325     "disk_cache/rankings.h",
326     "disk_cache/sparse_control.cc",
327     "disk_cache/sparse_control.h",
328     "disk_cache/stats.cc",
329     "disk_cache/stats.h",
330     "disk_cache/stats_histogram.cc",
331     "disk_cache/stats_histogram.h",
332     "disk_cache/storage_block-inl.h",
333     "disk_cache/storage_block.h",
334     "disk_cache/stress_support.h",
335     "disk_cache/trace.cc",
336     "disk_cache/trace.h",
337     "disk_cache/tracing_cache_backend.cc",
338     "disk_cache/tracing_cache_backend.h",
339     "disk_cache/simple/simple_backend_impl.cc",
340     "disk_cache/simple/simple_backend_impl.h",
341     "disk_cache/simple/simple_entry_format.cc",
342     "disk_cache/simple/simple_entry_format.h",
343     "disk_cache/simple/simple_entry_impl.cc",
344     "disk_cache/simple/simple_entry_impl.h",
345     "disk_cache/simple/simple_entry_operation.cc",
346     "disk_cache/simple/simple_entry_operation.h",
347     "disk_cache/simple/simple_index.cc",
348     "disk_cache/simple/simple_index.h",
349     "disk_cache/simple/simple_index_file.cc",
350     "disk_cache/simple/simple_index_file.h",
351     "disk_cache/simple/simple_index_file_posix.cc",
352     "disk_cache/simple/simple_index_file_win.cc",
353     "disk_cache/simple/simple_net_log_parameters.cc",
354     "disk_cache/simple/simple_net_log_parameters.h",
355     "disk_cache/simple/simple_synchronous_entry.cc",
356     "disk_cache/simple/simple_synchronous_entry.h",
357     "disk_cache/simple/simple_util.cc",
358     "disk_cache/simple/simple_util.h",
359     "disk_cache/flash/flash_entry_impl.cc",
360     "disk_cache/flash/flash_entry_impl.h",
361     "disk_cache/flash/format.h",
362     "disk_cache/flash/internal_entry.cc",
363     "disk_cache/flash/internal_entry.h",
364     "disk_cache/flash/log_store.cc",
365     "disk_cache/flash/log_store.h",
366     "disk_cache/flash/log_store_entry.cc",
367     "disk_cache/flash/log_store_entry.h",
368     "disk_cache/flash/segment.cc",
369     "disk_cache/flash/segment.h",
370     "disk_cache/flash/storage.cc",
371     "disk_cache/flash/storage.h",
372     "disk_cache/v3/disk_format_v3.h",
373     "dns/address_sorter.h",
374     "dns/address_sorter_posix.cc",
375     "dns/address_sorter_posix.h",
376     "dns/address_sorter_win.cc",
377     "dns/dns_client.cc",
378     "dns/dns_client.h",
379     "dns/dns_config_service.cc",
380     "dns/dns_config_service.h",
381     "dns/dns_config_service_posix.cc",
382     "dns/dns_config_service_posix.h",
383     "dns/dns_config_service_win.cc",
384     "dns/dns_config_service_win.h",
385     "dns/dns_hosts.cc",
386     "dns/dns_hosts.h",
387     "dns/dns_protocol.h",
388     "dns/dns_query.cc",
389     "dns/dns_query.h",
390     "dns/dns_response.cc",
391     "dns/dns_response.h",
392     "dns/dns_session.cc",
393     "dns/dns_session.h",
394     "dns/dns_socket_pool.cc",
395     "dns/dns_socket_pool.h",
396     "dns/dns_transaction.cc",
397     "dns/dns_transaction.h",
398     "dns/host_cache.cc",
399     "dns/host_cache.h",
400     "dns/host_resolver.cc",
401     "dns/host_resolver.h",
402     "dns/host_resolver_impl.cc",
403     "dns/host_resolver_impl.h",
404     "dns/host_resolver_proc.cc",
405     "dns/host_resolver_proc.h",
406     "dns/mapped_host_resolver.cc",
407     "dns/mapped_host_resolver.h",
408     "dns/mdns_cache.cc",
409     "dns/mdns_cache.h",
410     "dns/mdns_client.cc",
411     "dns/mdns_client.h",
412     "dns/mdns_client_impl.cc",
413     "dns/mdns_client_impl.h",
414     "dns/notify_watcher_mac.cc",
415     "dns/notify_watcher_mac.h",
416     "dns/record_parsed.cc",
417     "dns/record_parsed.h",
418     "dns/record_rdata.cc",
419     "dns/record_rdata.h",
420     "dns/serial_worker.cc",
421     "dns/serial_worker.h",
422     "dns/single_request_host_resolver.cc",
423     "dns/single_request_host_resolver.h",
424     "ftp/ftp_auth_cache.cc",
425     "ftp/ftp_auth_cache.h",
426     "ftp/ftp_ctrl_response_buffer.cc",
427     "ftp/ftp_ctrl_response_buffer.h",
428     "ftp/ftp_directory_listing_parser.cc",
429     "ftp/ftp_directory_listing_parser.h",
430     "ftp/ftp_directory_listing_parser_ls.cc",
431     "ftp/ftp_directory_listing_parser_ls.h",
432     "ftp/ftp_directory_listing_parser_netware.cc",
433     "ftp/ftp_directory_listing_parser_netware.h",
434     "ftp/ftp_directory_listing_parser_os2.cc",
435     "ftp/ftp_directory_listing_parser_os2.h",
436     "ftp/ftp_directory_listing_parser_vms.cc",
437     "ftp/ftp_directory_listing_parser_vms.h",
438     "ftp/ftp_directory_listing_parser_windows.cc",
439     "ftp/ftp_directory_listing_parser_windows.h",
440     "ftp/ftp_network_layer.cc",
441     "ftp/ftp_network_layer.h",
442     "ftp/ftp_network_session.cc",
443     "ftp/ftp_network_session.h",
444     "ftp/ftp_network_transaction.cc",
445     "ftp/ftp_network_transaction.h",
446     "ftp/ftp_request_info.h",
447     "ftp/ftp_response_info.cc",
448     "ftp/ftp_response_info.h",
449     "ftp/ftp_server_type_histograms.cc",
450     "ftp/ftp_server_type_histograms.h",
451     "ftp/ftp_transaction.h",
452     "ftp/ftp_transaction_factory.h",
453     "ftp/ftp_util.cc",
454     "ftp/ftp_util.h",
455     "http/des.cc",
456     "http/des.h",
457     "http/http_atom_list.h",
458     "http/http_auth.cc",
459     "http/http_auth.h",
460     "http/http_auth_cache.cc",
461     "http/http_auth_cache.h",
462     "http/http_auth_controller.cc",
463     "http/http_auth_controller.h",
464     "http/http_auth_filter.cc",
465     "http/http_auth_filter.h",
466     "http/http_auth_filter_win.h",
467     "http/http_auth_gssapi_posix.cc",
468     "http/http_auth_gssapi_posix.h",
469     "http/http_auth_handler.cc",
470     "http/http_auth_handler.h",
471     "http/http_auth_handler_basic.cc",
472     "http/http_auth_handler_basic.h",
473     "http/http_auth_handler_digest.cc",
474     "http/http_auth_handler_digest.h",
475     "http/http_auth_handler_factory.cc",
476     "http/http_auth_handler_factory.h",
477     "http/http_auth_handler_negotiate.cc",
478     "http/http_auth_handler_negotiate.h",
479     "http/http_auth_handler_ntlm.cc",
480     "http/http_auth_handler_ntlm.h",
481     "http/http_auth_handler_ntlm_portable.cc",
482     "http/http_auth_handler_ntlm_win.cc",
483     "http/http_auth_sspi_win.cc",
484     "http/http_auth_sspi_win.h",
485     "http/http_basic_stream.cc",
486     "http/http_basic_stream.h",
487     "http/http_byte_range.cc",
488     "http/http_byte_range.h",
489     "http/http_cache.cc",
490     "http/http_cache.h",
491     "http/http_cache_transaction.cc",
492     "http/http_cache_transaction.h",
493     "http/http_content_disposition.cc",
494     "http/http_content_disposition.h",
495     "http/http_chunked_decoder.cc",
496     "http/http_chunked_decoder.h",
497     "http/http_network_layer.cc",
498     "http/http_network_layer.h",
499     "http/http_network_session.cc",
500     "http/http_network_session.h",
501     "http/http_network_session_peer.cc",
502     "http/http_network_session_peer.h",
503     "http/http_network_transaction.cc",
504     "http/http_network_transaction.h",
505     "http/http_pipelined_connection.h",
506     "http/http_pipelined_connection_impl.cc",
507     "http/http_pipelined_connection_impl.h",
508     "http/http_pipelined_host.cc",
509     "http/http_pipelined_host.h",
510     "http/http_pipelined_host_capability.h",
511     "http/http_pipelined_host_forced.cc",
512     "http/http_pipelined_host_forced.h",
513     "http/http_pipelined_host_impl.cc",
514     "http/http_pipelined_host_impl.h",
515     "http/http_pipelined_host_pool.cc",
516     "http/http_pipelined_host_pool.h",
517     "http/http_pipelined_stream.cc",
518     "http/http_pipelined_stream.h",
519     "http/http_proxy_client_socket.cc",
520     "http/http_proxy_client_socket.h",
521     "http/http_proxy_client_socket_pool.cc",
522     "http/http_proxy_client_socket_pool.h",
523     "http/http_request_headers.cc",
524     "http/http_request_headers.h",
525     "http/http_request_info.cc",
526     "http/http_request_info.h",
527     "http/http_response_body_drainer.cc",
528     "http/http_response_body_drainer.h",
529     "http/http_response_headers.cc",
530     "http/http_response_headers.h",
531     "http/http_response_info.cc",
532     "http/http_response_info.h",
533     "http/http_security_headers.cc",
534     "http/http_security_headers.h",
535     "http/http_server_properties.cc",
536     "http/http_server_properties.h",
537     "http/http_server_properties_impl.cc",
538     "http/http_server_properties_impl.h",
539     "http/http_status_code.cc",
540     "http/http_status_code.h",
541     "http/http_stream.h",
542     "http/http_stream_base.h",
543     "http/http_stream_factory.cc",
544     "http/http_stream_factory.h",
545     "http/http_stream_factory_impl.cc",
546     "http/http_stream_factory_impl.h",
547     "http/http_stream_factory_impl_job.cc",
548     "http/http_stream_factory_impl_job.h",
549     "http/http_stream_factory_impl_request.cc",
550     "http/http_stream_factory_impl_request.h",
551     "http/http_stream_parser.cc",
552     "http/http_stream_parser.h",
553     "http/http_transaction.h",
554     "http/http_transaction_delegate.h",
555     "http/http_transaction_factory.h",
556     "http/http_util.cc",
557     "http/http_util.h",
558     "http/http_util_icu.cc",
559     "http/http_vary_data.cc",
560     "http/http_vary_data.h",
561     "http/http_version.h",
562     "http/md4.cc",
563     "http/md4.h",
564     "http/partial_data.cc",
565     "http/partial_data.h",
566     "http/proxy_client_socket.h",
567     "http/proxy_client_socket.cc",
568     "http/proxy_connect_redirect_http_stream.h",
569     "http/proxy_connect_redirect_http_stream.cc",
570     "http/transport_security_state.cc",
571     "http/transport_security_state.h",
572     "http/transport_security_state_static.h",
573     "http/url_security_manager.cc",
574     "http/url_security_manager.h",
575     "http/url_security_manager_posix.cc",
576     "http/url_security_manager_win.cc",
577     "ocsp/nss_ocsp.cc",
578     "ocsp/nss_ocsp.h",
579     "proxy/dhcp_proxy_script_adapter_fetcher_win.cc",
580     "proxy/dhcp_proxy_script_adapter_fetcher_win.h",
581     "proxy/dhcp_proxy_script_fetcher.cc",
582     "proxy/dhcp_proxy_script_fetcher.h",
583     "proxy/dhcp_proxy_script_fetcher_factory.cc",
584     "proxy/dhcp_proxy_script_fetcher_factory.h",
585     "proxy/dhcp_proxy_script_fetcher_win.cc",
586     "proxy/dhcp_proxy_script_fetcher_win.h",
587     "proxy/dhcpcsvc_init_win.cc",
588     "proxy/dhcpcsvc_init_win.h",
589     "proxy/multi_threaded_proxy_resolver.cc",
590     "proxy/multi_threaded_proxy_resolver.h",
591     "proxy/network_delegate_error_observer.cc",
592     "proxy/network_delegate_error_observer.h",
593     "proxy/polling_proxy_config_service.cc",
594     "proxy/polling_proxy_config_service.h",
595     "proxy/proxy_bypass_rules.cc",
596     "proxy/proxy_bypass_rules.h",
597     "proxy/proxy_config.cc",
598     "proxy/proxy_config.h",
599     "proxy/proxy_config_service.h",
600     "proxy/proxy_config_service_android.cc",
601     "proxy/proxy_config_service_android.h",
602     "proxy/proxy_config_service_fixed.cc",
603     "proxy/proxy_config_service_fixed.h",
604     "proxy/proxy_config_service_ios.cc",
605     "proxy/proxy_config_service_ios.h",
606     "proxy/proxy_config_service_linux.cc",
607     "proxy/proxy_config_service_linux.h",
608     "proxy/proxy_config_service_mac.cc",
609     "proxy/proxy_config_service_mac.h",
610     "proxy/proxy_config_service_win.cc",
611     "proxy/proxy_config_service_win.h",
612     "proxy/proxy_config_source.cc",
613     "proxy/proxy_config_source.h",
614     "proxy/proxy_info.cc",
615     "proxy/proxy_info.h",
616     "proxy/proxy_list.cc",
617     "proxy/proxy_list.h",
618     "proxy/proxy_resolver.h",
619     "proxy/proxy_resolver_error_observer.h",
620     "proxy/proxy_resolver_mac.cc",
621     "proxy/proxy_resolver_mac.h",
622     "proxy/proxy_resolver_script.h",
623     "proxy/proxy_resolver_script_data.cc",
624     "proxy/proxy_resolver_script_data.h",
625     "proxy/proxy_resolver_winhttp.cc",
626     "proxy/proxy_resolver_winhttp.h",
627     "proxy/proxy_retry_info.h",
628     "proxy/proxy_script_decider.cc",
629     "proxy/proxy_script_decider.h",
630     "proxy/proxy_script_fetcher.h",
631     "proxy/proxy_script_fetcher_impl.cc",
632     "proxy/proxy_script_fetcher_impl.h",
633     "proxy/proxy_server.cc",
634     "proxy/proxy_server.h",
635     "proxy/proxy_server_mac.cc",
636     "proxy/proxy_service.cc",
637     "proxy/proxy_service.h",
638     "quic/congestion_control/available_channel_estimator.cc",
639     "quic/congestion_control/available_channel_estimator.h",
640     "quic/congestion_control/channel_estimator.cc",
641     "quic/congestion_control/channel_estimator.h",
642     "quic/congestion_control/cube_root.cc",
643     "quic/congestion_control/cube_root.h",
644     "quic/congestion_control/cubic.cc",
645     "quic/congestion_control/cubic.h",
646     "quic/congestion_control/fix_rate_receiver.cc",
647     "quic/congestion_control/fix_rate_receiver.h",
648     "quic/congestion_control/fix_rate_sender.cc",
649     "quic/congestion_control/fix_rate_sender.h",
650     "quic/congestion_control/hybrid_slow_start.cc",
651     "quic/congestion_control/hybrid_slow_start.h",
652     "quic/congestion_control/inter_arrival_bitrate_ramp_up.cc",
653     "quic/congestion_control/inter_arrival_bitrate_ramp_up.h",
654     "quic/congestion_control/inter_arrival_overuse_detector.cc",
655     "quic/congestion_control/inter_arrival_overuse_detector.h",
656     "quic/congestion_control/inter_arrival_probe.cc",
657     "quic/congestion_control/inter_arrival_probe.h",
658     "quic/congestion_control/inter_arrival_receiver.cc",
659     "quic/congestion_control/inter_arrival_receiver.h",
660     "quic/congestion_control/inter_arrival_sender.cc",
661     "quic/congestion_control/inter_arrival_sender.h",
662     "quic/congestion_control/inter_arrival_state_machine.cc",
663     "quic/congestion_control/inter_arrival_state_machine.h",
664     "quic/congestion_control/leaky_bucket.cc",
665     "quic/congestion_control/leaky_bucket.h",
666     "quic/congestion_control/paced_sender.cc",
667     "quic/congestion_control/paced_sender.h",
668     "quic/congestion_control/quic_max_sized_map.h",
669     "quic/congestion_control/receive_algorithm_interface.cc",
670     "quic/congestion_control/receive_algorithm_interface.h",
671     "quic/congestion_control/send_algorithm_interface.cc",
672     "quic/congestion_control/send_algorithm_interface.h",
673     "quic/congestion_control/tcp_cubic_sender.cc",
674     "quic/congestion_control/tcp_cubic_sender.h",
675     "quic/congestion_control/tcp_receiver.cc",
676     "quic/congestion_control/tcp_receiver.h",
677     "quic/crypto/aes_128_gcm_12_decrypter.h",
678     "quic/crypto/aes_128_gcm_12_decrypter_nss.cc",
679     "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc",
680     "quic/crypto/aes_128_gcm_12_encrypter.h",
681     "quic/crypto/aes_128_gcm_12_encrypter_nss.cc",
682     "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc",
683     "quic/crypto/cert_compressor.cc",
684     "quic/crypto/cert_compressor.h",
685     "quic/crypto/channel_id.cc",
686     "quic/crypto/channel_id.h",
687     "quic/crypto/channel_id_nss.cc",
688     "quic/crypto/channel_id_openssl.cc",
689     "quic/crypto/common_cert_set.cc",
690     "quic/crypto/common_cert_set.h",
691     "quic/crypto/crypto_framer.cc",
692     "quic/crypto/crypto_framer.h",
693     "quic/crypto/crypto_handshake.cc",
694     "quic/crypto/crypto_handshake.h",
695     "quic/crypto/crypto_protocol.h",
696     "quic/crypto/crypto_secret_boxer.cc",
697     "quic/crypto/crypto_secret_boxer.h",
698     "quic/crypto/crypto_server_config_protobuf.cc",
699     "quic/crypto/crypto_server_config_protobuf.h",
700     "quic/crypto/crypto_utils.cc",
701     "quic/crypto/crypto_utils.h",
702     "quic/crypto/curve25519_key_exchange.cc",
703     "quic/crypto/curve25519_key_exchange.h",
704     "quic/crypto/ephemeral_key_source.h",
705     "quic/crypto/key_exchange.h",
706     "quic/crypto/null_decrypter.cc",
707     "quic/crypto/null_decrypter.h",
708     "quic/crypto/null_encrypter.cc",
709     "quic/crypto/null_encrypter.h",
710     "quic/crypto/p256_key_exchange.h",
711     "quic/crypto/p256_key_exchange_nss.cc",
712     "quic/crypto/p256_key_exchange_openssl.cc",
713     "quic/crypto/proof_source.h",
714     "quic/crypto/proof_source_chromium.cc",
715     "quic/crypto/proof_source_chromium.h",
716     "quic/crypto/proof_verifier.cc",
717     "quic/crypto/proof_verifier_chromium.cc",
718     "quic/crypto/proof_verifier_chromium.h",
719     "quic/crypto/quic_decrypter.cc",
720     "quic/crypto/quic_decrypter.h",
721     "quic/crypto/quic_encrypter.cc",
722     "quic/crypto/quic_encrypter.h",
723     "quic/crypto/quic_random.cc",
724     "quic/crypto/quic_random.h",
725     "quic/crypto/scoped_evp_cipher_ctx.cc",
726     "quic/crypto/scoped_evp_cipher_ctx.h",
727     "quic/crypto/strike_register.cc",
728     "quic/crypto/strike_register.h",
729     "quic/crypto/source_address_token.cc",
730     "quic/crypto/source_address_token.h",
731     "quic/quic_alarm.cc",
732     "quic/quic_alarm.h",
733     "quic/quic_bandwidth.cc",
734     "quic/quic_bandwidth.h",
735     "quic/quic_blocked_writer_interface.h",
736     "quic/quic_client_session.cc",
737     "quic/quic_client_session.h",
738     "quic/quic_config.cc",
739     "quic/quic_config.h",
740     "quic/quic_crypto_client_stream.cc",
741     "quic/quic_crypto_client_stream.h",
742     "quic/quic_crypto_client_stream_factory.h",
743     "quic/quic_crypto_server_stream.cc",
744     "quic/quic_crypto_server_stream.h",
745     "quic/quic_crypto_stream.cc",
746     "quic/quic_crypto_stream.h",
747     "quic/quic_clock.cc",
748     "quic/quic_clock.h",
749     "quic/quic_connection.cc",
750     "quic/quic_connection.h",
751     "quic/quic_connection_helper.cc",
752     "quic/quic_connection_helper.h",
753     "quic/quic_connection_logger.cc",
754     "quic/quic_connection_logger.h",
755     "quic/quic_connection_stats.cc",
756     "quic/quic_connection_stats.h",
757     "quic/quic_data_reader.cc",
758     "quic/quic_data_reader.h",
759     "quic/quic_data_writer.cc",
760     "quic/quic_data_writer.h",
761     "quic/quic_fec_group.cc",
762     "quic/quic_fec_group.h",
763     "quic/quic_framer.cc",
764     "quic/quic_framer.h",
765     "quic/quic_http_stream.cc",
766     "quic/quic_http_stream.h",
767     "quic/quic_packet_creator.cc",
768     "quic/quic_packet_creator.h",
769     "quic/quic_packet_generator.cc",
770     "quic/quic_packet_generator.h",
771     "quic/quic_protocol.cc",
772     "quic/quic_protocol.h",
773     "quic/quic_received_packet_manager.cc",
774     "quic/quic_received_packet_manager.h",
775     "quic/quic_reliable_client_stream.cc",
776     "quic/quic_reliable_client_stream.h",
777     "quic/quic_sent_entropy_manager.cc",
778     "quic/quic_sent_entropy_manager.h",
779     "quic/quic_session.cc",
780     "quic/quic_session.h",
781     "quic/quic_spdy_compressor.cc",
782     "quic/quic_spdy_compressor.h",
783     "quic/quic_spdy_decompressor.cc",
784     "quic/quic_spdy_decompressor.h",
785     "quic/quic_stream_factory.cc",
786     "quic/quic_stream_factory.h",
787     "quic/quic_stream_sequencer.cc",
788     "quic/quic_stream_sequencer.h",
789     "quic/quic_time.cc",
790     "quic/quic_time.h",
791     "quic/quic_utils.cc",
792     "quic/quic_utils.h",
793     "quic/reliable_quic_stream.cc",
794     "quic/reliable_quic_stream.h",
795     "quic/spdy_utils.cc",
796     "quic/spdy_utils.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_listen_socket.cc",
848     "socket/tcp_listen_socket.h",
849     "socket/tcp_server_socket.cc",
850     "socket/tcp_server_socket.h",
851     "socket/tcp_socket_libevent.cc",
852     "socket/tcp_socket_libevent.h",
853     "socket/tcp_socket_win.cc",
854     "socket/tcp_socket_win.h",
855     "socket/transport_client_socket_pool.cc",
856     "socket/transport_client_socket_pool.h",
857     "socket/unix_domain_socket_posix.cc",
858     "socket/unix_domain_socket_posix.h",
859     "socket_stream/socket_stream.cc",
860     "socket_stream/socket_stream.h",
861     "socket_stream/socket_stream_job.cc",
862     "socket_stream/socket_stream_job.h",
863     "socket_stream/socket_stream_job_manager.cc",
864     "socket_stream/socket_stream_job_manager.h",
865     "socket_stream/socket_stream_metrics.cc",
866     "socket_stream/socket_stream_metrics.h",
867     "spdy/buffered_spdy_framer.cc",
868     "spdy/buffered_spdy_framer.h",
869     "spdy/spdy_bitmasks.h",
870     "spdy/spdy_buffer.cc",
871     "spdy/spdy_buffer.h",
872     "spdy/spdy_buffer_producer.cc",
873     "spdy/spdy_buffer_producer.h",
874     "spdy/spdy_frame_builder.cc",
875     "spdy/spdy_frame_builder.h",
876     "spdy/spdy_frame_reader.cc",
877     "spdy/spdy_frame_reader.h",
878     "spdy/spdy_framer.cc",
879     "spdy/spdy_framer.h",
880     "spdy/spdy_header_block.cc",
881     "spdy/spdy_header_block.h",
882     "spdy/spdy_http_stream.cc",
883     "spdy/spdy_http_stream.h",
884     "spdy/spdy_http_utils.cc",
885     "spdy/spdy_http_utils.h",
886     "spdy/spdy_priority_forest.h",
887     "spdy/spdy_protocol.cc",
888     "spdy/spdy_protocol.h",
889     "spdy/spdy_proxy_client_socket.cc",
890     "spdy/spdy_proxy_client_socket.h",
891     "spdy/spdy_read_queue.cc",
892     "spdy/spdy_read_queue.h",
893     "spdy/spdy_session.cc",
894     "spdy/spdy_session.h",
895     "spdy/spdy_session_key.cc",
896     "spdy/spdy_session_key.h",
897     "spdy/spdy_session_pool.cc",
898     "spdy/spdy_session_pool.h",
899     "spdy/spdy_stream.cc",
900     "spdy/spdy_stream.h",
901     "spdy/spdy_websocket_stream.cc",
902     "spdy/spdy_websocket_stream.h",
903     "spdy/spdy_write_queue.cc",
904     "spdy/spdy_write_queue.h",
905     "spdy/write_blocked_list.h",
906     "ssl/client_cert_store.h",
907     "ssl/client_cert_store_chromeos.cc",
908     "ssl/client_cert_store_chromeos.h",
909     "ssl/client_cert_store_mac.cc",
910     "ssl/client_cert_store_mac.h",
911     "ssl/client_cert_store_nss.cc",
912     "ssl/client_cert_store_nss.h",
913     "ssl/client_cert_store_win.cc",
914     "ssl/client_cert_store_win.h",
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_range_request_job.cc",
980     "url_request/url_range_request_job.h",
981     "url_request/url_request.cc",
982     "url_request/url_request.h",
983     "url_request/url_request_about_job.cc",
984     "url_request/url_request_about_job.h",
985     "url_request/url_request_context.cc",
986     "url_request/url_request_context.h",
987     "url_request/url_request_context_builder.cc",
988     "url_request/url_request_context_builder.h",
989     "url_request/url_request_context_getter.cc",
990     "url_request/url_request_context_getter.h",
991     "url_request/url_request_context_storage.cc",
992     "url_request/url_request_context_storage.h",
993     "url_request/url_request_data_job.cc",
994     "url_request/url_request_data_job.h",
995     "url_request/url_request_error_job.cc",
996     "url_request/url_request_error_job.h",
997     "url_request/url_request_file_dir_job.cc",
998     "url_request/url_request_file_dir_job.h",
999     "url_request/url_request_file_job.cc",
1000     "url_request/url_request_file_job.h",
1001     "url_request/url_request_filter.cc",
1002     "url_request/url_request_filter.h",
1003     "url_request/url_request_ftp_job.cc",
1004     "url_request/url_request_ftp_job.h",
1005     "url_request/url_request_http_job.cc",
1006     "url_request/url_request_http_job.h",
1007     "url_request/url_request_job.cc",
1008     "url_request/url_request_job.h",
1009     "url_request/url_request_job_factory.cc",
1010     "url_request/url_request_job_factory.h",
1011     "url_request/url_request_job_factory_impl.cc",
1012     "url_request/url_request_job_factory_impl.h",
1013     "url_request/url_request_job_manager.cc",
1014     "url_request/url_request_job_manager.h",
1015     "url_request/url_request_netlog_params.cc",
1016     "url_request/url_request_netlog_params.h",
1017     "url_request/url_request_redirect_job.cc",
1018     "url_request/url_request_redirect_job.h",
1019     "url_request/url_request_simple_job.cc",
1020     "url_request/url_request_simple_job.h",
1021     "url_request/url_request_status.h",
1022     "url_request/url_request_test_job.cc",
1023     "url_request/url_request_test_job.h",
1024     "url_request/url_request_throttler_entry.cc",
1025     "url_request/url_request_throttler_entry.h",
1026     "url_request/url_request_throttler_entry_interface.h",
1027     "url_request/url_request_throttler_header_adapter.cc",
1028     "url_request/url_request_throttler_header_adapter.h",
1029     "url_request/url_request_throttler_header_interface.h",
1030     "url_request/url_request_throttler_manager.cc",
1031     "url_request/url_request_throttler_manager.h",
1032     "url_request/view_cache_helper.cc",
1033     "url_request/view_cache_helper.h",
1034     "websockets/websocket_channel.cc",
1035     "websockets/websocket_channel.h",
1036     "websockets/websocket_errors.cc",
1037     "websockets/websocket_errors.h",
1038     "websockets/websocket_frame.cc",
1039     "websockets/websocket_frame.h",
1040     "websockets/websocket_frame_parser.cc",
1041     "websockets/websocket_frame_parser.h",
1042     "websockets/websocket_handshake_handler.cc",
1043     "websockets/websocket_handshake_handler.h",
1044     "websockets/websocket_job.cc",
1045     "websockets/websocket_job.h",
1046     "websockets/websocket_mux.h",
1047     "websockets/websocket_net_log_params.cc",
1048     "websockets/websocket_net_log_params.h",
1049     "websockets/websocket_stream.cc",
1050     "websockets/websocket_stream.h",
1051     "websockets/websocket_stream_base.h",
1052     "websockets/websocket_throttle.cc",
1053     "websockets/websocket_throttle.h",
1054   ]
1055
1056   defines = [ "NET_IMPLEMENTATION" ]
1057
1058   deps = [
1059     #":net_resources",
1060     "//base",
1061     "//base:base_i18n",
1062     "//base/third_party/dynamic_annotations",
1063     "//crypto",
1064     "//crypto/ssl:metassl",
1065     "//sdch",
1066     "//third_party/icu:icui18n",
1067     "//third_party/icu:icuuc",
1068     "//third_party/zlib",
1069     "//url",
1070   ]
1071
1072   if (is_win) {
1073     sources -= [
1074       "http/http_auth_handler_ntlm_portable.cc",
1075       "socket/tcp_socket_libevent.cc",
1076       "socket/tcp_socket_libevent.h",
1077       "ssl/client_cert_store_nss.cc",
1078       "ssl/client_cert_store_nss.h",
1079       "udp/udp_socket_libevent.cc",
1080       "udp/udp_socket_libevent.h",
1081     ]
1082     deps += [
1083       #"//net/third_party/nss:ssl",
1084       #"//third_party/nss:nspr",
1085       #"//third_party/nss:nss",
1086     ]
1087   } else {  # !is_win
1088     sources -= [
1089       "base/winsock_init.cc",
1090       "base/winsock_init.h",
1091       "base/winsock_util.cc",
1092       "base/winsock_util.h",
1093       "proxy/proxy_resolver_winhttp.cc",
1094       "proxy/proxy_resolver_winhttp.h",
1095     ]
1096   }
1097
1098   if (is_mac) {
1099     sources -= [
1100       "ssl/client_cert_store_nss.cc",
1101       "ssl/client_cert_store_nss.h",
1102     ]
1103     deps += [
1104       #"//net/third_party/nss:ssl",
1105       #"//third_party/nss:nspr",
1106       #"//third_party/nss:nss",
1107     ]
1108   }
1109
1110   if (is_linux && use_nss) {
1111     configs += [ "//third_party/nss:nss_linux_config" ]
1112   }
1113
1114   if (is_chromeos) {
1115     sources -= [
1116        "base/network_change_notifier_linux.cc",
1117        "base/network_change_notifier_linux.h",
1118        "proxy/proxy_config_service_linux.cc",
1119        "proxy/proxy_config_service_linux.h",
1120     ]
1121   }
1122
1123   if (use_openssl) {
1124     sources -= [
1125       "base/crypto_module_nss.cc",
1126       "base/keygen_handler_nss.cc",
1127       "base/nss_memio.c",
1128       "base/nss_memio.h",
1129       "cert/cert_database_nss.cc",
1130       "cert/cert_verify_proc_nss.cc",
1131       "cert/cert_verify_proc_nss.h",
1132       "cert/jwk_serializer_nss.cc",
1133       "cert/nss_cert_database.cc",
1134       "cert/nss_cert_database.h",
1135       "cert/test_root_certs_nss.cc",
1136       "cert/x509_certificate_nss.cc",
1137       "cert/x509_util_nss.cc",
1138       "cert/x509_util_nss.h",
1139       "ocsp/nss_ocsp.cc",
1140       "ocsp/nss_ocsp.h",
1141       "quic/crypto/aes_128_gcm_12_decrypter_nss.cc",
1142       "quic/crypto/aes_128_gcm_12_encrypter_nss.cc",
1143       "quic/crypto/channel_id_nss.cc",
1144       "quic/crypto/p256_key_exchange_nss.cc",
1145       "socket/nss_ssl_util.cc",
1146       "socket/nss_ssl_util.h",
1147       "socket/ssl_client_socket_nss.cc",
1148       "socket/ssl_client_socket_nss.h",
1149       "socket/ssl_server_socket_nss.cc",
1150       "socket/ssl_server_socket_nss.h",
1151       "ssl/client_cert_store_nss.cc",
1152       "third_party/mozilla_security_manager/nsKeygenHandler.cpp",
1153       "third_party/mozilla_security_manager/nsKeygenHandler.h",
1154       "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp",
1155       "third_party/mozilla_security_manager/nsNSSCertificateDB.h",
1156       "third_party/mozilla_security_manager/nsPKCS12Blob.cpp",
1157       "third_party/mozilla_security_manager/nsPKCS12Blob.h",
1158     ]
1159   } else {  # !use_openssl
1160     sources -= [
1161       "base/crypto_module_openssl.cc",
1162       "base/keygen_handler_openssl.cc",
1163       "base/openssl_private_key_store.h",
1164       #"base/openssl_private_key_store_android.cc",
1165       "base/openssl_private_key_store_memory.cc",
1166       "cert/cert_database_openssl.cc",
1167       "cert/cert_verify_proc_openssl.cc",
1168       "cert/cert_verify_proc_openssl.h",
1169       "cert/jwk_serializer_openssl.cc",
1170       "cert/test_root_certs_openssl.cc",
1171       "cert/x509_certificate_openssl.cc",
1172       "cert/x509_util_openssl.cc",
1173       "cert/x509_util_openssl.h",
1174       "quic/crypto/aes_128_gcm_12_decrypter_openssl.cc",
1175       "quic/crypto/aes_128_gcm_12_encrypter_openssl.cc",
1176       "quic/crypto/channel_id_openssl.cc",
1177       "quic/crypto/p256_key_exchange_openssl.cc",
1178       "quic/crypto/scoped_evp_cipher_ctx.cc",
1179       "quic/crypto/scoped_evp_cipher_ctx.h",
1180       "socket/ssl_client_socket_openssl.cc",
1181       "socket/ssl_client_socket_openssl.h",
1182       "socket/ssl_server_socket_openssl.cc",
1183       "ssl/openssl_client_key_store.cc",
1184       "ssl/openssl_client_key_store.h",
1185     ]
1186   }
1187
1188   if (is_posix) {
1189     posix_avoid_mmap = false  # TODO(brettw) should be true on 32-bit Android.
1190     if (posix_avoid_mmap) {
1191       defines = [ "POSIX_AVOID_MMAP" ]
1192       sources -= [ "disk_cache/mapped_file_posix.cc" ]
1193     } else {  # !posix_avoid_mmap
1194       sources -= [ "disk_cache/mapped_file_avoid_mmap_posix.cc" ]
1195     }
1196   }
1197 }
1198
1199 #grit("net_resources") {
1200 #  source = "base/net_resources.grd"
1201 #}
1202
1203 static_library("http_server") {
1204   sources = [
1205     "server/http_connection.cc",
1206     "server/http_connection.h",
1207     "server/http_server.cc",
1208     "server/http_server.h",
1209     "server/http_server_request_info.cc",
1210     "server/http_server_request_info.h",
1211     "server/http_server_response_info.cc",
1212     "server/http_server_response_info.h",
1213     "server/web_socket.cc",
1214     "server/web_socket.h",
1215   ]
1216   configs += [ "//build/config/compiler:wexit_time_destructors" ]
1217   deps = [
1218     ":net",
1219     "//base",
1220   ]
1221 }