| 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 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 # Enable the multi-process host on Windows by default. | 22 # Enable the multi-process host on Windows by default. |
| 23 if (is_win) { | 23 if (is_win) { |
| 24 remoting_multi_process = 1 | 24 remoting_multi_process = 1 |
| 25 } else { | 25 } else { |
| 26 remoting_multi_process = 0 | 26 remoting_multi_process = 0 |
| 27 } | 27 } |
| 28 | 28 |
| 29 remoting_rdp_session = 1 | 29 remoting_rdp_session = 1 |
| 30 | 30 |
| 31 if (is_chrome_branded) { | 31 if (is_chrome_branded) { |
| 32 branding_path = rebase_path("//remoting/branding_Chrome", root_build_dir) | 32 branding_path = "//remoting/branding_Chrome" |
| 33 } else { | 33 } else { |
| 34 branding_path = rebase_path("//remoting/branding_Chromium", root_build_dir) | 34 branding_path = "//remoting/branding_Chromium" |
| 35 } | 35 } |
| 36 | 36 |
| 37 # The ar_service_environment variable is used to define the target | 37 # The ar_service_environment variable is used to define the target |
| 38 # environment for the app being built. | 38 # environment for the app being built. |
| 39 # The allowed values are dev and prod. | 39 # The allowed values are dev and prod. |
| 40 if (is_debug) { | 40 if (is_debug) { |
| 41 ar_service_environment = "dev" | 41 ar_service_environment = "dev" |
| 42 } else { | 42 } else { |
| 43 # Non-dev builds should default to 'prod'. | 43 # Non-dev builds should default to 'prod'. |
| 44 ar_service_environment = "prod" | 44 ar_service_environment = "prod" |
| 45 } | 45 } |
| OLD | NEW |