Index: ppapi/native_client/src/trusted/plugin/BUILD.gn |
diff --git a/ppapi/native_client/src/trusted/plugin/BUILD.gn b/ppapi/native_client/src/trusted/plugin/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..343182cae4a470950ccb1c41c4e545838e2703f2 |
--- /dev/null |
+++ b/ppapi/native_client/src/trusted/plugin/BUILD.gn |
@@ -0,0 +1,44 @@ |
+import("//components/nacl/nacl_defines.gni") |
brettw
2015/02/05 00:20:36
Copyright.
|
+ |
+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
Dito.
Dirk Pranke
2015/02/05 23:52:19
Will fix.
|
+ |
+ 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" ] |
+ } |
+} |