Skip to content

Commit 1d514ab

Browse files
comiussgowroji
authored andcommitted
Remove references to io_bazel repository
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 <[email protected]>
1 parent 0015ac0 commit 1d514ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

third_party/grpc/build_defs.bzl

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ _java_grpc_gensource = rule(
6767
allow_single_file = True,
6868
),
6969
"_java_plugin": attr.label(
70-
default = Label("@io_bazel//third_party/grpc-java:grpc-java-plugin"),
70+
default = Label("//third_party/grpc-java:grpc-java-plugin"),
7171
executable = True,
7272
cfg = "host",
7373
),
@@ -111,10 +111,10 @@ def java_grpc_library(name, srcs, deps, enable_deprecated = None, visibility = N
111111
srcs = [gensource_name],
112112
visibility = visibility,
113113
deps = [
114-
"@io_bazel//third_party:javax_annotations",
115-
"@io_bazel//third_party:jsr305",
116-
"@io_bazel//third_party/grpc-java:grpc-jar",
117-
"@io_bazel//third_party:guava",
114+
Label("//third_party:javax_annotations"),
115+
Label("//third_party:jsr305"),
116+
Label("//third_party/grpc-java:grpc-jar"),
117+
Label("//third_party:guava"),
118118
"@com_google_protobuf//:protobuf_java",
119119
] + deps,
120120
**kwargs

0 commit comments

Comments
 (0)