mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 16:04:53 +00:00
[Fuchsia] Prepend test image with magenta data
For the recent change that shuffles this around. R=rmacnak@google.com Review-Url: https://codereview.chromium.org/2723103005 .
This commit is contained in:
parent
7c0af354ed
commit
2ff4e1f15a
14
BUILD.gn
14
BUILD.gn
|
@ -237,8 +237,20 @@ if (defined(is_fuchsia) && is_fuchsia) {
|
|||
"runtime/bin:run_vm_tests",
|
||||
]
|
||||
|
||||
# Compute path to magenta bootdata.bin
|
||||
if (current_cpu == "arm64") {
|
||||
magenta_bootdata =
|
||||
"//out/build-magenta/build-magenta-qemu-arm64/bootdata.bin"
|
||||
} else if (current_cpu == "x64") {
|
||||
magenta_bootdata =
|
||||
"//out/build-magenta/build-magenta-pc-x86-64/bootdata.bin"
|
||||
} else {
|
||||
assert(false, "unable to determine path to magenta's bootdata.bin")
|
||||
}
|
||||
|
||||
input = "$target_gen_dir/dart_test_tree.manifest"
|
||||
inputs = [
|
||||
magenta_bootdata,
|
||||
input,
|
||||
]
|
||||
|
||||
|
@ -256,6 +268,8 @@ if (defined(is_fuchsia) && is_fuchsia) {
|
|||
"--build-id-map",
|
||||
rebase_path("$target_gen_dir/build_id_map"),
|
||||
"--compress",
|
||||
"--pre-binaries",
|
||||
rebase_path(magenta_bootdata),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue