[Chromoting] Enable the Chromoting webapp build in GN
Previous only a single sad and lonely html file (main.html) from the
Chromoting webapp build was converted to GN. With this cl, then entirety
of the Chromoting webapp has been converted to GN and produces results
identical to the GYP build.
BUG=
Review URL: https://codereview.chromium.org/1087693003
Cr-Commit-Position: refs/heads/master@{#326368}
diff --git a/remoting/remoting_options.gni b/remoting/remoting_options.gni
new file mode 100644
index 0000000..9a62253
--- /dev/null
+++ b/remoting/remoting_options.gni
@@ -0,0 +1,33 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# Set this to run the jscompile checks after building the webapp.
+run_jscompile = 0
+
+# Set this to enable cast mode on the android client.
+enable_cast = 0
+
+# Set this to use GCD instead of the remoting directory service.
+remoting_use_gcd = 0
+
+# Enable the multi-process host on Windows by default.
+if (is_win) {
+ remoting_multi_process = 1
+} else {
+ remoting_multi_process = 0
+}
+
+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, prod, and prod-testing.
+if (is_debug) {
+ ar_service_environment = "dev"
+} else {
+ # Non-dev builds should default to 'prod'.
+ ar_service_environment = "prod"
+}