blob: f3b049fc538f084a1c7d88315a0ef6e68cf76951 [file] [log] [blame]
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +00001workspace(name = "io_bazel")
Klaus Aehliga55714c2018-10-23 02:16:02 -07002load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +00003
David Chenb78bbd52016-03-16 13:17:57 +00004# Protobuf expects an //external:python_headers label which would contain the
5# Python headers if fast Python protos is enabled. Since we are not using fast
6# Python protos, bind python_headers to a dummy target.
7bind(
8 name = "python_headers",
9 actual = "//:dummy",
10)
11
Alpha Lama1a79cb2016-05-15 19:13:52 +000012# Protobuf code generation for GRPC requires three external labels:
13# //external:grpc-java_plugin
14# //external:grpc-jar
15# //external:guava
16bind(
17 name = "grpc-java-plugin",
18 actual = "//third_party/grpc:grpc-java-plugin",
19)
20
21bind(
22 name = "grpc-jar",
23 actual = "//third_party/grpc:grpc-jar",
24)
25
26bind(
27 name = "guava",
28 actual = "//third_party:guava",
29)
30
Jakob Buchgraber6e12e652017-05-02 11:53:15 +020031# Used by //third_party/protobuf:protobuf_python
32bind(
33 name = "six",
34 actual = "//third_party/py/six",
35)
36
Googler5b90b162017-08-31 16:29:34 +020037http_archive(
38 name = "bazel_j2objc",
Laszlo Csomor0f3f7882018-03-13 06:56:12 -070039 # Computed using "shasum -a 256 j2objc-2.0.3.zip"
40 sha256 = "a36bac432d0dbd8c98249e484b2b69dd5720afa4abb58711a3c3def1c0bfa21d",
Googler5b90b162017-08-31 16:29:34 +020041 strip_prefix = "j2objc-2.0.3",
cushonb6646232018-09-07 01:44:10 -070042 url = "https://github.com/google/j2objc/releases/download/2.0.3/j2objc-2.0.3.zip",
Googler5b90b162017-08-31 16:29:34 +020043)
44
Damien Martin-Guillerez0baff0f2017-08-22 17:40:37 +020045# For src/test/shell/bazel:test_srcs
46load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository")
cushonb6646232018-09-07 01:44:10 -070047
Damien Martin-Guillerez0baff0f2017-08-22 17:40:37 +020048list_source_repository(name = "local_bazel_source_list")
49
Adam Michael9b7330f2017-03-23 18:40:51 +000050# To run the Android integration tests in //src/test/shell/bazel/android:all or
51# build the Android sample app in //examples/android/java/bazel:hello_world
52#
53# 1. Install an Android SDK and NDK from https://developer.android.com
54# 2. Set the $ANDROID_HOME and $ANDROID_NDK_HOME environment variables
55# 3. Uncomment the two lines below
56#
57# android_sdk_repository(name = "androidsdk")
58# android_ndk_repository(name = "androidndk")
Cal Peyser2152bc12016-04-22 17:08:59 +000059
Adam Michael8a136d82016-11-16 23:04:46 +000060# In order to run //src/test/shell/bazel:maven_skylark_test, follow the
61# instructions above for the Android integration tests and uncomment the
62# following lines:
63# load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin")
64# maven_dependency_plugin()
65
Cal Peyser2152bc12016-04-22 17:08:59 +000066# This allows rules written in skylark to locate apple build tools.
philwo915fa8f2017-05-09 12:17:12 -040067bind(
68 name = "xcrunwrapper",
69 actual = "@bazel_tools//tools/objc:xcrunwrapper",
70)
Carmi Grushkobfaff292016-08-17 18:37:55 +000071
Jakob Buchgraber8ff0d0d2017-04-14 21:16:19 +020072new_local_repository(
Carmi Grushko0fd73d62017-02-17 06:49:40 +000073 name = "com_google_protobuf",
hlopkoead10022018-09-05 05:37:23 -070074 build_file = "./third_party/protobuf/3.6.1/BUILD",
75 path = "./third_party/protobuf/3.6.1/",
Carmi Grushko0fd73d62017-02-17 06:49:40 +000076)
77
John Cater2f838922018-11-12 08:19:03 -080078local_repository(
Jakob Buchgraber166f28c2017-05-30 16:41:18 +020079 name = "googleapis",
cushonb6646232018-09-07 01:44:10 -070080 path = "./third_party/googleapis/",
Jakob Buchgraber166f28c2017-05-30 16:41:18 +020081)
82
John Cater2f838922018-11-12 08:19:03 -080083local_repository(
Ola Rozenfeld930119a2018-08-10 11:04:44 -070084 name = "remoteapis",
cushonb6646232018-09-07 01:44:10 -070085 path = "./third_party/remoteapis/",
Ola Rozenfeld930119a2018-08-10 11:04:44 -070086)
87
kmbbfd89d62018-04-11 14:26:56 -070088http_archive(
89 name = "desugar_jdk_libs",
Klaus Aehligd4a8a472018-12-06 07:34:02 -080090 # Commit e0b0291b2c51fbe5a7cfa14473a1ae850f94f021 of 2018-12-4
kmbbfd89d62018-04-11 14:26:56 -070091 # Computed using "shasum -a 256 <zip>"
kmba9641252018-12-05 13:17:58 -080092 sha256 = "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d",
93 strip_prefix = "desugar_jdk_libs-e0b0291b2c51fbe5a7cfa14473a1ae850f94f021",
philwof443d092019-01-08 11:11:09 -080094 urls = [
95 "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
96 "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
97 ]
kmbbfd89d62018-04-11 14:26:56 -070098)
99
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700100load("//:distdir.bzl", "distdir_tar")
cushonb6646232018-09-07 01:44:10 -0700101
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700102distdir_tar(
103 name = "additional_distfiles",
Klaus Aehligdbe05df2018-12-06 06:00:49 -0800104 # Keep in sync with the archives fetched as part of building bazel
cparsons871cd6f2018-08-16 09:10:38 -0700105 archives = [
Klaus Aehligd4a8a472018-12-06 07:34:02 -0800106 "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip",
Klaus Aehligdbe05df2018-12-06 06:00:49 -0800107 "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz",
cparsons871cd6f2018-08-16 09:10:38 -0700108 ],
cushonb6646232018-09-07 01:44:10 -0700109 dirname = "derived/distdir",
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700110 sha256 = {
Klaus Aehligd4a8a472018-12-06 07:34:02 -0800111 "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d",
Klaus Aehligdbe05df2018-12-06 06:00:49 -0800112 "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52",
cushonb6646232018-09-07 01:44:10 -0700113 },
114 urls = {
Klaus Aehligd4a8a472018-12-06 07:34:02 -0800115 "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": ["https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip"],
Klaus Aehligdbe05df2018-12-06 06:00:49 -0800116 "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": ["https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz"],
cushonb6646232018-09-07 01:44:10 -0700117 },
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700118)
119
Philipp Wollermann95048272017-03-17 15:11:58 +0000120# OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK.
121http_file(
122 name = "openjdk_linux",
buchgr9d81cf72018-12-03 08:38:40 -0800123 sha256 = "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87",
philwo915fa8f2017-05-09 12:17:12 -0400124 urls = [
buchgr9d81cf72018-12-03 08:38:40 -0800125 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz",
philwo915fa8f2017-05-09 12:17:12 -0400126 ],
Klaus Aehliga55714c2018-10-23 02:16:02 -0700127 downloaded_file_path="zulu-linux.tar.gz",
Philipp Wollermann95048272017-03-17 15:11:58 +0000128)
129
Tobias Werth218e8f62018-12-13 04:44:35 -0800130http_file(
131 name = "openjdk_linux_vanilla",
132 sha256 = "45f2dfbee93b91b1468cf81d843fc6d9a47fef1f831c0b7ceff4f1eb6e6851c8",
133 urls = [
134 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz",
135 ],
136 downloaded_file_path="zulu-linux-vanilla.tar.gz",
137)
138
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800139http_file(
140 name = "openjdk_linux_minimal",
Tobias Werth702bfe72019-01-17 05:07:42 -0800141 sha256 = "944b9d7fdd4ccedb78c32ee8030b0745b67aa1e84e6ad55f259af8e29f609112",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800142 urls = [
Tobias Werth702bfe72019-01-17 05:07:42 -0800143 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-minimal-e72607133f91bceca8b67d6d5037aa6fbebef7b9-1547657682.tar.gz",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800144 ],
145 downloaded_file_path="zulu-linux-minimal.tar.gz",
146)
147
philwo54c25722018-10-02 05:41:00 -0700148# Used by CI to test Bazel on platforms without an installed system JDK.
149# TODO(twerth): Migrate to @remotejdk when https://github.com/bazelbuild/bazel/pull/6216 is merged.
Klaus Aehliga55714c2018-10-23 02:16:02 -0700150http_archive(
philwo54c25722018-10-02 05:41:00 -0700151 name = "openjdk_linux_archive",
152 sha256 = "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87",
153 urls = [
154 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz",
155 ],
156 strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules",
157 build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])",
158)
159
Philipp Wollermann95048272017-03-17 15:11:58 +0000160http_file(
161 name = "openjdk_macos",
buchgr9d81cf72018-12-03 08:38:40 -0800162 sha256 = "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de",
philwo915fa8f2017-05-09 12:17:12 -0400163 urls = [
buchgr9d81cf72018-12-03 08:38:40 -0800164 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz",
philwo915fa8f2017-05-09 12:17:12 -0400165 ],
Klaus Aehliga55714c2018-10-23 02:16:02 -0700166 downloaded_file_path="zulu-macos.tar.gz",
Philipp Wollermann95048272017-03-17 15:11:58 +0000167)
168
169http_file(
Tobias Werth218e8f62018-12-13 04:44:35 -0800170 name = "openjdk_macos_vanilla",
171 sha256 = "5a5b3225b86d3fdb51e9add5335f43cc19c6b2d9b8b5558e72b52d7b2ce9162e",
172 urls = [
173 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64.tar.gz",
174 ],
175 downloaded_file_path="zulu-macos-vanilla.tar.gz",
176)
177
178http_file(
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800179 name = "openjdk_macos_minimal",
Tobias Werth702bfe72019-01-17 05:07:42 -0800180 sha256 = "68e810c49412753a2d39121979f34c645112bbeff18d6c962a8f5f74203eade9",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800181 urls = [
Tobias Werth702bfe72019-01-17 05:07:42 -0800182 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64-minimal-e72607133f91bceca8b67d6d5037aa6fbebef7b9-1547657778.tar.gz",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800183 ],
184 downloaded_file_path="zulu-macos-minimal.tar.gz",
185)
186
187http_file(
Philipp Wollermann95048272017-03-17 15:11:58 +0000188 name = "openjdk_win",
buchgr9d81cf72018-12-03 08:38:40 -0800189 sha256 = "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed",
philwo915fa8f2017-05-09 12:17:12 -0400190 urls = [
buchgr9d81cf72018-12-03 08:38:40 -0800191 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip",
philwo915fa8f2017-05-09 12:17:12 -0400192 ],
Klaus Aehliga55714c2018-10-23 02:16:02 -0700193 downloaded_file_path="zulu-win.zip",
Philipp Wollermann95048272017-03-17 15:11:58 +0000194)
Googler5f36bf82017-07-12 20:43:08 +0200195
Tobias Werth218e8f62018-12-13 04:44:35 -0800196http_file(
197 name = "openjdk_win_vanilla",
198 sha256 = "75f76c53c6a1f12b1a571b86bd9708ab75adf582d689dddc94fdd77dcc0f3f5c",
199 urls = [
200 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64.zip",
201 ],
202 downloaded_file_path="zulu-win-vanilla.zip",
203)
204
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800205http_file(
206 name = "openjdk_win_minimal",
Tobias Werth702bfe72019-01-17 05:07:42 -0800207 sha256 = "a6e94b5ee98972cb39fb380f3bc8ba411a94f48619a57d673e1bc0f88f791b15",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800208 urls = [
Tobias Werth702bfe72019-01-17 05:07:42 -0800209 "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64-minimal-e72607133f91bceca8b67d6d5037aa6fbebef7b9-1547657694.zip",
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800210 ],
211 downloaded_file_path="zulu-win-minimal.zip",
212)
213
Arielle Albonfa7e49f2018-07-31 00:57:54 -0700214# The source-code for this OpenJDK can be found at:
lberki7eb9ea12018-09-07 04:01:48 -0700215# https://openjdk.linaro.org/releases/jdk9-src-1708.tar.xz
Arielle Albonfa7e49f2018-07-31 00:57:54 -0700216http_file(
217 name = "openjdk_linux_aarch64",
lberki7eb9ea12018-09-07 04:01:48 -0700218 sha256 = "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022",
Arielle Albonfa7e49f2018-07-31 00:57:54 -0700219 urls = [
220 # When you update this, also update the link to the source-code above.
philwo6ebc71f2018-10-23 11:57:09 -0700221 "https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz",
lberki7eb9ea12018-09-07 04:01:48 -0700222 "http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz",
Arielle Albonfa7e49f2018-07-31 00:57:54 -0700223 ],
224)
225
Googler5f36bf82017-07-12 20:43:08 +0200226http_archive(
philwob495eaf2018-08-28 04:00:46 -0700227 name = "bazel_toolchains",
buchgr9e5ab482018-12-07 05:23:37 -0800228 sha256 = "07a81ee03f5feae354c9f98c884e8e886914856fb2b6a63cba4619ef10aaaf0b",
229 strip_prefix = "bazel-toolchains-31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1",
philwob495eaf2018-08-28 04:00:46 -0700230 urls = [
buchgr9e5ab482018-12-07 05:23:37 -0800231 "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1.tar.gz",
232 "https://github.com/bazelbuild/bazel-toolchains/archive/31b5dc8c4e9c7fd3f5f4d04c6714f2ce87b126c1.tar.gz",
philwob495eaf2018-08-28 04:00:46 -0700233 ],
Googler5f36bf82017-07-12 20:43:08 +0200234)
ccalvarin1cbe62a2017-08-14 21:09:07 +0200235
ccalvarin73839762018-03-23 15:35:00 -0700236# We're pinning to a commit because this project does not have a recent release.
237# Nothing special about this commit, though.
ccalvarin8e9f4a82018-03-23 08:19:37 -0700238http_archive(
239 name = "com_google_googletest",
Loo Rong Jiee94aa222018-10-15 01:27:08 -0700240 sha256 = "0fb00ff413f6b9b80ccee44a374ca7a18af7315aea72a43c62f2acd1ca74e9b5",
241 strip_prefix = "googletest-f13bbe2992d188e834339abe6f715b2b2f840a77",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700242 urls = [
Loo Rong Jiee94aa222018-10-15 01:27:08 -0700243 "https://github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700244 ],
ccalvarin8e9f4a82018-03-23 08:19:37 -0700245)
246
cparsons871cd6f2018-08-16 09:10:38 -0700247http_archive(
248 name = "bazel_skylib",
Klaus Aehligdbe05df2018-12-06 06:00:49 -0800249 # Commit f83cb8dd6f5658bc574ccd873e25197055265d1c of 2018-11-26
cparsons48b672c2018-11-29 15:01:32 -0800250 sha256 = "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52",
251 strip_prefix = "bazel-skylib-f83cb8dd6f5658bc574ccd873e25197055265d1c",
cparsons871cd6f2018-08-16 09:10:38 -0700252 urls = [
cparsons48b672c2018-11-29 15:01:32 -0800253 "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz",
cparsons871cd6f2018-08-16 09:10:38 -0700254 ],
cparsons871cd6f2018-08-16 09:10:38 -0700255)
cparsonsa5be6612018-08-27 13:21:21 -0700256
257http_archive(
258 name = "skydoc",
cparsons48b672c2018-11-29 15:01:32 -0800259 sha256 = "4db9fc4f5f69c220816c6d0b16e9956e7da2be8c85e83793661c0f4723e88d81",
260 strip_prefix = "skydoc-7a08959b9d00c9ba592c1a1db145dffcf6c0b6bf",
cparsonsa5be6612018-08-27 13:21:21 -0700261 urls = [
cparsons48b672c2018-11-29 15:01:32 -0800262 "https://github.com/bazelbuild/skydoc/archive/7a08959b9d00c9ba592c1a1db145dffcf6c0b6bf.tar.gz",
cparsonsa5be6612018-08-27 13:21:21 -0700263 ],
cparsonsa5be6612018-08-27 13:21:21 -0700264)
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700265
266# For testing, have an distdir_tar with all the archives implicit in every
267# WORKSPACE, to that they don't have to be refetched for every test
268# calling `bazel sync`.
269distdir_tar(
270 name = "jdk_WORKSPACE_files",
271 archives = [
272 "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz",
273 "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz",
274 "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip",
275 "jdk9-server-release-1708.tar.xz",
276 "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz",
277 "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz",
278 "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip",
279 "jdk10-server-release-1804.tar.xz",
cushonf34ad0e2019-01-23 13:35:06 -0800280 "java_tools_pkg-0.1.tar.gz",
281 "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz",
282 "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz",
283 "zulu11.2.3-jdk11.0.1-win_x64.zip",
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700284 ],
285 dirname = "jdk_WORKSPACE/distdir",
286 sha256 = {
287 "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz" : "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87",
288 "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz" : "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de",
289 "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip" : "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed",
290 "jdk9-server-release-1708.tar.xz" : "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022",
291 "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz" : "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5",
292 "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz" : "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3",
293 "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip" : "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5",
294 "jdk10-server-release-1804.tar.xz" : "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be",
iirina22d375b2019-01-21 04:44:29 -0800295 "java_tools_pkg-0.1.tar.gz": "df33ddb3054f0ee70389368bd1dc2efe72eeb1f489dbcdf948f3f3b3058646b7",
cushonf34ad0e2019-01-23 13:35:06 -0800296 "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75",
297 "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb",
298 "zulu11.2.3-jdk11.0.1-win_x64.zip": "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3",
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700299 },
300 urls = {
301 "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz" : ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz"],
302 "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz" : ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz"],
303 "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip" : ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip"],
304 "jdk9-server-release-1708.tar.xz" : ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz"],
305 "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz" : ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz"],
306 "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz" : ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz"],
307 "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip" : ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip" ],
308 "jdk10-server-release-1804.tar.xz" : ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz"],
cushonf34ad0e2019-01-23 13:35:06 -0800309 "java_tools_pkg-0.1.tar.gz": ["https://mirror.bazel.build/bazel_java_tools/java_tools_pkg-0.1.tar.gz"],
310 "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz"],
311 "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz"],
312 "zulu11.2.3-jdk11.0.1-win_x64.zip": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-win_x64.zip"],
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700313 },
314)
Jingwen Chen186bdcd2018-12-14 10:27:23 -0800315
316load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS")
317
318[http_file(
319 name = "jekyll_tree_%s" % DOC_VERSION["version"].replace(".", "_"),
320 sha256 = DOC_VERSION["sha256"],
321 urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]],
322) for DOC_VERSION in DOC_VERSIONS]