Commit b7d6c2f3 authored by mbjorge's avatar mbjorge Committed by Commit bot

[Chromecast] Set use_alsa=true only for Chromecast desktop & audio.

For Cast builds, only cast desktop and cast audio-only products should use_alsa=true
by default.

BUG= internal b/29770818
TEST= Build several Cast platforms

Review-Url: https://codereview.chromium.org/2109753002
Cr-Commit-Position: refs/heads/master@{#402674}
parent 15d29c37
...@@ -55,7 +55,9 @@ declare_args() { ...@@ -55,7 +55,9 @@ declare_args() {
use_alsa = false use_alsa = false
# Alsa should be used on non-Android, non-Mac POSIX systems. # 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 use_alsa = true
# Pulse is not supported on Chromecast platforms. # Pulse is not supported on Chromecast platforms.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment