| 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/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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |