summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_enable.gni
blob: 511c877dee19f3138b24d29454d19852703d49a1 (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
# 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

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
}