Land prep work to enable NaCl in the Linux x64 GN builds.
[chromium-blink-merge.git] / components / nacl / renderer / plugin / BUILD.gn
blob5defb10091169bbc5e82e643168deb1cc4c8cbfe
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     "//media:shared_memory_support",
24     "//native_client/src/shared/gio",
25     "//native_client/src/shared/imc",
26     "//native_client/src/shared/platform",
27     "//native_client/src/trusted/desc:nrd_xfer",
28     "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base",
29     "//native_client/src/trusted/platform_qualify:platform_qual_lib",
30     "//native_client/src/trusted/simple_service",
31     "//native_client/src/trusted/weak_ref",
32     "//ppapi/cpp:objects",
33     "//ppapi/cpp/private:internal_module",
34   ]
36   if (is_linux) {
37     cflags = [ "-Wno-long-long" ]
39     ldflags = [ "-Wl,-z,defs" ]
41     libs = [ "dl" ]
42   }