Bug 1261116 - only compile libcubeb's test_resampler if PulseAudio is enabled; r=kinetik

This commit is contained in:
Nathan Froyd 2016-03-31 13:06:04 -04:00
parent 58e2e722d0
commit d7dfb00a02

View File

@ -9,11 +9,15 @@ DEFINES['CUBEB_GECKO_BUILD'] = True
GeckoCppUnitTests([
'test_duplex',
'test_record',
'test_resampler',
'test_tone',
'test_utils'
])
if CONFIG['MOZ_PULSEAUDIO'] or CONFIG['OS_TARGET'] in ('Darwin', 'WINNT', 'Android'):
GeckoCppUnitTests([
'test_resampler',
])
if CONFIG['OS_TARGET'] != 'Android':
GeckoCppUnitTests([
'test_audio',