summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_host.gni
diff options
context:
space:
mode:
authordpranke <dpranke@chromium.org>2015-04-01 13:21:05 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-01 20:21:53 +0000
commitce5eb83716e16f5b92e766ea95c70d2ed1b9ec17 (patch)
tree65a5af3e8e62096c7a6b94eae6f52bd88db0be99 /remoting/remoting_host.gni
parent99adfe6f9fdc20533c372a54a3cf127d72eb9bfd (diff)
downloadchromium_src-ce5eb83716e16f5b92e766ea95c70d2ed1b9ec17.zip
chromium_src-ce5eb83716e16f5b92e766ea95c70d2ed1b9ec17.tar.gz
chromium_src-ce5eb83716e16f5b92e766ea95c70d2ed1b9ec17.tar.bz2
Add remaining remoting targets for the GN build.
R=brettw@chromium.org, garykac@chromium.org BUG=461019 CQ_EXTRA_TRYBOTS=tryserver.chromium.linux:android_chromium_gn_compile_dbg,android_chromium_gn_compile_rel;tryserver.chromium.win:win8_chromium_gn_rel,win8_chromium_gn_dbg;tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Review URL: https://codereview.chromium.org/1039083004 Cr-Commit-Position: refs/heads/master@{#323314}
Diffstat (limited to 'remoting/remoting_host.gni')
-rw-r--r--remoting/remoting_host.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/remoting/remoting_host.gni b/remoting/remoting_host.gni
new file mode 100644
index 0000000..d7d38d9
--- /dev/null
+++ b/remoting/remoting_host.gni
@@ -0,0 +1,11 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/ui.gni")
+
+# TODO(GYP): make remoting hosts work on win and mac
+# enable_remoting_host = is_win || is_mac || is_chromeos || use_x11
+# enable_me2me_host = is_win || is_mac || (use_x11 && !is_chromeos)
+enable_remoting_host = is_chromeos || use_x11
+enable_me2me_host = use_x11 && !is_chromeos