| 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 # These arguments can be overridden from the command line (see "gn help args"). | 5 # These arguments can be overridden from the command line (see "gn help args"). |
| 6 declare_args() { | 6 declare_args() { |
| 7 # Set this to run the jscompile checks after building the webapp. | 7 # Set this to run the jscompile checks after building the webapp. |
| 8 enable_remoting_jscompile = false | 8 enable_remoting_jscompile = false |
| 9 | 9 |
| 10 # Set this to enable building internal AppRemoting apps. | 10 # Set this to enable building internal AppRemoting apps. |
| 11 enable_internal_app_remoting_targets = false | 11 enable_internal_app_remoting_targets = false |
| 12 } | 12 } |
| 13 | 13 |
| 14 # Set this to enable cast mode on the android client. | 14 # Set this to enable cast mode on the android client. |
| 15 enable_cast = 0 | 15 enable_cast = 0 |
| 16 | 16 |
| 17 # Set this to use GCD instead of the remoting directory service. | 17 # Set this to use GCD instead of the remoting directory service. |
| 18 remoting_use_gcd = 0 | 18 remoting_use_gcd = 0 |
| 19 | 19 |
| 20 # Enable the multi-process host on Windows by default. | 20 # Enable the multi-process host on Windows by default. |
| 21 if (is_win) { | 21 if (is_win) { |
| 22 remoting_multi_process = 1 | 22 remoting_multi_process = 1 |
| 23 } else { | 23 } else { |
| 24 remoting_multi_process = 0 | 24 remoting_multi_process = 0 |
| 25 } | 25 } |
| 26 | 26 |
| 27 remoting_rdp_session = 1 | 27 remoting_rdp_session = 1 |
| 28 | 28 |
| 29 branding_path = "../remoting/branding_<(branding)" | 29 if (is_chrome_branded) { |
| 30 branding_path = rebase_path("//remoting/branding_Chrome", root_build_dir) |
| 31 } else { |
| 32 branding_path = rebase_path("//remoting/branding_Chromium", root_build_dir) |
| 33 } |
| 30 | 34 |
| 31 # The ar_service_environment variable is used to define the target | 35 # The ar_service_environment variable is used to define the target |
| 32 # environment for the app being built. | 36 # environment for the app being built. |
| 33 # The allowed values are dev and prod. | 37 # The allowed values are dev and prod. |
| 34 if (is_debug) { | 38 if (is_debug) { |
| 35 ar_service_environment = "dev" | 39 ar_service_environment = "dev" |
| 36 } else { | 40 } else { |
| 37 # Non-dev builds should default to 'prod'. | 41 # Non-dev builds should default to 'prod'. |
| 38 ar_service_environment = "prod" | 42 ar_service_environment = "prod" |
| 39 } | 43 } |
| OLD | NEW |