1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36

remoting / remoting_options.gni [blame]

# Copyright 2015 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chrome_build.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/ozone.gni")
import("//build/config/ui.gni")

remoting_use_x11 = ozone_platform_x11 && (is_linux && !is_castos)

enable_remoting_host = is_win || is_mac || is_chromeos_ash || remoting_use_x11

enable_me2me_host = is_win || is_mac || remoting_use_x11

# Enable the multi-process host on Windows by default.
if (is_win) {
  remoting_multi_process = 1
} else {
  remoting_multi_process = 0
}

remoting_rdp_session = 1

if (is_chrome_branded) {
  branding_path = "//remoting/branding_Chrome"
} else {
  branding_path = "//remoting/branding_Chromium"
}

# h.264 is disabled since it isn't well tested or optimized, and it has issues
# such as crbug.com/378730864. This option may be enabled locally for testing or
# development.
remoting_enable_h264 = false

rdp_desktop_session_guid = "6a7699f0-ee43-43e7-aa30-a6738f9bd470"