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

{
  'variables': {
    'enable_remoting_host%': 0,
    'enable_me2me_host%': 0,

    'conditions': [
      ['OS=="win" or OS=="mac"', {
        'enable_remoting_host': 1,
        'enable_me2me_host': 1,
      }],
      ['OS=="linux" and chromeos==0 and use_x11==1', {
        'enable_remoting_host': 1,
        'enable_me2me_host': 1,
      }],
      ['OS=="linux" and chromeos==1', {
        'enable_remoting_host': 1,
      }],
    ],  # end of conditions
  },  # end of variables
}