| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
| 6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
| 7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
| 8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
| 9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
| 10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 # So enable it for x86 only for now. | 34 # So enable it for x86 only for now. |
| 35 posix_avoid_mmap = is_android && current_cpu != "x86" | 35 posix_avoid_mmap = is_android && current_cpu != "x86" |
| 36 | 36 |
| 37 use_v8_in_net = !is_ios && !is_proto_quic | 37 use_v8_in_net = !is_ios && !is_proto_quic |
| 38 enable_built_in_dns = !is_ios && !is_proto_quic | 38 enable_built_in_dns = !is_ios && !is_proto_quic |
| 39 | 39 |
| 40 # True if certificates are represented with DER byte buffers. This can be true | 40 # True if certificates are represented with DER byte buffers. This can be true |
| 41 # in addition to use_openssl_certs or use_nss_certs, in that case byte certs | 41 # in addition to use_openssl_certs or use_nss_certs, in that case byte certs |
| 42 # are used internally but OpenSSL or NSS are used for certificate verification. | 42 # are used internally but OpenSSL or NSS are used for certificate verification. |
| 43 # TODO(mattm): crbug.com/671420: Implement and enable this for all platforms. | 43 # TODO(mattm): crbug.com/671420: Implement and enable this for all platforms. |
| 44 use_byte_certs = is_mac || is_android || is_nacl | 44 use_byte_certs = is_mac || is_android || is_nacl || is_ios |
| 45 | 45 |
| 46 buildflag_header("features") { | 46 buildflag_header("features") { |
| 47 header = "net_features.h" | 47 header = "net_features.h" |
| 48 flags = [ | 48 flags = [ |
| 49 "POSIX_AVOID_MMAP=$posix_avoid_mmap", | 49 "POSIX_AVOID_MMAP=$posix_avoid_mmap", |
| 50 "DISABLE_FILE_SUPPORT=$disable_file_support", | 50 "DISABLE_FILE_SUPPORT=$disable_file_support", |
| 51 "DISABLE_FTP_SUPPORT=$disable_ftp_support", | 51 "DISABLE_FTP_SUPPORT=$disable_ftp_support", |
| 52 "ENABLE_MDNS=$enable_mdns", | 52 "ENABLE_MDNS=$enable_mdns", |
| 53 "ENABLE_WEBSOCKETS=$enable_websockets", | 53 "ENABLE_WEBSOCKETS=$enable_websockets", |
| 54 "USE_BYTE_CERTS=$use_byte_certs", | 54 "USE_BYTE_CERTS=$use_byte_certs", |
| (...skipping 543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 "cert/x509_certificate_ios.cc", | 598 "cert/x509_certificate_ios.cc", |
| 599 "cert/x509_certificate_known_roots_win.h", | 599 "cert/x509_certificate_known_roots_win.h", |
| 600 "cert/x509_certificate_mac.cc", | 600 "cert/x509_certificate_mac.cc", |
| 601 "cert/x509_certificate_nss.cc", | 601 "cert/x509_certificate_nss.cc", |
| 602 "cert/x509_certificate_openssl.cc", | 602 "cert/x509_certificate_openssl.cc", |
| 603 "cert/x509_certificate_win.cc", | 603 "cert/x509_certificate_win.cc", |
| 604 "cert/x509_util_android.cc", | 604 "cert/x509_util_android.cc", |
| 605 "cert/x509_util_android.h", | 605 "cert/x509_util_android.h", |
| 606 "cert/x509_util_ios.cc", | 606 "cert/x509_util_ios.cc", |
| 607 "cert/x509_util_ios.h", | 607 "cert/x509_util_ios.h", |
| 608 "cert/x509_util_ios_and_mac.cc", |
| 609 "cert/x509_util_ios_and_mac.h", |
| 608 "cert/x509_util_mac.cc", | 610 "cert/x509_util_mac.cc", |
| 609 "cert/x509_util_mac.h", | 611 "cert/x509_util_mac.h", |
| 610 "cert/x509_util_nss.cc", | 612 "cert/x509_util_nss.cc", |
| 611 "cert/x509_util_nss.h", | 613 "cert/x509_util_nss.h", |
| 612 "cert_net/cert_net_fetcher_impl.cc", | 614 "cert_net/cert_net_fetcher_impl.cc", |
| 613 "cert_net/cert_net_fetcher_impl.h", | 615 "cert_net/cert_net_fetcher_impl.h", |
| 614 "cert_net/nss_ocsp.cc", | 616 "cert_net/nss_ocsp.cc", |
| 615 "cert_net/nss_ocsp.h", | 617 "cert_net/nss_ocsp.h", |
| 616 "cookies/canonical_cookie.cc", | 618 "cookies/canonical_cookie.cc", |
| 617 "cookies/canonical_cookie.h", | 619 "cookies/canonical_cookie.h", |
| (...skipping 1267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1885 "base/mac/url_conversions.h", | 1887 "base/mac/url_conversions.h", |
| 1886 "base/mac/url_conversions.mm", | 1888 "base/mac/url_conversions.mm", |
| 1887 "base/network_change_notifier_mac.cc", | 1889 "base/network_change_notifier_mac.cc", |
| 1888 "base/network_change_notifier_mac.h", | 1890 "base/network_change_notifier_mac.h", |
| 1889 "base/network_config_watcher_mac.cc", | 1891 "base/network_config_watcher_mac.cc", |
| 1890 "base/network_config_watcher_mac.h", | 1892 "base/network_config_watcher_mac.h", |
| 1891 "base/network_interfaces_mac.cc", | 1893 "base/network_interfaces_mac.cc", |
| 1892 "base/network_interfaces_mac.h", | 1894 "base/network_interfaces_mac.h", |
| 1893 "base/platform_mime_util_mac.mm", | 1895 "base/platform_mime_util_mac.mm", |
| 1894 "cert/test_root_certs_mac.cc", | 1896 "cert/test_root_certs_mac.cc", |
| 1897 "cert/x509_util_ios_and_mac.cc", |
| 1898 "cert/x509_util_ios_and_mac.h", |
| 1895 "proxy/proxy_resolver_mac.cc", | 1899 "proxy/proxy_resolver_mac.cc", |
| 1896 "proxy/proxy_resolver_mac.h", | 1900 "proxy/proxy_resolver_mac.h", |
| 1897 "proxy/proxy_server_mac.cc", | 1901 "proxy/proxy_server_mac.cc", |
| 1898 ] | 1902 ] |
| 1899 | 1903 |
| 1900 sources -= [ "disk_cache/blockfile/file_posix.cc" ] | 1904 sources -= [ "disk_cache/blockfile/file_posix.cc" ] |
| 1901 } | 1905 } |
| 1902 | 1906 |
| 1903 if (is_ios || is_mac) { | 1907 if (is_ios || is_mac) { |
| 1904 sources += [ | 1908 sources += [ |
| (...skipping 3964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5869 ] | 5873 ] |
| 5870 deps = [ | 5874 deps = [ |
| 5871 ":net_fuzzer_test_support", | 5875 ":net_fuzzer_test_support", |
| 5872 ":test_support", | 5876 ":test_support", |
| 5873 "//base", | 5877 "//base", |
| 5874 "//net", | 5878 "//net", |
| 5875 ] | 5879 ] |
| 5876 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 5880 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
| 5877 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 5881 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
| 5878 } | 5882 } |
| OLD | NEW |