Have audio_device only depend on X11 if use_x11 is set.
BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/2909343002 Cr-Commit-Position: refs/heads/master@{#18335}
This commit is contained in:
parent
b5f5bdba77
commit
c41d0c4913
@ -137,10 +137,10 @@ rtc_static_library("audio_device") {
|
||||
"linux/latebindingsymboltable_linux.h",
|
||||
]
|
||||
defines += [ "LINUX_ALSA" ]
|
||||
libs = [
|
||||
"dl",
|
||||
"X11",
|
||||
]
|
||||
libs = [ "dl" ]
|
||||
if (use_x11) {
|
||||
libs += [ "X11" ]
|
||||
}
|
||||
if (rtc_include_pulse_audio) {
|
||||
sources += [
|
||||
"linux/audio_device_pulse_linux.cc",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user