Skip to content

Commit

Permalink
Remove references to io_bazel repository
Browse files Browse the repository at this point in the history
Users of @bazel_tools and bzlmod are broken when referring to the package that uses io_bazel.

Partial commit for third_party/*, see bazelbuild#16559.

Signed-off-by: Sunil Gowroji <sgowroji@google.com>
  • Loading branch information
comius authored and sgowroji committed Oct 31, 2022
1 parent 0015ac0 commit 1d514ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions third_party/grpc/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ _java_grpc_gensource = rule(
allow_single_file = True,
),
"_java_plugin": attr.label(
default = Label("@io_bazel//third_party/grpc-java:grpc-java-plugin"),
default = Label("//third_party/grpc-java:grpc-java-plugin"),
executable = True,
cfg = "host",
),
Expand Down Expand Up @@ -111,10 +111,10 @@ def java_grpc_library(name, srcs, deps, enable_deprecated = None, visibility = N
srcs = [gensource_name],
visibility = visibility,
deps = [
"@io_bazel//third_party:javax_annotations",
"@io_bazel//third_party:jsr305",
"@io_bazel//third_party/grpc-java:grpc-jar",
"@io_bazel//third_party:guava",
Label("//third_party:javax_annotations"),
Label("//third_party:jsr305"),
Label("//third_party/grpc-java:grpc-jar"),
Label("//third_party:guava"),
"@com_google_protobuf//:protobuf_java",
] + deps,
**kwargs
Expand Down

0 comments on commit 1d514ab

Please sign in to comment.