diff options
author | garykac <garykac@chromium.org> | 2015-04-17 16:16:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-17 23:17:23 +0000 |
commit | 3eddb5b20af3eb8ae4393ad64fccfd4d69127679 (patch) | |
tree | 52f8b29762d7b1d35404260fe0d189bf395ab9a3 /remoting/remoting_enable.gni | |
parent | 391f56c8f1e8da3874c54aa4d6aff1d9c736518d (diff) | |
download | chromium_src-3eddb5b20af3eb8ae4393ad64fccfd4d69127679.zip chromium_src-3eddb5b20af3eb8ae4393ad64fccfd4d69127679.tar.gz chromium_src-3eddb5b20af3eb8ae4393ad64fccfd4d69127679.tar.bz2 |
[Chromoting] Enable remoting webapp main.html GN build.
This is a re-land of crrev.com/1082083005
The previous remoting webapp GN build files were not enabled and at
least 6 months out of date. This cl fixes the problem by bringing
the build rules up to date and enables the webapp build.
It also starts to move all the remoting-specific build rules into
the remoting dir rather than having them in the main build.gn file.
BUG=
Review URL: https://codereview.chromium.org/1096783002
Cr-Commit-Position: refs/heads/master@{#325733}
Diffstat (limited to 'remoting/remoting_enable.gni')
-rw-r--r-- | remoting/remoting_enable.gni | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/remoting/remoting_enable.gni b/remoting/remoting_enable.gni new file mode 100644 index 0000000..f8c1b20 --- /dev/null +++ b/remoting/remoting_enable.gni @@ -0,0 +1,25 @@ +# 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. + +# Keep in sync with remoting/remoting_enable.gypi. + +import("//build/config/ui.gni") + +enable_remoting_host = false +enable_me2me_host = false + +# TODO(GYP) Make remoting hosts work on Windows and Mac. +#if (is_win || is_mac) { +# enable_remoting_host = true +# enable_me2me_host = true +#} + +if (is_linux && !is_chromeos && use_x11) { + enable_remoting_host = true + enable_me2me_host = true +} + +if (is_linux && is_chromeos) { + enable_remoting_host = true +} |