# protobuf uses the proto_library target name as its virtual import directory,
# which can make generated source paths exceed MSVC's MAX_PATH. This works around by
# hashing the file similar to how cc_library deals with it.
single_version_override(
module_name = "protobuf",
patches = ["//bazel:protobuf-short-virtual-imports.patch"],
patch_strip = 1,
)
# Backport https://github.com/cel-expr/cel-cpp/commit/5053f465b5826b934d4ee63f784a19f4cfb3edcb
# for Bazel 9.x compatibility.
# TODO: Remove when updating cel-cpp past 0.16.1.
single_version_override(
module_name = "cel-cpp",
patches = ["//bazel:cel-cpp-drop-flatbuffers.patch"],
patch_strip = 1,
)