blob: 26aa4b1f11dfb9bbb3571b1f8d2cda9a5e580415 [file] [log] [blame]
sdefresneeb265862016-09-08 14:27:121# Copyright 2016 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/features.gni")
6
7declare_args() {
ckrasic73f7240b2017-01-24 00:06:458 # If true, prune things down as needed for proto-quic build.
9 is_proto_quic = false
10
sdefresneeb265862016-09-08 14:27:1211 # Disables support for file URLs. File URL support requires use of icu.
12 disable_file_support = false
13
14 # WebSockets and socket stream code are not used on iOS and are optional in
15 # cronet.
16 enable_websockets = !is_ios
17 disable_ftp_support = is_ios || is_chromecast
18
Sergey Ulanov49085572017-07-10 23:25:4619 # Enable Kerberos authentication. It is disabled by default on iOS, Fuchsia
20 # and Chromecast, at least for now. This feature needs configuration
Lutz Justen3ea09c02019-04-25 07:49:4321 # (krb5.conf and so on).
Sergey Ulanov49085572017-07-10 23:25:4622 # TODO(fuchsia): Enable kerberos on Fuchsia when it's implemented there.
23 use_kerberos = !is_ios && !is_chromecast && !is_fuchsia
sdefresneeb265862016-09-08 14:27:1224
25 # Do not disable brotli filter by default.
26 disable_brotli_filter = false
brettw5224a182016-10-28 22:13:0227
28 # Multicast DNS.
Qingsi Wangc2213d5d2018-11-02 01:28:1229 enable_mdns = is_win || is_linux || is_fuchsia || is_mac || is_ios
mmenkefd9d15c2017-06-29 13:45:5430
31 # Reporting not used on iOS.
32 enable_reporting = !is_ios
xunjieli815ad5b2017-07-18 15:51:3533
34 # Includes the transport security state preload list. This list includes
35 # mechanisms (e.g. HSTS, HPKP) to enforce trusted connections to a significant
36 # set of hardcoded domains. While this list has a several hundred KB of binary
37 # size footprint, this flag should not be disabled unless the embedder is
38 # willing to take the responsibility to make sure that all important
39 # connections use HTTPS.
40 include_transport_security_state_preload_list = true
Matt Muellerdbc0aa72019-02-04 22:13:1841
42 # Platforms where the cert verifier comparison trial is supported.
43 # See https://crbug.com/649026.
44 trial_comparison_cert_verifier_supported = is_desktop_linux || is_mac
Matt Mueller36c3b102019-06-18 02:28:2045
46 # Platforms where both the builtin cert verifier and a platform verifier are
47 # supported and may be switched between using the CertVerifierBuiltin feature
48 # flag. This does not include platforms where the builtin cert verifier is
49 # the only verifier supported.
Pavol Markoe11ebca2019-07-03 07:08:3750 builtin_cert_verifier_feature_supported =
51 is_desktop_linux || is_mac || is_chromeos
sdefresneeb265862016-09-08 14:27:1252}