Vectorize website settings icons in omnibox
[chromium-blink-merge.git] / ppapi / native_client / BUILD.gn
blob008b0c9dac30869c718ca226fa81373650b233f1
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 (is_nacl) {
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       "//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",
32       "//ppapi/proxy",
33       "//ppapi/proxy:ipc",
34       "//ppapi/shared_impl",
35     ]
36   }
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") {
42       suffix = "x86_32"
43     } else if (target_cpu == "x64") {
44       suffix = "x86_64"
45     } else if (target_cpu == "arm") {
46       suffix = "arm"
47     }
49     sources = [
50       "${root_out_dir}/nacl_irt.nexe",
51     ]
52     outputs = [
53       "${root_build_dir}/{{source_name_part}}_${suffix}.nexe",
54     ]
55     deps = [
56       ":nacl_irt",
57     ]
58   }
61 group("irt") {
62   deps = [
63     ":nacl_irt_copy(//native_client/build/toolchain/nacl:irt_${target_cpu})",
64   ]