diff options
author | Carmi Grushko <carmi@google.com> | 2018-02-17 13:42:46 -0500 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2018-02-21 15:14:17 -0800 |
commit | 137c74d15f261efe9bab5242684afe9971c5965c (patch) | |
tree | 1ccc4a8736ce909daee904ef87492e29d2180f93 /java_grpc_library.bzl | |
parent | 38c84ed9ef4ca57aafccdc91cbc7eed866c09f90 (diff) | |
download | grpc-grpc-java-137c74d15f261efe9bab5242684afe9971c5965c.tar.gz |
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.
Diffstat (limited to 'java_grpc_library.bzl')
-rw-r--r-- | java_grpc_library.bzl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/java_grpc_library.bzl b/java_grpc_library.bzl index 0fef76003..504831af8 100644 --- a/java_grpc_library.bzl +++ b/java_grpc_library.bzl @@ -58,7 +58,7 @@ _gensource = rule( cfg = "host", ), "_java_plugin": attr.label( - default = Label("@grpc_java//compiler:grpc_java_plugin"), + default = Label("//compiler:grpc_java_plugin"), executable = True, cfg = "host", ), @@ -107,9 +107,9 @@ def java_grpc_library(name, srcs, deps, flavor=None, ) added_deps = [ - "@grpc_java//core", - "@grpc_java//stub", - "@grpc_java//protobuf", + "//core", + "//stub", + "//protobuf", "@com_google_guava_guava//jar", ] if flavor == "normal": |