Skip to content

Commit 137c74d

Browse files
cgrushkoejona86
authored andcommitted
Drop @grpc_java from labels
These don't contribute if grpc-java is imported with name = grpc_java, and break the build if grpc-java is imported with another name.
1 parent 38c84ed commit 137c74d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

java_grpc_library.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ _gensource = rule(
5858
cfg = "host",
5959
),
6060
"_java_plugin": attr.label(
61-
default = Label("@grpc_java//compiler:grpc_java_plugin"),
61+
default = Label("//compiler:grpc_java_plugin"),
6262
executable = True,
6363
cfg = "host",
6464
),
@@ -107,9 +107,9 @@ def java_grpc_library(name, srcs, deps, flavor=None,
107107
)
108108

109109
added_deps = [
110-
"@grpc_java//core",
111-
"@grpc_java//stub",
112-
"@grpc_java//protobuf",
110+
"//core",
111+
"//stub",
112+
"//protobuf",
113113
"@com_google_guava_guava//jar",
114114
]
115115
if flavor == "normal":

0 commit comments

Comments
 (0)