Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2011)

Side by Side Diff: ppapi/native_client/BUILD.gn

Issue 1439973004: [PoC] Reformat all BUILD.gn and *.gni files with new gn. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-sort-deps
Patch Set: Synchronize with new version of gn patch Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/nacl/config.gni") 6 import("//build/config/nacl/config.gni")
7 7
8 if (is_nacl) { 8 if (is_nacl) {
9 group("ppapi_lib") { 9 group("ppapi_lib") {
10 deps = [ 10 deps = [
11 "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib", 11 "//ppapi/native_client/src/untrusted/irt_stub:ppapi_stub_lib",
12 ] 12 ]
13 if (!is_nacl_glibc) { 13 if (!is_nacl_glibc) {
14 # Glibc has its version of pthread library. 14 # Glibc has its version of pthread library.
15 deps += [ "//native_client/src/untrusted/pthread" ] 15 deps += [ "//native_client/src/untrusted/pthread" ]
16 } 16 }
17 } 17 }
18 18
19 executable("nacl_irt") { 19 executable("nacl_irt") {
20 deps = [ 20 deps = [
21 "//base", 21 "//base",
22 "//components/tracing", 22 "//components/tracing",
23 "//gpu/command_buffer/client", 23 "//gpu/command_buffer/client",
24 "//gpu/command_buffer/client:gles2_implementation",
24 "//gpu/command_buffer/common", 25 "//gpu/command_buffer/common",
25 "//gpu/command_buffer/client:gles2_implementation",
26 "//gpu/ipc", 26 "//gpu/ipc",
27 "//ipc", 27 "//ipc",
28 "//media:shared_memory_support", 28 "//media:shared_memory_support",
29 "//native_client/src/shared/gio",
30 "//native_client/src/shared/platform",
31 "//native_client/src/shared/srpc",
32 "//native_client/src/tools/tls_edit($host_toolchain)",
29 "//native_client/src/untrusted/irt:irt_core_lib", 33 "//native_client/src/untrusted/irt:irt_core_lib",
30 "//native_client/src/shared/srpc",
31 "//native_client/src/shared/platform",
32 "//native_client/src/tools/tls_edit($host_toolchain)",
33 "//native_client/src/untrusted/nacl:imc_syscalls", 34 "//native_client/src/untrusted/nacl:imc_syscalls",
34 "//native_client/src/shared/gio",
35 "//ppapi/native_client/src/untrusted/pnacl_irt_shim:irt", 35 "//ppapi/native_client/src/untrusted/pnacl_irt_shim:irt",
36 "//ppapi/proxy", 36 "//ppapi/proxy",
37 "//ppapi/proxy:ipc", 37 "//ppapi/proxy:ipc",
38 "//ppapi/shared_impl", 38 "//ppapi/shared_impl",
39 ] 39 ]
40 } 40 }
41 41
42 # TODO(phosek): We can remove this ugliness if we change the 42 # TODO(phosek): We can remove this ugliness if we change the
43 # IRT file name in components/nacl/browser/nacl_browser.cc 43 # IRT file name in components/nacl/browser/nacl_browser.cc
44 if (current_cpu == "x86") { 44 if (current_cpu == "x86") {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 rebase_path(objcopy), 94 rebase_path(objcopy),
95 rebase_path(irt_debug), 95 rebase_path(irt_debug),
96 rebase_path(irt_stripped), 96 rebase_path(irt_stripped),
97 rebase_path(irt_final), 97 rebase_path(irt_final),
98 ] 98 ]
99 } 99 }
100 } 100 }
101 101
102 group("irt") { 102 group("irt") {
103 public_deps = [ 103 public_deps = [
104 ":nacl_irt_debug(//build/toolchain/nacl:irt_${target_cpu})",
104 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_${target_cpu})", 105 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_${target_cpu})",
105 ":nacl_irt_debug(//build/toolchain/nacl:irt_${target_cpu})",
106 ] 106 ]
107 107
108 # On 32-bit Windows, we also ship the 64-bit IRT. 108 # On 32-bit Windows, we also ship the 64-bit IRT.
109 if (is_win && target_cpu == "x86") { 109 if (is_win && target_cpu == "x86") {
110 public_deps += [ 110 public_deps += [
111 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)",
111 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", 112 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)",
112 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)",
113 ] 113 ]
114 } 114 }
115 } 115 }
OLDNEW
« no previous file with comments | « ppapi/host/BUILD.gn ('k') | remoting/BUILD.gn » ('j') | third_party/freetype-android/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698