Index: remoting/remoting_options.gypi |
diff --git a/remoting/remoting_options.gypi b/remoting/remoting_options.gypi |
index 064a25121e040c218bf85922b059b5248c834047..47193629a3b7b56888ccd04b64e25dc51b75871e 100644 |
--- a/remoting/remoting_options.gypi |
+++ b/remoting/remoting_options.gypi |
@@ -27,5 +27,18 @@ |
'remoting_rdp_session%': 1, |
'branding_path': '../remoting/branding_<(branding)', |
+ |
+ # The ar_service_environment variable is used to define the target |
+ # environment for the app being built. |
+ # The allowed values are dev, test, staging, and prod. |
+ 'conditions': [ |
+ ['buildtype == "Dev"', { |
+ 'ar_service_environment%': 'dev', |
+ }, { # buildtype != 'Dev' |
+ # Non-dev build must have this set to 'prod'. |
+ 'ar_service_environment': 'prod', |
+ }], |
+ ], # conditions |
+ |
}, |
} |