Compile ADM pulse code by default.
Pulse related code should still be disabled unless
WEBRTC_ENABLE_LINUX_PULSE is defined but it will always be
compiled.
Bug: None
Change-Id: If8a03aae445a8c73c3c347e275c5996368fe3088
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/171513
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30886}
diff --git a/modules/audio_device/BUILD.gn b/modules/audio_device/BUILD.gn
index 381c71f..2ce0ae2 100644
--- a/modules/audio_device/BUILD.gn
+++ b/modules/audio_device/BUILD.gn
@@ -277,16 +277,16 @@
defines += [ "WEBRTC_USE_X11" ]
}
if (rtc_include_pulse_audio) {
- sources += [
- "linux/audio_device_pulse_linux.cc",
- "linux/audio_device_pulse_linux.h",
- "linux/audio_mixer_manager_pulse_linux.cc",
- "linux/audio_mixer_manager_pulse_linux.h",
- "linux/pulseaudiosymboltable_linux.cc",
- "linux/pulseaudiosymboltable_linux.h",
- ]
defines += [ "WEBRTC_ENABLE_LINUX_PULSE" ]
}
+ sources += [
+ "linux/audio_device_pulse_linux.cc",
+ "linux/audio_device_pulse_linux.h",
+ "linux/audio_mixer_manager_pulse_linux.cc",
+ "linux/audio_mixer_manager_pulse_linux.h",
+ "linux/pulseaudiosymboltable_linux.cc",
+ "linux/pulseaudiosymboltable_linux.h",
+ ]
}
if (is_mac) {
sources += [