summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-02-27 15:24:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-27 23:25:09 +0000
commitd0437210926b14b1b7e06b2b56174fc92ade9c37 (patch)
treeab29c67796b2f7b5223826630505bbbce13a3a51 /remoting/client/plugin
parent56d7f6d8776081bccab0fb7c42188af2d9ae3101 (diff)
downloadchromium_src-d0437210926b14b1b7e06b2b56174fc92ade9c37.zip
chromium_src-d0437210926b14b1b7e06b2b56174fc92ade9c37.tar.gz
chromium_src-d0437210926b14b1b7e06b2b56174fc92ade9c37.tar.bz2
Add remoting and PPAPI tests to GN build
BUG= Review URL: https://codereview.chromium.org/965633002 Cr-Commit-Position: refs/heads/master@{#318539}
Diffstat (limited to 'remoting/client/plugin')
-rw-r--r--remoting/client/plugin/BUILD.gn21
1 files changed, 14 insertions, 7 deletions
diff --git a/remoting/client/plugin/BUILD.gn b/remoting/client/plugin/BUILD.gn
index 2f45f62..9594824 100644
--- a/remoting/client/plugin/BUILD.gn
+++ b/remoting/client/plugin/BUILD.gn
@@ -2,16 +2,22 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-static_library("plugin") {
- gypi_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("../../remoting_srcs.gypi") ],
- "scope",
- [ "../../remoting_srcs.gypi" ])
+import("//remoting/remoting_srcs.gni")
+source_set("plugin") {
sources =
- rebase_path(gypi_values.remoting_client_plugin_sources, ".", "//remoting")
+ rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources,
+ ".",
+ "//remoting")
- # TODO(brettw) when a nacl version of this target is made, these files
+ if (!is_chromeos) {
+ sources -= [
+ "normalizing_input_filter_cros.cc",
+ "normalizing_input_filter_cros.h",
+ ]
+ }
+
+ # TODO(GYP) when a nacl version of this target is made, these files
# won't be part of it.
sources += [
"pepper_entrypoints.cc",
@@ -28,6 +34,7 @@ static_library("plugin") {
"//ppapi/cpp/private:internal_module",
"//remoting/base",
"//remoting/client",
+ "//remoting/codec",
"//remoting/protocol",
"//third_party/webrtc/modules/desktop_capture",
"//ui/events:dom4_keycode_converter",