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 "sel_ldr_launcher_chrome.cc", | 14 "sel_ldr_launcher_chrome.cc", |
15 "service_runtime.cc", | 15 "service_runtime.cc", |
16 "srpc_client.cc", | |
17 "srpc_params.cc", | |
18 "temporary_file.cc", | 16 "temporary_file.cc", |
19 "utility.cc", | 17 "utility.cc", |
20 ] | 18 ] |
21 | 19 |
22 deps = [ | 20 deps = [ |
23 "//base", | 21 "//base", |
24 "//content/public/common", | 22 "//content/public/common", |
25 "//media:shared_memory_support", | 23 "//media:shared_memory_support", |
26 "//native_client/src/shared/gio", | 24 "//native_client/src/shared/gio", |
27 "//native_client/src/shared/imc", | 25 "//native_client/src/shared/imc", |
28 "//native_client/src/shared/platform", | 26 "//native_client/src/shared/platform", |
29 "//native_client/src/shared/srpc:nonnacl_srpc", | |
30 "//native_client/src/trusted/desc:nrd_xfer", | 27 "//native_client/src/trusted/desc:nrd_xfer", |
31 "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base", | 28 "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base", |
32 "//native_client/src/trusted/platform_qualify:platform_qual_lib", | 29 "//native_client/src/trusted/platform_qualify:platform_qual_lib", |
33 "//native_client/src/trusted/simple_service", | 30 "//native_client/src/trusted/simple_service", |
34 "//ppapi/c", | 31 "//ppapi/c", |
35 "//ppapi/cpp:objects", | 32 "//ppapi/cpp:objects", |
36 "//ppapi/cpp/private:internal_module", | 33 "//ppapi/cpp/private:internal_module", |
37 "//ppapi/proxy:ipc", | 34 "//ppapi/proxy:ipc", |
38 ] | 35 ] |
39 | 36 |
40 if (is_linux) { | 37 if (is_linux) { |
41 cflags = [ "-Wno-long-long" ] | 38 cflags = [ "-Wno-long-long" ] |
42 | 39 |
43 ldflags = [ "-Wl,-z,defs" ] | 40 ldflags = [ "-Wl,-z,defs" ] |
44 | 41 |
45 libs = [ "dl" ] | 42 libs = [ "dl" ] |
46 } | 43 } |
47 } | 44 } |
OLD | NEW |