grpc_deps.bzl 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547
  1. # Copyright 2021 The gRPC Authors
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License");
  4. # you may not use this file except in compliance with the License.
  5. # You may obtain a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS,
  11. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. # See the License for the specific language governing permissions and
  13. # limitations under the License.
  14. """Load dependencies needed to compile and test the grpc library as a 3rd-party consumer."""
  15. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
  16. load("@com_github_grpc_grpc//bazel:grpc_python_deps.bzl", "grpc_python_deps")
  17. # buildifier: disable=unnamed-macro
  18. def grpc_deps():
  19. """Loads dependencies need to compile and test the grpc library."""
  20. native.bind(
  21. name = "upb_lib",
  22. actual = "@upb//:upb",
  23. )
  24. native.bind(
  25. name = "upb_reflection",
  26. actual = "@upb//:reflection",
  27. )
  28. native.bind(
  29. name = "upb_lib_descriptor",
  30. actual = "@upb//:descriptor_upb_proto",
  31. )
  32. native.bind(
  33. name = "upb_lib_descriptor_reflection",
  34. actual = "@upb//:descriptor_upb_proto_reflection",
  35. )
  36. native.bind(
  37. name = "upb_textformat_lib",
  38. actual = "@upb//:textformat",
  39. )
  40. native.bind(
  41. name = "upb_json_lib",
  42. actual = "@upb//:json",
  43. )
  44. native.bind(
  45. name = "upb_generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
  46. actual = "@upb//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
  47. )
  48. native.bind(
  49. name = "absl",
  50. actual = "@com_google_absl//absl",
  51. )
  52. native.bind(
  53. name = "absl-base",
  54. actual = "@com_google_absl//absl/base",
  55. )
  56. native.bind(
  57. name = "absl-time",
  58. actual = "@com_google_absl//absl/time:time",
  59. )
  60. native.bind(
  61. name = "libssl",
  62. actual = "@boringssl//:ssl",
  63. )
  64. native.bind(
  65. name = "libcrypto",
  66. actual = "@boringssl//:crypto",
  67. )
  68. native.bind(
  69. name = "madler_zlib",
  70. actual = "@zlib//:zlib",
  71. )
  72. native.bind(
  73. name = "protobuf",
  74. actual = "@com_google_protobuf//:protobuf",
  75. )
  76. native.bind(
  77. name = "protobuf_clib",
  78. actual = "@com_google_protobuf//:protoc_lib",
  79. )
  80. native.bind(
  81. name = "protobuf_headers",
  82. actual = "@com_google_protobuf//:protobuf_headers",
  83. )
  84. native.bind(
  85. name = "protocol_compiler",
  86. actual = "@com_google_protobuf//:protoc",
  87. )
  88. native.bind(
  89. name = "cares",
  90. actual = "@com_github_cares_cares//:ares",
  91. )
  92. native.bind(
  93. name = "gtest",
  94. actual = "@com_google_googletest//:gtest",
  95. )
  96. native.bind(
  97. name = "benchmark",
  98. actual = "@com_github_google_benchmark//:benchmark",
  99. )
  100. native.bind(
  101. name = "re2",
  102. actual = "@com_googlesource_code_re2//:re2",
  103. )
  104. native.bind(
  105. name = "grpc_cpp_plugin",
  106. actual = "@com_github_grpc_grpc//src/compiler:grpc_cpp_plugin",
  107. )
  108. native.bind(
  109. name = "grpc++_codegen_proto",
  110. actual = "@com_github_grpc_grpc//:grpc++_codegen_proto",
  111. )
  112. native.bind(
  113. name = "opencensus-context",
  114. actual = "@io_opencensus_cpp//opencensus/context:context",
  115. )
  116. native.bind(
  117. name = "opencensus-trace",
  118. actual = "@io_opencensus_cpp//opencensus/trace:trace",
  119. )
  120. native.bind(
  121. name = "opencensus-trace-context_util",
  122. actual = "@io_opencensus_cpp//opencensus/trace:context_util",
  123. )
  124. native.bind(
  125. name = "opencensus-trace-propagation",
  126. actual = "@io_opencensus_cpp//opencensus/trace:grpc_trace_bin",
  127. )
  128. native.bind(
  129. name = "opencensus-stats",
  130. actual = "@io_opencensus_cpp//opencensus/stats:stats",
  131. )
  132. native.bind(
  133. name = "opencensus-stats-test",
  134. actual = "@io_opencensus_cpp//opencensus/stats:test_utils",
  135. )
  136. native.bind(
  137. name = "opencensus-with-tag-map",
  138. actual = "@io_opencensus_cpp//opencensus/tags:with_tag_map",
  139. )
  140. native.bind(
  141. name = "opencensus-tags",
  142. actual = "@io_opencensus_cpp//opencensus/tags:tags",
  143. )
  144. native.bind(
  145. name = "opencensus-tags-context_util",
  146. actual = "@io_opencensus_cpp//opencensus/tags:context_util",
  147. )
  148. native.bind(
  149. name = "uv",
  150. actual = "@libuv//:libuv",
  151. )
  152. if "boringssl" not in native.existing_rules():
  153. http_archive(
  154. name = "boringssl",
  155. # Use github mirror instead of https://boringssl.googlesource.com/boringssl
  156. # to obtain a boringssl archive with consistent sha256
  157. sha256 = "534fa658bd845fd974b50b10f444d392dfd0d93768c4a51b61263fd37d851c40",
  158. strip_prefix = "boringssl-b9232f9e27e5668bc0414879dcdedb2a59ea75f2",
  159. urls = [
  160. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz",
  161. "https://github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz",
  162. ],
  163. )
  164. if "zlib" not in native.existing_rules():
  165. http_archive(
  166. name = "zlib",
  167. build_file = "@com_github_grpc_grpc//third_party:zlib.BUILD",
  168. sha256 = "6d4d6640ca3121620995ee255945161821218752b551a1a180f4215f7d124d45",
  169. strip_prefix = "zlib-cacf7f1d4e3d44d871b605da3b647f07d718623f",
  170. urls = [
  171. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz",
  172. "https://github.com/madler/zlib/archive/cacf7f1d4e3d44d871b605da3b647f07d718623f.tar.gz",
  173. ],
  174. )
  175. if "com_google_protobuf" not in native.existing_rules():
  176. http_archive(
  177. name = "com_google_protobuf",
  178. sha256 = "bab1685f92cc4ea5b6420026eef6c7973ae96fc21f4f1a3ee626dc6ca6d77c12",
  179. strip_prefix = "protobuf-22d0e265de7d2b3d2e9a00d071313502e7d4cccf",
  180. urls = [
  181. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/22d0e265de7d2b3d2e9a00d071313502e7d4cccf.tar.gz",
  182. "https://github.com/protocolbuffers/protobuf/archive/22d0e265de7d2b3d2e9a00d071313502e7d4cccf.tar.gz",
  183. ],
  184. patches = ["@com_github_grpc_grpc//third_party:protobuf.patch"],
  185. patch_args = ["-p1"],
  186. )
  187. if "com_google_googletest" not in native.existing_rules():
  188. http_archive(
  189. name = "com_google_googletest",
  190. sha256 = "c8de6c60e12ad014a28225c5247ee735861d85cf906df617f6a29954ca05f547",
  191. strip_prefix = "googletest-0e402173c97aea7a00749e825b194bfede4f2e45",
  192. urls = [
  193. # 2022-02-09
  194. "https://github.com/google/googletest/archive/0e402173c97aea7a00749e825b194bfede4f2e45.tar.gz",
  195. ],
  196. )
  197. if "rules_cc" not in native.existing_rules():
  198. http_archive(
  199. name = "rules_cc",
  200. sha256 = "35f2fb4ea0b3e61ad64a369de284e4fbbdcdba71836a5555abb5e194cf119509",
  201. strip_prefix = "rules_cc-624b5d59dfb45672d4239422fa1e3de1822ee110",
  202. urls = [
  203. #2019-08-15
  204. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz",
  205. "https://github.com/bazelbuild/rules_cc/archive/624b5d59dfb45672d4239422fa1e3de1822ee110.tar.gz",
  206. ],
  207. )
  208. if "com_github_google_benchmark" not in native.existing_rules():
  209. http_archive(
  210. name = "com_github_google_benchmark",
  211. sha256 = "0b921a3bc39e35f4275c8dcc658af2391c150fb966102341287b0401ff2e6f21",
  212. strip_prefix = "benchmark-0baacde3618ca617da95375e0af13ce1baadea47",
  213. urls = [
  214. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz",
  215. "https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz",
  216. ],
  217. )
  218. if "com_googlesource_code_re2" not in native.existing_rules():
  219. http_archive(
  220. name = "com_googlesource_code_re2",
  221. sha256 = "319a58a58d8af295db97dfeecc4e250179c5966beaa2d842a82f0a013b6a239b",
  222. # Release 2021-09-01
  223. strip_prefix = "re2-8e08f47b11b413302749c0d8b17a1c94777495d5",
  224. urls = [
  225. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz",
  226. "https://github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz",
  227. ],
  228. )
  229. if "com_github_cares_cares" not in native.existing_rules():
  230. http_archive(
  231. name = "com_github_cares_cares",
  232. build_file = "@com_github_grpc_grpc//third_party:cares/cares.BUILD",
  233. sha256 = "ec76c5e79db59762776bece58b69507d095856c37b81fd35bfb0958e74b61d93",
  234. strip_prefix = "c-ares-6654436a307a5a686b008c1d4c93b0085da6e6d8",
  235. urls = [
  236. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz",
  237. "https://github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz",
  238. ],
  239. )
  240. if "com_google_absl" not in native.existing_rules():
  241. http_archive(
  242. name = "com_google_absl",
  243. sha256 = "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4",
  244. strip_prefix = "abseil-cpp-20211102.0",
  245. urls = [
  246. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz",
  247. "https://github.com/abseil/abseil-cpp/archive/20211102.0.tar.gz",
  248. ],
  249. )
  250. if "bazel_toolchains" not in native.existing_rules():
  251. # list of releases is at https://releases.bazel.build/bazel-toolchains.html
  252. http_archive(
  253. name = "bazel_toolchains",
  254. sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024",
  255. strip_prefix = "bazel-toolchains-4.1.0",
  256. urls = [
  257. "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/4.1.0.tar.gz",
  258. "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz",
  259. ],
  260. )
  261. if "bazel_skylib" not in native.existing_rules():
  262. http_archive(
  263. name = "bazel_skylib",
  264. urls = [
  265. "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
  266. "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
  267. ],
  268. sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
  269. )
  270. if "bazel_compdb" not in native.existing_rules():
  271. http_archive(
  272. name = "bazel_compdb",
  273. sha256 = "bcecfd622c4ef272fd4ba42726a52e140b961c4eac23025f18b346c968a8cfb4",
  274. strip_prefix = "bazel-compilation-database-0.4.5",
  275. urls = [
  276. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz",
  277. "https://github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz",
  278. ],
  279. )
  280. if "io_opencensus_cpp" not in native.existing_rules():
  281. http_archive(
  282. name = "io_opencensus_cpp",
  283. sha256 = "90d6fafa8b1a2ea613bf662731d3086e1c2ed286f458a95c81744df2dbae41b1",
  284. strip_prefix = "opencensus-cpp-c9a4da319bc669a772928ffc55af4a61be1a1176",
  285. urls = [
  286. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz",
  287. "https://github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz",
  288. ],
  289. )
  290. if "upb" not in native.existing_rules():
  291. http_archive(
  292. name = "upb",
  293. sha256 = "1cd33bf607ebc83acf71b6078c1d4361ffa49d647a2ce792a557ae98f75500ad",
  294. strip_prefix = "upb-a02d92e0257a35f11d4a58b6a932506cbdbb2f29",
  295. urls = [
  296. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/upb/archive/a02d92e0257a35f11d4a58b6a932506cbdbb2f29.tar.gz",
  297. "https://github.com/protocolbuffers/upb/archive/a02d92e0257a35f11d4a58b6a932506cbdbb2f29.tar.gz",
  298. ],
  299. )
  300. if "envoy_api" not in native.existing_rules():
  301. http_archive(
  302. name = "envoy_api",
  303. sha256 = "1f3f109c8e3dba3d413f6ecc99ca0047ef10b94564f42ca126fee7531790d064",
  304. strip_prefix = "data-plane-api-ff47e0a4bd03c0580305f9b138cc7937b63f7900",
  305. urls = [
  306. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/ff47e0a4bd03c0580305f9b138cc7937b63f7900.tar.gz",
  307. "https://github.com/envoyproxy/data-plane-api/archive/ff47e0a4bd03c0580305f9b138cc7937b63f7900.tar.gz",
  308. ],
  309. )
  310. if "io_bazel_rules_go" not in native.existing_rules():
  311. http_archive(
  312. name = "io_bazel_rules_go",
  313. sha256 = "dbf5a9ef855684f84cac2e7ae7886c5a001d4f66ae23f6904da0faaaef0d61fc",
  314. urls = [
  315. "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.11/rules_go-v0.24.11.tar.gz",
  316. "https://github.com/bazelbuild/rules_go/releases/download/v0.24.11/rules_go-v0.24.11.tar.gz",
  317. ],
  318. )
  319. if "build_bazel_rules_apple" not in native.existing_rules():
  320. http_archive(
  321. name = "build_bazel_rules_apple",
  322. sha256 = "0052d452af7742c8f3a4e0929763388a66403de363775db7e90adecb2ba4944b",
  323. urls = [
  324. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz",
  325. "https://github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz",
  326. ],
  327. )
  328. if "build_bazel_apple_support" not in native.existing_rules():
  329. http_archive(
  330. name = "build_bazel_apple_support",
  331. sha256 = "76df040ade90836ff5543888d64616e7ba6c3a7b33b916aa3a4b68f342d1b447",
  332. urls = [
  333. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz",
  334. "https://github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz",
  335. ],
  336. )
  337. if "libuv" not in native.existing_rules():
  338. http_archive(
  339. name = "libuv",
  340. build_file = "@com_github_grpc_grpc//third_party:libuv.BUILD",
  341. sha256 = "5ca4e9091f3231d8ad8801862dc4e851c23af89c69141d27723157776f7291e7",
  342. strip_prefix = "libuv-02a9e1be252b623ee032a3137c0b0c94afbe6809",
  343. urls = [
  344. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz",
  345. "https://github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz",
  346. ],
  347. )
  348. if "com_google_googleapis" not in native.existing_rules():
  349. http_archive(
  350. name = "com_google_googleapis",
  351. sha256 = "5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0",
  352. strip_prefix = "googleapis-2f9af297c84c55c8b871ba4495e01ade42476c92",
  353. urls = [
  354. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz",
  355. "https://github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz",
  356. ],
  357. )
  358. if "bazel_gazelle" not in native.existing_rules():
  359. http_archive(
  360. name = "bazel_gazelle",
  361. sha256 = "d987004a72697334a095bbaa18d615804a28280201a50ed6c234c40ccc41e493",
  362. strip_prefix = "bazel-gazelle-0.19.1",
  363. urls = [
  364. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/bazel-gazelle/archive/v0.19.1.tar.gz",
  365. "https://github.com/bazelbuild/bazel-gazelle/archive/v0.19.1.tar.gz",
  366. ],
  367. )
  368. if "opencensus_proto" not in native.existing_rules():
  369. http_archive(
  370. name = "opencensus_proto",
  371. sha256 = "b7e13f0b4259e80c3070b583c2f39e53153085a6918718b1c710caf7037572b0",
  372. strip_prefix = "opencensus-proto-0.3.0/src",
  373. urls = [
  374. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz",
  375. "https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz",
  376. ],
  377. )
  378. if "com_envoyproxy_protoc_gen_validate" not in native.existing_rules():
  379. http_archive(
  380. name = "com_envoyproxy_protoc_gen_validate",
  381. sha256 = "dd4962e4a9e8388a4fbc5c33e64d73bdb222f103e4bad40ca5535f81c2c606c2",
  382. strip_prefix = "protoc-gen-validate-59da36e59fef2267fc2b1849a05159e3ecdf24f3",
  383. urls = [
  384. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/protoc-gen-validate/archive/59da36e59fef2267fc2b1849a05159e3ecdf24f3.tar.gz",
  385. "https://github.com/envoyproxy/protoc-gen-validate/archive/59da36e59fef2267fc2b1849a05159e3ecdf24f3.tar.gz",
  386. ],
  387. )
  388. if "com_github_cncf_udpa" not in native.existing_rules():
  389. http_archive(
  390. name = "com_github_cncf_udpa",
  391. sha256 = "5bc8365613fe2f8ce6cc33959b7667b13b7fe56cb9d16ba740c06e1a7c4242fc",
  392. strip_prefix = "xds-cb28da3451f158a947dfc45090fe92b07b243bc1",
  393. urls = [
  394. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz",
  395. "https://github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz",
  396. ],
  397. )
  398. grpc_python_deps()
  399. # TODO: move some dependencies from "grpc_deps" here?
  400. # buildifier: disable=unnamed-macro
  401. def grpc_test_only_deps():
  402. """Internal, not intended for use by packages that are consuming grpc.
  403. Loads dependencies that are only needed to run grpc library's tests.
  404. """
  405. native.bind(
  406. name = "twisted",
  407. actual = "@com_github_twisted_twisted//:twisted",
  408. )
  409. native.bind(
  410. name = "yaml",
  411. actual = "@com_github_yaml_pyyaml//:yaml",
  412. )
  413. if "com_github_twisted_twisted" not in native.existing_rules():
  414. http_archive(
  415. name = "com_github_twisted_twisted",
  416. sha256 = "ca17699d0d62eafc5c28daf2c7d0a18e62ae77b4137300b6c7d7868b39b06139",
  417. strip_prefix = "twisted-twisted-17.5.0",
  418. urls = [
  419. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/twisted/archive/twisted-17.5.0.zip",
  420. "https://github.com/twisted/twisted/archive/twisted-17.5.0.zip",
  421. ],
  422. build_file = "@com_github_grpc_grpc//third_party:twisted.BUILD",
  423. )
  424. if "com_github_yaml_pyyaml" not in native.existing_rules():
  425. http_archive(
  426. name = "com_github_yaml_pyyaml",
  427. sha256 = "6b4314b1b2051ddb9d4fcd1634e1fa9c1bb4012954273c9ff3ef689f6ec6c93e",
  428. strip_prefix = "pyyaml-3.12",
  429. urls = [
  430. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/yaml/pyyaml/archive/3.12.zip",
  431. "https://github.com/yaml/pyyaml/archive/3.12.zip",
  432. ],
  433. build_file = "@com_github_grpc_grpc//third_party:yaml.BUILD",
  434. )
  435. if "com_github_twisted_incremental" not in native.existing_rules():
  436. http_archive(
  437. name = "com_github_twisted_incremental",
  438. sha256 = "f0ca93359ee70243ff7fbf2d904a6291810bd88cb80ed4aca6fa77f318a41a36",
  439. strip_prefix = "incremental-incremental-17.5.0",
  440. urls = [
  441. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/incremental/archive/incremental-17.5.0.zip",
  442. "https://github.com/twisted/incremental/archive/incremental-17.5.0.zip",
  443. ],
  444. build_file = "@com_github_grpc_grpc//third_party:incremental.BUILD",
  445. )
  446. if "com_github_zopefoundation_zope_interface" not in native.existing_rules():
  447. http_archive(
  448. name = "com_github_zopefoundation_zope_interface",
  449. sha256 = "e9579fc6149294339897be3aa9ecd8a29217c0b013fe6f44fcdae00e3204198a",
  450. strip_prefix = "zope.interface-4.4.3",
  451. urls = [
  452. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/zopefoundation/zope.interface/archive/4.4.3.zip",
  453. "https://github.com/zopefoundation/zope.interface/archive/4.4.3.zip",
  454. ],
  455. build_file = "@com_github_grpc_grpc//third_party:zope_interface.BUILD",
  456. )
  457. if "com_github_twisted_constantly" not in native.existing_rules():
  458. http_archive(
  459. name = "com_github_twisted_constantly",
  460. sha256 = "2702cd322161a579d2c0dbf94af4e57712eedc7bd7bbbdc554a230544f7d346c",
  461. strip_prefix = "constantly-15.1.0",
  462. urls = [
  463. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/twisted/constantly/archive/15.1.0.zip",
  464. "https://github.com/twisted/constantly/archive/15.1.0.zip",
  465. ],
  466. build_file = "@com_github_grpc_grpc//third_party:constantly.BUILD",
  467. )
  468. if "com_google_libprotobuf_mutator" not in native.existing_rules():
  469. http_archive(
  470. name = "com_google_libprotobuf_mutator",
  471. sha256 = "b847c71723d8ce0b747aa661d7f3a07f1d16c595bf9c0202f30febc2f9a24a06",
  472. urls = [
  473. "https://github.com/google/libprotobuf-mutator/archive/ffd86a32874e5c08a143019aad1aaf0907294c9f.tar.gz",
  474. "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/libprotobuf-mutator/archive/ffd86a32874e5c08a143019aad1aaf0907294c9f.tar.gz",
  475. ],
  476. strip_prefix = "libprotobuf-mutator-ffd86a32874e5c08a143019aad1aaf0907294c9f",
  477. build_file = "@com_github_grpc_grpc//third_party:libprotobuf_mutator.BUILD",
  478. )