blob: 6a7fc33aabd60bb7da0eebe1cd98b57135987aeb [file] [log] [blame]
Tony Aiuto337e7172020-12-09 10:20:14 -08001# Copyright 2020 The Bazel Authors. All rights reserved.
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#
Googlerbd7a6b92022-02-24 07:38:58 -08007# http://www.apache.org/licenses/LICENSE-2.0
Tony Aiuto337e7172020-12-09 10:20:14 -08008#
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.
Xavier Bonaventurafc4d9d62021-12-08 02:17:49 -080014"""List the distribution dependencies we need to build Bazel.
15
16Note for Bazel users: This is not the file that you are looking for.
17This is internal source and is not intended to tell you what version
18you should use for each dependency.
19"""
Tony Aiuto337e7172020-12-09 10:20:14 -080020
21DIST_DEPS = {
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -080022 ########################################
23 #
24 # Runtime language dependencies
25 #
26 ########################################
Tony Aiutoe973aef2021-01-11 00:32:51 -080027 "platforms": {
aiuto676a0c82022-02-09 08:08:17 -080028 "archive": "platforms-0.0.5.tar.gz",
29 "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407",
Tony Aiutoe973aef2021-01-11 00:32:51 -080030 "urls": [
aiuto676a0c82022-02-09 08:08:17 -080031 "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
32 "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz",
Tony Aiutoe973aef2021-01-11 00:32:51 -080033 ],
34 "used_in": [
35 "additional_distfiles",
36 "test_WORKSPACE_files",
37 ],
38 },
Chi Wang26b94ff2021-09-28 23:42:26 -070039 "bazelci_rules": {
40 "archive": "bazelci_rules-1.0.0.tar.gz",
41 "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e",
42 "strip_prefix": "bazelci_rules-1.0.0",
Tony Aiutoe973aef2021-01-11 00:32:51 -080043 "urls": [
Chi Wang38a22d12021-12-06 08:30:58 -080044 "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
Chi Wang26b94ff2021-09-28 23:42:26 -070045 "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz",
Tony Aiutoe973aef2021-01-11 00:32:51 -080046 ],
47 "used_in": [
48 "additional_distfiles",
49 ],
50 },
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -080051 # Keep in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/cpp/cc_configure.WORKSPACE.
52 # Keep in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
53 # Note: This is not in sync with src/test/java/com/google/devtools/build/lib/blackbox/framework/BlackBoxTestEnvironment.java.
54 # Perhaps it should be.
Tony Aiuto337e7172020-12-09 10:20:14 -080055 "rules_cc": {
56 "archive": "b1c40e1de81913a3c40e5948f78719c28152486d.zip",
57 "sha256": "d0c573b94a6ef20ef6ff20154a23d0efcb409fb0e1ff0979cec318dfe42f0cdd",
58 "strip_prefix": "rules_cc-b1c40e1de81913a3c40e5948f78719c28152486d",
59 "urls": [
60 "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip",
61 "https://github.com/bazelbuild/rules_cc/archive/b1c40e1de81913a3c40e5948f78719c28152486d.zip",
62 ],
Tony Aiutoe973aef2021-01-11 00:32:51 -080063 "used_in": [
64 "additional_distfiles",
65 "test_WORKSPACE_files",
66 ],
Tony Aiuto337e7172020-12-09 10:20:14 -080067 },
Tony Aiutob15a8b42021-01-08 07:42:57 -080068 "rules_java": {
69 "archive": "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip",
70 "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598",
71 "strip_prefix": "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178",
72 "urls": [
73 "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip",
74 "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip",
75 ],
76 "used_in": [
77 "additional_distfiles",
78 "test_WORKSPACE_files",
79 ],
Tony Aiutob15a8b42021-01-08 07:42:57 -080080 },
Tony Aiuto320bc942021-01-14 07:43:21 -080081 # TODO(aiuto): Update src/test/java/com/google/devtools/build/lib/blackbox/framework/BlackBoxTestEnvironment.java to use
82 # this dynamically.
83 "rules_proto": {
84 "archive": "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz",
85 "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da",
86 "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488",
87 "urls": [
88 "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz",
89 "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz",
90 ],
91 "used_in": [
92 "additional_distfiles",
93 "test_WORKSPACE_files",
94 ],
95 },
Tony Aiutoe973aef2021-01-11 00:32:51 -080096 #################################################
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -080097 #
Tony Aiutoe973aef2021-01-11 00:32:51 -080098 # Dependencies which are part of the Bazel binary
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -080099 #
Tony Aiutoe973aef2021-01-11 00:32:51 -0800100 #################################################
101 "com_google_protobuf": {
Chi Wangb9e89e32022-01-20 08:52:53 -0800102 "archive": "v3.19.2.tar.gz",
103 "sha256": "4dd35e788944b7686aac898f77df4e9a54da0ca694b8801bd6b2a9ffc1b3085e",
104 "strip_prefix": "protobuf-3.19.2",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800105 "urls": [
Chi Wangb9e89e32022-01-20 08:52:53 -0800106 "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz",
107 "https://github.com/protocolbuffers/protobuf/archive/v3.19.2.tar.gz",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800108 ],
109 "patch_args": ["-p1"],
Chi Wangb9e89e32022-01-20 08:52:53 -0800110 "patches": ["//third_party/protobuf:3.19.2.patch"],
Tony Aiutoe973aef2021-01-11 00:32:51 -0800111 "used_in": [
112 "additional_distfiles",
113 "test_WORKSPACE_files",
114 ],
115 },
Tony Aiuto320bc942021-01-14 07:43:21 -0800116 "protocolbuffers": {
Benjamin Petersonc01219e2021-10-25 02:29:55 -0700117 "archive": "2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz",
118 "sha256": "6a5f67874af66b239b709c572ac1a5a00fdb1b29beaf13c3e6f79b1ba10dc7c4",
Tony Aiuto320bc942021-01-14 07:43:21 -0800119 "urls": [
Benjamin Petersonc01219e2021-10-25 02:29:55 -0700120 "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz",
121 "https://github.com/protocolbuffers/upb/archive/2de300726a1ba2de9a468468dc5ff9ed17a3215f.tar.gz",
Tony Aiuto320bc942021-01-14 07:43:21 -0800122 ],
123 "used_in": [
124 "additional_distfiles",
125 "test_WORKSPACE_files",
126 ],
127 },
Tony Aiutoe973aef2021-01-11 00:32:51 -0800128 "com_github_grpc_grpc": {
Benjamin Petersonc01219e2021-10-25 02:29:55 -0700129 "archive": "v1.41.0.tar.gz",
130 "sha256": "e5fb30aae1fa1cffa4ce00aa0bbfab908c0b899fcf0bbc30e268367d660d8656",
131 "strip_prefix": "grpc-1.41.0",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800132 "urls": [
Benjamin Petersonc01219e2021-10-25 02:29:55 -0700133 "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.41.0.tar.gz",
134 "https://github.com/grpc/grpc/archive/v1.41.0.tar.gz",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800135 ],
136 "patch_args": ["-p1"],
137 "patches": [
Benjamin Petersonc01219e2021-10-25 02:29:55 -0700138 "//third_party/grpc:grpc_1.41.0.patch",
Niyas Sait0ba4caa2022-02-02 10:29:06 -0800139 "//third_party/grpc:grpc_1.41.0.win_arm64.patch",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800140 ],
141 "used_in": [
142 "additional_distfiles",
143 "test_WORKSPACE_files",
144 ],
145 },
146 "c-ares": {
147 "archive": "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz",
148 "sha256": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a",
149 "urls": [
150 "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz",
151 "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz",
152 ],
153 "used_in": [
154 "additional_distfiles",
155 "test_WORKSPACE_files",
156 ],
157 },
158 "re2": {
159 "archive": "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz",
160 "sha256": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e",
161 "urls": [
162 "https://mirror.bazel.build/github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz",
163 "https://github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz",
164 ],
165 "used_in": [
166 "additional_distfiles",
167 "test_WORKSPACE_files",
168 ],
169 },
Yun Pengb47aa712022-04-05 04:21:29 -0700170 "com_google_absl": {
171 "archive": "20211102.0.tar.gz",
172 "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800173 "urls": [
Yun Pengb47aa712022-04-05 04:21:29 -0700174 "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz",
175 "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800176 ],
177 "used_in": [
178 "additional_distfiles",
179 "test_WORKSPACE_files",
180 ],
Yun Pengb47aa712022-04-05 04:21:29 -0700181 "strip_prefix": "abseil-cpp-20211102.0",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800182 },
Alessandro Patti6da80862021-11-11 22:49:37 -0800183 "zstd-jni": {
184 "archive": "v1.5.0-4.zip",
185 "patch_args": ["-p1"],
186 "patches": [
187 "//third_party:zstd-jni/Native.java.patch",
188 ],
189 "sha256": "d320d59b89a163c5efccbe4915ae6a49883ce653cdc670643dfa21c6063108e4",
190 "urls": [
191 "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/v1.5.0-4.zip",
192 "https://github.com/luben/zstd-jni/archive/v1.5.0-4.zip",
193 ],
194 "used_in": [
195 "additional_distfiles",
196 ],
197 },
Tony Aiutoe973aef2021-01-11 00:32:51 -0800198 ###################################################
199 #
200 # Build time dependencies for testing and packaging
201 #
202 ###################################################
Tony Aiuto2b7ec5c2021-01-11 07:50:26 -0800203 "bazel_skylib": {
204 "archive": "bazel-skylib-1.0.3.tar.gz",
205 "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c",
206 "urls": [
207 "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
208 "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz",
209 ],
210 "used_in": [
211 "additional_distfiles",
212 "test_WORKSPACE_files",
213 ],
214 },
215 "io_bazel_skydoc": {
216 "archive": "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz",
217 "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1",
218 "urls": [
219 "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz",
220 "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz",
221 ],
222 "used_in": [
223 "additional_distfiles",
224 ],
225 "strip_prefix": "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd",
226 },
Tony Aiuto46bb5452022-05-17 09:35:28 -0700227 "rules_license": {
228 "archive": "rules_license-0.0.2.tar.gz",
229 "sha256": "a5edffc810c74e32a9a7ef5f9591bc05d1362b244b9e22323f38cbbbaba41281",
230 "urls": [
231 "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz",
232 "https://github.com/bazelbuild/rules_license/releases/download/0.0.2/rules_license-0.0.2.tar.gz",
233 ],
234 "used_in": [
235 "additional_distfiles",
236 ],
237 },
Tony Aiuto337e7172020-12-09 10:20:14 -0800238 "rules_pkg": {
aiuto3441ef22022-04-12 12:40:59 -0700239 "archive": "rules_pkg-0.7.0.tar.gz",
240 "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2",
Tony Aiuto337e7172020-12-09 10:20:14 -0800241 "urls": [
aiuto3441ef22022-04-12 12:40:59 -0700242 "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
243 "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz",
Tony Aiuto337e7172020-12-09 10:20:14 -0800244 ],
Tony Aiutoe973aef2021-01-11 00:32:51 -0800245 "used_in": [
246 "additional_distfiles",
247 ],
Tony Aiuto337e7172020-12-09 10:20:14 -0800248 },
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800249 # for Stardoc
250 "io_bazel_rules_sass": {
251 "archive": "1.25.0.zip",
252 "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647",
253 "strip_prefix": "rules_sass-1.25.0",
254 "urls": [
255 "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip",
256 "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip",
257 ],
Tony Aiutoe973aef2021-01-11 00:32:51 -0800258 "used_in": [
259 "additional_distfiles",
260 ],
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800261 },
262 # for Stardoc
263 "build_bazel_rules_nodejs": {
264 "archive": "rules_nodejs-2.2.2.tar.gz",
265 "sha256": "f2194102720e662dbf193546585d705e645314319554c6ce7e47d8b59f459e9c",
266 "urls": [
267 "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz",
268 "https://github.com/bazelbuild/rules_nodejs/releases/download/2.2.2/rules_nodejs-2.2.2.tar.gz",
269 ],
Tony Aiutoe973aef2021-01-11 00:32:51 -0800270 "used_in": [
271 "additional_distfiles",
272 ],
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800273 },
mennyf431b0c2021-01-13 09:18:29 -0800274 "desugar_jdk_libs": {
Menny Even Danan29cfb0b2021-03-31 15:21:30 -0700275 # Commit 5847d6a06302136d95a14b4cbd4b55a9c9f1436e of 2021-03-10
276 "archive": "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip",
277 "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb",
278 "strip_prefix": "desugar_jdk_libs-5847d6a06302136d95a14b4cbd4b55a9c9f1436e",
mennyf431b0c2021-01-13 09:18:29 -0800279 "urls": [
Menny Even Danan29cfb0b2021-03-31 15:21:30 -0700280 "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip",
281 "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip",
mennyf431b0c2021-01-13 09:18:29 -0800282 ],
283 "used_in": [
284 "additional_distfiles",
285 ],
286 },
aiutobbeb1da2021-01-15 06:50:56 -0800287 "remote_coverage_tools": {
Charles Mitaa70d84b2022-05-06 02:52:11 -0700288 "archive": "coverage_output_generator-v2.6.zip",
289 "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af",
aiutobbeb1da2021-01-15 06:50:56 -0800290 "urls": [
Charles Mitaa70d84b2022-05-06 02:52:11 -0700291 "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip",
aiutobbeb1da2021-01-15 06:50:56 -0800292 ],
293 "used_in": [
aiutobbeb1da2021-01-15 06:50:56 -0800294 "test_WORKSPACE_files",
295 ],
296 },
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800297 "remote_java_tools": {
John Cater2cff2ac2021-02-26 07:38:37 -0800298 "aliases": [
299 "remote_java_tools_test",
300 "remote_java_tools_for_testing",
301 ],
hvd22c91da2022-04-14 13:04:25 -0700302 "archive": "java_tools-v11.7.1.zip",
303 "sha256": "2eede49b2d80135e0ea22180f63df26db2ed4b795c1c041b25cc653d6019fbec",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800304 "urls": [
hvd22c91da2022-04-14 13:04:25 -0700305 "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools-v11.7.1.zip",
306 "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools-v11.7.1.zip",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800307 ],
308 "used_in": [
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800309 "test_WORKSPACE_files",
310 ],
311 },
312 "remote_java_tools_linux": {
John Cater2cff2ac2021-02-26 07:38:37 -0800313 "aliases": [
314 "remote_java_tools_test_linux",
315 "remote_java_tools_linux_for_testing",
316 ],
hvd22c91da2022-04-14 13:04:25 -0700317 "archive": "java_tools_linux-v11.7.1.zip",
318 "sha256": "f78077f0c043d0d13c82de0ee4a99753e66bb18ec46e3601fa2a10e7f26798a8",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800319 "urls": [
hvd22c91da2022-04-14 13:04:25 -0700320 "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_linux-v11.7.1.zip",
321 "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_linux-v11.7.1.zip",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800322 ],
323 "used_in": [
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800324 "test_WORKSPACE_files",
325 ],
326 },
327 "remote_java_tools_windows": {
John Cater2cff2ac2021-02-26 07:38:37 -0800328 "aliases": [
329 "remote_java_tools_test_windows",
330 "remote_java_tools_windows_for_testing",
331 ],
hvd22c91da2022-04-14 13:04:25 -0700332 "archive": "java_tools_windows-v11.7.1.zip",
333 "sha256": "a7086734866505292ee4c206328c73c6af127e69bd51b98c9c186ae4b9b6d2db",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800334 "urls": [
hvd22c91da2022-04-14 13:04:25 -0700335 "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_windows-v11.7.1.zip",
336 "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_windows-v11.7.1.zip",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800337 ],
338 "used_in": [
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800339 "test_WORKSPACE_files",
340 ],
341 },
342 "remote_java_tools_darwin": {
John Cater2cff2ac2021-02-26 07:38:37 -0800343 "aliases": [
344 "remote_java_tools_test_darwin",
345 "remote_java_tools_darwin_for_testing",
346 ],
hvd22c91da2022-04-14 13:04:25 -0700347 "archive": "java_tools_darwin-v11.7.1.zip",
348 "sha256": "4d6d388b54ad3b9aa35b30dd67af8d71c4c240df8cfb5000bbec67bdd5c53a73",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800349 "urls": [
hvd22c91da2022-04-14 13:04:25 -0700350 "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.7.1/java_tools_darwin-v11.7.1.zip",
351 "https://github.com/bazelbuild/java_tools/releases/download/java_v11.7.1/java_tools_darwin-v11.7.1.zip",
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800352 ],
353 "used_in": [
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800354 "test_WORKSPACE_files",
355 ],
356 },
Ivo Listb7411162022-01-14 09:53:01 -0800357 "remotejdk11_linux": {
358 "aliases": [
359 "remotejdk11_linux_for_testing",
360 "openjdk11_linux_archive",
cushon095f1e22022-02-08 10:54:53 -0800361 "openjdk_linux_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800362 ],
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700363 "archive": "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz",
364 "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247",
365 "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64",
Ivo Listb7411162022-01-14 09:53:01 -0800366 "urls": [
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700367 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz",
368 "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800369 ],
370 "used_in": ["test_WORKSPACE_files"],
371 },
372 "remotejdk11_linux_aarch64": {
373 "aliases": [
374 "remotejdk11_linux_aarch64_for_testing",
cushon095f1e22022-02-08 10:54:53 -0800375 "openjdk_linux_aarch64_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800376 ],
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700377 "archive": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz",
378 "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97",
379 "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800380 "urls": [
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700381 "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz",
382 "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800383 ],
Ivo Listb7411162022-01-14 09:53:01 -0800384 "used_in": ["test_WORKSPACE_files"],
385 },
386 "remotejdk11_linux_ppc64le": {
387 "aliases": [
388 "remotejdk11_linux_ppc64le_for_testing",
cushon095f1e22022-02-08 10:54:53 -0800389 "openjdk_linux_ppc64le_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800390 ],
Liam Miller-Cushon2ef7d6c2022-04-28 00:13:45 -0700391 "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f",
392 "strip_prefix": "jdk-11.0.15+10",
Ivo Listb7411162022-01-14 09:53:01 -0800393 "urls": [
Liam Miller-Cushon2ef7d6c2022-04-28 00:13:45 -0700394 "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz",
395 "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800396 ],
397 "used_in": [],
398 },
399 "remotejdk11_linux_s390x": {
400 "aliases": [
401 "remotejdk11_linux_s390x_for_testing",
cushon095f1e22022-02-08 10:54:53 -0800402 "openjdk_linux_s390x_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800403 ],
Liam Miller-Cushon2ef7d6c2022-04-28 00:13:45 -0700404 "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b",
405 "strip_prefix": "jdk-11.0.15+10",
Ivo Listb7411162022-01-14 09:53:01 -0800406 "urls": [
Liam Miller-Cushon2ef7d6c2022-04-28 00:13:45 -0700407 "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz",
408 "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800409 ],
410 "used_in": [],
411 },
412 "remotejdk11_macos": {
413 "aliases": [
414 "remotejdk11_macos_for_testing",
cushon095f1e22022-02-08 10:54:53 -0800415 "openjdk_macos_x86_64_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800416 "openjdk11_darwin_archive",
417 ],
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700418 "archive": "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz",
419 "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55",
420 "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800421 "urls": [
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700422 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz",
423 "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800424 ],
Ivo Listb7411162022-01-14 09:53:01 -0800425 "used_in": ["test_WORKSPACE_files"],
426 },
427 "remotejdk11_macos_aarch64": {
428 "aliases": [
cushon095f1e22022-02-08 10:54:53 -0800429 "openjdk_macos_aarch64_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800430 "remotejdk11_macos_aarch64_for_testing",
431 "openjdk11_darwin_aarch64_archive",
432 ],
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700433 "archive": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz",
434 "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2",
435 "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64",
Ivo Listb7411162022-01-14 09:53:01 -0800436 "urls": [
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700437 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz",
438 "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800439 ],
440 "used_in": ["test_WORKSPACE_files"],
441 },
442 "remotejdk11_win": {
443 "aliases": [
444 "remotejdk11_win_for_testing",
445 "openjdk11_windows_archive",
cushon095f1e22022-02-08 10:54:53 -0800446 "openjdk_win_vanilla",
Ivo Listb7411162022-01-14 09:53:01 -0800447 ],
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700448 "archive": "zulu11.56.19-ca-jdk11.0.15-win_x64.zip",
449 "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050",
450 "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800451 "urls": [
Liam Miller-Cushon8f3d99a2022-04-21 08:10:51 -0700452 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip",
453 "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip",
Liam Miller-Cushon7de15712022-01-25 11:34:44 -0800454 ],
Ivo Listb7411162022-01-14 09:53:01 -0800455 "used_in": ["test_WORKSPACE_files"],
456 },
cushon095f1e22022-02-08 10:54:53 -0800457 "remotejdk17_win_arm64": {
458 "aliases": [
Niyas Saitb6024252022-02-10 06:59:31 -0800459 "remotejdk17_win_arm64_for_testing",
460 "openjdk17_windows_arm64_archive",
cushon095f1e22022-02-08 10:54:53 -0800461 "openjdk_win_arm64_vanilla",
462 ],
463 "archive": "zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip",
464 "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877",
465 "strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_aarch64",
466 "urls": [
467 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip",
468 "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip",
469 ],
470 "used_in": ["test_WORKSPACE_files"],
471 },
Niyas Saitb6024252022-02-10 06:59:31 -0800472 "remotejdk11_win_arm64": {
473 "aliases": [
474 "remotejdk11_win_arm64_for_testing",
475 "openjdk11_windows_arm64_archive",
476 ],
477 "archive": "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip",
478 "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2",
479 "strip_prefix": "jdk-11.0.13+8",
480 "urls": [
481 "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip",
482 ],
483 "used_in": ["test_WORKSPACE_files"],
484 },
Ivo Listb7411162022-01-14 09:53:01 -0800485 "remotejdk17_linux": {
486 "aliases": [
487 "remotejdk17_linux_for_testing",
488 "openjdk17_linux_archive",
489 ],
David Ostrovskyfbb09582022-02-08 08:00:11 -0800490 "sha256": "73d5c4bae20325ca41b606f7eae64669db3aac638c5b3ead4a975055846ad6de",
491 "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_x64",
Ivo Listb7411162022-01-14 09:53:01 -0800492 "urls": [
David Ostrovskyfbb09582022-02-08 08:00:11 -0800493 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz",
494 "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800495 ],
496 "used_in": [],
497 },
498 "remotejdk17_macos": {
499 "aliases": [
500 "remotejdk17_macos_for_testing",
501 "openjdk17_darwin_archive",
502 ],
David Ostrovskyfbb09582022-02-08 08:00:11 -0800503 "sha256": "89d04b2d99b05dcb25114178e65f6a1c5ca742e125cab0a63d87e7e42f3fcb80",
504 "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_x64",
Ivo Listb7411162022-01-14 09:53:01 -0800505 "urls": [
David Ostrovskyfbb09582022-02-08 08:00:11 -0800506 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz",
507 "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800508 ],
509 "used_in": [],
510 },
511 "remotejdk17_macos_aarch64": {
512 "aliases": [
513 "remotejdk17_macos_aarch64_for_testing",
514 "openjdk17_darwin_aarch64_archive",
515 ],
David Ostrovskyfbb09582022-02-08 08:00:11 -0800516 "sha256": "54247dde248ffbcd3c048675504b1c503b81daf2dc0d64a79e353c48d383c977",
517 "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_aarch64",
Ivo Listb7411162022-01-14 09:53:01 -0800518 "urls": [
David Ostrovskyfbb09582022-02-08 08:00:11 -0800519 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz",
520 "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz",
Ivo Listb7411162022-01-14 09:53:01 -0800521 ],
522 "used_in": [],
523 },
524 "remotejdk17_win": {
525 "aliases": [
526 "remotejdk17_win_for_testing",
527 "openjdk17_windows_archive",
528 ],
David Ostrovskyfbb09582022-02-08 08:00:11 -0800529 "sha256": "e965aa0ea7a0661a3446cf8f10ee00684b851f883b803315289f26b4aa907fdb",
530 "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-win_x64",
Ivo Listb7411162022-01-14 09:53:01 -0800531 "urls": [
David Ostrovskyfbb09582022-02-08 08:00:11 -0800532 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip",
533 "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip",
Ivo Listb7411162022-01-14 09:53:01 -0800534 ],
535 "used_in": [],
536 },
Liam Miller-Cushona7f1c712022-03-29 11:57:55 -0700537 "remotejdk18_linux": {
538 "aliases": [
539 "remotejdk18_linux_for_testing",
540 "openjdk18_linux_archive",
541 ],
542 "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb",
543 "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64",
544 "urls": [
545 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz",
546 "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz",
547 ],
548 "used_in": [],
549 },
550 "remotejdk18_macos": {
551 "aliases": [
552 "remotejdk18_macos_for_testing",
553 "openjdk18_darwin_archive",
554 ],
555 "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541",
556 "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64",
557 "urls": [
558 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz",
559 "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz",
560 ],
561 "used_in": [],
562 },
563 "remotejdk18_macos_aarch64": {
564 "aliases": [
565 "remotejdk18_macos_aarch64_for_testing",
566 "openjdk18_darwin_aarch64_archive",
567 ],
568 "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432",
569 "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64",
570 "urls": [
571 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz",
572 "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz",
573 ],
574 "used_in": [],
575 },
576 "remotejdk18_win": {
577 "aliases": [
578 "remotejdk18_win_for_testing",
579 "openjdk18_windows_archive",
580 ],
581 "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16",
582 "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64",
583 "urls": [
584 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip",
585 "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip",
586 ],
587 "used_in": [],
588 },
589 "remotejdk18_win_arm64": {
590 "aliases": [
591 "remotejdk18_win_arm64_for_testing",
592 "openjdk18_windows_arm64_archive",
593 ],
594 "archive": "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip",
595 "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54",
596 "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64",
597 "urls": [
598 "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip",
599 "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip",
600 ],
601 "used_in": ["test_WORKSPACE_files"],
602 },
Tony Aiuto337e7172020-12-09 10:20:14 -0800603}
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800604
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800605# Add aliased names
606DEPS_BY_NAME = {}
607
608def _create_index():
609 for repo_name in DIST_DEPS:
610 repo = DIST_DEPS[repo_name]
611 DEPS_BY_NAME[repo_name] = repo
612 aliases = repo.get("aliases")
613 if aliases:
614 for alias in aliases:
615 DEPS_BY_NAME[alias] = repo
616
617_create_index()
618
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800619def _gen_workspace_stanza_impl(ctx):
620 if ctx.attr.template and (ctx.attr.preamble or ctx.attr.postamble):
621 fail("Can not use template with either preamble or postamble")
Ivo Listb7411162022-01-14 09:53:01 -0800622 if ctx.attr.use_maybe and ctx.attr.repo_clause:
623 fail("Can not use use_maybe with repo_clause")
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800624
Tony Aiutob15a8b42021-01-08 07:42:57 -0800625 if ctx.attr.use_maybe:
626 repo_clause = """
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800627maybe(
628 http_archive,
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800629 name = "{repo}",
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800630 sha256 = "{sha256}",
631 strip_prefix = {strip_prefix},
632 urls = {urls},
633)
634"""
Ivo Listb7411162022-01-14 09:53:01 -0800635 elif ctx.attr.repo_clause:
636 repo_clause = ctx.attr.repo_clause
Tony Aiutob15a8b42021-01-08 07:42:57 -0800637 else:
638 repo_clause = """
639http_archive(
640 name = "{repo}",
641 sha256 = "{sha256}",
642 strip_prefix = {strip_prefix},
643 urls = {urls},
644)
645"""
646
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800647 repo_stanzas = {}
648 for repo in ctx.attr.repos:
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800649 info = DEPS_BY_NAME[repo]
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800650 strip_prefix = info.get("strip_prefix")
651 if strip_prefix:
652 strip_prefix = "\"%s\"" % strip_prefix
653 else:
654 strip_prefix = "None"
655
656 repo_stanzas["{%s}" % repo] = repo_clause.format(
657 repo = repo,
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800658 sha256 = str(info["sha256"]),
659 strip_prefix = strip_prefix,
660 urls = info["urls"],
661 )
662
663 if ctx.attr.template:
664 ctx.actions.expand_template(
665 output = ctx.outputs.out,
666 template = ctx.file.template,
667 substitutions = repo_stanzas,
668 )
669 else:
670 content = "\n".join([p.strip() for p in ctx.attr.preamble.strip().split("\n")])
671 content += "\n"
672 content += "".join(repo_stanzas.values())
673 content += "\n"
674 content += "\n".join([p.strip() for p in ctx.attr.postamble.strip().split("\n")])
675 content += "\n"
676 ctx.actions.write(ctx.outputs.out, content)
677
678 return [DefaultInfo(files = depset([ctx.outputs.out]))]
679
680gen_workspace_stanza = rule(
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800681 attrs = {
twerth69a0d1a2021-08-12 07:03:10 -0700682 "repos": attr.string_list(doc = "Set of repos to include."),
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800683 "out": attr.output(mandatory = True),
684 "preamble": attr.string(doc = "Preamble."),
twerth69a0d1a2021-08-12 07:03:10 -0700685 "postamble": attr.string(doc = "Set of rules to follow repos."),
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800686 "template": attr.label(
twerth69a0d1a2021-08-12 07:03:10 -0700687 doc = "Template WORKSPACE file. May not be used with preamble or postamble." +
688 "Repo stanzas can be included using the syntax '{repo name}'.",
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800689 allow_single_file = True,
690 mandatory = False,
691 ),
twerth69a0d1a2021-08-12 07:03:10 -0700692 "use_maybe": attr.bool(doc = "Use maybe() invocation instead of http_archive."),
Ivo Listb7411162022-01-14 09:53:01 -0800693 "repo_clause": attr.string(doc = "Use a custom clause for each repository."),
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800694 },
John Cater2cff2ac2021-02-26 07:38:37 -0800695 doc = "Use specifications from DIST_DEPS to generate WORKSPACE http_archive stanzas or to" +
696 "drop them into a template.",
697 implementation = _gen_workspace_stanza_impl,
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800698)