summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_enable.gni
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/remoting_enable.gni')
-rw-r--r--remoting/remoting_enable.gni25
1 files changed, 25 insertions, 0 deletions
diff --git a/remoting/remoting_enable.gni b/remoting/remoting_enable.gni
new file mode 100644
index 0000000..f8c1b20
--- /dev/null
+++ b/remoting/remoting_enable.gni
@@ -0,0 +1,25 @@
+# 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.
+
+# Keep in sync with remoting/remoting_enable.gypi.
+
+import("//build/config/ui.gni")
+
+enable_remoting_host = false
+enable_me2me_host = false
+
+# TODO(GYP) Make remoting hosts work on Windows and Mac.
+#if (is_win || is_mac) {
+# enable_remoting_host = true
+# enable_me2me_host = true
+#}
+
+if (is_linux && !is_chromeos && use_x11) {
+ enable_remoting_host = true
+ enable_me2me_host = true
+}
+
+if (is_linux && is_chromeos) {
+ enable_remoting_host = true
+}