diff options
author | ZHANG Dapeng <zdapeng@google.com> | 2017-07-05 16:15:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-05 16:15:33 -0700 |
commit | c2791496ca8880cb05668d263bc8a72ed2702367 (patch) | |
tree | d4b4a47e95ab3e1351aa023445c9fc0dc37b53d4 /repositories.bzl | |
parent | 69e278aa8eccf8df9627489e8a9809a18b4eed0c (diff) | |
download | grpc-grpc-java-c2791496ca8880cb05668d263bc8a72ed2702367.tar.gz |
fix misuse of bazel repo @com_google_protobuf
resolves #3175
Diffstat (limited to 'repositories.bzl')
-rw-r--r-- | repositories.bzl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repositories.bzl b/repositories.bzl index a15e95f89..8f840c8a0 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -120,6 +120,9 @@ def com_google_instrumentation_api(): ) def com_google_protobuf(): + # proto_library rules implicitly depend on @com_google_protobuf//:protoc, + # which is the proto-compiler. + # This statement defines the @com_google_protobuf repo. native.http_archive( name = "com_google_protobuf", sha256 = "df77b0e60afcd3d90b2654cd305e61ae8ae2e2281b4d6540c7093da4c4245d75", @@ -128,6 +131,8 @@ def com_google_protobuf(): ) def com_google_protobuf_java(): + # java_proto_library rules implicitly depend on @com_google_protobuf_java//:java_toolchain, + # which is the Java proto runtime (base classes and common utilities). native.http_archive( name = "com_google_protobuf_java", sha256 = "df77b0e60afcd3d90b2654cd305e61ae8ae2e2281b4d6540c7093da4c4245d75", |