blob: be90748f1ce8b7c4fe7722ed41d36503dfdc34bb [file] [log] [blame]
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +00001workspace(name = "io_bazel")
philwo75edd782019-01-29 05:02:44 -08002
cparsonsc08e4df2020-03-27 13:44:14 -07003load("//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
cushon095f1e22022-02-08 10:54:53 -08004load("//:distdir.bzl", "dist_http_archive", "dist_http_file", "distdir_tar")
Tony Aiuto3b2d3102021-01-07 03:40:14 -08005load("//:distdir_deps.bzl", "DIST_DEPS")
philwo17506af2020-01-28 04:20:39 -08006
7# These can be used as values for the patch_cmds and patch_cmds_win attributes
8# of http_archive, in order to export the WORKSPACE file from the BUILD or
9# BUILD.bazel file. This is useful for cases like //src:test_repos, where we
10# have to be able to trigger a fetch of a repo by depending on it, but we don't
11# actually want to build anything (so we can't depend on a target inside that
12# repo).
13EXPORT_WORKSPACE_IN_BUILD_FILE = [
14 "test -f BUILD && chmod u+w BUILD || true",
15 "echo >> BUILD",
16 "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD",
17]
18
19EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE = [
20 "test -f BUILD.bazel && chmod u+w BUILD.bazel || true",
21 "echo >> BUILD.bazel",
22 "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel",
23]
24
25EXPORT_WORKSPACE_IN_BUILD_FILE_WIN = [
26 "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force",
27]
28
29EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN = [
30 "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force",
31]
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +000032
David Chenb78bbd52016-03-16 13:17:57 +000033# Protobuf expects an //external:python_headers label which would contain the
34# Python headers if fast Python protos is enabled. Since we are not using fast
35# Python protos, bind python_headers to a dummy target.
36bind(
37 name = "python_headers",
38 actual = "//:dummy",
39)
40
Alpha Lama1a79cb2016-05-15 19:13:52 +000041# Protobuf code generation for GRPC requires three external labels:
42# //external:grpc-java_plugin
43# //external:grpc-jar
44# //external:guava
45bind(
46 name = "grpc-java-plugin",
Vasilios Pantazopoulos5179d032022-04-08 07:55:27 -070047 actual = "//third_party/grpc-java:grpc-java-plugin",
Alpha Lama1a79cb2016-05-15 19:13:52 +000048)
49
50bind(
51 name = "grpc-jar",
Vasilios Pantazopoulos5179d032022-04-08 07:55:27 -070052 actual = "//third_party/grpc-java:grpc-jar",
Alpha Lama1a79cb2016-05-15 19:13:52 +000053)
54
55bind(
56 name = "guava",
57 actual = "//third_party:guava",
58)
59
Damien Martin-Guillerez0baff0f2017-08-22 17:40:37 +020060# For src/test/shell/bazel:test_srcs
61load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository")
cushonb6646232018-09-07 01:44:10 -070062
Damien Martin-Guillerez0baff0f2017-08-22 17:40:37 +020063list_source_repository(name = "local_bazel_source_list")
64
Adam Michael9b7330f2017-03-23 18:40:51 +000065# To run the Android integration tests in //src/test/shell/bazel/android:all or
66# build the Android sample app in //examples/android/java/bazel:hello_world
67#
68# 1. Install an Android SDK and NDK from https://developer.android.com
69# 2. Set the $ANDROID_HOME and $ANDROID_NDK_HOME environment variables
70# 3. Uncomment the two lines below
71#
72# android_sdk_repository(name = "androidsdk")
73# android_ndk_repository(name = "androidndk")
Cal Peyser2152bc12016-04-22 17:08:59 +000074
Adam Michael8a136d82016-11-16 23:04:46 +000075# In order to run //src/test/shell/bazel:maven_skylark_test, follow the
76# instructions above for the Android integration tests and uncomment the
77# following lines:
78# load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin")
79# maven_dependency_plugin()
80
gregceca48e9a2020-04-14 08:54:38 -070081# This allows rules written in Starlark to locate apple build tools.
philwo915fa8f2017-05-09 12:17:12 -040082bind(
83 name = "xcrunwrapper",
84 actual = "@bazel_tools//tools/objc:xcrunwrapper",
85)
Carmi Grushkobfaff292016-08-17 18:37:55 +000086
Tony Aiutoe973aef2021-01-11 00:32:51 -080087dist_http_archive(
Carmi Grushko0fd73d62017-02-17 06:49:40 +000088 name = "com_google_protobuf",
Yannic Bonenberger5e571d22020-02-13 07:29:58 -080089 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
90 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Carmi Grushko0fd73d62017-02-17 06:49:40 +000091)
92
brandjoncb4ba072019-08-01 12:41:43 -070093# This is a mock version of bazelbuild/rules_python that contains only
94# @rules_python//python:defs.bzl. It is used by protobuf.
95# TODO(#9029): We could potentially replace this with the real @rules_python.
96new_local_repository(
97 name = "rules_python",
brandjoncb4ba072019-08-01 12:41:43 -070098 build_file = "//third_party/rules_python:BUILD",
laurentlbaf265672019-10-22 10:06:21 -070099 path = "./third_party/rules_python",
brandjoncb4ba072019-08-01 12:41:43 -0700100 workspace_file = "//third_party/rules_python:rules_python.WORKSPACE",
101)
102
John Cater2f838922018-11-12 08:19:03 -0800103local_repository(
Jakob Buchgraber166f28c2017-05-30 16:41:18 +0200104 name = "googleapis",
cushonb6646232018-09-07 01:44:10 -0700105 path = "./third_party/googleapis/",
Jakob Buchgraber166f28c2017-05-30 16:41:18 +0200106)
107
John Cater2f838922018-11-12 08:19:03 -0800108local_repository(
Ola Rozenfeld930119a2018-08-10 11:04:44 -0700109 name = "remoteapis",
cushonb6646232018-09-07 01:44:10 -0700110 path = "./third_party/remoteapis/",
Ola Rozenfeld930119a2018-08-10 11:04:44 -0700111)
112
mennyf431b0c2021-01-13 09:18:29 -0800113dist_http_archive(
kmbbfd89d62018-04-11 14:26:56 -0700114 name = "desugar_jdk_libs",
kmbbfd89d62018-04-11 14:26:56 -0700115)
116
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700117distdir_tar(
118 name = "additional_distfiles",
Yannic Bonenbergerff449692019-07-25 05:55:49 -0700119 # Keep in sync with the archives fetched as part of building bazel.
cparsons871cd6f2018-08-16 09:10:38 -0700120 archives = [
ahumesky80feea02021-06-07 12:00:53 -0700121 "android_tools_pkg-0.23.0.tar.gz",
cparsons871cd6f2018-08-16 09:10:38 -0700122 ],
cushonb6646232018-09-07 01:44:10 -0700123 dirname = "derived/distdir",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800124 dist_deps = {dep: attrs for dep, attrs in DIST_DEPS.items() if "additional_distfiles" in attrs["used_in"]},
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700125 sha256 = {
ahumesky80feea02021-06-07 12:00:53 -0700126 "android_tools_pkg-0.23.0.tar.gz": "ed5290594244c2eeab41f0104519bcef51e27c699ff4b379fcbd25215270513e",
cushonb6646232018-09-07 01:44:10 -0700127 },
128 urls = {
ahumesky80feea02021-06-07 12:00:53 -0700129 "android_tools_pkg-0.23.0.tar.gz": [
130 "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.23.0.tar.gz",
Jingwen Chen186929e2019-04-02 10:38:30 -0700131 ],
cushonb6646232018-09-07 01:44:10 -0700132 },
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700133)
134
Philipp Wollermann95048272017-03-17 15:11:58 +0000135# OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK.
136http_file(
137 name = "openjdk_linux",
philwo75edd782019-01-29 05:02:44 -0800138 downloaded_file_path = "zulu-linux.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800139 sha256 = "65bfe4e0ffa74a680ee4410db46b17e30cd9397b664a92a886599fe1f3530969",
140 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-linux_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689070.tar.gz"],
Philipp Wollermann95048272017-03-17 15:11:58 +0000141)
142
cushon095f1e22022-02-08 10:54:53 -0800143dist_http_file(
Tobias Werth218e8f62018-12-13 04:44:35 -0800144 name = "openjdk_linux_vanilla",
philwo75edd782019-01-29 05:02:44 -0800145 downloaded_file_path = "zulu-linux-vanilla.tar.gz",
Tobias Werth218e8f62018-12-13 04:44:35 -0800146)
147
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800148http_file(
149 name = "openjdk_linux_minimal",
philwo75edd782019-01-29 05:02:44 -0800150 downloaded_file_path = "zulu-linux-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800151 sha256 = "91f7d52f695c681d4e21499b4319d548aadef249a6b3053e306308992e1e29ae",
152 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689068.tar.gz"],
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800153)
154
Philipp Wollermann95048272017-03-17 15:11:58 +0000155http_file(
philwo9f7fe692019-06-27 06:53:12 -0700156 name = "openjdk_linux_aarch64",
157 downloaded_file_path = "zulu-linux-aarch64.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800158 sha256 = "6b245793087300db3ee82ab0d165614f193a73a60f2f011e347756c1e6ca5bac",
159 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz"],
philwo9f7fe692019-06-27 06:53:12 -0700160)
161
cushon095f1e22022-02-08 10:54:53 -0800162dist_http_file(
philwo9f7fe692019-06-27 06:53:12 -0700163 name = "openjdk_linux_aarch64_vanilla",
164 downloaded_file_path = "zulu-linux-aarch64-vanilla.tar.gz",
philwo9f7fe692019-06-27 06:53:12 -0700165)
166
167http_file(
168 name = "openjdk_linux_aarch64_minimal",
169 downloaded_file_path = "zulu-linux-aarch64-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800170 sha256 = "06f6520a877704c77614bcfc4f846cc7cbcbf5eaad149bf7f19f4f16e285c9de",
171 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz"],
philwo9f7fe692019-06-27 06:53:12 -0700172)
173
cushon095f1e22022-02-08 10:54:53 -0800174dist_http_file(
Jason Furmanek04e073e2020-05-28 05:48:09 -0700175 name = "openjdk_linux_ppc64le_vanilla",
Ivo List4c6c9992020-09-23 09:25:05 -0700176 downloaded_file_path = "adoptopenjdk-ppc64le-vanilla.tar.gz",
Jason Furmanek04e073e2020-05-28 05:48:09 -0700177)
178
cushon095f1e22022-02-08 10:54:53 -0800179dist_http_file(
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700180 name = "openjdk_linux_s390x_vanilla",
Ivo List4c6c9992020-09-23 09:25:05 -0700181 downloaded_file_path = "adoptopenjdk-s390x-vanilla.tar.gz",
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700182)
183
184http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800185 name = "openjdk_macos_x86_64",
philwo75edd782019-01-29 05:02:44 -0800186 downloaded_file_path = "zulu-macos.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800187 sha256 = "8e283cfd23c7555be8e17295ed76eb8f00324c88ab904b8de37bbe08f90e569b",
188 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689066.tar.gz"],
Philipp Wollermann95048272017-03-17 15:11:58 +0000189)
190
cushon095f1e22022-02-08 10:54:53 -0800191dist_http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800192 name = "openjdk_macos_x86_64_vanilla",
philwo75edd782019-01-29 05:02:44 -0800193 downloaded_file_path = "zulu-macos-vanilla.tar.gz",
Tobias Werth218e8f62018-12-13 04:44:35 -0800194)
195
196http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800197 name = "openjdk_macos_x86_64_minimal",
philwo75edd782019-01-29 05:02:44 -0800198 downloaded_file_path = "zulu-macos-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800199 sha256 = "1bacb1c07035d4066d79f0b65b4ea0ebd1954f3662bdfe3618da382ac8fd23a6",
200 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689063.tar.gz"],
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800201)
202
203http_file(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800204 name = "openjdk_macos_aarch64",
205 downloaded_file_path = "zulu-macos-aarch64.tar.gz",
206 sha256 = "a900ef793cb34b03ac5d93ea2f67291b6842e99d500934e19393a8d8f9bfa6ff",
207 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-allmodules-1611665569.tar.gz"],
208)
209
cushon095f1e22022-02-08 10:54:53 -0800210dist_http_file(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800211 name = "openjdk_macos_aarch64_vanilla",
212 downloaded_file_path = "zulu-macos-aarch64-vanilla.tar.gz",
Yun Peng8c7e11a2021-01-27 03:23:12 -0800213)
214
215http_file(
216 name = "openjdk_macos_aarch64_minimal",
217 downloaded_file_path = "zulu-macos-aarch64-minimal.tar.gz",
218 sha256 = "f4f606926e6deeaa8b8397e299313d9df87642fe464b0ccf1ed0432aeb00640b",
219 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-minimal-1611665562.tar.gz"],
220)
221
222http_file(
Philipp Wollermann95048272017-03-17 15:11:58 +0000223 name = "openjdk_win",
philwo75edd782019-01-29 05:02:44 -0800224 downloaded_file_path = "zulu-win.zip",
philwo3ac4af42020-02-14 07:58:55 -0800225 sha256 = "8e1604b3a27dcf639bc6d1a73103f1211848139e4cceb081d0a74a99e1e6f995",
226 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip"],
Philipp Wollermann95048272017-03-17 15:11:58 +0000227)
Googler5f36bf82017-07-12 20:43:08 +0200228
cushon095f1e22022-02-08 10:54:53 -0800229dist_http_file(
Tobias Werth218e8f62018-12-13 04:44:35 -0800230 name = "openjdk_win_vanilla",
philwo75edd782019-01-29 05:02:44 -0800231 downloaded_file_path = "zulu-win-vanilla.zip",
Tobias Werth218e8f62018-12-13 04:44:35 -0800232)
233
cushon095f1e22022-02-08 10:54:53 -0800234dist_http_file(
Niyas Sait0ba4caa2022-02-02 10:29:06 -0800235 name = "openjdk_win_arm64_vanilla",
236 downloaded_file_path = "zulu-win-arm64.zip",
Niyas Sait0ba4caa2022-02-02 10:29:06 -0800237)
238
239http_file(
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800240 name = "openjdk_win_minimal",
philwo75edd782019-01-29 05:02:44 -0800241 downloaded_file_path = "zulu-win-minimal.zip",
philwo3ac4af42020-02-14 07:58:55 -0800242 sha256 = "b90a713c9c2d9ea23cad44d2c2dfcc9af22faba9bde55dedc1c3bb9f556ac1ae",
243 urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip"],
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800244)
245
Tony Aiutoe973aef2021-01-11 00:32:51 -0800246dist_http_archive(
Chi Wang26b94ff2021-09-28 23:42:26 -0700247 name = "bazelci_rules",
philwo17506af2020-01-28 04:20:39 -0800248 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
249 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Googler5f36bf82017-07-12 20:43:08 +0200250)
ccalvarin1cbe62a2017-08-14 21:09:07 +0200251
Chi Wang26b94ff2021-09-28 23:42:26 -0700252load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
Jakob Buchgraber60df9052019-07-11 06:08:00 -0700253
Chi Wang26b94ff2021-09-28 23:42:26 -0700254rbe_preconfig(
Chi Wang26b94ff2021-09-28 23:42:26 -0700255 name = "rbe_ubuntu1804_java11",
256 toolchain = "ubuntu1804-bazel-java11",
257)
Googlerde0612a2019-03-07 06:06:55 -0800258
ccalvarin8e9f4a82018-03-23 08:19:37 -0700259http_archive(
260 name = "com_google_googletest",
Yannic Bonenberger5b4ab2d2019-10-15 05:38:04 -0700261 sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
262 strip_prefix = "googletest-release-1.10.0",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700263 urls = [
Yannic Bonenberger5b4ab2d2019-10-15 05:38:04 -0700264 "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
265 "https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700266 ],
ccalvarin8e9f4a82018-03-23 08:19:37 -0700267)
268
Tony Aiuto2b7ec5c2021-01-11 07:50:26 -0800269dist_http_archive(
cparsons871cd6f2018-08-16 09:10:38 -0700270 name = "bazel_skylib",
Yannic Bonenberger5e571d22020-02-13 07:29:58 -0800271 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
272 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
cparsonsa5be6612018-08-27 13:21:21 -0700273)
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700274
Alessandro Patti6da80862021-11-11 22:49:37 -0800275dist_http_archive(
276 name = "zstd-jni",
Liam Miller-Cushonc81e1752022-01-13 17:52:18 -0800277 build_file = "//third_party:zstd-jni/zstd-jni.BUILD",
Alessandro Patti6da80862021-11-11 22:49:37 -0800278 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
279 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Liam Miller-Cushonc81e1752022-01-13 17:52:18 -0800280 strip_prefix = "zstd-jni-1.5.0-4",
Alessandro Patti6da80862021-11-11 22:49:37 -0800281)
282
ajurkowski433dc602021-03-12 10:22:39 -0800283http_archive(
284 name = "org_snakeyaml",
ajurkowski433dc602021-03-12 10:22:39 -0800285 build_file_content = """
286java_library(
287 name = "snakeyaml",
288 testonly = True,
289 srcs = glob(["src/main/**/*.java"]),
290 visibility = ["@com_google_testparameterinjector//:__pkg__"],
291)
292""",
cushonc1d1df02021-04-07 11:07:00 -0700293 sha256 = "fd0e0cc6c5974fc8f08be3a15fb4a59954c7dd958b5b68186a803de6420b6e40",
294 strip_prefix = "asomov-snakeyaml-b28f0b4d87c6",
ajurkowski239a8e72021-03-23 10:22:49 -0700295 urls = ["https://mirror.bazel.build/bitbucket.org/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz"],
ajurkowski433dc602021-03-12 10:22:39 -0800296)
297
ajurkowski433dc602021-03-12 10:22:39 -0800298http_archive(
299 name = "com_google_testparameterinjector",
ajurkowski433dc602021-03-12 10:22:39 -0800300 build_file_content = """
301java_library(
302 name = "testparameterinjector",
303 testonly = True,
304 srcs = glob(["src/main/**/*.java"]),
305 deps = [
306 "@org_snakeyaml//:snakeyaml",
307 "@//third_party:auto_value",
308 "@//third_party:guava",
309 "@//third_party:junit4",
310 "@//third_party/protobuf:protobuf_java",
311 ],
ajurkowskia3353d22021-03-15 12:38:48 -0700312 visibility = ["//visibility:public"],
ajurkowski433dc602021-03-12 10:22:39 -0800313)
314""",
cushonc1d1df02021-04-07 11:07:00 -0700315 sha256 = "562a0e87eb413a7dcad29ebc8d578f6f97503473943585b051c1398a58189b06",
316 strip_prefix = "TestParameterInjector-1.0",
ajurkowski433dc602021-03-12 10:22:39 -0800317 urls = [
318 "https://mirror.bazel.build/github.com/google/TestParameterInjector/archive/v1.0.tar.gz",
319 "https://github.com/google/TestParameterInjector/archive/v1.0.tar.gz",
320 ],
321)
322
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800323# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800324dist_http_archive(
oquenchil96068872019-07-08 07:01:39 -0700325 name = "rules_cc",
philwo17506af2020-01-28 04:20:39 -0800326 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
327 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
oquenchil96068872019-07-08 07:01:39 -0700328)
329
Tony Aiutob15a8b42021-01-08 07:42:57 -0800330dist_http_archive(
iirinab815b792019-07-17 05:47:01 -0700331 name = "rules_java",
philwo17506af2020-01-28 04:20:39 -0800332 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
333 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
iirinab815b792019-07-17 05:47:01 -0700334)
335
Tony Aiuto320bc942021-01-14 07:43:21 -0800336dist_http_archive(
Yannic Bonenbergerff449692019-07-25 05:55:49 -0700337 name = "rules_proto",
philwo17506af2020-01-28 04:20:39 -0800338 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
339 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Yannic Bonenbergerff449692019-07-25 05:55:49 -0700340)
341
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700342# For testing, have an distdir_tar with all the archives implicit in every
343# WORKSPACE, to that they don't have to be refetched for every test
344# calling `bazel sync`.
345distdir_tar(
Jingwen Chen186929e2019-04-02 10:38:30 -0700346 name = "test_WORKSPACE_files",
philwo75edd782019-01-29 05:02:44 -0800347 archives = [
ahumesky80feea02021-06-07 12:00:53 -0700348 "android_tools_pkg-0.23.0.tar.gz",
philwo75edd782019-01-29 05:02:44 -0800349 ],
Jingwen Chen186929e2019-04-02 10:38:30 -0700350 dirname = "test_WORKSPACE/distdir",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800351 dist_deps = {dep: attrs for dep, attrs in DIST_DEPS.items() if "test_WORKSPACE_files" in attrs["used_in"]},
philwo75edd782019-01-29 05:02:44 -0800352 sha256 = {
ahumesky80feea02021-06-07 12:00:53 -0700353 "android_tools_pkg-0.23.0.tar.gz": "ed5290594244c2eeab41f0104519bcef51e27c699ff4b379fcbd25215270513e",
philwo75edd782019-01-29 05:02:44 -0800354 },
355 urls = {
ahumesky80feea02021-06-07 12:00:53 -0700356 "android_tools_pkg-0.23.0.tar.gz": [
357 "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.23.0.tar.gz",
Jingwen Chen186929e2019-04-02 10:38:30 -0700358 ],
philwo75edd782019-01-29 05:02:44 -0800359 },
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700360)
Jingwen Chen186bdcd2018-12-14 10:27:23 -0800361
Tony Aiuto2b7ec5c2021-01-11 07:50:26 -0800362dist_http_archive(
363 name = "io_bazel_skydoc",
364)
365
wyv8062ca42020-05-25 00:21:00 -0700366# Stardoc recommends declaring its dependencies via "*_dependencies" functions.
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700367# This requires that the repositories these functions come from need to be
368# fetched unconditionally for everything (including just building bazel!), so
369# provide them as http_archives that can be shiped in the distdir, to keep the
370# distribution archive self-contained.
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800371dist_http_archive(
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700372 name = "io_bazel_rules_sass",
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700373)
iirinaf5c334262019-03-19 02:44:59 -0700374
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800375dist_http_archive(
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700376 name = "build_bazel_rules_nodejs",
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700377)
378
iirina3ab4dbc2019-04-29 05:12:39 -0700379http_archive(
iirinaa6e92602019-05-13 06:20:12 -0700380 name = "java_tools_langtools_javac11",
iirinab815b792019-07-17 05:47:01 -0700381 sha256 = "cf0814fa002ef3d794582bb086516d8c9ed0958f83f19799cdb08949019fe4c7",
iirinaa6e92602019-05-13 06:20:12 -0700382 urls = [
iirinab815b792019-07-17 05:47:01 -0700383 "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk11_v2.zip",
iirinaa6e92602019-05-13 06:20:12 -0700384 ],
385)
386
Tony Aiutoe973aef2021-01-11 00:32:51 -0800387dist_http_archive(
hlopkoaaf64572019-06-14 02:33:56 -0700388 name = "platforms",
hlopkoaaf64572019-06-14 02:33:56 -0700389)
390
philwo17506af2020-01-28 04:20:39 -0800391# This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE
392http_archive(
393 name = "android_tools_for_testing",
394 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
395 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
ahumesky80feea02021-06-07 12:00:53 -0700396 sha256 = "ed5290594244c2eeab41f0104519bcef51e27c699ff4b379fcbd25215270513e", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
397 url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.23.0.tar.gz",
philwo17506af2020-01-28 04:20:39 -0800398)
399
aiutobbeb1da2021-01-15 06:50:56 -0800400dist_http_archive(
401 name = "remote_coverage_tools",
philwo17506af2020-01-28 04:20:39 -0800402 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
403 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800404)
405
Ivo Listb7411162022-01-14 09:53:01 -0800406dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800407 name = "remotejdk11_linux_for_testing",
408 build_file = "@local_jdk//:BUILD.bazel",
409 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
410 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800411)
412
Ivo Listb7411162022-01-14 09:53:01 -0800413dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800414 name = "remotejdk11_linux_aarch64_for_testing",
415 build_file = "@local_jdk//:BUILD.bazel",
416 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
417 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800418)
419
Ivo Listb7411162022-01-14 09:53:01 -0800420dist_http_archive(
Jason Furmanek04e073e2020-05-28 05:48:09 -0700421 name = "remotejdk11_linux_ppc64le_for_testing",
422 build_file = "@local_jdk//:BUILD.bazel",
423 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
424 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Jason Furmanek04e073e2020-05-28 05:48:09 -0700425)
426
Ivo Listb7411162022-01-14 09:53:01 -0800427dist_http_archive(
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700428 name = "remotejdk11_linux_s390x_for_testing",
429 build_file = "@local_jdk//:BUILD.bazel",
430 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
431 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700432)
433
Ivo Listb7411162022-01-14 09:53:01 -0800434dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800435 name = "remotejdk11_macos_for_testing",
436 build_file = "@local_jdk//:BUILD.bazel",
437 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
438 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800439)
440
Ivo Listb7411162022-01-14 09:53:01 -0800441dist_http_archive(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800442 name = "remotejdk11_macos_aarch64_for_testing",
443 build_file = "@local_jdk//:BUILD.bazel",
444 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
445 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Yun Peng8c7e11a2021-01-27 03:23:12 -0800446)
447
Ivo Listb7411162022-01-14 09:53:01 -0800448dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800449 name = "remotejdk11_win_for_testing",
450 build_file = "@local_jdk//:BUILD.bazel",
451 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
452 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
cushon095f1e22022-02-08 10:54:53 -0800453)
philwo17506af2020-01-28 04:20:39 -0800454
Ivo Listb7411162022-01-14 09:53:01 -0800455dist_http_archive(
Niyas Saitb6024252022-02-10 06:59:31 -0800456 name = "remotejdk11_win_arm64_for_testing",
457 build_file = "@local_jdk//:BUILD.bazel",
458 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
459 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Niyas Saitb6024252022-02-10 06:59:31 -0800460)
461
Liam Miller-Cushona7f1c712022-03-29 11:57:55 -0700462[
463 dist_http_archive(
464 name = "remotejdk%s_%s_for_testing" % (version, os),
465 build_file = "@local_jdk//:BUILD.bazel",
466 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
467 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
468 )
469 for version in ("17", "18")
470 for os in ("linux", "macos", "macos_aarch64", "win", "win_arm64")
471]
Niyas Saitb6024252022-02-10 06:59:31 -0800472
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800473# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
474dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800475 name = "remote_java_tools_for_testing",
476 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
477 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Ivo List62022712020-11-27 07:24:36 -0800478)
479
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800480# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
481dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800482 name = "remote_java_tools_linux_for_testing",
483 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
484 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800485)
486
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800487# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
488dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800489 name = "remote_java_tools_windows_for_testing",
490 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
491 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800492)
493
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800494# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
495dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800496 name = "remote_java_tools_darwin_for_testing",
497 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
498 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800499)
500
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800501# Used in src/test/shell/bazel/testdata/jdk_http_archives.
502dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800503 name = "remote_java_tools_test",
philwo17506af2020-01-28 04:20:39 -0800504 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
505 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800506)
507
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800508# Used in src/test/shell/bazel/testdata/jdk_http_archives.
509dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800510 name = "remote_java_tools_test_linux",
philwo17506af2020-01-28 04:20:39 -0800511 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
512 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800513)
514
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800515# Used in src/test/shell/bazel/testdata/jdk_http_archives.
516dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800517 name = "remote_java_tools_test_windows",
philwo17506af2020-01-28 04:20:39 -0800518 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
519 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Ivo List62022712020-11-27 07:24:36 -0800520)
521
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800522# Used in src/test/shell/bazel/testdata/jdk_http_archives.
523dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800524 name = "remote_java_tools_test_darwin",
525 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
526 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800527)
528
Ivo Listb7411162022-01-14 09:53:01 -0800529dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800530 name = "openjdk11_linux_archive",
531 build_file_content = """
532java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
533exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
534""",
philwo17506af2020-01-28 04:20:39 -0800535)
536
537# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800538dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800539 name = "openjdk11_darwin_archive",
540 build_file_content = """
541java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
542exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
543""",
philwo17506af2020-01-28 04:20:39 -0800544)
545
546# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800547dist_http_archive(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800548 name = "openjdk11_darwin_aarch64_archive",
549 build_file_content = """
550java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
551exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
552""",
Yun Peng8c7e11a2021-01-27 03:23:12 -0800553)
554
555# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800556dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800557 name = "openjdk11_windows_archive",
558 build_file_content = """
559java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
560exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
561""",
philwo17506af2020-01-28 04:20:39 -0800562)
563
David Ostrovskyfe291f72020-07-23 04:08:29 -0700564# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800565dist_http_archive(
Niyas Saitb6024252022-02-10 06:59:31 -0800566 name = "openjdk11_windows_arm64_archive",
567 build_file_content = """
568java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
569exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
570""",
571)
572
573# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
Liam Miller-Cushone4461d32022-03-30 13:06:59 -0700574[
575 dist_http_archive(
576 name = "openjdk%s_%s_archive" % (version, os),
577 build_file_content = """
Liam Miller-Cushoneb7bf8c2021-09-30 07:53:06 -0700578java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
579exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
580""",
Liam Miller-Cushone4461d32022-03-30 13:06:59 -0700581 )
582 for version in ("17", "18")
583 for os in ("linux", "darwin", "darwin_aarch64", "windows", "windows_arm64")
584]
Liam Miller-Cushona7f1c712022-03-29 11:57:55 -0700585
wyv8062ca42020-05-25 00:21:00 -0700586load("@io_bazel_skydoc//:setup.bzl", "stardoc_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700587
wyv8062ca42020-05-25 00:21:00 -0700588stardoc_repositories()
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700589
590load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies")
iirinaf5c334262019-03-19 02:44:59 -0700591
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700592rules_sass_dependencies()
593
Laurent Le Brunda3d9f02020-02-18 05:53:57 -0800594load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700595
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700596node_repositories()
597
598load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700599
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700600sass_repositories()
Jakob Buchgraber593c5302019-04-16 10:12:20 -0700601
Keith Smiley7fcbeec2019-04-23 17:06:02 -0700602register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700603
604# Tools for building deb, rpm and tar files.
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800605dist_http_archive(
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700606 name = "rules_pkg",
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700607)
iirinad26a3c12019-07-19 04:39:33 -0700608
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700609load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
iirinad26a3c12019-07-19 04:39:33 -0700610
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700611rules_pkg_dependencies()
Laszlo Csomor3e023182019-08-01 05:05:09 -0700612
613# Toolchains for Resource Compilation (.rc files on Windows).
614load("//src/main/res:winsdk_configure.bzl", "winsdk_configure")
615
616winsdk_configure(name = "local_config_winsdk")
617
618load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains")
619
620register_local_rc_exe_toolchains()
621
622register_toolchains("//src/main/res:empty_rc_toolchain")
Yun Peng01609b82020-05-04 11:12:33 -0700623
Tony Aiutoe973aef2021-01-11 00:32:51 -0800624dist_http_archive(
Yun Penge2f11d72020-06-03 09:16:35 -0700625 name = "com_github_grpc_grpc",
Yun Penge2f11d72020-06-03 09:16:35 -0700626)
627
Yun Pengb47aa712022-04-05 04:21:29 -0700628# Override the abseil-cpp version defined in grpc_deps(), which doesn't work on latest macOS
629# Fixes https://github.com/bazelbuild/bazel/issues/15168
630dist_http_archive(
631 name = "com_google_absl",
632)
633
Yun Penge2f11d72020-06-03 09:16:35 -0700634# Projects using gRPC as an external dependency must call both grpc_deps() and
635# grpc_extra_deps().
636load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700637
Yun Penge2f11d72020-06-03 09:16:35 -0700638grpc_deps()
639
640load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700641
Yun Penge2f11d72020-06-03 09:16:35 -0700642grpc_extra_deps()
643
Yun Peng01609b82020-05-04 11:12:33 -0700644load("//tools/distributions/debian:deps.bzl", "debian_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700645
Yun Peng01609b82020-05-04 11:12:33 -0700646debian_deps()
Andrzej Guszak0f9a5922020-06-25 05:47:21 -0700647
648load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
Ivo List4c6c9992020-09-23 09:25:05 -0700649
Andrzej Guszak0f9a5922020-06-25 05:47:21 -0700650bazel_skylib_workspace()