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..bfcf4ea07cd021b76af656814779fb1e1550281d |
| --- /dev/null |
| +++ b/components/nacl/renderer/plugin/BUILD.gn |
| @@ -0,0 +1,43 @@ |
| +# Copyright (c) 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. |
| + |
| +static_library("nacl_trusted_plugin") { |
|
brettw
2015/02/25 22:22:25
source_set
Dirk Pranke
2015/02/25 23:23:40
Done.
|
| + 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", |
| + ] |
| + |
| + 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/weak_ref", |
| + "//ppapi/cpp:objects", |
| + "//ppapi/cpp/private:internal_module", |
| + ] |
| + |
| + if (is_linux) { |
| + cflags = [ "-Wno-long-long" ] |
| + |
| + ldflags = [ "-Wl,-z,defs" ] |
| + |
| + libs = [ "dl" ] |
| + } |
| +} |