Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: net/BUILD.gn

Issue 2692273008: Hacky slashy (Closed)
Patch Set: rebase on config CL, and minor fixes Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/fuchsia/test_runner.py ('k') | testing/test.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 16 matching lines...) Expand all
27 import("//build/config/mac/mac_sdk.gni") 27 import("//build/config/mac/mac_sdk.gni")
28 } 28 }
29 29
30 # The way the cache uses mmap() is inefficient on some Android devices. If 30 # The way the cache uses mmap() is inefficient on some Android devices. If
31 # this flag is set, we hackily avoid using mmap() in the disk cache. We are 31 # this flag is set, we hackily avoid using mmap() in the disk cache. We are
32 # pretty confident that mmap-ing the index would not hurt any existing x86 32 # pretty confident that mmap-ing the index would not hurt any existing x86
33 # android devices, but we cannot be so sure about the variety of ARM devices. 33 # android devices, but we cannot be so sure about the variety of ARM devices.
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_fuchsia && !is_proto_quic
38 enable_built_in_dns = !is_ios && !is_proto_quic 38 enable_built_in_dns = !is_ios && !is_fuchsia && !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
45 45
46 buildflag_header("features") { 46 buildflag_header("features") {
47 header = "net_features.h" 47 header = "net_features.h"
48 flags = [ 48 flags = [
(...skipping 2573 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 ] 2622 ]
2623 deps = [ 2623 deps = [
2624 "//base", 2624 "//base",
2625 "//gin", 2625 "//gin",
2626 "//url", 2626 "//url",
2627 "//v8", 2627 "//v8",
2628 ] 2628 ]
2629 } 2629 }
2630 } 2630 }
2631 2631
2632 if (!is_ios && !is_android && !is_proto_quic) { 2632 if (!is_ios && !is_android && !is_fuchsia && !is_proto_quic) {
2633 source_set("net_browser_services") { 2633 source_set("net_browser_services") {
2634 sources = [ 2634 sources = [
2635 "dns/mojo_host_resolver_impl.cc", 2635 "dns/mojo_host_resolver_impl.cc",
2636 "dns/mojo_host_resolver_impl.h", 2636 "dns/mojo_host_resolver_impl.h",
2637 "proxy/mojo_proxy_resolver_factory.h", 2637 "proxy/mojo_proxy_resolver_factory.h",
2638 "proxy/proxy_resolver_factory_mojo.cc", 2638 "proxy/proxy_resolver_factory_mojo.cc",
2639 "proxy/proxy_resolver_factory_mojo.h", 2639 "proxy/proxy_resolver_factory_mojo.h",
2640 "proxy/proxy_service_mojo.cc", 2640 "proxy/proxy_service_mojo.cc",
2641 "proxy/proxy_service_mojo.h", 2641 "proxy/proxy_service_mojo.h",
2642 ] 2642 ]
(...skipping 3230 matching lines...) Expand 10 before | Expand all | Expand 10 after
5873 ] 5873 ]
5874 deps = [ 5874 deps = [
5875 ":net_fuzzer_test_support", 5875 ":net_fuzzer_test_support",
5876 ":test_support", 5876 ":test_support",
5877 "//base", 5877 "//base",
5878 "//net", 5878 "//net",
5879 ] 5879 ]
5880 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" 5880 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict"
5881 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" 5881 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/"
5882 } 5882 }
OLDNEW
« no previous file with comments | « build/fuchsia/test_runner.py ('k') | testing/test.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698