Skip to content

Commit

Permalink
Use java_proto_library from @proto to match the proto_library f…
Browse files Browse the repository at this point in the history
…rom `@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 c47c843)
  • Loading branch information
ahumesky authored and mai93 committed Nov 19, 2024
1 parent 8f102d8 commit 00335a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/bazel/src/main/protobuf/BUILD
Original file line number Diff line number Diff line change
@@ -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")

Expand Down

0 comments on commit 00335a7

Please sign in to comment.