@@ -64,10 +64,10 @@ def google_cloud_cpp_deps():
6464 http_archive (
6565 name = "com_google_googleapis" ,
6666 urls = [
67- "https://github.com/googleapis/googleapis/archive/a8ee1416f4c588f2ab92da72e7c1f588c784d3e6 .tar.gz" ,
67+ "https://github.com/googleapis/googleapis/archive/9c9f778aedde02f9826d2ae5d0f9c96409ba0f25 .tar.gz" ,
6868 ],
69- strip_prefix = "googleapis-a8ee1416f4c588f2ab92da72e7c1f588c784d3e6 " ,
70- sha256 = "6b8a9b2bcb4476e9a5a9872869996f0d639c8d5df76dd8a893e79201f211b1cf " ,
69+ strip_prefix = "googleapis-9c9f778aedde02f9826d2ae5d0f9c96409ba0f25 " ,
70+ sha256 = "13af135d8cc9b81b47d6fbfc258fe790a151956d06e01fd16671aa49fe536ab1 " ,
7171 build_file = "@com_github_googleapis_google_cloud_cpp//bazel:googleapis.BUILD" ,
7272 )
7373
@@ -84,6 +84,18 @@ def google_cloud_cpp_deps():
8484 sha256 = "c84b3fa140fcd6cce79b3f9de6357c5733a0071e04ca4e65ba5f8d306f10f033" ,
8585 )
8686
87+ # We use the cc_proto_library() rule from @com_google_protobuf, which
88+ # assumes that grpc_cpp_plugin and grpc_lib are in the //external: module
89+ native .bind (
90+ name = "grpc_cpp_plugin" ,
91+ actual = "@com_github_grpc_grpc//src/compiler:grpc_cpp_plugin" ,
92+ )
93+
94+ native .bind (
95+ name = "grpc_lib" ,
96+ actual = "@com_github_grpc_grpc//:grpc++" ,
97+ )
98+
8799 # We need libcurl for the Google Cloud Storage client.
88100 if "com_github_curl_curl" not in native .existing_rules ():
89101 http_archive (
@@ -117,15 +129,3 @@ def google_cloud_cpp_deps():
117129 sha256 = "6b3b1d861bb8307658b2407bc7a4c59e566855ef5368a60b35c893551e4788e9" ,
118130 build_file = "@com_github_googleapis_google_cloud_cpp//bazel:crc32c.BUILD" ,
119131 )
120-
121- # We use the cc_proto_library() rule from @com_google_protobuf, which
122- # assumes that grpc_cpp_plugin and grpc_lib are in the //external: module
123- native .bind (
124- name = "grpc_cpp_plugin" ,
125- actual = "@com_github_grpc_grpc//:grpc_cpp_plugin" ,
126- )
127-
128- native .bind (
129- name = "grpc_lib" ,
130- actual = "@com_github_grpc_grpc//:grpc++" ,
131- )
0 commit comments