Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2909343002: Have audio_device only depend on X11 if use_x11 is set. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/BUILD.gn
diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
index 2568ef3cc8b1fd1123c8d00e739c896b0cca5bb9..2f678d6dc082529657946346d84dac3e36960508 100644
--- a/webrtc/modules/audio_device/BUILD.gn
+++ b/webrtc/modules/audio_device/BUILD.gn
@@ -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",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698