blob: 945bf2760e4bcc4e7fc8fc5a2865c3dba1602025 [file] [log] [blame]
Kristina Chodorow93fbc3e2016-04-27 17:03:28 +00001workspace(name = "io_bazel")
philwo75edd782019-01-29 05:02:44 -08002
tedxae247142022-04-21 16:53:51 -07003load("//tools/build_defs/repo:http.bzl", "http_archive", "http_file", "http_jar")
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 = [
tedxdac25e72022-04-19 15:39:03 -0700121 "android_tools_pkg-0.24.0.tar.gz",
tedxae247142022-04-21 16:53:51 -0700122 # for android_gmaven_r8
123 "r8-3.3.28.jar",
cparsons871cd6f2018-08-16 09:10:38 -0700124 ],
cushonb6646232018-09-07 01:44:10 -0700125 dirname = "derived/distdir",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800126 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 -0700127 sha256 = {
tedxdac25e72022-04-19 15:39:03 -0700128 "android_tools_pkg-0.24.0.tar.gz": "5aba10f2381bd4699313879336e038f9fa09e8180cd5a98d3c0ae40a13082549",
tedxae247142022-04-21 16:53:51 -0700129 "r8-3.3.28.jar": "8626ca32fb47aba7fddd2c897615e2e8ffcdb4d4b213572a2aefb3f838f01972",
cushonb6646232018-09-07 01:44:10 -0700130 },
131 urls = {
tedxdac25e72022-04-19 15:39:03 -0700132 "android_tools_pkg-0.24.0.tar.gz": [
133 "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.24.0.tar.gz",
Jingwen Chen186929e2019-04-02 10:38:30 -0700134 ],
tedxae247142022-04-21 16:53:51 -0700135 "r8-3.3.28.jar": [
136 "https://maven.google.com/com/android/tools/r8/3.3.28/r8-3.3.28.jar",
137 ],
cushonb6646232018-09-07 01:44:10 -0700138 },
Klaus Aehlig3c9cd822018-05-24 03:35:42 -0700139)
140
Philipp Wollermann95048272017-03-17 15:11:58 +0000141# OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK.
142http_file(
143 name = "openjdk_linux",
philwo75edd782019-01-29 05:02:44 -0800144 downloaded_file_path = "zulu-linux.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800145 sha256 = "65bfe4e0ffa74a680ee4410db46b17e30cd9397b664a92a886599fe1f3530969",
146 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 +0000147)
148
cushon095f1e22022-02-08 10:54:53 -0800149dist_http_file(
Tobias Werth218e8f62018-12-13 04:44:35 -0800150 name = "openjdk_linux_vanilla",
philwo75edd782019-01-29 05:02:44 -0800151 downloaded_file_path = "zulu-linux-vanilla.tar.gz",
Tobias Werth218e8f62018-12-13 04:44:35 -0800152)
153
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800154http_file(
155 name = "openjdk_linux_minimal",
philwo75edd782019-01-29 05:02:44 -0800156 downloaded_file_path = "zulu-linux-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800157 sha256 = "91f7d52f695c681d4e21499b4319d548aadef249a6b3053e306308992e1e29ae",
158 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 -0800159)
160
Philipp Wollermann95048272017-03-17 15:11:58 +0000161http_file(
philwo9f7fe692019-06-27 06:53:12 -0700162 name = "openjdk_linux_aarch64",
163 downloaded_file_path = "zulu-linux-aarch64.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800164 sha256 = "6b245793087300db3ee82ab0d165614f193a73a60f2f011e347756c1e6ca5bac",
165 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 -0700166)
167
cushon095f1e22022-02-08 10:54:53 -0800168dist_http_file(
philwo9f7fe692019-06-27 06:53:12 -0700169 name = "openjdk_linux_aarch64_vanilla",
170 downloaded_file_path = "zulu-linux-aarch64-vanilla.tar.gz",
philwo9f7fe692019-06-27 06:53:12 -0700171)
172
173http_file(
174 name = "openjdk_linux_aarch64_minimal",
175 downloaded_file_path = "zulu-linux-aarch64-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800176 sha256 = "06f6520a877704c77614bcfc4f846cc7cbcbf5eaad149bf7f19f4f16e285c9de",
177 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 -0700178)
179
cushon095f1e22022-02-08 10:54:53 -0800180dist_http_file(
Jason Furmanek04e073e2020-05-28 05:48:09 -0700181 name = "openjdk_linux_ppc64le_vanilla",
Ivo List4c6c9992020-09-23 09:25:05 -0700182 downloaded_file_path = "adoptopenjdk-ppc64le-vanilla.tar.gz",
Jason Furmanek04e073e2020-05-28 05:48:09 -0700183)
184
cushon095f1e22022-02-08 10:54:53 -0800185dist_http_file(
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700186 name = "openjdk_linux_s390x_vanilla",
Ivo List4c6c9992020-09-23 09:25:05 -0700187 downloaded_file_path = "adoptopenjdk-s390x-vanilla.tar.gz",
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700188)
189
190http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800191 name = "openjdk_macos_x86_64",
philwo75edd782019-01-29 05:02:44 -0800192 downloaded_file_path = "zulu-macos.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800193 sha256 = "8e283cfd23c7555be8e17295ed76eb8f00324c88ab904b8de37bbe08f90e569b",
194 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 +0000195)
196
cushon095f1e22022-02-08 10:54:53 -0800197dist_http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800198 name = "openjdk_macos_x86_64_vanilla",
philwo75edd782019-01-29 05:02:44 -0800199 downloaded_file_path = "zulu-macos-vanilla.tar.gz",
Tobias Werth218e8f62018-12-13 04:44:35 -0800200)
201
202http_file(
Thi Doanb39a51c2020-12-07 11:27:56 -0800203 name = "openjdk_macos_x86_64_minimal",
philwo75edd782019-01-29 05:02:44 -0800204 downloaded_file_path = "zulu-macos-minimal.tar.gz",
philwo3ac4af42020-02-14 07:58:55 -0800205 sha256 = "1bacb1c07035d4066d79f0b65b4ea0ebd1954f3662bdfe3618da382ac8fd23a6",
206 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 -0800207)
208
209http_file(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800210 name = "openjdk_macos_aarch64",
211 downloaded_file_path = "zulu-macos-aarch64.tar.gz",
212 sha256 = "a900ef793cb34b03ac5d93ea2f67291b6842e99d500934e19393a8d8f9bfa6ff",
213 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"],
214)
215
cushon095f1e22022-02-08 10:54:53 -0800216dist_http_file(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800217 name = "openjdk_macos_aarch64_vanilla",
218 downloaded_file_path = "zulu-macos-aarch64-vanilla.tar.gz",
Yun Peng8c7e11a2021-01-27 03:23:12 -0800219)
220
221http_file(
222 name = "openjdk_macos_aarch64_minimal",
223 downloaded_file_path = "zulu-macos-aarch64-minimal.tar.gz",
224 sha256 = "f4f606926e6deeaa8b8397e299313d9df87642fe464b0ccf1ed0432aeb00640b",
225 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"],
226)
227
228http_file(
Philipp Wollermann95048272017-03-17 15:11:58 +0000229 name = "openjdk_win",
philwo75edd782019-01-29 05:02:44 -0800230 downloaded_file_path = "zulu-win.zip",
philwo3ac4af42020-02-14 07:58:55 -0800231 sha256 = "8e1604b3a27dcf639bc6d1a73103f1211848139e4cceb081d0a74a99e1e6f995",
232 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 +0000233)
Googler5f36bf82017-07-12 20:43:08 +0200234
cushon095f1e22022-02-08 10:54:53 -0800235dist_http_file(
Tobias Werth218e8f62018-12-13 04:44:35 -0800236 name = "openjdk_win_vanilla",
philwo75edd782019-01-29 05:02:44 -0800237 downloaded_file_path = "zulu-win-vanilla.zip",
Tobias Werth218e8f62018-12-13 04:44:35 -0800238)
239
cushon095f1e22022-02-08 10:54:53 -0800240dist_http_file(
Niyas Sait0ba4caa2022-02-02 10:29:06 -0800241 name = "openjdk_win_arm64_vanilla",
242 downloaded_file_path = "zulu-win-arm64.zip",
Niyas Sait0ba4caa2022-02-02 10:29:06 -0800243)
244
245http_file(
Tobias Werthfbf8fb92019-01-09 11:22:11 -0800246 name = "openjdk_win_minimal",
philwo75edd782019-01-29 05:02:44 -0800247 downloaded_file_path = "zulu-win-minimal.zip",
philwo3ac4af42020-02-14 07:58:55 -0800248 sha256 = "b90a713c9c2d9ea23cad44d2c2dfcc9af22faba9bde55dedc1c3bb9f556ac1ae",
249 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 -0800250)
251
Tony Aiutoe973aef2021-01-11 00:32:51 -0800252dist_http_archive(
Chi Wang26b94ff2021-09-28 23:42:26 -0700253 name = "bazelci_rules",
philwo17506af2020-01-28 04:20:39 -0800254 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
255 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Googler5f36bf82017-07-12 20:43:08 +0200256)
ccalvarin1cbe62a2017-08-14 21:09:07 +0200257
Chi Wang26b94ff2021-09-28 23:42:26 -0700258load("@bazelci_rules//:rbe_repo.bzl", "rbe_preconfig")
Jakob Buchgraber60df9052019-07-11 06:08:00 -0700259
Chi Wang26b94ff2021-09-28 23:42:26 -0700260rbe_preconfig(
Chi Wang26b94ff2021-09-28 23:42:26 -0700261 name = "rbe_ubuntu1804_java11",
262 toolchain = "ubuntu1804-bazel-java11",
263)
Googlerde0612a2019-03-07 06:06:55 -0800264
ccalvarin8e9f4a82018-03-23 08:19:37 -0700265http_archive(
266 name = "com_google_googletest",
Yannic Bonenberger5b4ab2d2019-10-15 05:38:04 -0700267 sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb",
268 strip_prefix = "googletest-release-1.10.0",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700269 urls = [
Yannic Bonenberger5b4ab2d2019-10-15 05:38:04 -0700270 "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz",
271 "https://github.com/google/googletest/archive/release-1.10.0.tar.gz",
ccalvarin8e9f4a82018-03-23 08:19:37 -0700272 ],
ccalvarin8e9f4a82018-03-23 08:19:37 -0700273)
274
Tony Aiuto2b7ec5c2021-01-11 07:50:26 -0800275dist_http_archive(
cparsons871cd6f2018-08-16 09:10:38 -0700276 name = "bazel_skylib",
Yannic Bonenberger5e571d22020-02-13 07:29:58 -0800277 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
278 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
cparsonsa5be6612018-08-27 13:21:21 -0700279)
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700280
Alessandro Patti6da80862021-11-11 22:49:37 -0800281dist_http_archive(
282 name = "zstd-jni",
Liam Miller-Cushonc81e1752022-01-13 17:52:18 -0800283 build_file = "//third_party:zstd-jni/zstd-jni.BUILD",
Alessandro Patti6da80862021-11-11 22:49:37 -0800284 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
285 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Liam Miller-Cushonc81e1752022-01-13 17:52:18 -0800286 strip_prefix = "zstd-jni-1.5.0-4",
Alessandro Patti6da80862021-11-11 22:49:37 -0800287)
288
ajurkowski433dc602021-03-12 10:22:39 -0800289http_archive(
290 name = "org_snakeyaml",
ajurkowski433dc602021-03-12 10:22:39 -0800291 build_file_content = """
292java_library(
293 name = "snakeyaml",
294 testonly = True,
295 srcs = glob(["src/main/**/*.java"]),
296 visibility = ["@com_google_testparameterinjector//:__pkg__"],
297)
298""",
cushonc1d1df02021-04-07 11:07:00 -0700299 sha256 = "fd0e0cc6c5974fc8f08be3a15fb4a59954c7dd958b5b68186a803de6420b6e40",
300 strip_prefix = "asomov-snakeyaml-b28f0b4d87c6",
ajurkowski239a8e72021-03-23 10:22:49 -0700301 urls = ["https://mirror.bazel.build/bitbucket.org/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz"],
ajurkowski433dc602021-03-12 10:22:39 -0800302)
303
ajurkowski433dc602021-03-12 10:22:39 -0800304http_archive(
305 name = "com_google_testparameterinjector",
ajurkowski433dc602021-03-12 10:22:39 -0800306 build_file_content = """
307java_library(
308 name = "testparameterinjector",
309 testonly = True,
310 srcs = glob(["src/main/**/*.java"]),
311 deps = [
312 "@org_snakeyaml//:snakeyaml",
313 "@//third_party:auto_value",
314 "@//third_party:guava",
315 "@//third_party:junit4",
316 "@//third_party/protobuf:protobuf_java",
317 ],
ajurkowskia3353d22021-03-15 12:38:48 -0700318 visibility = ["//visibility:public"],
ajurkowski433dc602021-03-12 10:22:39 -0800319)
320""",
cushonc1d1df02021-04-07 11:07:00 -0700321 sha256 = "562a0e87eb413a7dcad29ebc8d578f6f97503473943585b051c1398a58189b06",
322 strip_prefix = "TestParameterInjector-1.0",
ajurkowski433dc602021-03-12 10:22:39 -0800323 urls = [
324 "https://mirror.bazel.build/github.com/google/TestParameterInjector/archive/v1.0.tar.gz",
325 "https://github.com/google/TestParameterInjector/archive/v1.0.tar.gz",
326 ],
327)
328
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800329# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
Tony Aiuto3b2d3102021-01-07 03:40:14 -0800330dist_http_archive(
oquenchil96068872019-07-08 07:01:39 -0700331 name = "rules_cc",
philwo17506af2020-01-28 04:20:39 -0800332 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
333 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
oquenchil96068872019-07-08 07:01:39 -0700334)
335
Tony Aiutob15a8b42021-01-08 07:42:57 -0800336dist_http_archive(
iirinab815b792019-07-17 05:47:01 -0700337 name = "rules_java",
philwo17506af2020-01-28 04:20:39 -0800338 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
339 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
iirinab815b792019-07-17 05:47:01 -0700340)
341
Tony Aiuto320bc942021-01-14 07:43:21 -0800342dist_http_archive(
Yannic Bonenbergerff449692019-07-25 05:55:49 -0700343 name = "rules_proto",
philwo17506af2020-01-28 04:20:39 -0800344 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
345 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Yannic Bonenbergerff449692019-07-25 05:55:49 -0700346)
347
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700348# For testing, have an distdir_tar with all the archives implicit in every
349# WORKSPACE, to that they don't have to be refetched for every test
350# calling `bazel sync`.
351distdir_tar(
Jingwen Chen186929e2019-04-02 10:38:30 -0700352 name = "test_WORKSPACE_files",
philwo75edd782019-01-29 05:02:44 -0800353 archives = [
tedxdac25e72022-04-19 15:39:03 -0700354 "android_tools_pkg-0.24.0.tar.gz",
tedxae247142022-04-21 16:53:51 -0700355 "r8-3.3.28.jar",
philwo75edd782019-01-29 05:02:44 -0800356 ],
Jingwen Chen186929e2019-04-02 10:38:30 -0700357 dirname = "test_WORKSPACE/distdir",
Tony Aiutoe973aef2021-01-11 00:32:51 -0800358 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 -0800359 sha256 = {
tedxdac25e72022-04-19 15:39:03 -0700360 "android_tools_pkg-0.24.0.tar.gz": "5aba10f2381bd4699313879336e038f9fa09e8180cd5a98d3c0ae40a13082549",
tedxae247142022-04-21 16:53:51 -0700361 "r8-3.3.28.jar": "8626ca32fb47aba7fddd2c897615e2e8ffcdb4d4b213572a2aefb3f838f01972",
philwo75edd782019-01-29 05:02:44 -0800362 },
363 urls = {
tedxdac25e72022-04-19 15:39:03 -0700364 "android_tools_pkg-0.24.0.tar.gz": [
365 "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.24.0.tar.gz",
Jingwen Chen186929e2019-04-02 10:38:30 -0700366 ],
tedxae247142022-04-21 16:53:51 -0700367 "r8-3.3.28.jar": [
368 "https://maven.google.com/com/android/tools/r8/3.3.28/r8-3.3.28.jar",
369 ],
philwo75edd782019-01-29 05:02:44 -0800370 },
Klaus Aehligacafe5a2018-10-24 03:16:42 -0700371)
Jingwen Chen186bdcd2018-12-14 10:27:23 -0800372
Tony Aiuto2b7ec5c2021-01-11 07:50:26 -0800373dist_http_archive(
374 name = "io_bazel_skydoc",
375)
376
wyv8062ca42020-05-25 00:21:00 -0700377# Stardoc recommends declaring its dependencies via "*_dependencies" functions.
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700378# This requires that the repositories these functions come from need to be
379# fetched unconditionally for everything (including just building bazel!), so
380# provide them as http_archives that can be shiped in the distdir, to keep the
381# distribution archive self-contained.
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800382dist_http_archive(
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700383 name = "io_bazel_rules_sass",
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700384)
iirinaf5c334262019-03-19 02:44:59 -0700385
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800386dist_http_archive(
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700387 name = "build_bazel_rules_nodejs",
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700388)
389
Tony Aiutoe973aef2021-01-11 00:32:51 -0800390dist_http_archive(
hlopkoaaf64572019-06-14 02:33:56 -0700391 name = "platforms",
hlopkoaaf64572019-06-14 02:33:56 -0700392)
393
philwo17506af2020-01-28 04:20:39 -0800394# This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE
395http_archive(
396 name = "android_tools_for_testing",
397 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
398 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
tedxdac25e72022-04-19 15:39:03 -0700399 sha256 = "5aba10f2381bd4699313879336e038f9fa09e8180cd5a98d3c0ae40a13082549", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
400 url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.24.0.tar.gz",
philwo17506af2020-01-28 04:20:39 -0800401)
402
tedxae247142022-04-21 16:53:51 -0700403# This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE
404http_jar(
405 name = "android_gmaven_r8_for_testing",
406 sha256 = "8626ca32fb47aba7fddd2c897615e2e8ffcdb4d4b213572a2aefb3f838f01972",
407 url = "https://maven.google.com/com/android/tools/r8/3.3.28/r8-3.3.28.jar",
408)
409
aiutobbeb1da2021-01-15 06:50:56 -0800410dist_http_archive(
411 name = "remote_coverage_tools",
philwo17506af2020-01-28 04:20:39 -0800412 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
413 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800414)
415
Ivo Listb7411162022-01-14 09:53:01 -0800416dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800417 name = "remotejdk11_linux_for_testing",
418 build_file = "@local_jdk//:BUILD.bazel",
419 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
420 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800421)
422
Ivo Listb7411162022-01-14 09:53:01 -0800423dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800424 name = "remotejdk11_linux_aarch64_for_testing",
425 build_file = "@local_jdk//:BUILD.bazel",
426 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
427 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800428)
429
Ivo Listb7411162022-01-14 09:53:01 -0800430dist_http_archive(
Jason Furmanek04e073e2020-05-28 05:48:09 -0700431 name = "remotejdk11_linux_ppc64le_for_testing",
432 build_file = "@local_jdk//:BUILD.bazel",
433 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
434 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Jason Furmanek04e073e2020-05-28 05:48:09 -0700435)
436
Ivo Listb7411162022-01-14 09:53:01 -0800437dist_http_archive(
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700438 name = "remotejdk11_linux_s390x_for_testing",
439 build_file = "@local_jdk//:BUILD.bazel",
440 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
441 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Ruixin Baoe14a6f22020-08-21 06:17:24 -0700442)
443
Ivo Listb7411162022-01-14 09:53:01 -0800444dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800445 name = "remotejdk11_macos_for_testing",
446 build_file = "@local_jdk//:BUILD.bazel",
447 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
448 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800449)
450
Ivo Listb7411162022-01-14 09:53:01 -0800451dist_http_archive(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800452 name = "remotejdk11_macos_aarch64_for_testing",
453 build_file = "@local_jdk//:BUILD.bazel",
454 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
455 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Yun Peng8c7e11a2021-01-27 03:23:12 -0800456)
457
Ivo Listb7411162022-01-14 09:53:01 -0800458dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800459 name = "remotejdk11_win_for_testing",
460 build_file = "@local_jdk//:BUILD.bazel",
461 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
462 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
cushon095f1e22022-02-08 10:54:53 -0800463)
philwo17506af2020-01-28 04:20:39 -0800464
Ivo Listb7411162022-01-14 09:53:01 -0800465dist_http_archive(
Niyas Saitb6024252022-02-10 06:59:31 -0800466 name = "remotejdk11_win_arm64_for_testing",
467 build_file = "@local_jdk//:BUILD.bazel",
468 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
469 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
Niyas Saitb6024252022-02-10 06:59:31 -0800470)
471
Liam Miller-Cushona7f1c712022-03-29 11:57:55 -0700472[
473 dist_http_archive(
474 name = "remotejdk%s_%s_for_testing" % (version, os),
475 build_file = "@local_jdk//:BUILD.bazel",
476 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE,
477 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN,
478 )
479 for version in ("17", "18")
480 for os in ("linux", "macos", "macos_aarch64", "win", "win_arm64")
481]
Niyas Saitb6024252022-02-10 06:59:31 -0800482
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800483# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
484dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800485 name = "remote_java_tools_for_testing",
486 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
487 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Ivo List62022712020-11-27 07:24:36 -0800488)
489
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800490# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
491dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800492 name = "remote_java_tools_linux_for_testing",
493 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
494 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800495)
496
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800497# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
498dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800499 name = "remote_java_tools_windows_for_testing",
500 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
501 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800502)
503
Tony Aiuto6a3d5f12021-01-12 13:38:32 -0800504# Used in src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE.
505dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800506 name = "remote_java_tools_darwin_for_testing",
507 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
508 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800509)
510
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800511# Used in src/test/shell/bazel/testdata/jdk_http_archives.
512dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800513 name = "remote_java_tools_test",
philwo17506af2020-01-28 04:20:39 -0800514 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
515 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800516)
517
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800518# Used in src/test/shell/bazel/testdata/jdk_http_archives.
519dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800520 name = "remote_java_tools_test_linux",
philwo17506af2020-01-28 04:20:39 -0800521 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
522 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800523)
524
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800525# Used in src/test/shell/bazel/testdata/jdk_http_archives.
526dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800527 name = "remote_java_tools_test_windows",
philwo17506af2020-01-28 04:20:39 -0800528 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
529 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
Ivo List62022712020-11-27 07:24:36 -0800530)
531
Tony Aiuto1bb1b522021-01-13 10:39:41 -0800532# Used in src/test/shell/bazel/testdata/jdk_http_archives.
533dist_http_archive(
Ivo List62022712020-11-27 07:24:36 -0800534 name = "remote_java_tools_test_darwin",
535 patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
536 patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
philwo17506af2020-01-28 04:20:39 -0800537)
538
Ivo Listb7411162022-01-14 09:53:01 -0800539dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800540 name = "openjdk11_linux_archive",
541 build_file_content = """
542java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
543exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
544""",
philwo17506af2020-01-28 04:20:39 -0800545)
546
547# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800548dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800549 name = "openjdk11_darwin_archive",
550 build_file_content = """
551java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
552exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
553""",
philwo17506af2020-01-28 04:20:39 -0800554)
555
556# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800557dist_http_archive(
Yun Peng8c7e11a2021-01-27 03:23:12 -0800558 name = "openjdk11_darwin_aarch64_archive",
559 build_file_content = """
560java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
561exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
562""",
Yun Peng8c7e11a2021-01-27 03:23:12 -0800563)
564
565# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800566dist_http_archive(
philwo17506af2020-01-28 04:20:39 -0800567 name = "openjdk11_windows_archive",
568 build_file_content = """
569java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
570exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
571""",
philwo17506af2020-01-28 04:20:39 -0800572)
573
David Ostrovskyfe291f72020-07-23 04:08:29 -0700574# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
cushon095f1e22022-02-08 10:54:53 -0800575dist_http_archive(
Niyas Saitb6024252022-02-10 06:59:31 -0800576 name = "openjdk11_windows_arm64_archive",
577 build_file_content = """
578java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
579exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
580""",
581)
582
583# This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives.
Liam Miller-Cushone4461d32022-03-30 13:06:59 -0700584[
585 dist_http_archive(
586 name = "openjdk%s_%s_archive" % (version, os),
587 build_file_content = """
Liam Miller-Cushoneb7bf8c2021-09-30 07:53:06 -0700588java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])
589exports_files(["WORKSPACE"], visibility = ["//visibility:public"])
590""",
Liam Miller-Cushone4461d32022-03-30 13:06:59 -0700591 )
592 for version in ("17", "18")
593 for os in ("linux", "darwin", "darwin_aarch64", "windows", "windows_arm64")
594]
Liam Miller-Cushona7f1c712022-03-29 11:57:55 -0700595
wyv8062ca42020-05-25 00:21:00 -0700596load("@io_bazel_skydoc//:setup.bzl", "stardoc_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700597
wyv8062ca42020-05-25 00:21:00 -0700598stardoc_repositories()
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700599
600load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies")
iirinaf5c334262019-03-19 02:44:59 -0700601
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700602rules_sass_dependencies()
603
Laurent Le Brunda3d9f02020-02-18 05:53:57 -0800604load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700605
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700606node_repositories()
607
608load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories")
iirinaf5c334262019-03-19 02:44:59 -0700609
Klaus Aehlig6f52fca2019-03-18 03:43:40 -0700610sass_repositories()
Jakob Buchgraber593c5302019-04-16 10:12:20 -0700611
Keith Smiley7fcbeec2019-04-23 17:06:02 -0700612register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700613
614# Tools for building deb, rpm and tar files.
Tony Aiuto1c9e7ca2021-01-05 08:01:21 -0800615dist_http_archive(
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700616 name = "rules_pkg",
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700617)
iirinad26a3c12019-07-19 04:39:33 -0700618
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700619load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
iirinad26a3c12019-07-19 04:39:33 -0700620
Tony Aiutoed8a5ec2019-07-17 08:33:48 -0700621rules_pkg_dependencies()
Laszlo Csomor3e023182019-08-01 05:05:09 -0700622
623# Toolchains for Resource Compilation (.rc files on Windows).
624load("//src/main/res:winsdk_configure.bzl", "winsdk_configure")
625
626winsdk_configure(name = "local_config_winsdk")
627
628load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains")
629
630register_local_rc_exe_toolchains()
631
632register_toolchains("//src/main/res:empty_rc_toolchain")
Yun Peng01609b82020-05-04 11:12:33 -0700633
Tony Aiutoe973aef2021-01-11 00:32:51 -0800634dist_http_archive(
Yun Penge2f11d72020-06-03 09:16:35 -0700635 name = "com_github_grpc_grpc",
Yun Penge2f11d72020-06-03 09:16:35 -0700636)
637
Yun Pengb47aa712022-04-05 04:21:29 -0700638# Override the abseil-cpp version defined in grpc_deps(), which doesn't work on latest macOS
639# Fixes https://github.com/bazelbuild/bazel/issues/15168
640dist_http_archive(
641 name = "com_google_absl",
642)
643
Yun Penge2f11d72020-06-03 09:16:35 -0700644# Projects using gRPC as an external dependency must call both grpc_deps() and
645# grpc_extra_deps().
646load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700647
Yun Penge2f11d72020-06-03 09:16:35 -0700648grpc_deps()
649
650load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700651
Yun Penge2f11d72020-06-03 09:16:35 -0700652grpc_extra_deps()
653
Yun Peng01609b82020-05-04 11:12:33 -0700654load("//tools/distributions/debian:deps.bzl", "debian_deps")
Ivo List4c6c9992020-09-23 09:25:05 -0700655
Yun Peng01609b82020-05-04 11:12:33 -0700656debian_deps()
Andrzej Guszak0f9a5922020-06-25 05:47:21 -0700657
658load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
Ivo List4c6c9992020-09-23 09:25:05 -0700659
Andrzej Guszak0f9a5922020-06-25 05:47:21 -0700660bazel_skylib_workspace()