| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 | 8 |
| 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 'run_jscompile%': 0, | 10 'run_jscompile%': 0, |
| 11 | 11 |
| 12 # Set this to enable cast mode on the android client. | 12 # Set this to enable cast mode on the android client. |
| 13 'enable_cast%': 0, | 13 'enable_cast%': 0, |
| 14 | 14 |
| 15 # Set this to use GCD instead of the remoting directory service. | 15 # Set this to use GCD instead of the remoting directory service. |
| 16 'remoting_use_gcd%': 0, | 16 'remoting_use_gcd%': 0, |
| 17 | 17 |
| 18 'variables': { | 18 'variables': { |
| 19 'conditions': [ | 19 'conditions': [ |
| 20 # Enable the multi-process host on Windows by default. | 20 # Enable the multi-process host on Windows by default. |
| 21 ['OS=="win"', { | 21 ['OS=="win"', { |
| 22 'remoting_multi_process%': 1, | 22 'remoting_multi_process%': 1, |
| 23 }, { | 23 }, { |
| 24 'remoting_multi_process%': 0, | 24 'remoting_multi_process%': 0, |
| 25 }], | 25 }], |
| 26 ], | 26 ], |
| 27 }, | 27 }, |
| 28 'remoting_multi_process%': '<(remoting_multi_process)', | 28 'remoting_multi_process%': '<(remoting_multi_process)', |
| 29 | 29 |
| 30 'remoting_rdp_session%': 1, | 30 'remoting_rdp_session%': 1, |
| 31 | 31 |
| 32 'branding_path': '../remoting/branding_<(branding)', | 32 'branding_path': '../remoting/branding_<(branding)', |
| 33 | 33 |
| 34 # The ar_service_environment variable is used to define the target | 34 # The ar_service_environment variable is used to define the target |
| 35 # environment for the app being built. | 35 # environment for the app being built. |
| 36 # The allowed values are dev, test, staging, and prod. | 36 # The allowed values are dev, test, staging, prod, and prod-testing. |
| 37 'conditions': [ | 37 'conditions': [ |
| 38 ['buildtype == "Dev"', { | 38 ['buildtype == "Dev"', { |
| 39 'ar_service_environment%': 'dev', | 39 'ar_service_environment%': 'dev', |
| 40 }, { # buildtype != 'Dev' | 40 }, { # buildtype != 'Dev' |
| 41 # Non-dev build must have this set to 'prod'. | 41 # Non-dev builds should default to 'prod'. |
| 42 'ar_service_environment': 'prod', | 42 'ar_service_environment%': 'prod', |
| 43 }], | 43 }], |
| 44 ], # conditions | 44 ], # conditions |
| 45 | 45 |
| 46 }, | 46 }, |
| 47 } | 47 } |
| OLD | NEW |