mirror of
https://github.com/termux/termux-packages.git
synced 2025-06-01 23:52:13 +00:00
116 lines
3.0 KiB
Diff
116 lines
3.0 KiB
Diff
--- a/v8/BUILD.gn
|
|
+++ b/v8/BUILD.gn
|
|
@@ -2232,7 +2232,9 @@
|
|
"tools/gcmole/:*",
|
|
]
|
|
|
|
+if (false) {
|
|
deps = [ ":torque($toolchain)" ]
|
|
+}
|
|
|
|
script = "tools/run.py"
|
|
|
|
@@ -2274,8 +2276,14 @@
|
|
]
|
|
}
|
|
|
|
+if (false) {
|
|
+ arg0_prefix = "./"
|
|
+} else {
|
|
+ arg0_prefix = "@TERMUX_PREFIX@/opt/electron-host-tools-for-code-oss/"
|
|
+}
|
|
+
|
|
args = [
|
|
- "./" + rebase_path(
|
|
+ arg0_prefix + rebase_path(
|
|
get_label_info(":torque($toolchain)", "root_out_dir") + "/torque",
|
|
root_build_dir),
|
|
"-o",
|
|
@@ -2436,9 +2444,18 @@
|
|
action("generate_bytecode_builtins_list") {
|
|
script = "tools/run.py"
|
|
outputs = [ "$target_gen_dir/builtins-generated/bytecodes-builtins-list.h" ]
|
|
+if (false) {
|
|
deps = [ ":bytecode_builtins_list_generator($v8_generator_toolchain)" ]
|
|
+}
|
|
+
|
|
+if (false) {
|
|
+ arg0_prefix = "./"
|
|
+} else {
|
|
+ arg0_prefix = "@TERMUX_PREFIX@/opt/electron-host-tools-for-code-oss/"
|
|
+}
|
|
+
|
|
args = [
|
|
- "./" + rebase_path(
|
|
+ arg0_prefix + rebase_path(
|
|
get_label_info(
|
|
":bytecode_builtins_list_generator($v8_generator_toolchain)",
|
|
"root_out_dir") + "/bytecode_builtins_list_generator",
|
|
@@ -2466,12 +2483,16 @@
|
|
suffix = "_$name"
|
|
}
|
|
action("run_mksnapshot_" + name) {
|
|
+if (false) {
|
|
deps = [ ":mksnapshot($v8_snapshot_toolchain)" ]
|
|
if (v8_verify_deterministic_mksnapshot) {
|
|
# We archive the snapshot executable when verifying snapshot
|
|
# determinism to ease debugging.
|
|
data_deps = [ ":mksnapshot($v8_snapshot_toolchain)" ]
|
|
}
|
|
+} else {
|
|
+ deps = []
|
|
+}
|
|
|
|
script = "tools/run.py"
|
|
|
|
@@ -2498,6 +2519,7 @@
|
|
|
|
args = []
|
|
|
|
+if (false) {
|
|
if (v8_verify_deterministic_mksnapshot) {
|
|
# Output redirection must be the first argument to run.py. We capture
|
|
# output when verifying snapshot determinism for debugging.
|
|
@@ -2508,9 +2530,16 @@
|
|
]
|
|
data += [ "$root_out_dir/mksnapshot_output${suffix}.log" ]
|
|
}
|
|
+}
|
|
+
|
|
+if (false) {
|
|
+ arg0_prefix = "./"
|
|
+} else {
|
|
+ arg0_prefix = "@TERMUX_PREFIX@/opt/electron-host-tools-for-code-oss/"
|
|
+}
|
|
|
|
args += [
|
|
- "./" + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
|
|
+ arg0_prefix + rebase_path(get_label_info(":mksnapshot($v8_snapshot_toolchain)",
|
|
"root_out_dir") + "/mksnapshot",
|
|
root_build_dir),
|
|
"--turbo_instruction_scheduling",
|
|
@@ -7540,14 +7569,22 @@
|
|
|
|
script = "tools/run.py"
|
|
|
|
+if (false) {
|
|
deps = [ ":gen-regexp-special-case($v8_generator_toolchain)" ]
|
|
+}
|
|
|
|
output_file = "$target_gen_dir/src/regexp/special-case.cc"
|
|
|
|
outputs = [ output_file ]
|
|
|
|
+if (false) {
|
|
+ arg0_prefix = "./"
|
|
+} else {
|
|
+ arg0_prefix = "@TERMUX_PREFIX@/opt/electron-host-tools-for-code-oss/"
|
|
+}
|
|
+
|
|
args = [
|
|
- "./" + rebase_path(
|
|
+ arg0_prefix + rebase_path(
|
|
get_label_info(
|
|
":gen-regexp-special-case($v8_generator_toolchain)",
|
|
"root_out_dir") + "/gen-regexp-special-case",
|