File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,14 +73,23 @@ http_archive(
7373# instantiated in grpc_deps().
7474http_archive (
7575 name = "com_google_protobuf" ,
76- sha256 = "7c3ebd7aaedd86fa5dc479a0fda803f602caaf78d8aff7ce83b89e1b8ae7442a " ,
77- strip_prefix = "protobuf-28.3 " ,
78- urls = ["https://github.com/protocolbuffers/protobuf/archive/v28.3 .tar.gz" ],
76+ sha256 = "10a0d58f39a1a909e95e00e8ba0b5b1dc64d02997f741151953a2b3659f6e78c " ,
77+ strip_prefix = "protobuf-29.0 " ,
78+ urls = ["https://github.com/protocolbuffers/protobuf/archive/v29.0 .tar.gz" ],
7979)
8080load ("@com_github_grpc_grpc//bazel:grpc_deps.bzl" , "grpc_deps" )
8181
8282grpc_deps ()
8383
84+ # Pin the version of rules_cc to the version that is present in
85+ # https://github.com/protocolbuffers/protobuf/blob/29.x/protobuf_deps.bzl#L92-L98
86+ http_archive (
87+ name = "rules_cc" ,
88+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.16/rules_cc-0.0.16.tar.gz" ],
89+ sha256 = "bbf1ae2f83305b7053b11e4467d317a7ba3517a12cef608543c1b1c5bf48a4df" ,
90+ strip_prefix = "rules_cc-0.0.16" ,
91+ )
92+
8493load ("@com_google_protobuf//:protobuf_deps.bzl" , "protobuf_deps" , "PROTOBUF_MAVEN_ARTIFACTS" )
8594# This is actually already done within grpc_deps but calling this for Bazel convention.
8695protobuf_deps ()
You can’t perform that action at this time.
0 commit comments