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

Unified Diff: components/nacl/renderer/plugin/BUILD.gn

Issue 877553008: Land prep work to enable NaCl in the Linux x64 GN builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up for review Created 5 years, 10 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
Index: components/nacl/renderer/plugin/BUILD.gn
diff --git a/components/nacl/renderer/plugin/BUILD.gn b/components/nacl/renderer/plugin/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..343182cae4a470950ccb1c41c4e545838e2703f2
--- /dev/null
+++ b/components/nacl/renderer/plugin/BUILD.gn
@@ -0,0 +1,44 @@
+import("//components/nacl/nacl_defines.gni")
brettw 2015/02/05 00:20:36 Ditto
+
+static_library("nacl_trusted_plugin") {
+ sources = [
+ "module_ppapi.cc",
+ "nacl_subprocess.cc",
+ "plugin.cc",
+ "pnacl_coordinator.cc",
+ "pnacl_resources.cc",
+ "pnacl_translate_thread.cc",
+ "ppapi_entrypoints.cc",
+ "sel_ldr_launcher_chrome.cc",
+ "service_runtime.cc",
+ "srpc_client.cc",
+ "srpc_params.cc",
+ "temporary_file.cc",
+ "utility.cc",
+ ]
+
+ configs += [ "//native_client/build/config/nacl:nacl_defines" ]
Nick Bray (chromium) 2015/02/05 23:21:46 A third way to get the defines? You have the chro
Dirk Pranke 2015/02/05 23:52:19 Good question. Will fix one way or another.
+
+ deps = [
+ "//media:shared_memory_support",
+ "//native_client/src/shared/gio",
+ "//native_client/src/shared/imc",
+ "//native_client/src/shared/platform",
+ "//native_client/src/trusted/desc:nrd_xfer",
+ "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base",
+ "//native_client/src/trusted/platform_qualify:platform_qual_lib",
+ "//native_client/src/trusted/simple_service",
+ "//native_client/src/trusted/reverse_service",
+ "//native_client/src/trusted/weak_ref",
+ "//ppapi:ppapi_cpp_objects",
+ "//ppapi:ppapi_internal_module",
+ ]
+
+ if (is_linux) {
+ cflags = [ "-Wno-long-long" ]
+
+ ldflags = [ "-Wl,-z,defs" ]
+
+ libs = [ "dl" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698