--- third_party/protobuf/proto_library.gni.orig 2026-03-13 16:54:03 UTC +++ third_party/protobuf/proto_library.gni @@ -259,7 +259,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" ] }