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/nacl/rules.gni") | 5 import("//build/config/nacl/rules.gni") |
6 | 6 |
7 assert(enable_nacl) | 7 assert(enable_nacl) |
8 | 8 |
9 if (current_cpu == "pnacl") { | 9 if (current_cpu == "pnacl") { |
10 if (is_nacl_nonsfi) { | 10 if (is_nacl_nonsfi) { |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 } | 244 } |
245 | 245 |
246 args = [ | 246 args = [ |
247 "pnacl-translate", | 247 "pnacl-translate", |
248 rebase_path(pexe, root_build_dir), | 248 rebase_path(pexe, root_build_dir), |
249 "-o", | 249 "-o", |
250 rebase_path(nexe, root_build_dir), | 250 rebase_path(nexe, root_build_dir), |
251 "-arch", | 251 "-arch", |
252 arch, | 252 arch, |
253 "-Wl,-L" + | 253 "-Wl,-L" + |
254 rebase_path(get_label_info(pnacl_irt_shim, "target_out_dir")), | 254 rebase_path(get_label_info(pnacl_irt_shim, "target_out_dir"), |
| 255 root_build_dir), |
255 ] | 256 ] |
256 deps = [ | 257 deps = [ |
257 ":$nexe_target_name(//build/toolchain/nacl:newlib_pnacl)", | 258 ":$nexe_target_name(//build/toolchain/nacl:newlib_pnacl)", |
258 ] | 259 ] |
259 data_deps = [ | 260 data_deps = [ |
260 pnacl_irt_shim, | 261 pnacl_irt_shim, |
261 ] | 262 ] |
262 } | 263 } |
263 } | 264 } |
264 | 265 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 } | 391 } |
391 } | 392 } |
392 if (generate_nmf) { | 393 if (generate_nmf) { |
393 data_deps += [ ":$nmf_target_name" ] | 394 data_deps += [ ":$nmf_target_name" ] |
394 } | 395 } |
395 if (defined(invoker.test_files)) { | 396 if (defined(invoker.test_files)) { |
396 data_deps += [ ":$test_files_target_name" ] | 397 data_deps += [ ":$test_files_target_name" ] |
397 } | 398 } |
398 } | 399 } |
399 } | 400 } |
OLD | NEW |