mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 1261116 - only compile libcubeb's test_resampler if PulseAudio is enabled; r=kinetik
This commit is contained in:
parent
58e2e722d0
commit
d7dfb00a02
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user