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

Unified Diff: net/features.gni

Issue 2318343003: Fix compilation of components_unittests with disable_file_support=true. (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+}
« no previous file with comments | « net/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698