OLD | NEW |
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 = [ |
(...skipping 14 matching lines...) Expand all Loading... |
25 "//native_client/src/shared/gio", | 25 "//native_client/src/shared/gio", |
26 "//native_client/src/shared/platform", | 26 "//native_client/src/shared/platform", |
27 "//native_client/src/tools/tls_edit($host_toolchain)", | 27 "//native_client/src/tools/tls_edit($host_toolchain)", |
28 "//native_client/src/untrusted/irt:irt_core_lib", | 28 "//native_client/src/untrusted/irt:irt_core_lib", |
29 "//native_client/src/untrusted/nacl:imc_syscalls", | 29 "//native_client/src/untrusted/nacl:imc_syscalls", |
30 "//ppapi/native_client/src/untrusted/pnacl_irt_shim:irt", | 30 "//ppapi/native_client/src/untrusted/pnacl_irt_shim:irt", |
31 "//ppapi/proxy", | 31 "//ppapi/proxy", |
32 "//ppapi/proxy:ipc", | 32 "//ppapi/proxy:ipc", |
33 "//ppapi/shared_impl", | 33 "//ppapi/shared_impl", |
34 ] | 34 ] |
| 35 |
| 36 assert_no_deps = [ |
| 37 # Skia is one of the easiest dependencies to accidentally add since a |
| 38 # bunch of graphics and GPU code uses it. |
| 39 "//skia/*", |
| 40 "//third_party/WebKit/*", |
| 41 ] |
35 } | 42 } |
36 | 43 |
37 # TODO(phosek): We can remove this ugliness if we change the | 44 # TODO(phosek): We can remove this ugliness if we change the |
38 # IRT file name in components/nacl/browser/nacl_browser.cc | 45 # IRT file name in components/nacl/browser/nacl_browser.cc |
39 if (current_cpu == "x86") { | 46 if (current_cpu == "x86") { |
40 irt_cpu = "x86_32" | 47 irt_cpu = "x86_32" |
41 } else if (current_cpu == "x64") { | 48 } else if (current_cpu == "x64") { |
42 irt_cpu = "x86_64" | 49 irt_cpu = "x86_64" |
43 } else { | 50 } else { |
44 irt_cpu = current_cpu | 51 irt_cpu = current_cpu |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 # On 32-bit Windows, we also ship the 64-bit IRT. | 116 # On 32-bit Windows, we also ship the 64-bit IRT. |
110 if (is_win && target_cpu == "x86") { | 117 if (is_win && target_cpu == "x86") { |
111 irt_x64_deps = [ | 118 irt_x64_deps = [ |
112 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", | 119 ":nacl_irt_debug(//build/toolchain/nacl:irt_x64)", |
113 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", | 120 ":nacl_irt_debuglink(//build/toolchain/nacl:irt_x64)", |
114 ] | 121 ] |
115 public_deps += irt_x64_deps | 122 public_deps += irt_x64_deps |
116 data_deps += irt_x64_deps | 123 data_deps += irt_x64_deps |
117 } | 124 } |
118 } | 125 } |
OLD | NEW |