summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_enable.gni
blob: f8c1b20db1b1f9b813e54cebe37127a6f3e0dd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}