1 Upstream-Status: Inappropriate [embedder specific]
3 The patch below makes the V8 binaries run during the build be invoked through
4 QEMU, as they are built for the target.
6 Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
7 Signed-off-by: Maksim Sisov <msisov@igalia.com>
9 Index: git/src/tools/v8_context_snapshot/BUILD.gn
10 ===================================================================
11 --- git.orig/src/tools/v8_context_snapshot/BUILD.gn
12 +++ git/src/tools/v8_context_snapshot/BUILD.gn
13 @@ -62,6 +62,7 @@ if (use_v8_context_snapshot) {
14 output_path = rebase_path(output_file, root_build_dir)
17 + "./v8-qemu-wrapper.sh",
20 ":v8_context_snapshot_generator($v8_snapshot_toolchain)",
21 Index: git/src/v8/BUILD.gn
22 ===================================================================
23 --- git.orig/src/v8/BUILD.gn
24 +++ git/src/v8/BUILD.gn
25 @@ -900,6 +900,7 @@ action("run_torque") {
29 + "./v8-qemu-wrapper.sh",
30 "./" + rebase_path(get_label_info(":torque($v8_torque_toolchain)",
31 "root_out_dir") + "/torque",
33 @@ -977,6 +978,7 @@ template("run_mksnapshot") {
37 + "./v8-qemu-wrapper.sh",
38 "./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
39 "root_out_dir") + "/mksnapshot",