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 Android Chromoting Cardboard Activity. | |
16 remoting_enable_cardboard = false | |
17 } | 14 } |
18 | 15 |
19 # Set this to use GCD instead of the remoting directory service. | 16 # Set this to use GCD instead of the remoting directory service. |
20 remoting_use_gcd = 0 | 17 remoting_use_gcd = 0 |
21 | 18 |
22 # Enable the multi-process host on Windows by default. | 19 # Enable the multi-process host on Windows by default. |
23 if (is_win) { | 20 if (is_win) { |
24 remoting_multi_process = 1 | 21 remoting_multi_process = 1 |
25 } else { | 22 } else { |
26 remoting_multi_process = 0 | 23 remoting_multi_process = 0 |
27 } | 24 } |
28 | 25 |
29 remoting_rdp_session = 1 | 26 remoting_rdp_session = 1 |
30 | 27 |
31 if (is_chrome_branded) { | 28 if (is_chrome_branded) { |
32 branding_path = "//remoting/branding_Chrome" | 29 branding_path = "//remoting/branding_Chrome" |
33 } else { | 30 } else { |
34 branding_path = "//remoting/branding_Chromium" | 31 branding_path = "//remoting/branding_Chromium" |
35 } | 32 } |
36 | 33 |
37 # The ar_service_environment variable is used to define the target | 34 # The ar_service_environment variable is used to define the target |
38 # environment for the app being built. | 35 # environment for the app being built. |
39 # The allowed values are dev and prod. | 36 # The allowed values are dev and prod. |
40 if (is_debug) { | 37 if (is_debug) { |
41 ar_service_environment = "dev" | 38 ar_service_environment = "dev" |
42 } else { | 39 } else { |
43 # Non-dev builds should default to 'prod'. | 40 # Non-dev builds should default to 'prod'. |
44 ar_service_environment = "prod" | 41 ar_service_environment = "prod" |
45 } | 42 } |
OLD | NEW |