Land prep work to enable NaCl in the Linux x64 GN builds.
[chromium-blink-merge.git] / ppapi / native_client / BUILD.gn
blobb67b0525b8222c5625ca14d3557d2d101b4f3567
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")
7 if (enable_nacl && enable_nacl_untrusted) {
8   group("ppapi_lib") {
9     deps = [
10       "//native_client/src/untrusted/pthread",
11       "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib",
12     ]
13   }
15   executable("nacl_irt") {
16     deps = [
17       "//base",
18       "//components/tracing",
19       "//gpu/command_buffer/client",
20       "//gpu/command_buffer/common",
21       "//gpu/command_buffer/client:gles2_implementation",
22       "//gpu/ipc",
23       "//ipc",
24       "//media:shared_memory_support",
25       "//mojo/nacl:irt_mojo_sources",
26       "//native_client/src/untrusted/irt:irt_core_lib",
27       "//native_client/src/shared/srpc",
28       "//native_client/src/shared/platform",
29       "//native_client/src/tools/tls_edit($host_toolchain)",
30       "//native_client/src/untrusted/nacl:imc_syscalls",
31       "//native_client/src/shared/gio",
32       "//ppai/native_client/src/untrusted/pnacl_irt_shim:irt",
33       "//ppapi/proxy",
34       "//ppapi/proxy:ipc",
35       "//ppapi/shared_impl",
36     ]
37   }