1 # 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.
5 import("//build/config/features.gni")
8 # If true, prune things down as needed for proto-quic build.
11 # Disables support for file URLs. File URL support requires use of icu.
12 disable_file_support = false
14 # WebSockets and socket stream code are not used on iOS and are optional in
16 enable_websockets = !is_ios
17 disable_ftp_support = is_ios || is_chromecast
19 # Enable Kerberos authentication. It is disabled by default on iOS, Fuchsia
20 # and Chromecast, at least for now. This feature needs configuration
21 # (krb5.conf and so on). On Chrome OS it is only supported on Active
22 # Directory managed devices.
23 # TODO(fuchsia): Enable kerberos on Fuchsia when it's implemented there.
24 use_kerberos = !is_ios && !is_chromecast && !is_fuchsia
26 # Do not disable brotli filter by default.
27 disable_brotli_filter = false
30 enable_mdns = is_win || is_linux
32 # Reporting not used on iOS.
33 enable_reporting = !is_ios
35 # Includes the transport security state preload list. This list includes
36 # mechanisms (e.g. HSTS, HPKP) to enforce trusted connections to a significant
37 # set of hardcoded domains. While this list has a several hundred KB of binary
38 # size footprint, this flag should not be disabled unless the embedder is
39 # willing to take the responsibility to make sure that all important
40 # connections use HTTPS.
41 include_transport_security_state_preload_list = true
45 enable_net_mojo = !is_ios && !is_proto_quic