OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("nacl_trusted_plugin") { | 5 source_set("nacl_trusted_plugin") { |
6 sources = [ | 6 sources = [ |
7 "module_ppapi.cc", | 7 "module_ppapi.cc", |
8 "nacl_subprocess.cc", | 8 "nacl_subprocess.cc", |
9 "plugin.cc", | 9 "plugin.cc", |
10 "pnacl_coordinator.cc", | 10 "pnacl_coordinator.cc", |
11 "pnacl_resources.cc", | 11 "pnacl_resources.cc", |
12 "pnacl_translate_thread.cc", | 12 "pnacl_translate_thread.cc", |
13 "ppapi_entrypoints.cc", | 13 "ppapi_entrypoints.cc", |
14 "service_runtime.cc", | 14 "service_runtime.cc", |
15 "utility.cc", | 15 "utility.cc", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//content/public/common", | 20 "//content/public/common", |
21 "//media:shared_memory_support", | 21 "//media:shared_memory_support", |
22 "//native_client/src/shared/platform", | |
23 "//native_client/src/trusted/desc:nrd_xfer", | |
24 "//ppapi/c", | 22 "//ppapi/c", |
25 "//ppapi/cpp:objects", | 23 "//ppapi/cpp:objects", |
26 "//ppapi/cpp/private:internal_module", | 24 "//ppapi/cpp/private:internal_module", |
27 "//ppapi/proxy:ipc", | 25 "//ppapi/proxy:ipc", |
28 ] | 26 ] |
29 | 27 |
30 if (is_linux) { | 28 if (is_linux) { |
31 cflags = [ "-Wno-long-long" ] | 29 cflags = [ "-Wno-long-long" ] |
32 | 30 |
33 ldflags = [ "-Wl,-z,defs" ] | 31 ldflags = [ "-Wl,-z,defs" ] |
34 | 32 |
35 libs = [ "dl" ] | 33 libs = [ "dl" ] |
36 } | 34 } |
37 } | 35 } |
OLD | NEW |