chromium/remoting/remoting_options.gni

# 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"
}

if (is_official_build) {
  remoting_enable_h264 = false
} else {
  # Enable h.264 for un-official builds and testing but do not include it in
  # release builds until we've decided to tune and productize it.
  remoting_enable_h264 = true
}

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