Chromium Code Reviews| 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" ] |
| + } |
| +} |