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

Unified Diff: net/BUILD.gn

Issue 1542633004: GN: Make enable_websockets and disable_file_support GN args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | 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 1b8b55f929c11c7e741228bcc7b9c39d2fa8e7f7..83dc423d57b56205798468b810d677e27128a97f 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -37,16 +37,18 @@ use_kerberos = !is_chromeos && !is_ios && !is_chromecast && !is_headless
# So enable it for x86 only for now.
posix_avoid_mmap = is_android && current_cpu != "x86"
-# WebSockets and socket stream code are used everywhere except iOS.
-enable_websockets = !is_ios
use_v8_in_net = !is_ios
enable_built_in_dns = !is_ios
-disable_ftp_support = is_ios
declare_args() {
# Disables support for file URLs. File URL support requires use of icu.
disable_file_support = false
enable_bidirectional_stream = 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
}
config("net_config") {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698