# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/chromium/hotfix-disable-nodejs-version-check.patch # Copyright (C) 2025 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- chromium-136.0.7103.33/third_party/node/node.gni.vanilla 2025-04-19 11:29:52.884513409 +0200 +++ chromium-136.0.7103.33/third_party/node/node.gni 2025-04-19 11:31:36.201682707 +0200 @@ -35,16 +35,5 @@ 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" ] - } } }