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

Unified Diff: media/media_options.gni

Issue 2109753002: [Chromecast] Set use_alsa=true only for Chromecast desktop & audio. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 6 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 | « no previous file | no next file » | 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 55f247be23834d266782b92b204ee96c792faf0e..33b39199f9421ee24cd0891319ab918a7fd7d963 100644
--- a/media/media_options.gni
+++ b/media/media_options.gni
@@ -55,7 +55,9 @@ declare_args() {
use_alsa = false
# Alsa should be used on non-Android, non-Mac POSIX systems.
- if (is_posix && !is_android && !is_mac) {
+ # Alsa should be used on desktop Chromecast and audio-only Chromecast builds.
+ if (is_posix && !is_android && !is_mac &&
+ (!is_chromecast || is_cast_desktop_build || disable_display)) {
use_alsa = true
# Pulse is not supported on Chromecast platforms.
« 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