diff options
author | David Garcia Quintas <dgq@google.com> | 2018-06-01 15:44:03 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2018-06-01 15:44:03 -0700 |
commit | 00e045dbb2b066495dea5807d3fa838151227dc1 (patch) | |
tree | 8f548099d6e40c5b092db7db41f974404b8a83d2 /bazel | |
parent | 3351fe3a3f3836c8522e10536264c8ee2adb8fa6 (diff) |
Fix the inclusion "third_party/nanopb/..." to simply "..."
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/grpc_deps.bzl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 50d1d24303..9732e27a7e 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -5,7 +5,7 @@ def grpc_deps(): native.bind( name = "nanopb", - actual = "@com_github_grpc_grpc//third_party/nanopb:nanopb", + actual = "@com_github_nanopb_nanopb//:nanopb", ) native.bind( @@ -93,6 +93,14 @@ def grpc_deps(): name = "com_google_protobuf", strip_prefix = "protobuf-b5fbb742af122b565925987e65c08957739976a7", url = "https://github.com/google/protobuf/archive/b5fbb742af122b565925987e65c08957739976a7.tar.gz", + ) + + if "com_github_nanopb_nanopb" not in native.existing_rules(): + native.new_http_archive( + name = "com_github_nanopb_nanopb", + build_file = "@com_github_grpc_grpc//third_party:nanopb.BUILD", + strip_prefix = "nanopb-f8ac463766281625ad710900479130c7fcb4d63b", + url = "https://github.com/nanopb/nanopb/archive/f8ac463766281625ad710900479130c7fcb4d63b.tar.gz", ) if "com_github_google_googletest" not in native.existing_rules(): |