| 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 'variables': { | 15 'variables': { |
| 16 'conditions': [ | 16 'conditions': [ |
| 17 # Enable the multi-process host on Windows by default. | 17 # Enable the multi-process host on Windows by default. |
| 18 ['OS=="win"', { | 18 ['OS=="win"', { |
| 19 'remoting_multi_process%': 1, | 19 'remoting_multi_process%': 1, |
| 20 }, { | 20 }, { |
| 21 'remoting_multi_process%': 0, | 21 'remoting_multi_process%': 0, |
| 22 }], | 22 }], |
| 23 ], | 23 ], |
| 24 }, | 24 }, |
| 25 'remoting_multi_process%': '<(remoting_multi_process)', | 25 'remoting_multi_process%': '<(remoting_multi_process)', |
| 26 | 26 |
| 27 'remoting_rdp_session%': 1, | 27 'remoting_rdp_session%': 1, |
| 28 | 28 |
| 29 'branding_path': '../remoting/branding_<(branding)', | 29 'branding_path': '../remoting/branding_<(branding)', |
| 30 |
| 31 # The ar_service_environment variable is used to define the target |
| 32 # environment for the app being built. |
| 33 # The allowed values are dev, test, staging, and prod. |
| 34 'conditions': [ |
| 35 ['buildtype == "Dev"', { |
| 36 'ar_service_environment%': 'dev', |
| 37 }, { # buildtype != 'Dev' |
| 38 # Non-dev build must have this set to 'prod'. |
| 39 'ar_service_environment': 'prod', |
| 40 }], |
| 41 ], # conditions |
| 42 |
| 30 }, | 43 }, |
| 31 } | 44 } |
| OLD | NEW |