Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Unified Diff: remoting/client/plugin/BUILD.gn

Issue 1312463005: Compile remoting client plugin with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/BUILD.gn ('k') | remoting/codec/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
}
« no previous file with comments | « remoting/client/BUILD.gn ('k') | remoting/codec/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698