mirror of https://github.com/grpc/grpc-java.git
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.
This commit is contained in:
parent
38c84ed9ef
commit
137c74d15f
|
@ -58,7 +58,7 @@ _gensource = rule(
|
||||||
cfg = "host",
|
cfg = "host",
|
||||||
),
|
),
|
||||||
"_java_plugin": attr.label(
|
"_java_plugin": attr.label(
|
||||||
default = Label("@grpc_java//compiler:grpc_java_plugin"),
|
default = Label("//compiler:grpc_java_plugin"),
|
||||||
executable = True,
|
executable = True,
|
||||||
cfg = "host",
|
cfg = "host",
|
||||||
),
|
),
|
||||||
|
@ -107,9 +107,9 @@ def java_grpc_library(name, srcs, deps, flavor=None,
|
||||||
)
|
)
|
||||||
|
|
||||||
added_deps = [
|
added_deps = [
|
||||||
"@grpc_java//core",
|
"//core",
|
||||||
"@grpc_java//stub",
|
"//stub",
|
||||||
"@grpc_java//protobuf",
|
"//protobuf",
|
||||||
"@com_google_guava_guava//jar",
|
"@com_google_guava_guava//jar",
|
||||||
]
|
]
|
||||||
if flavor == "normal":
|
if flavor == "normal":
|
||||||
|
|
Loading…
Reference in New Issue