| 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 |    44 use_byte_certs = is_mac || is_android | 
|    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 5721 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  5776   ] |  5776   ] | 
|  5777   deps = [ |  5777   deps = [ | 
|  5778     ":net_fuzzer_test_support", |  5778     ":net_fuzzer_test_support", | 
|  5779     ":test_support", |  5779     ":test_support", | 
|  5780     "//base", |  5780     "//base", | 
|  5781     "//net", |  5781     "//net", | 
|  5782   ] |  5782   ] | 
|  5783   dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |  5783   dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 
|  5784   seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |  5784   seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 
|  5785 } |  5785 } | 
| OLD | NEW |