1 # Copyright 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 import("//build/config/features.gni")
10 "//native_client/src/untrusted/pthread",
11 "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib",
15 executable("nacl_irt") {
18 "//components/tracing",
19 "//gpu/command_buffer/client",
20 "//gpu/command_buffer/common",
21 "//gpu/command_buffer/client:gles2_implementation",
24 "//media:shared_memory_support",
25 "//native_client/src/untrusted/irt:irt_core_lib",
26 "//native_client/src/shared/srpc",
27 "//native_client/src/shared/platform",
28 "//native_client/src/tools/tls_edit($host_toolchain)",
29 "//native_client/src/untrusted/nacl:imc_syscalls",
30 "//native_client/src/shared/gio",
31 "//ppapi/native_client/src/untrusted/pnacl_irt_shim:irt",
34 "//ppapi/shared_impl",
38 copy("nacl_irt_copy") {
39 # TODO(phosek): We can remove this ugliness if we change the
40 # IRT file name in components/nacl/browser/nacl_browser.cc
41 if (target_cpu == "x86") {
43 } else if (target_cpu == "x64") {
45 } else if (target_cpu == "arm") {
50 "${root_out_dir}/nacl_irt.nexe",
53 "${root_build_dir}/{{source_name_part}}_${suffix}.nexe",
63 ":nacl_irt_copy(//native_client/build/toolchain/nacl:irt_${target_cpu})",