Skip to content

Commit

Permalink
[Chromecast] Set use_alsa=true only for Chromecast desktop & audio.
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
mbjorge authored and Commit bot committed Jun 29, 2016
1 parent 15d29c3 commit b7d6c2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion media/media_options.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b7d6c2f

Please sign in to comment.