OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 # Keep in sync with remoting/remoting_enable.gypi. | 5 # Keep in sync with remoting/remoting_enable.gypi. |
6 | 6 |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 enable_remoting_host = false | 9 enable_remoting_host = false |
10 enable_me2me_host = false | 10 enable_me2me_host = false |
11 | 11 |
12 # TODO(GYP) Make remoting hosts work on Mac. | 12 if (is_win || (is_linux && !is_chromeos && use_x11) || is_mac) { |
13 # TODO(gyp): Enable once https://crbug.com/611859 is fixed. | |
14 #if (is_mac) { | |
15 # enable_remoting_host = true | |
16 # enable_me2me_host = true | |
17 #} | |
18 | |
19 if (is_win || (is_linux && !is_chromeos && use_x11)) { | |
20 enable_remoting_host = true | 13 enable_remoting_host = true |
21 enable_me2me_host = true | 14 enable_me2me_host = true |
22 } | 15 } |
23 | 16 |
24 if (is_linux && is_chromeos) { | 17 if (is_linux && is_chromeos) { |
25 enable_remoting_host = true | 18 enable_remoting_host = true |
26 } | 19 } |
27 | 20 |
28 if (is_android) { | 21 if (is_android) { |
29 enable_remoting_host = true | 22 enable_remoting_host = true |
30 } | 23 } |
OLD | NEW |