summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 23:23:21 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 23:23:21 +0000
commit3c0b199de26ed495312901fa56567d0ff9a21ed5 (patch)
tree0d4d8f22c636056558b0785d717ac7714eb7abf8 /remoting
parent1f584fe2cd4cea2b8f68c0884c0def90d84a69ec (diff)
downloadchromium_src-3c0b199de26ed495312901fa56567d0ff9a21ed5.zip
chromium_src-3c0b199de26ed495312901fa56567d0ff9a21ed5.tar.gz
chromium_src-3c0b199de26ed495312901fa56567d0ff9a21ed5.tar.bz2
x11: Include X11 dependencies only when building with X11.
BUG=none Review URL: https://codereview.chromium.org/12563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186816 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/remoting.gyp4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index e1bad8f..712dddd 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -55,8 +55,8 @@
'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_FILE_NAME@")',
'conditions': [
- # Remoting host is supported only on Windows, OSX and Linux.
- ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
+ # Remoting host is supported only on Windows, OSX and Linux (with X11).
+ ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0 and use_x11==1)', {
'enable_remoting_host': 1,
}, {
'enable_remoting_host': 0,