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

Unified Diff: net/BUILD.gn

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 | « components/update_client/BUILD.gn ('k') | net/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 90fd51791a318ba1c1de09b61ed73faec660a914..cc9b4c0faff180e66151d2152e5cecfbe5be663a 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -8,6 +8,7 @@ import("//build/config/compiler/compiler.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//build/config/ui.gni")
+import("//net/features.gni")
import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
import("//third_party/icu/config.gni")
@@ -39,24 +40,6 @@ posix_avoid_mmap = is_android && current_cpu != "x86"
use_v8_in_net = !is_ios
enable_built_in_dns = !is_ios
-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
-}
-
config("net_config") {
defines = []
if (posix_avoid_mmap) {
« no previous file with comments | « components/update_client/BUILD.gn ('k') | net/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698