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 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 assert(enable_nacl) | 9 assert(enable_nacl) |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 "nacl_validation_query.cc", | 26 "nacl_validation_query.cc", |
27 "nacl_validation_query.h", | 27 "nacl_validation_query.h", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 ":minimal_content_dummy", | 31 ":minimal_content_dummy", |
32 "//base", | 32 "//base", |
33 "//components/nacl/common:minimal", | 33 "//components/nacl/common:minimal", |
34 "//crypto", | 34 "//crypto", |
35 "//ipc", | 35 "//ipc", |
| 36 "//mojo/edk/system", |
36 "//native_client/src/trusted/service_runtime:sel_main_chrome", | 37 "//native_client/src/trusted/service_runtime:sel_main_chrome", |
37 "//ppapi/c", | 38 "//ppapi/c", |
38 "//ppapi/proxy:ipc", | 39 "//ppapi/proxy:ipc", |
39 "//sandbox", | 40 "//sandbox", |
40 ] | 41 ] |
41 } | 42 } |
42 | 43 |
43 # This exists just to make 'gn check' happy with :minimal and | 44 # This exists just to make 'gn check' happy with :minimal and |
44 # :nacl_helper_win_64 (below). They can't depend on //content/public/common | 45 # :nacl_helper_win_64 (below). They can't depend on //content/public/common |
45 # or anything like that, because that would bring in lots more than counts | 46 # or anything like that, because that would bring in lots more than counts |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 110 |
110 deps = [ | 111 deps = [ |
111 ":loader", | 112 ":loader", |
112 "//base", | 113 "//base", |
113 "//build/config/sanitizers:deps_no_options", | 114 "//build/config/sanitizers:deps_no_options", |
114 "//components/nacl/common:switches", | 115 "//components/nacl/common:switches", |
115 "//components/nacl/loader/sandbox_linux", | 116 "//components/nacl/loader/sandbox_linux", |
116 "//content/public/common", | 117 "//content/public/common", |
117 "//crypto", | 118 "//crypto", |
118 "//ipc", | 119 "//ipc", |
| 120 "//mojo/edk/system", |
119 "//sandbox/linux:sandbox_services", | 121 "//sandbox/linux:sandbox_services", |
120 "//url/ipc:url_ipc", | 122 "//url/ipc:url_ipc", |
121 ] | 123 ] |
122 | 124 |
123 cflags = [ "-fPIE" ] | 125 cflags = [ "-fPIE" ] |
124 | 126 |
125 ldflags = [ "-pie" ] | 127 ldflags = [ "-pie" ] |
126 | 128 |
127 data_deps = [ | 129 data_deps = [ |
128 "//native_client/src/trusted/service_runtime/linux:bootstrap", | 130 "//native_client/src/trusted/service_runtime/linux:bootstrap", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 "nonsfi/nonsfi_main.cc", | 201 "nonsfi/nonsfi_main.cc", |
200 "nonsfi/nonsfi_main.h", | 202 "nonsfi/nonsfi_main.h", |
201 ] | 203 ] |
202 deps = [ | 204 deps = [ |
203 ":nacl_helper_nonsfi_sandbox", | 205 ":nacl_helper_nonsfi_sandbox", |
204 "//base", | 206 "//base", |
205 "//components/nacl/common:switches", | 207 "//components/nacl/common:switches", |
206 "//components/tracing", | 208 "//components/tracing", |
207 "//content", | 209 "//content", |
208 "//ipc", | 210 "//ipc", |
| 211 "//mojo/edk/system", |
209 "//native_client/src/nonsfi/irt:nacl_sys_private", | 212 "//native_client/src/nonsfi/irt:nacl_sys_private", |
210 "//native_client/src/nonsfi/loader:elf_loader", | 213 "//native_client/src/nonsfi/loader:elf_loader", |
211 | 214 |
212 # Normally libnacl is included implicitly by libc and is part of the | 215 # Normally libnacl is included implicitly by libc and is part of the |
213 # toolchain. But //build/config/nacl:compiler uses -nodefaultlibs and so | 216 # toolchain. But //build/config/nacl:compiler uses -nodefaultlibs and so |
214 # omits the default libnacl. When the nonsfi toolchain is more complete | 217 # omits the default libnacl. When the nonsfi toolchain is more complete |
215 # and that kludge is no longer required, this dependency should be | 218 # and that kludge is no longer required, this dependency should be |
216 # removed. | 219 # removed. |
217 "//native_client/src/untrusted/nacl", | 220 "//native_client/src/untrusted/nacl", |
218 "//ppapi/proxy", | 221 "//ppapi/proxy", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", | 278 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", |
276 ] | 279 ] |
277 outputs = [ | 280 outputs = [ |
278 "${root_build_dir}/{{source_file_part}}", | 281 "${root_build_dir}/{{source_file_part}}", |
279 ] | 282 ] |
280 deps = [ | 283 deps = [ |
281 ":nacl_helper_nonsfi_unittests_main", | 284 ":nacl_helper_nonsfi_unittests_main", |
282 ] | 285 ] |
283 } | 286 } |
284 } | 287 } |
OLD | NEW |