aboutsummaryrefslogtreecommitdiffstats
path: root/www/iridium/files/patch-third__party_protobuf_proto__library.gni
blob: c3be794490f3db57a5f8228ed4ef0bd835d6c0fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- third_party/protobuf/proto_library.gni.orig	2025-11-24 05:40:57 UTC
+++ third_party/protobuf/proto_library.gni
@@ -260,7 +260,15 @@ _protoc_gen_ts_runtime_deps = [
 
 # 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_openbsd) {
+  _protoc_gen_ts_runtime_deps +=
+      [ "//third_party/node/openbsd/node-openbsd/bin/node" ]
+}
+if (is_freebsd) {
+  _protoc_gen_ts_runtime_deps +=
+      [ "//third_party/node/freebsd/node-freebsd/bin/node" ]
+}
+if (!is_bsd && (is_linux || is_chromeos || use_remoteexec)) {
   _protoc_gen_ts_runtime_deps +=
       [ "//third_party/node/linux/node-linux-x64/bin/node" ]
 }