Content settings: remove some plugin-related code/resources when... there are no...
[chromium-blink-merge.git] / components / nacl / renderer / plugin / BUILD.gn
blobf4d2a82db985adecf5bf946d1f8fb7ceeb641743
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/shared/srpc:nonnacl_srpc",
29     "//native_client/src/trusted/desc:nrd_xfer",
30     "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base",
31     "//native_client/src/trusted/platform_qualify:platform_qual_lib",
32     "//native_client/src/trusted/simple_service",
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   }