Chromium Code Reviews| Index: media/media.gyp |
| diff --git a/media/media.gyp b/media/media.gyp |
| index 4f8c13fe56e3935bd1d3d2c6734e3775bcf7040d..74ce7844228c8e8b734d20724dd173802c85a815 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 (chromecast==0 or is_cast_desktop_build==1)', { |
| + ['(OS=="linux" or OS=="freebsd" or OS=="solaris") and ((embedded!=1 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': [ |