Index: net/features.gni |
diff --git a/net/features.gni b/net/features.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..938c07e061201ee106e72abb9753c243414cb980 |
--- /dev/null |
+++ b/net/features.gni |
@@ -0,0 +1,23 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/features.gni") |
+ |
+declare_args() { |
+ # Disables support for file URLs. File URL support requires use of icu. |
+ disable_file_support = false |
+ |
+ # WebSockets and socket stream code are not used on iOS and are optional in |
+ # cronet. |
+ enable_websockets = !is_ios |
+ disable_ftp_support = is_ios || is_chromecast |
+ |
+ # Enable Kerberos authentication. It is disabled by default on ChromeOS, iOS, |
+ # Chromecast, at least for now. This feature needs configuration (krb5.conf |
+ # and so on). |
+ use_kerberos = !is_chromeos && !is_ios && !is_chromecast |
+ |
+ # Do not disable brotli filter by default. |
+ disable_brotli_filter = false |
+} |