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

Unified Diff: media/media_options.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 | « headless/README.md ('k') | net/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/media_options.gni
diff --git a/media/media_options.gni b/media/media_options.gni
index 0390f21a15a06c1c7b8a1850c250f63b38fc3323..72f100e79c7512df9f605836c0e1256bdf627e5e 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -4,7 +4,6 @@
import("//build/config/chromecast_build.gni")
import("//build/config/features.gni")
-import("//build/config/headless_build.gni")
declare_args() {
# Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
@@ -57,7 +56,7 @@ declare_args() {
use_alsa = false
# Alsa should be used on non-Android, non-Mac POSIX systems.
- if (is_posix && !is_headless && !is_android && !is_mac) {
+ if (is_posix && !is_android && !is_mac) {
use_alsa = true
# Pulse is not supported on Chromecast platforms.
« no previous file with comments | « headless/README.md ('k') | net/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698