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