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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 deps = [ | 110 deps = [ |
111 ":loader", | 111 ":loader", |
112 "//base", | 112 "//base", |
113 "//build/config/sanitizers:deps_no_options", | 113 "//build/config/sanitizers:deps_no_options", |
114 "//components/nacl/common:switches", | 114 "//components/nacl/common:switches", |
115 "//components/nacl/loader/sandbox_linux", | 115 "//components/nacl/loader/sandbox_linux", |
116 "//content/public/common", | 116 "//content/public/common", |
117 "//crypto", | 117 "//crypto", |
118 "//ipc", | 118 "//ipc", |
| 119 "//mojo/edk/system", |
119 "//sandbox/linux:sandbox_services", | 120 "//sandbox/linux:sandbox_services", |
120 "//url/ipc:url_ipc", | 121 "//url/ipc:url_ipc", |
121 ] | 122 ] |
122 | 123 |
123 cflags = [ "-fPIE" ] | 124 cflags = [ "-fPIE" ] |
124 | 125 |
125 ldflags = [ "-pie" ] | 126 ldflags = [ "-pie" ] |
126 | 127 |
127 data_deps = [ | 128 data_deps = [ |
128 "//native_client/src/trusted/service_runtime/linux:bootstrap", | 129 "//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", | 200 "nonsfi/nonsfi_main.cc", |
200 "nonsfi/nonsfi_main.h", | 201 "nonsfi/nonsfi_main.h", |
201 ] | 202 ] |
202 deps = [ | 203 deps = [ |
203 ":nacl_helper_nonsfi_sandbox", | 204 ":nacl_helper_nonsfi_sandbox", |
204 "//base", | 205 "//base", |
205 "//components/nacl/common:switches", | 206 "//components/nacl/common:switches", |
206 "//components/tracing", | 207 "//components/tracing", |
207 "//content", | 208 "//content", |
208 "//ipc", | 209 "//ipc", |
| 210 "//mojo/edk/system", |
209 "//native_client/src/nonsfi/irt:nacl_sys_private", | 211 "//native_client/src/nonsfi/irt:nacl_sys_private", |
210 "//native_client/src/nonsfi/loader:elf_loader", | 212 "//native_client/src/nonsfi/loader:elf_loader", |
211 | 213 |
212 # Normally libnacl is included implicitly by libc and is part of the | 214 # Normally libnacl is included implicitly by libc and is part of the |
213 # toolchain. But //build/config/nacl:compiler uses -nodefaultlibs and so | 215 # toolchain. But //build/config/nacl:compiler uses -nodefaultlibs and so |
214 # omits the default libnacl. When the nonsfi toolchain is more complete | 216 # omits the default libnacl. When the nonsfi toolchain is more complete |
215 # and that kludge is no longer required, this dependency should be | 217 # and that kludge is no longer required, this dependency should be |
216 # removed. | 218 # removed. |
217 "//native_client/src/untrusted/nacl", | 219 "//native_client/src/untrusted/nacl", |
218 "//ppapi/proxy", | 220 "//ppapi/proxy", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", | 277 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", |
276 ] | 278 ] |
277 outputs = [ | 279 outputs = [ |
278 "${root_build_dir}/{{source_file_part}}", | 280 "${root_build_dir}/{{source_file_part}}", |
279 ] | 281 ] |
280 deps = [ | 282 deps = [ |
281 ":nacl_helper_nonsfi_unittests_main", | 283 ":nacl_helper_nonsfi_unittests_main", |
282 ] | 284 ] |
283 } | 285 } |
284 } | 286 } |
OLD | NEW |