Index: remoting/client/plugin/BUILD.gn |
diff --git a/remoting/client/plugin/BUILD.gn b/remoting/client/plugin/BUILD.gn |
index 4c9af9dfe1b86c6a5bb90ae5421a1b3f4594fe39..0c69ef098f6c417ba0b9d9e7b9111901cabcb8a9 100644 |
--- a/remoting/client/plugin/BUILD.gn |
+++ b/remoting/client/plugin/BUILD.gn |
@@ -1,11 +1,13 @@ |
-# Copyright 2014 The Chromium Authors. All rights reserved. |
+# 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. |
+assert(is_nacl, |
+ "These targets must only be built using the untrusted NaCl toolchains.") |
+ |
import("//remoting/remoting_srcs.gni") |
-# TODO(sergeyu): Port this target to NaCl. |
-source_set("plugin") { |
+executable("remoting_client_plugin_newlib") { |
sources = |
rebase_path(remoting_srcs_gypi_values.remoting_client_plugin_sources, |
".", |
@@ -13,17 +15,18 @@ source_set("plugin") { |
configs += [ "//build/config/compiler:wexit_time_destructors" ] |
- defines = [ "HAVE_STDINT_H" ] # Required by on2_integer.h. |
- |
deps = [ |
"//net", |
- "//ppapi/cpp:objects", |
- "//ppapi/cpp/private:internal_module", |
+ "//ppapi/cpp", |
+ "//ppapi/native_client:ppapi_lib", |
"//remoting/base", |
"//remoting/client", |
"//remoting/codec", |
"//remoting/protocol", |
- "//third_party/webrtc/modules/desktop_capture", |
+ "//third_party/libyuv", |
+ "//third_party/webrtc/modules/desktop_capture:primitives", |
"//ui/events:dom_keycode_converter", |
] |
+ |
+ include_dirs = [ "//ppapi/lib/gl/include" ] |
} |