OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 import("//components/nacl/nacl_defines.gni") |
| 6 |
| 7 static_library("nacl_trusted_plugin") { |
| 8 sources = [ |
| 9 "module_ppapi.cc", |
| 10 "nacl_subprocess.cc", |
| 11 "plugin.cc", |
| 12 "pnacl_coordinator.cc", |
| 13 "pnacl_resources.cc", |
| 14 "pnacl_translate_thread.cc", |
| 15 "ppapi_entrypoints.cc", |
| 16 "sel_ldr_launcher_chrome.cc", |
| 17 "service_runtime.cc", |
| 18 "srpc_client.cc", |
| 19 "srpc_params.cc", |
| 20 "temporary_file.cc", |
| 21 "utility.cc", |
| 22 ] |
| 23 |
| 24 # TODO(dpranke): use nacl_base dep? |
| 25 defines = nacl_defines |
| 26 |
| 27 deps = [ |
| 28 "//media:shared_memory_support", |
| 29 "//native_client/src/shared/gio", |
| 30 "//native_client/src/shared/imc", |
| 31 "//native_client/src/shared/platform", |
| 32 "//native_client/src/trusted/desc:nrd_xfer", |
| 33 "//native_client/src/trusted/nonnacl_util:sel_ldr_launcher_base", |
| 34 "//native_client/src/trusted/platform_qualify:platform_qual_lib", |
| 35 "//native_client/src/trusted/simple_service", |
| 36 "//native_client/src/trusted/reverse_service", |
| 37 "//native_client/src/trusted/weak_ref", |
| 38 "//ppapi:ppapi_cpp_objects", |
| 39 "//ppapi:ppapi_internal_module", |
| 40 ] |
| 41 |
| 42 if (is_linux) { |
| 43 cflags = [ "-Wno-long-long" ] |
| 44 |
| 45 ldflags = [ "-Wl,-z,defs" ] |
| 46 |
| 47 libs = [ "dl" ] |
| 48 } |
| 49 } |
OLD | NEW |