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