Index: media/midi/midi.gyp |
diff --git a/media/midi/midi.gyp b/media/midi/midi.gyp |
index 723a9a3166bb0505c55e0536bc0900f676991506..467c6e314bb7934fbb9624caf8930f48a24a9234 100644 |
--- a/media/midi/midi.gyp |
+++ b/media/midi/midi.gyp |
@@ -6,7 +6,7 @@ |
'variables': { |
'chromium_code': 1, |
'conditions': [ |
- ['(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)', { |
'use_alsa%': 1, |
}, { |
'use_alsa%': 0, |