| 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_mac) { |
| 13 # TODO(gyp): Enable once https://crbug.com/611859 is fixed. | 13 enable_remoting_host = true |
| 14 #if (is_mac) { | 14 enable_me2me_host = true |
| 15 # enable_remoting_host = true | 15 } |
| 16 # enable_me2me_host = true | |
| 17 #} | |
| 18 | 16 |
| 19 if (is_win || (is_linux && !is_chromeos && use_x11)) { | 17 if (is_win || (is_linux && !is_chromeos && use_x11)) { |
| 20 enable_remoting_host = true | 18 enable_remoting_host = true |
| 21 enable_me2me_host = true | 19 enable_me2me_host = true |
| 22 } | 20 } |
| 23 | 21 |
| 24 if (is_linux && is_chromeos) { | 22 if (is_linux && is_chromeos) { |
| 25 enable_remoting_host = true | 23 enable_remoting_host = true |
| 26 } | 24 } |
| 27 | 25 |
| 28 if (is_android) { | 26 if (is_android) { |
| 29 enable_remoting_host = true | 27 enable_remoting_host = true |
| 30 } | 28 } |
| OLD | NEW |