blob: 7916feaf5b96a965c4bef48503d2e19adb34d7f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- third_party/node/node.gni.orig 2025-05-05 10:57:53 UTC
+++ third_party/node/node.gni
@@ -22,7 +22,7 @@ template("node") {
# When use_remoteexec=true, node actions may run on remote
# Linux worker. So it should include linux node binary in inputs.
- if (is_linux || is_chromeos || use_remoteexec) {
+ if ((is_linux || is_chromeos || use_remoteexec) && !is_bsd) {
inputs += [ "//third_party/node/linux/node-linux-x64/bin/node" ]
}
if (is_win && host_os == "win") {
@@ -34,17 +34,6 @@ template("node") {
} else {
inputs += [ "//third_party/node/mac/node-darwin-x64/bin/node" ]
}
- }
-
- # Automatically add a dependency to ":check_version" to ensure NodeJS is
- # always running the expected version, except when the ':check_version'
- # target itself is running in which case it shouldn't depend on itself.
- if (get_label_info(":" + target_name, "label_no_toolchain") !=
- "//third_party/node:check_version") {
- if (!defined(deps)) {
- deps = []
- }
- deps += [ "//third_party/node:check_version" ]
}
}
}
|