summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_options.gypi
diff options
context:
space:
mode:
authorgarykac <garykac@chromium.org>2015-03-02 20:04:29 -0800
committerCommit bot <commit-bot@chromium.org>2015-03-03 04:05:17 +0000
commitff9e4bf4c19b2ae13af4b200ddad52f54c46009e (patch)
treec8b1eba0079e973f6595a8b87ad36aa9bd83b971 /remoting/remoting_options.gypi
parentae3cd6c4f5b0c59fce43d0fbf2183e60a41a6bb6 (diff)
downloadchromium_src-ff9e4bf4c19b2ae13af4b200ddad52f54c46009e.zip
chromium_src-ff9e4bf4c19b2ae13af4b200ddad52f54c46009e.tar.gz
chromium_src-ff9e4bf4c19b2ae13af4b200ddad52f54c46009e.tar.bz2
[Chromoting] Add remoting_options.gypi to share vars.
Default vars (like run_jscompile) should only be defined in one place. This cl adds remoting_options.gypi so that the variables can be used by both DesktopRemoting and AppRemoting gyp files. BUG= Review URL: https://codereview.chromium.org/974673002 Cr-Commit-Position: refs/heads/master@{#318838}
Diffstat (limited to 'remoting/remoting_options.gypi')
-rw-r--r--remoting/remoting_options.gypi40
1 files changed, 40 insertions, 0 deletions
diff --git a/remoting/remoting_options.gypi b/remoting/remoting_options.gypi
new file mode 100644
index 0000000..56d339e
--- /dev/null
+++ b/remoting/remoting_options.gypi
@@ -0,0 +1,40 @@
+# Copyright (c) 2012 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.
+
+{
+ 'variables': {
+ 'chromium_code': 1,
+
+ # Set this to run the jscompile checks after building the webapp.
+ 'run_jscompile%': 1,
+
+ # Set this to enable cast mode on the android client.
+ 'enable_cast%': 0,
+
+ 'variables': {
+ 'conditions': [
+ # Enable the multi-process host on Windows by default.
+ ['OS=="win"', {
+ 'remoting_multi_process%': 1,
+ }, {
+ 'remoting_multi_process%': 0,
+ }],
+ ],
+ },
+ 'remoting_multi_process%': '<(remoting_multi_process)',
+
+ 'remoting_rdp_session%': 1,
+
+ 'branding_path': '../remoting/branding_<(branding)',
+
+ 'conditions': [
+ ['OS=="win"', {
+ # Java is not available on Windows bots, so we need to disable
+ # JScompile checks.
+ 'run_jscompile': 0,
+ }],
+ ],
+ },
+
+}