Fix chromeos=1 so Pulse is preferred when use_cras=0.

Merges the settings for use_alsa and use_pulseaudio for selection
based on use_cras.

BUG=none
TEST=Pulse is available along with ALSA when chromeos=1.

Review URL: https://codereview.chromium.org/132773002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244098 0039d316-1c4b-4281-b951-d872f2087c98
parent 90ff4513
......@@ -21,15 +21,12 @@
'media_use_ffmpeg%': 1,
'media_use_libvpx%': 1,
}],
# ALSA usage.
['(OS=="linux" or OS=="freebsd" or OS=="solaris") and embedded!=1', {
# Enable ALSA and Pulse for runtime selection.
['(OS=="linux" or OS=="freebsd" or OS=="solaris") and embedded!=1 and use_cras==0', {
'use_alsa%': 1,
}, {
'use_alsa%': 0,
}],
['os_posix==1 and OS!="mac" and OS!="android" and chromeos!=1 and embedded!=1', {
'use_pulseaudio%': 1,
}, {
'use_alsa%': 0,
'use_pulseaudio%': 0,
}],
],
......
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