diff options
Diffstat (limited to 'bazel/grpc_deps.bzl')
-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(): |