Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / nacl / renderer / plugin / BUILD.gn
blob14f75cc17dab4a63c185a8bf1019e649155976b8
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 source_set("nacl_trusted_plugin") {
6   sources = [
7     "module_ppapi.cc",
8     "nacl_subprocess.cc",
9     "plugin.cc",
10     "pnacl_coordinator.cc",
11     "pnacl_resources.cc",
12     "pnacl_translate_thread.cc",
13     "ppapi_entrypoints.cc",
14     "sel_ldr_launcher_chrome.cc",
15     "service_runtime.cc",
16     "srpc_client.cc",
17     "srpc_params.cc",
18     "temporary_file.cc",
19     "utility.cc",
20   ]
22   deps = [
23     "//base",
24     "//media:shared_memory_support",
25     "//native_client/src/shared/gio",
26     "//native_client/src/shared/imc",
27     "//native_client/src/shared/platform",
28     "//native_client/src/trusted/desc:nrd_xfer",
29     "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base",
30     "//native_client/src/trusted/platform_qualify:platform_qual_lib",
31     "//native_client/src/trusted/simple_service",
32     "//native_client/src/trusted/weak_ref",
33     "//ppapi/c",
34     "//ppapi/cpp:objects",
35     "//ppapi/cpp/private:internal_module",
36   ]
38   if (is_linux) {
39     cflags = [ "-Wno-long-long" ]
41     ldflags = [ "-Wl,-z,defs" ]
43     libs = [ "dl" ]
44   }