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

Unified Diff: net/BUILD.gn

Issue 1845473003: headless: Replace is_headless gn setting with an args template (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Better documentation. Created 4 years, 9 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 | « media/media_options.gni ('k') | 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 61e60b5907e70dcf18fe1ddbd34eba4bdb66e7cd..756804d2efff0d6a790ee56f2f40f4117d887144 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -28,10 +28,6 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
"scope",
[ "net.gypi" ])
-# Disable Kerberos on ChromeOS, iOS, Chromecast and headless, at least for now.
-# It needs configuration (krb5.conf and so on).
-use_kerberos = !is_chromeos && !is_ios && !is_chromecast && !is_headless
-
# The way the cache uses mmap() is inefficient on some Android devices. If
# this flag is set, we hackily avoid using mmap() in the disk cache. We are
# pretty confident that mmap-ing the index would not hurt any existing x86
@@ -50,6 +46,11 @@ declare_args() {
# cronet.
enable_websockets = !is_ios
disable_ftp_support = is_ios
+
+ # 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
}
config("net_config") {
« no previous file with comments | « media/media_options.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698