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'`

PiperOrigin-RevId: 695525449
Change-Id: Idf30a8ac1838409d39bb17822830be63115148d2
  • Loading branch information
ahumesky authored and bazel-io committed Nov 12, 2024
1 parent 468858a commit b56b221
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 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")
load("//third_party/grpc:build_defs.bzl", "java_grpc_library")
Expand Down

0 comments on commit b56b221

Please sign in to comment.