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

Unified Diff: net/BUILD.gn

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase + ui changes. Created 5 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 | « media/midi/BUILD.gn ('k') | ui/ozone/BUILD.gn » ('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 0add477f94858f4f08e47b277b4dd461a70effab..c21196bf88c2d44111a80bfcdf31edb67460d8fb 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/chromecast_build.gni")
import("//build/config/compiler/compiler.gni")
import("//build/config/crypto.gni")
import("//build/config/features.gni")
@@ -31,9 +32,9 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
"scope",
[ "net.gypi" ])
-# Disable Kerberos on ChromeOS, Android and iOS, at least for now. It needs
-# configuration (krb5.conf and so on).
-use_kerberos = !is_chromeos && !is_android && !is_ios
+# Disable Kerberos on ChromeOS, Android, iOS, and Chromecast, at least for now.
+# It needs configuration (krb5.conf and so on).
+use_kerberos = !is_chromeos && !is_android && !is_ios && !is_chromecast
# 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
@@ -990,7 +991,7 @@ if (!is_ios && !is_android) {
"//build/config/sanitizers:deps",
]
- if (is_desktop_linux) {
+ if (is_desktop_linux && use_gconf) {
configs += [
"//build/config/linux:gconf",
"//build/config/linux:glib",
« no previous file with comments | « media/midi/BUILD.gn ('k') | ui/ozone/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698