| 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 | 44 use_byte_certs = is_mac || is_android || is_nacl |
| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 "cert/signed_tree_head.cc", | 238 "cert/signed_tree_head.cc", |
| 239 "cert/signed_tree_head.h", | 239 "cert/signed_tree_head.h", |
| 240 "cert/sth_distributor.cc", | 240 "cert/sth_distributor.cc", |
| 241 "cert/sth_distributor.h", | 241 "cert/sth_distributor.h", |
| 242 "cert/sth_observer.h", | 242 "cert/sth_observer.h", |
| 243 "cert/sth_reporter.h", | 243 "cert/sth_reporter.h", |
| 244 "cert/x509_cert_types.cc", | 244 "cert/x509_cert_types.cc", |
| 245 "cert/x509_cert_types.h", | 245 "cert/x509_cert_types.h", |
| 246 "cert/x509_certificate.cc", | 246 "cert/x509_certificate.cc", |
| 247 "cert/x509_certificate.h", | 247 "cert/x509_certificate.h", |
| 248 "cert/x509_certificate_bytes.cc", |
| 248 "cert/x509_certificate_net_log_param.cc", | 249 "cert/x509_certificate_net_log_param.cc", |
| 249 "cert/x509_certificate_net_log_param.h", | 250 "cert/x509_certificate_net_log_param.h", |
| 250 "cert/x509_certificate_openssl.cc", | |
| 251 "cert/x509_util.cc", | 251 "cert/x509_util.cc", |
| 252 "cert/x509_util.h", | 252 "cert/x509_util.h", |
| 253 "cert/x509_util_openssl.cc", | 253 "cert/x509_util_openssl.cc", |
| 254 "cert/x509_util_openssl.h", | 254 "cert/x509_util_openssl.h", |
| 255 "der/encode_values.cc", | 255 "der/encode_values.cc", |
| 256 "der/encode_values.h", | 256 "der/encode_values.h", |
| 257 "der/input.cc", | 257 "der/input.cc", |
| 258 "der/input.h", | 258 "der/input.h", |
| 259 "der/parse_values.cc", | 259 "der/parse_values.cc", |
| 260 "der/parse_values.h", | 260 "der/parse_values.h", |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 "cert/test_keychain_search_list_mac.h", | 591 "cert/test_keychain_search_list_mac.h", |
| 592 "cert/test_root_certs.cc", | 592 "cert/test_root_certs.cc", |
| 593 "cert/test_root_certs.h", | 593 "cert/test_root_certs.h", |
| 594 "cert/test_root_certs_android.cc", | 594 "cert/test_root_certs_android.cc", |
| 595 "cert/test_root_certs_mac.cc", | 595 "cert/test_root_certs_mac.cc", |
| 596 "cert/test_root_certs_nss.cc", | 596 "cert/test_root_certs_nss.cc", |
| 597 "cert/test_root_certs_openssl.cc", | 597 "cert/test_root_certs_openssl.cc", |
| 598 "cert/test_root_certs_win.cc", | 598 "cert/test_root_certs_win.cc", |
| 599 "cert/x509_cert_types_mac.cc", | 599 "cert/x509_cert_types_mac.cc", |
| 600 "cert/x509_cert_types_win.cc", | 600 "cert/x509_cert_types_win.cc", |
| 601 "cert/x509_certificate_bytes.cc", | |
| 602 "cert/x509_certificate_ios.cc", | 601 "cert/x509_certificate_ios.cc", |
| 603 "cert/x509_certificate_known_roots_win.h", | 602 "cert/x509_certificate_known_roots_win.h", |
| 604 "cert/x509_certificate_mac.cc", | 603 "cert/x509_certificate_mac.cc", |
| 605 "cert/x509_certificate_nss.cc", | 604 "cert/x509_certificate_nss.cc", |
| 605 "cert/x509_certificate_openssl.cc", |
| 606 "cert/x509_certificate_win.cc", | 606 "cert/x509_certificate_win.cc", |
| 607 "cert/x509_util_android.cc", | 607 "cert/x509_util_android.cc", |
| 608 "cert/x509_util_android.h", | 608 "cert/x509_util_android.h", |
| 609 "cert/x509_util_ios.cc", | 609 "cert/x509_util_ios.cc", |
| 610 "cert/x509_util_ios.h", | 610 "cert/x509_util_ios.h", |
| 611 "cert/x509_util_mac.cc", | 611 "cert/x509_util_mac.cc", |
| 612 "cert/x509_util_mac.h", | 612 "cert/x509_util_mac.h", |
| 613 "cert/x509_util_nss.cc", | 613 "cert/x509_util_nss.cc", |
| 614 "cert/x509_util_nss.h", | 614 "cert/x509_util_nss.h", |
| 615 "cert_net/cert_net_fetcher_impl.cc", | 615 "cert_net/cert_net_fetcher_impl.cc", |
| (...skipping 5252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5868 ] | 5868 ] |
| 5869 deps = [ | 5869 deps = [ |
| 5870 ":net_fuzzer_test_support", | 5870 ":net_fuzzer_test_support", |
| 5871 ":test_support", | 5871 ":test_support", |
| 5872 "//base", | 5872 "//base", |
| 5873 "//net", | 5873 "//net", |
| 5874 ] | 5874 ] |
| 5875 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 5875 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
| 5876 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 5876 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
| 5877 } | 5877 } |
| OLD | NEW |