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

Side by Side Diff: net/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: cleanup / review Created 5 years, 10 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
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/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/module_args/v8.gni") 8 import("//build/module_args/v8.gni")
9 import("//url/config.gni") 9 import("//url/config.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 20 matching lines...) Expand all
31 31
32 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. It needs 32 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. It needs
33 # configuration (krb5.conf and so on). 33 # configuration (krb5.conf and so on).
34 use_kerberos = !is_chromeos && !is_android && !is_ios 34 use_kerberos = !is_chromeos && !is_android && !is_ios
35 35
36 # The way the cache uses mmap() is inefficient on some Android devices. If 36 # The way the cache uses mmap() is inefficient on some Android devices. If
37 # this flag is set, we hackily avoid using mmap() in the disk cache. We are 37 # this flag is set, we hackily avoid using mmap() in the disk cache. We are
38 # pretty confident that mmap-ing the index would not hurt any existing x86 38 # pretty confident that mmap-ing the index would not hurt any existing x86
39 # android devices, but we cannot be so sure about the variety of ARM devices. 39 # android devices, but we cannot be so sure about the variety of ARM devices.
40 # So enable it for x86 only for now. 40 # So enable it for x86 only for now.
41 posix_avoid_mmap = is_android && cpu_arch != "x86" 41 posix_avoid_mmap = is_android && current_cpu != "x86"
42 42
43 # WebSockets and socket stream code are used everywhere except iOS. 43 # WebSockets and socket stream code are used everywhere except iOS.
44 enable_websockets = !is_ios 44 enable_websockets = !is_ios
45 use_v8_in_net = !is_ios 45 use_v8_in_net = !is_ios
46 enable_built_in_dns = !is_ios 46 enable_built_in_dns = !is_ios
47 disable_ftp_support = is_ios 47 disable_ftp_support = is_ios
48 48
49 declare_args() { 49 declare_args() {
50 # Disables support for file URLs. File URL support requires use of icu. 50 # Disables support for file URLs. File URL support requires use of icu.
51 disable_file_support = false 51 disable_file_support = false
(...skipping 1355 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 "quic/quic_server_bin.cc", 1407 "quic/quic_server_bin.cc",
1408 ] 1408 ]
1409 deps = [ 1409 deps = [
1410 ":quic_tools", 1410 ":quic_tools",
1411 ":net", 1411 ":net",
1412 "//base", 1412 "//base",
1413 "//third_party/boringssl", 1413 "//third_party/boringssl",
1414 ] 1414 ]
1415 } 1415 }
1416 } # !is_android && !is_win && !is_mac 1416 } # !is_android && !is_win && !is_mac
OLDNEW
« no previous file with comments | « mojo/nacl/BUILD.gn ('k') | ppapi/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698