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

Unified Diff: build/config/ui.gni

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 | « build/config/headless_build.gni ('k') | headless/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ui.gni
diff --git a/build/config/ui.gni b/build/config/ui.gni
index 1df101f1c850389ab03c94725cd70cee1be6e913..43d53a250f6104562ffea0e0c2c3bb81ff75ad45 100644
--- a/build/config/ui.gni
+++ b/build/config/ui.gni
@@ -15,17 +15,16 @@
# to set up feature flags.
import("//build/config/chromecast_build.gni")
-import("//build/config/headless_build.gni")
declare_args() {
# Indicates if Ash is enabled. Ash is the Aura Shell which provides a
# desktop-like environment for Aura. Requires use_aura = true
- use_ash = is_chromeos && !is_chromecast && !is_headless
+ use_ash = is_chromeos && !is_chromecast
# Indicates if Ozone is enabled. Ozone is a low-level library layer for Linux
# that does not require X11. Enabling this feature disables use of glib, x11,
# Pango, and Cairo. Default to false on non-Chromecast builds.
- use_ozone = (is_chromecast || is_headless) && !is_android
+ use_ozone = is_chromecast && !is_android
# Indicates if Aura is enabled. Aura is a low-level windowing library, sort
# of a replacement for GDI or GTK.
« no previous file with comments | « build/config/headless_build.gni ('k') | headless/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698