summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_options.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/remoting_options.gypi')
-rw-r--r--remoting/remoting_options.gypi13
1 files changed, 13 insertions, 0 deletions
diff --git a/remoting/remoting_options.gypi b/remoting/remoting_options.gypi
index 064a251..4719362 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
+
},
}