remoting_options.gni 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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
  3. # found in the LICENSE file.
  4. import("//build/config/chrome_build.gni")
  5. import("//build/config/chromeos/ui_mode.gni")
  6. import("//build/config/ozone.gni")
  7. import("//build/config/ui.gni")
  8. import("//remoting/build/config/remoting_features.gni")
  9. remoting_use_x11 =
  10. ozone_platform_x11 && (is_linux && !is_castos) && !remoting_use_wayland
  11. enable_remoting_host = is_win || is_mac || is_chromeos_ash ||
  12. remoting_use_x11 || (is_linux && remoting_use_wayland)
  13. enable_me2me_host =
  14. is_win || is_mac || remoting_use_x11 || (is_linux && remoting_use_wayland)
  15. # Enable the multi-process host on Windows by default.
  16. if (is_win) {
  17. remoting_multi_process = 1
  18. } else {
  19. remoting_multi_process = 0
  20. }
  21. remoting_rdp_session = 1
  22. if (is_chrome_branded) {
  23. branding_path = "//remoting/branding_Chrome"
  24. } else {
  25. branding_path = "//remoting/branding_Chromium"
  26. }
  27. rdp_desktop_session_guid = "6a7699f0-ee43-43e7-aa30-a6738f9bd470"