From 00335a7023a4c5cadf6b83f8e31912320e9865ec Mon Sep 17 00:00:00 2001 From: Alex Humesky Date: Mon, 11 Nov 2024 16:45:03 -0800 Subject: [PATCH] Use `java_proto_library` from `@proto` to match the `proto_library` from `@proto`, otherwise the `ProtoInfo` providers don't match: `in deps attribute of java_proto_library rule @@bazel_tools//src/main/protobuf:java_compilation_java_proto: '@@bazel_tools//src/main/protobuf:java_compilation_proto' does not have mandatory providers: 'ProtoInfo'` (cherry picked from commit c47c8436122ca73cbf2e63d24e6a6d97b6313b64) --- third_party/bazel/src/main/protobuf/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/bazel/src/main/protobuf/BUILD b/third_party/bazel/src/main/protobuf/BUILD index 12778289f42..495c14b43a6 100644 --- a/third_party/bazel/src/main/protobuf/BUILD +++ b/third_party/bazel/src/main/protobuf/BUILD @@ -1,4 +1,5 @@ load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") +load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library") load("@protobuf//bazel:proto_library.bzl", "proto_library") load("@protobuf//bazel:py_proto_library.bzl", "py_proto_library")