blob: 63c527702a0d98cfe2e22b86e505bc92b1744935 [file] [log] [blame]
garykacaa86d5f2015-04-22 20:37:101# 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
dpranke63e164a2015-11-04 01:12:465import("//build/config/chrome_build.gni")
sergeyu5342d96f2017-01-23 20:18:526import("//build/config/ui.gni")
7
8enable_remoting_host =
9 is_win || (is_linux && (is_chromeos || use_x11)) || is_mac
10enable_me2me_host = is_win || (is_linux && !is_chromeos && use_x11) || is_mac
dpranke63e164a2015-11-04 01:12:4611
garykac8db09012015-06-12 23:30:3512# These arguments can be overridden from the command line (see "gn help args").
13declare_args() {
14 # Set this to run the jscompile checks after building the webapp.
15 enable_remoting_jscompile = false
garykacfb86b492015-07-08 23:58:0116
17 # Set this to enable building internal AppRemoting apps.
18 enable_internal_app_remoting_targets = false
lambroslambrou0e1b88f2016-01-26 21:35:4619}
garykacaa86d5f2015-04-22 20:37:1020
garykacaa86d5f2015-04-22 20:37:1021# Set this to use GCD instead of the remoting directory service.
22remoting_use_gcd = 0
23
24# Enable the multi-process host on Windows by default.
25if (is_win) {
26 remoting_multi_process = 1
27} else {
28 remoting_multi_process = 0
29}
30
31remoting_rdp_session = 1
32
dpranke63e164a2015-11-04 01:12:4633if (is_chrome_branded) {
phajdan.jrba1f0bf22016-05-06 06:39:0634 branding_path = "//remoting/branding_Chrome"
dpranke63e164a2015-11-04 01:12:4635} else {
phajdan.jrba1f0bf22016-05-06 06:39:0636 branding_path = "//remoting/branding_Chromium"
dpranke63e164a2015-11-04 01:12:4637}
garykacaa86d5f2015-04-22 20:37:1038
39# The ar_service_environment variable is used to define the target
40# environment for the app being built.
joedow1c4ddaf32015-09-21 23:40:2041# The allowed values are dev and prod.
garykacaa86d5f2015-04-22 20:37:1042if (is_debug) {
43 ar_service_environment = "dev"
44} else {
45 # Non-dev builds should default to 'prod'.
46 ar_service_environment = "prod"
47}
nicholss336d51f2016-08-25 19:52:1348
nicholss336d51f2016-08-25 19:52:1349rdp_desktop_session_guid = "6a7699f0-ee43-43e7-aa30-a6738f9bd470"