| 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 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 import("//build/config/ui.gni") | 7 declare_args() { |
| 8 enable_remoting = !is_ios && !is_chromecast |
| 9 } |
| 8 | 10 |
| 9 enable_remoting_host = false | 11 enable_remoting_host = false |
| 10 enable_me2me_host = false | 12 enable_me2me_host = false |
| 11 | 13 |
| 12 if (is_win || (is_linux && !is_chromeos && use_x11) || is_mac) { | 14 if (is_win || (is_linux && !is_chromeos && use_x11) || is_mac) { |
| 13 enable_remoting_host = true | 15 enable_remoting_host = true |
| 14 enable_me2me_host = true | 16 enable_me2me_host = true |
| 15 } | 17 } |
| 16 | 18 |
| 17 if (is_linux && is_chromeos) { | 19 if (is_linux && is_chromeos) { |
| 18 enable_remoting_host = true | 20 enable_remoting_host = true |
| 19 } | 21 } |
| OLD | NEW |