Index: remoting/client/plugin/BUILD.gn |
diff --git a/remoting/client/plugin/BUILD.gn b/remoting/client/plugin/BUILD.gn |
index 9594824dccc21b37188e81bee96da54f2c04bbeb..2f45f6248c7192ebda0c26fd6479430261a444ec 100644 |
--- a/remoting/client/plugin/BUILD.gn |
+++ b/remoting/client/plugin/BUILD.gn |
@@ -2,22 +2,16 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//remoting/remoting_srcs.gni") |
+static_library("plugin") { |
+ gypi_values = exec_script("//build/gypi_to_gn.py", |
+ [ rebase_path("../../remoting_srcs.gypi") ], |
+ "scope", |
+ [ "../../remoting_srcs.gypi" ]) |
-source_set("plugin") { |
sources = |
- rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, |
- ".", |
- "//remoting") |
+ rebase_path(gypi_values.remoting_client_plugin_sources, ".", "//remoting") |
- 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 |
+ # TODO(brettw) when a nacl version of this target is made, these files |
# won't be part of it. |
sources += [ |
"pepper_entrypoints.cc", |
@@ -34,7 +28,6 @@ |
"//ppapi/cpp/private:internal_module", |
"//remoting/base", |
"//remoting/client", |
- "//remoting/codec", |
"//remoting/protocol", |
"//third_party/webrtc/modules/desktop_capture", |
"//ui/events:dom4_keycode_converter", |