Index: media/media.gyp |
diff --git a/media/media.gyp b/media/media.gyp |
index dbd452dee4fbd3d57427db35aa8d697205b706b9..b97ac0f4977f0171ad555099e1fce6550832afe0 100644 |
--- a/media/media.gyp |
+++ b/media/media.gyp |
@@ -13,7 +13,7 @@ |
'linux_link_pulseaudio%': 0, |
'conditions': [ |
# Enable ALSA and Pulse for runtime selection. |
- ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (embedded!=1 or (chromecast==1 and target_arch!="arm"))', { |
+ ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and (chromecast==0 or is_cast_desktop_build==1)', { |
# ALSA is always needed for Web MIDI even if the cras is enabled. |
'use_alsa%': 1, |
'conditions': [ |