Kristina Chodorow | 93fbc3e | 2016-04-27 17:03:28 +0000 | [diff] [blame] | 1 | workspace(name = "io_bazel") |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 2 | |
cparsons | c08e4df | 2020-03-27 13:44:14 -0700 | [diff] [blame] | 3 | load("//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 4 | |
| 5 | # These can be used as values for the patch_cmds and patch_cmds_win attributes |
| 6 | # of http_archive, in order to export the WORKSPACE file from the BUILD or |
| 7 | # BUILD.bazel file. This is useful for cases like //src:test_repos, where we |
| 8 | # have to be able to trigger a fetch of a repo by depending on it, but we don't |
| 9 | # actually want to build anything (so we can't depend on a target inside that |
| 10 | # repo). |
| 11 | EXPORT_WORKSPACE_IN_BUILD_FILE = [ |
| 12 | "test -f BUILD && chmod u+w BUILD || true", |
| 13 | "echo >> BUILD", |
| 14 | "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD", |
| 15 | ] |
| 16 | |
| 17 | EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE = [ |
| 18 | "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", |
| 19 | "echo >> BUILD.bazel", |
| 20 | "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel", |
| 21 | ] |
| 22 | |
| 23 | EXPORT_WORKSPACE_IN_BUILD_FILE_WIN = [ |
| 24 | "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force", |
| 25 | ] |
| 26 | |
| 27 | EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN = [ |
| 28 | "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force", |
| 29 | ] |
Kristina Chodorow | 93fbc3e | 2016-04-27 17:03:28 +0000 | [diff] [blame] | 30 | |
David Chen | b78bbd5 | 2016-03-16 13:17:57 +0000 | [diff] [blame] | 31 | # Protobuf expects an //external:python_headers label which would contain the |
| 32 | # Python headers if fast Python protos is enabled. Since we are not using fast |
| 33 | # Python protos, bind python_headers to a dummy target. |
| 34 | bind( |
| 35 | name = "python_headers", |
| 36 | actual = "//:dummy", |
| 37 | ) |
| 38 | |
Alpha Lam | a1a79cb | 2016-05-15 19:13:52 +0000 | [diff] [blame] | 39 | # Protobuf code generation for GRPC requires three external labels: |
| 40 | # //external:grpc-java_plugin |
| 41 | # //external:grpc-jar |
| 42 | # //external:guava |
| 43 | bind( |
| 44 | name = "grpc-java-plugin", |
| 45 | actual = "//third_party/grpc:grpc-java-plugin", |
| 46 | ) |
| 47 | |
| 48 | bind( |
| 49 | name = "grpc-jar", |
| 50 | actual = "//third_party/grpc:grpc-jar", |
| 51 | ) |
| 52 | |
| 53 | bind( |
| 54 | name = "guava", |
| 55 | actual = "//third_party:guava", |
| 56 | ) |
| 57 | |
Googler | 5b90b16 | 2017-08-31 16:29:34 +0200 | [diff] [blame] | 58 | http_archive( |
| 59 | name = "bazel_j2objc", |
iirina | dcbad67 | 2019-07-17 04:45:21 -0700 | [diff] [blame] | 60 | # Computed using "shasum -a 256 j2objc-2.5.zip" |
| 61 | sha256 = "8d3403b5b7db57e347c943d214577f6879e5b175c2b59b7e075c0b6453330e9b", |
| 62 | strip_prefix = "j2objc-2.5", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 63 | urls = [ |
Jingwen Chen | 8d6eb83 | 2019-11-26 12:20:48 -0800 | [diff] [blame] | 64 | "https://mirror.bazel.build/github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip", |
iirina | dcbad67 | 2019-07-17 04:45:21 -0700 | [diff] [blame] | 65 | "https://github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 66 | ], |
Googler | 5b90b16 | 2017-08-31 16:29:34 +0200 | [diff] [blame] | 67 | ) |
| 68 | |
Damien Martin-Guillerez | 0baff0f | 2017-08-22 17:40:37 +0200 | [diff] [blame] | 69 | # For src/test/shell/bazel:test_srcs |
| 70 | load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository") |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 71 | |
Damien Martin-Guillerez | 0baff0f | 2017-08-22 17:40:37 +0200 | [diff] [blame] | 72 | list_source_repository(name = "local_bazel_source_list") |
| 73 | |
Adam Michael | 9b7330f | 2017-03-23 18:40:51 +0000 | [diff] [blame] | 74 | # To run the Android integration tests in //src/test/shell/bazel/android:all or |
| 75 | # build the Android sample app in //examples/android/java/bazel:hello_world |
| 76 | # |
| 77 | # 1. Install an Android SDK and NDK from https://developer.android.com |
| 78 | # 2. Set the $ANDROID_HOME and $ANDROID_NDK_HOME environment variables |
| 79 | # 3. Uncomment the two lines below |
| 80 | # |
| 81 | # android_sdk_repository(name = "androidsdk") |
| 82 | # android_ndk_repository(name = "androidndk") |
Cal Peyser | 2152bc1 | 2016-04-22 17:08:59 +0000 | [diff] [blame] | 83 | |
Adam Michael | 8a136d8 | 2016-11-16 23:04:46 +0000 | [diff] [blame] | 84 | # In order to run //src/test/shell/bazel:maven_skylark_test, follow the |
| 85 | # instructions above for the Android integration tests and uncomment the |
| 86 | # following lines: |
| 87 | # load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin") |
| 88 | # maven_dependency_plugin() |
| 89 | |
gregce | ca48e9a | 2020-04-14 08:54:38 -0700 | [diff] [blame] | 90 | # This allows rules written in Starlark to locate apple build tools. |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 91 | bind( |
| 92 | name = "xcrunwrapper", |
| 93 | actual = "@bazel_tools//tools/objc:xcrunwrapper", |
| 94 | ) |
Carmi Grushko | bfaff29 | 2016-08-17 18:37:55 +0000 | [diff] [blame] | 95 | |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 96 | http_archive( |
Carmi Grushko | 0fd73d6 | 2017-02-17 06:49:40 +0000 | [diff] [blame] | 97 | name = "com_google_protobuf", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 98 | patch_args = ["-p1"], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 99 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 100 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 101 | patches = ["//third_party/protobuf:3.13.0.patch"], |
| 102 | sha256 = "9b4ee22c250fe31b16f1a24d61467e40780a3fbb9b91c3b65be2a376ed913a1a", |
| 103 | strip_prefix = "protobuf-3.13.0", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 104 | urls = [ |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 105 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
| 106 | "https://github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 107 | ], |
Carmi Grushko | 0fd73d6 | 2017-02-17 06:49:40 +0000 | [diff] [blame] | 108 | ) |
| 109 | |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 110 | # This is a mock version of bazelbuild/rules_python that contains only |
| 111 | # @rules_python//python:defs.bzl. It is used by protobuf. |
| 112 | # TODO(#9029): We could potentially replace this with the real @rules_python. |
| 113 | new_local_repository( |
| 114 | name = "rules_python", |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 115 | build_file = "//third_party/rules_python:BUILD", |
laurentlb | af26567 | 2019-10-22 10:06:21 -0700 | [diff] [blame] | 116 | path = "./third_party/rules_python", |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 117 | workspace_file = "//third_party/rules_python:rules_python.WORKSPACE", |
| 118 | ) |
| 119 | |
John Cater | 2f83892 | 2018-11-12 08:19:03 -0800 | [diff] [blame] | 120 | local_repository( |
Jakob Buchgraber | 166f28c | 2017-05-30 16:41:18 +0200 | [diff] [blame] | 121 | name = "googleapis", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 122 | path = "./third_party/googleapis/", |
Jakob Buchgraber | 166f28c | 2017-05-30 16:41:18 +0200 | [diff] [blame] | 123 | ) |
| 124 | |
John Cater | 2f83892 | 2018-11-12 08:19:03 -0800 | [diff] [blame] | 125 | local_repository( |
Ola Rozenfeld | 930119a | 2018-08-10 11:04:44 -0700 | [diff] [blame] | 126 | name = "remoteapis", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 127 | path = "./third_party/remoteapis/", |
Ola Rozenfeld | 930119a | 2018-08-10 11:04:44 -0700 | [diff] [blame] | 128 | ) |
| 129 | |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 130 | http_archive( |
| 131 | name = "desugar_jdk_libs", |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 132 | # Commit e0b0291b2c51fbe5a7cfa14473a1ae850f94f021 of 2018-12-4 |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 133 | # Computed using "shasum -a 256 <zip>" |
kmb | a964125 | 2018-12-05 13:17:58 -0800 | [diff] [blame] | 134 | sha256 = "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
| 135 | strip_prefix = "desugar_jdk_libs-e0b0291b2c51fbe5a7cfa14473a1ae850f94f021", |
philwo | f443d09 | 2019-01-08 11:11:09 -0800 | [diff] [blame] | 136 | urls = [ |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 137 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 138 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 139 | ], |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 140 | ) |
| 141 | |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 142 | load("//:distdir.bzl", "distdir_tar") |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 143 | |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 144 | distdir_tar( |
| 145 | name = "additional_distfiles", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 146 | # Keep in sync with the archives fetched as part of building bazel. |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 147 | archives = [ |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 148 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 149 | "java_tools_javac11_linux-v10.0.zip", |
| 150 | "java_tools_javac11_windows-v10.0.zip", |
| 151 | "java_tools_javac11_darwin-v10.0.zip", |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 152 | "coverage_output_generator-v2.5.zip", |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 153 | # bazelbuid/stardoc |
| 154 | "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 155 | # rules_sass |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 156 | "1.25.0.zip", |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 157 | # rules_nodejs |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 158 | "rules_nodejs-1.3.0.tar.gz", |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 159 | "android_tools_pkg-0.19.0rc3.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 160 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 161 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 162 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 163 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 164 | # bazelbuild/rules_java |
| 165 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 166 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 167 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 168 | # bazelbuild/bazel-toolchains |
philwo | b7d9843 | 2020-05-29 06:41:31 -0700 | [diff] [blame] | 169 | "bazel-toolchains-3.1.0.tar.gz", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 170 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 171 | "rules_pkg-0.2.4.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 172 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 173 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 174 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 175 | "v3.13.0.tar.gz", |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 176 | # grpc/grpc |
| 177 | "v1.26.0.tar.gz", |
| 178 | # c-ares/c-ares |
| 179 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 180 | # protocolbuffers/upb |
| 181 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 182 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 183 | dirname = "derived/distdir", |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 184 | sha256 = { |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 185 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 186 | "java_tools_javac11_linux-v10.0.zip": "69e65353c2cd65780abcbcce4daae973599298273b0f8b4d469eed822cb220d1", |
| 187 | "java_tools_javac11_windows-v10.0.zip": "d2f62af8daa0a3d55789b605f6582e37038329c64843337c71e64515468e55c4", |
| 188 | "java_tools_javac11_darwin-v10.0.zip": "64e5de2175dfccb96831573946b80d106edf3801d9db38b564514bf3581d466b", |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 189 | "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 190 | # bazelbuild/stardoc |
| 191 | "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 192 | # rules_sass |
| 193 | "1.25.0.zip": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", |
| 194 | # rules_nodejs |
| 195 | "rules_nodejs-1.3.0.tar.gz": "b6670f9f43faa66e3009488bbd909bc7bc46a5a9661a33f6bc578068d1837f37", |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 196 | "android_tools_pkg-0.19.0rc3.tar.gz": "ea5c0589a01e2a9f43c20e5c145d3530e3b3bdbe7322789bc5da38d0ca49b837", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 197 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 198 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz": "c00ceec469dbcf7929972e3c79f20c14033824538038a554952f5c31d8832f96", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 199 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 200 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 201 | # bazelbuild/rules_java |
| 202 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 203 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 204 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 205 | # bazelbuild/bazel-toolchains |
philwo | b7d9843 | 2020-05-29 06:41:31 -0700 | [diff] [blame] | 206 | "bazel-toolchains-3.1.0.tar.gz": "726b5423e1c7a3866a3a6d68e7123b4a955e9fcbe912a51e0f737e6dab1d0af2", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 207 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 208 | "rules_pkg-0.2.4.tar.gz": "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 209 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 210 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 211 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 212 | "v3.13.0.tar.gz": "9b4ee22c250fe31b16f1a24d61467e40780a3fbb9b91c3b65be2a376ed913a1a", |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 213 | # grpc/grpc |
| 214 | "v1.26.0.tar.gz": "2fcb7f1ab160d6fd3aaade64520be3e5446fc4c6fa7ba6581afdc4e26094bd81", |
| 215 | # c-ares/c-ares |
| 216 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a", |
| 217 | # protocolbuffers/upb |
| 218 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz": "61d0417abd60e65ed589c9deee7c124fe76a4106831f6ad39464e1525cef1454", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 219 | }, |
| 220 | urls = { |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 221 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [ |
| 222 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 223 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 224 | ], |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 225 | "java_tools_javac11_linux-v10.0.zip": [ |
| 226 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_linux-v10.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 227 | ], |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 228 | "java_tools_javac11_windows-v10.0.zip": [ |
| 229 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_windows-v10.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 230 | ], |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 231 | "java_tools_javac11_darwin-v10.0.zip": [ |
| 232 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_darwin-v10.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 233 | ], |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 234 | "coverage_output_generator-v2.5.zip": [ |
| 235 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 236 | ], |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 237 | "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": [ |
wyv | 408be52 | 2020-05-26 02:14:23 -0700 | [diff] [blame] | 238 | "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 239 | "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 240 | ], |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 241 | "1.25.0.zip": [ |
| 242 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
| 243 | "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 244 | ], |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 245 | "rules_nodejs-1.3.0.tar.gz": [ |
pcloudy | 4794b38 | 2020-04-22 02:11:13 -0700 | [diff] [blame] | 246 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/1.3.0/rules_nodejs-1.3.0.tar.gz", |
| 247 | "https://github.com/bazelbuild/rules_nodejs/releases/download/1.3.0/rules_nodejs-1.3.0.tar.gz", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 248 | ], |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 249 | "android_tools_pkg-0.19.0rc3.tar.gz": [ |
| 250 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.19.0rc3.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 251 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 252 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 253 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz": [ |
| 254 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
| 255 | "https://github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 256 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 257 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 258 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 259 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 260 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 261 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 262 | # bazelbuild/rules_java |
| 263 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 264 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 265 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 266 | ], |
| 267 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 268 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 269 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 270 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 271 | ], |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 272 | # bazelbuild/bazel-toolchains |
philwo | b7d9843 | 2020-05-29 06:41:31 -0700 | [diff] [blame] | 273 | "bazel-toolchains-3.1.0.tar.gz": [ |
| 274 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
John Cater | f47f83e | 2020-05-04 05:16:00 -0700 | [diff] [blame] | 275 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 276 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 277 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 278 | "rules_pkg-0.2.4.tar.gz": [ |
| 279 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 280 | "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 281 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 282 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 283 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 284 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 285 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 286 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 287 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 288 | "v3.13.0.tar.gz": [ |
| 289 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
| 290 | "https://github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 291 | ], |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 292 | # grpc/grpc |
| 293 | "v1.26.0.tar.gz": [ |
| 294 | "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 295 | "https://github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 296 | ], |
| 297 | # c-ares/c-ares |
| 298 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz": [ |
| 299 | "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 300 | "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 301 | ], |
| 302 | # protocolbuffers/upb |
| 303 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz": [ |
| 304 | "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 305 | "https://github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 306 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 307 | }, |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 308 | ) |
| 309 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 310 | # OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK. |
| 311 | http_file( |
| 312 | name = "openjdk_linux", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 313 | downloaded_file_path = "zulu-linux.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 314 | sha256 = "65bfe4e0ffa74a680ee4410db46b17e30cd9397b664a92a886599fe1f3530969", |
| 315 | 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 Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 316 | ) |
| 317 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 318 | http_file( |
| 319 | name = "openjdk_linux_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 320 | downloaded_file_path = "zulu-linux-vanilla.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 321 | sha256 = "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", |
| 322 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 323 | ) |
| 324 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 325 | http_file( |
| 326 | name = "openjdk_linux_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 327 | downloaded_file_path = "zulu-linux-minimal.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 328 | sha256 = "91f7d52f695c681d4e21499b4319d548aadef249a6b3053e306308992e1e29ae", |
| 329 | 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 Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 330 | ) |
| 331 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 332 | http_file( |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 333 | name = "openjdk_linux_aarch64", |
| 334 | downloaded_file_path = "zulu-linux-aarch64.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 335 | sha256 = "6b245793087300db3ee82ab0d165614f193a73a60f2f011e347756c1e6ca5bac", |
| 336 | 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"], |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 337 | ) |
| 338 | |
| 339 | http_file( |
| 340 | name = "openjdk_linux_aarch64_vanilla", |
| 341 | downloaded_file_path = "zulu-linux-aarch64-vanilla.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 342 | sha256 = "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", |
| 343 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 344 | ) |
| 345 | |
| 346 | http_file( |
| 347 | name = "openjdk_linux_aarch64_minimal", |
| 348 | downloaded_file_path = "zulu-linux-aarch64-minimal.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 349 | sha256 = "06f6520a877704c77614bcfc4f846cc7cbcbf5eaad149bf7f19f4f16e285c9de", |
| 350 | 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"], |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 351 | ) |
| 352 | |
| 353 | http_file( |
Jason Furmanek | 04e073e | 2020-05-28 05:48:09 -0700 | [diff] [blame] | 354 | name = "openjdk_linux_ppc64le_vanilla", |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 355 | downloaded_file_path = "adoptopenjdk-ppc64le-vanilla.tar.gz", |
Jason Furmanek | 04e073e | 2020-05-28 05:48:09 -0700 | [diff] [blame] | 356 | sha256 = "a417db0295b1f4b538ecbaf7c774f3a177fab9657a665940170936c0eca4e71a", |
| 357 | urls = [ |
philwo | 66d84ef | 2020-06-05 06:52:20 -0700 | [diff] [blame] | 358 | "https://mirror.bazel.build/openjdk/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz", |
| 359 | "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz", |
Jason Furmanek | 04e073e | 2020-05-28 05:48:09 -0700 | [diff] [blame] | 360 | ], |
| 361 | ) |
| 362 | |
| 363 | http_file( |
Ruixin Bao | e14a6f2 | 2020-08-21 06:17:24 -0700 | [diff] [blame] | 364 | name = "openjdk_linux_s390x_vanilla", |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 365 | downloaded_file_path = "adoptopenjdk-s390x-vanilla.tar.gz", |
Ruixin Bao | e14a6f2 | 2020-08-21 06:17:24 -0700 | [diff] [blame] | 366 | sha256 = "d9b72e87a1d3ebc0c9552f72ae5eb150fffc0298a7cb841f1ce7bfc70dcd1059", |
| 367 | urls = [ |
| 368 | "https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz", |
| 369 | "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz", |
| 370 | ], |
| 371 | ) |
| 372 | |
| 373 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 374 | name = "openjdk_macos", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 375 | downloaded_file_path = "zulu-macos.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 376 | sha256 = "8e283cfd23c7555be8e17295ed76eb8f00324c88ab904b8de37bbe08f90e569b", |
| 377 | 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 Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 378 | ) |
| 379 | |
| 380 | http_file( |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 381 | name = "openjdk_macos_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 382 | downloaded_file_path = "zulu-macos-vanilla.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 383 | sha256 = "e1fe56769f32e2aaac95e0a8f86b5a323da5af3a3b4bba73f3086391a6cc056f", |
| 384 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz"], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 385 | ) |
| 386 | |
| 387 | http_file( |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 388 | name = "openjdk_macos_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 389 | downloaded_file_path = "zulu-macos-minimal.tar.gz", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 390 | sha256 = "1bacb1c07035d4066d79f0b65b4ea0ebd1954f3662bdfe3618da382ac8fd23a6", |
| 391 | 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 Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 392 | ) |
| 393 | |
| 394 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 395 | name = "openjdk_win", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 396 | downloaded_file_path = "zulu-win.zip", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 397 | sha256 = "8e1604b3a27dcf639bc6d1a73103f1211848139e4cceb081d0a74a99e1e6f995", |
| 398 | 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 Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 399 | ) |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 400 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 401 | http_file( |
| 402 | name = "openjdk_win_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 403 | downloaded_file_path = "zulu-win-vanilla.zip", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 404 | sha256 = "a9695617b8374bfa171f166951214965b1d1d08f43218db9a2a780b71c665c18", |
| 405 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64.zip"], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 406 | ) |
| 407 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 408 | http_file( |
| 409 | name = "openjdk_win_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 410 | downloaded_file_path = "zulu-win-minimal.zip", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 411 | sha256 = "b90a713c9c2d9ea23cad44d2c2dfcc9af22faba9bde55dedc1c3bb9f556ac1ae", |
| 412 | 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 Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 413 | ) |
| 414 | |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 415 | http_archive( |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 416 | name = "bazel_toolchains", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 417 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 418 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
John Cater | f47f83e | 2020-05-04 05:16:00 -0700 | [diff] [blame] | 419 | sha256 = "726b5423e1c7a3866a3a6d68e7123b4a955e9fcbe912a51e0f737e6dab1d0af2", |
| 420 | strip_prefix = "bazel-toolchains-3.1.0", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 421 | urls = [ |
philwo | b7d9843 | 2020-05-29 06:41:31 -0700 | [diff] [blame] | 422 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
John Cater | f47f83e | 2020-05-04 05:16:00 -0700 | [diff] [blame] | 423 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/3.1.0/bazel-toolchains-3.1.0.tar.gz", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 424 | ], |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 425 | ) |
ccalvarin | 1cbe62a | 2017-08-14 21:09:07 +0200 | [diff] [blame] | 426 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 427 | load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 428 | |
| 429 | rbe_autoconfig( |
| 430 | name = "rbe_ubuntu1804_java11", |
| 431 | detect_java_home = True, |
| 432 | registry = "gcr.io", |
philwo | 479857b | 2020-02-17 10:46:07 -0800 | [diff] [blame] | 433 | repository = "bazel-public/ubuntu1804-bazel-java11", |
| 434 | tag = "latest", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 435 | ) |
| 436 | |
| 437 | rbe_autoconfig( |
| 438 | name = "rbe_ubuntu1604_java8", |
| 439 | detect_java_home = True, |
| 440 | registry = "gcr.io", |
philwo | 479857b | 2020-02-17 10:46:07 -0800 | [diff] [blame] | 441 | repository = "bazel-public/ubuntu1604-bazel-java8", |
| 442 | tag = "latest", |
Jakob Buchgraber | 3541ad6 | 2019-04-30 07:51:12 -0700 | [diff] [blame] | 443 | ) |
| 444 | |
Googler | de0612a | 2019-03-07 06:06:55 -0800 | [diff] [blame] | 445 | # Creates toolchain configuration for remote execution with BuildKite CI |
| 446 | # for rbe_ubuntu1604. |
| 447 | # To run the tests with RBE on BuildKite CI uncomment the two lines below |
| 448 | # load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 449 | # rbe_autoconfig(name = "buildkite_config") |
| 450 | |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 451 | http_archive( |
| 452 | name = "com_google_googletest", |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 453 | sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", |
| 454 | strip_prefix = "googletest-release-1.10.0", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 455 | urls = [ |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 456 | "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz", |
| 457 | "https://github.com/google/googletest/archive/release-1.10.0.tar.gz", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 458 | ], |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 459 | ) |
| 460 | |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 461 | http_archive( |
| 462 | name = "bazel_skylib", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 463 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 464 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 465 | # Commit 2d4c9528e0f453b5950eeaeac11d8d09f5a504d4 of 2020-02-06 |
| 466 | sha256 = "c00ceec469dbcf7929972e3c79f20c14033824538038a554952f5c31d8832f96", |
| 467 | strip_prefix = "bazel-skylib-2d4c9528e0f453b5950eeaeac11d8d09f5a504d4", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 468 | urls = [ |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 469 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
| 470 | "https://github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 471 | ], |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 472 | ) |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 473 | |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 474 | # Note that stardoc depends on being called io_bazel_skydoc |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 475 | # to work without being patched, as it hard-codes this name in its sources. |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 476 | # TODO(wyv): Is the above still true? Try a different name and see if it works. |
| 477 | # If it does, can we rename the workspace in bazelbuild/stardoc? |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 478 | http_archive( |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 479 | name = "io_bazel_skydoc", |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 480 | sha256 = "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", |
| 481 | strip_prefix = "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd", |
wyv | 408be52 | 2020-05-26 02:14:23 -0700 | [diff] [blame] | 482 | urls = [ |
| 483 | "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 484 | "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", |
| 485 | ], |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 486 | ) |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 487 | |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 488 | http_archive( |
| 489 | name = "rules_cc", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 490 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 491 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 492 | sha256 = "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
| 493 | strip_prefix = "rules_cc-8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 494 | urls = [ |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 495 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 496 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 497 | ], |
| 498 | ) |
| 499 | |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 500 | http_archive( |
| 501 | name = "rules_java", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 502 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 503 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 504 | sha256 = "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 505 | strip_prefix = "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 506 | urls = [ |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 507 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 508 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 509 | ], |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 510 | ) |
| 511 | |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 512 | http_archive( |
| 513 | name = "rules_proto", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 514 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 515 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 516 | sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
| 517 | strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 518 | urls = [ |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 519 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 520 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 521 | ], |
| 522 | ) |
| 523 | |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 524 | # For testing, have an distdir_tar with all the archives implicit in every |
| 525 | # WORKSPACE, to that they don't have to be refetched for every test |
| 526 | # calling `bazel sync`. |
| 527 | distdir_tar( |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 528 | name = "test_WORKSPACE_files", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 529 | archives = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 530 | "java_tools_javac11_linux-v10.0.zip", |
| 531 | "java_tools_javac11_windows-v10.0.zip", |
| 532 | "java_tools_javac11_darwin-v10.0.zip", |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 533 | "coverage_output_generator-v2.5.zip", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 534 | "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz", |
| 535 | "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz", |
| 536 | "zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz", |
| 537 | "zulu11.37.17-ca-jdk11.0.6-win_x64.zip", |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 538 | "android_tools_pkg-0.19.0rc3.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 539 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 540 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 541 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 542 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 543 | # bazelbuild/rules_java |
| 544 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 545 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 546 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 547 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 548 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 549 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 550 | "v3.13.0.tar.gz", |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 551 | # grpc/grpc |
| 552 | "v1.26.0.tar.gz", |
| 553 | # c-ares/c-ares |
| 554 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 555 | # protocolbuffers/upb |
| 556 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 557 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 558 | dirname = "test_WORKSPACE/distdir", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 559 | sha256 = { |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 560 | "java_tools_javac11_linux-v10.0.zip": "69e65353c2cd65780abcbcce4daae973599298273b0f8b4d469eed822cb220d1", |
| 561 | "java_tools_javac11_windows-v10.0.zip": "d2f62af8daa0a3d55789b605f6582e37038329c64843337c71e64515468e55c4", |
| 562 | "java_tools_javac11_darwin-v10.0.zip": "64e5de2175dfccb96831573946b80d106edf3801d9db38b564514bf3581d466b", |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 563 | "coverage_output_generator-v2.5.zip": "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 564 | "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", |
philwo | e158fe7 | 2020-02-17 06:32:43 -0800 | [diff] [blame] | 565 | "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 566 | "zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz": "e1fe56769f32e2aaac95e0a8f86b5a323da5af3a3b4bba73f3086391a6cc056f", |
| 567 | "zulu11.37.17-ca-jdk11.0.6-win_x64.zip": "a9695617b8374bfa171f166951214965b1d1d08f43218db9a2a780b71c665c18", |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 568 | "android_tools_pkg-0.19.0rc3.tar.gz": "ea5c0589a01e2a9f43c20e5c145d3530e3b3bdbe7322789bc5da38d0ca49b837", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 569 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 570 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz": "c00ceec469dbcf7929972e3c79f20c14033824538038a554952f5c31d8832f96", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 571 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 572 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 573 | # bazelbuild/rules_java |
| 574 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 575 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 576 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 577 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 578 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 579 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 580 | "v3.13.0.tar.gz": "9b4ee22c250fe31b16f1a24d61467e40780a3fbb9b91c3b65be2a376ed913a1a", |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 581 | # grpc/grpc |
| 582 | "v1.26.0.tar.gz": "2fcb7f1ab160d6fd3aaade64520be3e5446fc4c6fa7ba6581afdc4e26094bd81", |
| 583 | # c-ares/c-ares |
| 584 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz": "e8c2751ddc70fed9dc6f999acd92e232d5846f009ee1674f8aee81f19b2b915a", |
| 585 | # protocolbuffers/upb |
| 586 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz": "61d0417abd60e65ed589c9deee7c124fe76a4106831f6ad39464e1525cef1454", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 587 | }, |
| 588 | urls = { |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 589 | "java_tools_javac11_linux-v10.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_linux-v10.0.zip"], |
| 590 | "java_tools_javac11_windows-v10.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_windows-v10.0.zip"], |
| 591 | "java_tools_javac11_darwin-v10.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_darwin-v10.0.zip"], |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 592 | "coverage_output_generator-v2.5.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip"], |
philwo | 3ac4af4 | 2020-02-14 07:58:55 -0800 | [diff] [blame] | 593 | "zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], |
| 594 | "zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], |
| 595 | "zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz"], |
| 596 | "zulu11.37.17-ca-jdk11.0.6-win_x64.zip": ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64.zip"], |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 597 | "android_tools_pkg-0.19.0rc3.tar.gz": [ |
| 598 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.19.0rc3.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 599 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 600 | # bazelbuild/bazel-skylib |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 601 | "2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz": [ |
| 602 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
| 603 | "https://github.com/bazelbuild/bazel-skylib/archive/2d4c9528e0f453b5950eeaeac11d8d09f5a504d4.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 604 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 605 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 606 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 607 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 608 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 609 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 610 | # bazelbuild/rules_java |
| 611 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 612 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 613 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 614 | ], |
| 615 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 616 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 617 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 618 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 619 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 620 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 621 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 622 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 623 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 624 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 625 | # protocolbuffers/protobuf |
Yannic Bonenberger | c656e65 | 2020-09-17 03:14:25 -0700 | [diff] [blame] | 626 | "v3.13.0.tar.gz": [ |
| 627 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
| 628 | "https://github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 629 | ], |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 630 | # grpc/grpc |
| 631 | "v1.26.0.tar.gz": [ |
| 632 | "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 633 | "https://github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 634 | ], |
| 635 | # c-ares/c-ares |
| 636 | "e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz": [ |
| 637 | "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 638 | "https://github.com/c-ares/c-ares/archive/e982924acee7f7313b4baa4ee5ec000c5e373c30.tar.gz", |
| 639 | ], |
| 640 | # protocolbuffers/upb |
| 641 | "9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz": [ |
| 642 | "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 643 | "https://github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 644 | ], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 645 | }, |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 646 | ) |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 647 | |
| 648 | load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS") |
| 649 | |
Jingwen Chen | 762c27d | 2020-05-14 03:07:03 -0700 | [diff] [blame] | 650 | # Load versioned documentation tarballs from GCS |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 651 | [http_file( |
Jingwen Chen | d3a5fd6 | 2020-05-05 14:43:23 -0700 | [diff] [blame] | 652 | # Split on "-" to get the version without cherrypick commits. |
| 653 | name = "jekyll_tree_%s" % DOC_VERSION["version"].split("-")[0].replace(".", "_"), |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 654 | sha256 = DOC_VERSION["sha256"], |
| 655 | urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]], |
| 656 | ) for DOC_VERSION in DOC_VERSIONS] |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 657 | |
Jingwen Chen | 762c27d | 2020-05-14 03:07:03 -0700 | [diff] [blame] | 658 | # Load shared base CSS theme from bazelbuild/bazel-website |
| 659 | http_archive( |
| 660 | name = "bazel_website", |
Jingwen Chen | 762c27d | 2020-05-14 03:07:03 -0700 | [diff] [blame] | 661 | # TODO(https://github.com/bazelbuild/bazel/issues/10793) |
| 662 | # - Export files from bazel-website's BUILD, instead of doing it here. |
| 663 | # - Share more common stylesheets, like footer and navbar. |
| 664 | build_file_content = """ |
| 665 | exports_files(["_sass/style.scss"]) |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 666 | """, |
| 667 | sha256 = "a5f531dd1d62e6947dcfc279656ffc2fdf6f447c163914c5eabf7961b4cb6eb4", |
| 668 | strip_prefix = "bazel-website-c174fa288aa079b68416d2ce2cc97268fa172f42", |
| 669 | urls = ["https://github.com/bazelbuild/bazel-website/archive/c174fa288aa079b68416d2ce2cc97268fa172f42.tar.gz"], |
Jingwen Chen | 762c27d | 2020-05-14 03:07:03 -0700 | [diff] [blame] | 670 | ) |
| 671 | |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 672 | # Stardoc recommends declaring its dependencies via "*_dependencies" functions. |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 673 | # This requires that the repositories these functions come from need to be |
| 674 | # fetched unconditionally for everything (including just building bazel!), so |
| 675 | # provide them as http_archives that can be shiped in the distdir, to keep the |
| 676 | # distribution archive self-contained. |
| 677 | http_archive( |
| 678 | name = "io_bazel_rules_sass", |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 679 | sha256 = "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", |
John Cater | f47f83e | 2020-05-04 05:16:00 -0700 | [diff] [blame] | 680 | strip_prefix = "rules_sass-1.25.0", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 681 | urls = [ |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 682 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
| 683 | "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 684 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 685 | ) |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 686 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 687 | http_archive( |
| 688 | name = "build_bazel_rules_nodejs", |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 689 | sha256 = "b6670f9f43faa66e3009488bbd909bc7bc46a5a9661a33f6bc578068d1837f37", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 690 | urls = [ |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 691 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/1.3.0/rules_nodejs-1.3.0.tar.gz", |
| 692 | "https://github.com/bazelbuild/rules_nodejs/releases/download/1.3.0/rules_nodejs-1.3.0.tar.gz", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 693 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 694 | ) |
| 695 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 696 | http_archive( |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 697 | name = "java_tools_langtools_javac11", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 698 | sha256 = "cf0814fa002ef3d794582bb086516d8c9ed0958f83f19799cdb08949019fe4c7", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 699 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 700 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk11_v2.zip", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 701 | ], |
| 702 | ) |
| 703 | |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 704 | http_archive( |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 705 | name = "platforms", |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 706 | sha256 = "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
| 707 | strip_prefix = "platforms-46993efdd33b73649796c5fc5c9efb193ae19d51", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 708 | urls = [ |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 709 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 710 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 711 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 712 | ) |
| 713 | |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 714 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE |
| 715 | http_archive( |
| 716 | name = "android_tools_for_testing", |
| 717 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 718 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 719 | sha256 = "ea5c0589a01e2a9f43c20e5c145d3530e3b3bdbe7322789bc5da38d0ca49b837", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER |
Donald Chai | b69e1e5 | 2020-08-03 12:34:17 -0700 | [diff] [blame] | 720 | url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.19.0rc3.tar.gz", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 721 | ) |
| 722 | |
| 723 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/coverage.WORKSPACE. |
| 724 | http_archive( |
| 725 | name = "remote_coverage_tools_for_testing", |
| 726 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 727 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 728 | sha256 = "cd14f1cb4559e4723e63b7e7b06d09fcc3bd7ba58d03f354cdff1439bd936a7d", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 729 | urls = [ |
Charles Mita | e9d883f | 2020-10-01 06:00:50 -0700 | [diff] [blame^] | 730 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.5.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 731 | ], |
| 732 | ) |
| 733 | |
| 734 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 735 | http_archive( |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 736 | name = "remotejdk11_linux_for_testing", |
| 737 | build_file = "@local_jdk//:BUILD.bazel", |
| 738 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 739 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 740 | sha256 = "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", |
| 741 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-linux_x64", |
| 742 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 743 | ) |
| 744 | |
| 745 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 746 | http_archive( |
| 747 | name = "remotejdk11_linux_aarch64_for_testing", |
| 748 | build_file = "@local_jdk//:BUILD.bazel", |
| 749 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 750 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 751 | sha256 = "a452f1b9682d9f83c1c14e54d1446e1c51b5173a3a05dcb013d380f9508562e4", |
| 752 | strip_prefix = "zulu11.37.48-ca-jdk11.0.6-linux_aarch64", |
| 753 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64.tar.gz"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 754 | ) |
| 755 | |
| 756 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 757 | http_archive( |
Jason Furmanek | 04e073e | 2020-05-28 05:48:09 -0700 | [diff] [blame] | 758 | name = "remotejdk11_linux_ppc64le_for_testing", |
| 759 | build_file = "@local_jdk//:BUILD.bazel", |
| 760 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 761 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 762 | sha256 = "a417db0295b1f4b538ecbaf7c774f3a177fab9657a665940170936c0eca4e71a", |
| 763 | strip_prefix = "jdk-11.0.7+10", |
| 764 | urls = [ |
philwo | 66d84ef | 2020-06-05 06:52:20 -0700 | [diff] [blame] | 765 | "https://mirror.bazel.build/openjdk/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz", |
| 766 | "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.7_10.tar.gz", |
Jason Furmanek | 04e073e | 2020-05-28 05:48:09 -0700 | [diff] [blame] | 767 | ], |
| 768 | ) |
| 769 | |
| 770 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 771 | http_archive( |
Ruixin Bao | e14a6f2 | 2020-08-21 06:17:24 -0700 | [diff] [blame] | 772 | name = "remotejdk11_linux_s390x_for_testing", |
| 773 | build_file = "@local_jdk//:BUILD.bazel", |
| 774 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 775 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 776 | sha256 = "d9b72e87a1d3ebc0c9552f72ae5eb150fffc0298a7cb841f1ce7bfc70dcd1059", |
| 777 | strip_prefix = "jdk-11.0.7+10", |
| 778 | urls = [ |
| 779 | "https://mirror.bazel.build/github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz", |
| 780 | "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.7_10.tar.gz", |
| 781 | ], |
| 782 | ) |
| 783 | |
| 784 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 785 | http_archive( |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 786 | name = "remotejdk11_macos_for_testing", |
| 787 | build_file = "@local_jdk//:BUILD.bazel", |
| 788 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 789 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 790 | sha256 = "e1fe56769f32e2aaac95e0a8f86b5a323da5af3a3b4bba73f3086391a6cc056f", |
| 791 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-macosx_x64", |
| 792 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 793 | ) |
| 794 | |
| 795 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 796 | http_archive( |
| 797 | name = "remotejdk11_win_for_testing", |
| 798 | build_file = "@local_jdk//:BUILD.bazel", |
| 799 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 800 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 801 | sha256 = "a9695617b8374bfa171f166951214965b1d1d08f43218db9a2a780b71c665c18", |
| 802 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-win_x64", |
| 803 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64.zip"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 804 | ) |
| 805 | |
| 806 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 807 | http_archive( |
David Ostrovsky | fe291f7 | 2020-07-23 04:08:29 -0700 | [diff] [blame] | 808 | name = "remotejdk14_linux_for_testing", |
| 809 | build_file = "@local_jdk//:BUILD.bazel", |
| 810 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 811 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 812 | sha256 = "48bb8947034cd079ad1ef83335e7634db4b12a26743a0dc314b6b861480777aa", |
| 813 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-linux_x64", |
| 814 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-linux_x64.tar.gz"], |
| 815 | ) |
| 816 | |
| 817 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 818 | http_archive( |
| 819 | name = "remotejdk14_macos_for_testing", |
| 820 | build_file = "@local_jdk//:BUILD.bazel", |
| 821 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 822 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 823 | sha256 = "088bd4d0890acc9f032b738283bf0f26b2a55c50b02d1c8a12c451d8ddf080dd", |
| 824 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-macosx_x64", |
| 825 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-macosx_x64.tar.gz"], |
| 826 | ) |
| 827 | |
| 828 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 829 | http_archive( |
| 830 | name = "remotejdk14_win_for_testing", |
| 831 | build_file = "@local_jdk//:BUILD.bazel", |
| 832 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 833 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 834 | sha256 = "9cb078b5026a900d61239c866161f0d9558ec759aa15c5b4c7e905370e868284", |
| 835 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-win_x64", |
| 836 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-win_x64.zip"], |
| 837 | ) |
| 838 | |
| 839 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 840 | http_archive( |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 841 | name = "remote_java_tools_linux_for_testing", |
| 842 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 843 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 844 | sha256 = "69e65353c2cd65780abcbcce4daae973599298273b0f8b4d469eed822cb220d1", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 845 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 846 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_linux-v10.0.zip", |
| 847 | "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.0/java_tools_javac11_linux-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 848 | ], |
| 849 | ) |
| 850 | |
| 851 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 852 | http_archive( |
| 853 | name = "remote_java_tools_windows_for_testing", |
| 854 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 855 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 856 | sha256 = "d2f62af8daa0a3d55789b605f6582e37038329c64843337c71e64515468e55c4", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 857 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 858 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_windows-v10.0.zip", |
| 859 | "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.0/java_tools_javac11_windows-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 860 | ], |
| 861 | ) |
| 862 | |
| 863 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 864 | http_archive( |
| 865 | name = "remote_java_tools_darwin_for_testing", |
| 866 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 867 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 868 | sha256 = "64e5de2175dfccb96831573946b80d106edf3801d9db38b564514bf3581d466b", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 869 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 870 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_darwin-v10.0.zip", |
| 871 | "https://github.com/bazelbuild/java_tools/releases/download/javac11_v10.0/java_tools_javac11_darwin-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 872 | ], |
| 873 | ) |
| 874 | |
| 875 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 876 | http_archive( |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 877 | name = "remote_java_tools_javac11_test_linux", |
| 878 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 879 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 880 | sha256 = "69e65353c2cd65780abcbcce4daae973599298273b0f8b4d469eed822cb220d1", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 881 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 882 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_linux-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 883 | ], |
| 884 | ) |
| 885 | |
| 886 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 887 | http_archive( |
| 888 | name = "remote_java_tools_javac11_test_windows", |
| 889 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 890 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 891 | sha256 = "d2f62af8daa0a3d55789b605f6582e37038329c64843337c71e64515468e55c4", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 892 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 893 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_windows-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 894 | ], |
| 895 | ) |
| 896 | |
| 897 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 898 | http_archive( |
| 899 | name = "remote_java_tools_javac11_test_darwin", |
| 900 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 901 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 902 | sha256 = "64e5de2175dfccb96831573946b80d106edf3801d9db38b564514bf3581d466b", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 903 | urls = [ |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 904 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v10.0/java_tools_javac11_darwin-v10.0.zip", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 905 | ], |
| 906 | ) |
| 907 | |
| 908 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 909 | http_archive( |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 910 | name = "openjdk11_linux_archive", |
| 911 | build_file_content = """ |
| 912 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 913 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 914 | """, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 915 | sha256 = "360626cc19063bc411bfed2914301b908a8f77a7919aaea007a977fa8fb3cde1", |
| 916 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-linux_x64", |
| 917 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64.tar.gz"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 918 | ) |
| 919 | |
| 920 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 921 | http_archive( |
| 922 | name = "openjdk11_darwin_archive", |
| 923 | build_file_content = """ |
| 924 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 925 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 926 | """, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 927 | sha256 = "e1fe56769f32e2aaac95e0a8f86b5a323da5af3a3b4bba73f3086391a6cc056f", |
| 928 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-macosx_x64", |
| 929 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64.tar.gz"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 930 | ) |
| 931 | |
| 932 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 933 | http_archive( |
| 934 | name = "openjdk11_windows_archive", |
| 935 | build_file_content = """ |
| 936 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 937 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 938 | """, |
philwo | 8b1ef42 | 2020-02-14 08:26:00 -0800 | [diff] [blame] | 939 | sha256 = "a9695617b8374bfa171f166951214965b1d1d08f43218db9a2a780b71c665c18", |
| 940 | strip_prefix = "zulu11.37.17-ca-jdk11.0.6-win_x64", |
| 941 | urls = ["https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64.zip"], |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 942 | ) |
| 943 | |
David Ostrovsky | fe291f7 | 2020-07-23 04:08:29 -0700 | [diff] [blame] | 944 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 945 | http_archive( |
| 946 | name = "openjdk14_linux_archive", |
| 947 | build_file_content = """ |
| 948 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 949 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 950 | """, |
| 951 | sha256 = "48bb8947034cd079ad1ef83335e7634db4b12a26743a0dc314b6b861480777aa", |
| 952 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-linux_x64", |
| 953 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-linux_x64.tar.gz"], |
| 954 | ) |
| 955 | |
| 956 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 957 | http_archive( |
| 958 | name = "openjdk14_darwin_archive", |
| 959 | build_file_content = """ |
| 960 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 961 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 962 | """, |
| 963 | sha256 = "088bd4d0890acc9f032b738283bf0f26b2a55c50b02d1c8a12c451d8ddf080dd", |
| 964 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-macosx_x64", |
| 965 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-macosx_x64.tar.gz"], |
| 966 | ) |
| 967 | |
| 968 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 969 | http_archive( |
| 970 | name = "openjdk14_windows_archive", |
| 971 | build_file_content = """ |
| 972 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 973 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 974 | """, |
| 975 | sha256 = "9cb078b5026a900d61239c866161f0d9558ec759aa15c5b4c7e905370e868284", |
| 976 | strip_prefix = "zulu14.28.21-ca-jdk14.0.1-win_x64", |
| 977 | urls = ["https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu14.28.21-ca-jdk14.0.1-win_x64.zip"], |
| 978 | ) |
| 979 | |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 980 | load("@io_bazel_skydoc//:setup.bzl", "stardoc_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 981 | |
wyv | 8062ca4 | 2020-05-25 00:21:00 -0700 | [diff] [blame] | 982 | stardoc_repositories() |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 983 | |
| 984 | load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 985 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 986 | rules_sass_dependencies() |
| 987 | |
Laurent Le Brun | da3d9f0 | 2020-02-18 05:53:57 -0800 | [diff] [blame] | 988 | load("@build_bazel_rules_nodejs//:index.bzl", "node_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 989 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 990 | node_repositories() |
| 991 | |
| 992 | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 993 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 994 | sass_repositories() |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 995 | |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 996 | register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 997 | |
| 998 | # Tools for building deb, rpm and tar files. |
| 999 | http_archive( |
| 1000 | name = "rules_pkg", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 1001 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1002 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 1003 | sha256 = "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1004 | urls = [ |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 1005 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 1006 | "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1007 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1008 | ) |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 1009 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1010 | load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 1011 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1012 | rules_pkg_dependencies() |
Laszlo Csomor | 3e02318 | 2019-08-01 05:05:09 -0700 | [diff] [blame] | 1013 | |
| 1014 | # Toolchains for Resource Compilation (.rc files on Windows). |
| 1015 | load("//src/main/res:winsdk_configure.bzl", "winsdk_configure") |
| 1016 | |
| 1017 | winsdk_configure(name = "local_config_winsdk") |
| 1018 | |
| 1019 | load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains") |
| 1020 | |
| 1021 | register_local_rc_exe_toolchains() |
| 1022 | |
| 1023 | register_toolchains("//src/main/res:empty_rc_toolchain") |
Yun Peng | 01609b8 | 2020-05-04 11:12:33 -0700 | [diff] [blame] | 1024 | |
Yun Peng | b3ac8f6 | 2020-09-11 07:39:36 -0700 | [diff] [blame] | 1025 | # Patch upb for grpc due to https://github.com/bazelbuild/bazel/issues/12056 |
| 1026 | # TODO: Remove the following after upgrading grpc to a newer version that's not |
| 1027 | # affected by this issue. |
| 1028 | http_archive( |
| 1029 | name = "upb", |
Yun Peng | b3ac8f6 | 2020-09-11 07:39:36 -0700 | [diff] [blame] | 1030 | patch_args = ["-p1"], |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1031 | patches = ["//third_party/grpc:upb_gcc10_fix.patch"], |
| 1032 | sha256 = "61d0417abd60e65ed589c9deee7c124fe76a4106831f6ad39464e1525cef1454", |
Yun Peng | b3ac8f6 | 2020-09-11 07:39:36 -0700 | [diff] [blame] | 1033 | strip_prefix = "upb-9effcbcb27f0a665f9f345030188c0b291e32482", |
| 1034 | urls = [ |
| 1035 | "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 1036 | "https://github.com/protocolbuffers/upb/archive/9effcbcb27f0a665f9f345030188c0b291e32482.tar.gz", |
| 1037 | ], |
| 1038 | ) |
| 1039 | |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 1040 | http_archive( |
| 1041 | name = "com_github_grpc_grpc", |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1042 | patch_args = ["-p1"], |
| 1043 | patches = ["//third_party/grpc:grpc_1.26.0.patch"], |
| 1044 | sha256 = "2fcb7f1ab160d6fd3aaade64520be3e5446fc4c6fa7ba6581afdc4e26094bd81", |
| 1045 | strip_prefix = "grpc-1.26.0", |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 1046 | urls = [ |
| 1047 | "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 1048 | "https://github.com/grpc/grpc/archive/v1.26.0.tar.gz", |
| 1049 | ], |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 1050 | ) |
| 1051 | |
| 1052 | # Projects using gRPC as an external dependency must call both grpc_deps() and |
| 1053 | # grpc_extra_deps(). |
| 1054 | load("@com_github_grpc_grpc//bazel:grpc_deps.bzl", "grpc_deps") |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1055 | |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 1056 | grpc_deps() |
| 1057 | |
| 1058 | load("@com_github_grpc_grpc//bazel:grpc_extra_deps.bzl", "grpc_extra_deps") |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1059 | |
Yun Peng | e2f11d7 | 2020-06-03 09:16:35 -0700 | [diff] [blame] | 1060 | grpc_extra_deps() |
| 1061 | |
Yun Peng | 01609b8 | 2020-05-04 11:12:33 -0700 | [diff] [blame] | 1062 | load("//tools/distributions/debian:deps.bzl", "debian_deps") |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1063 | |
Yun Peng | 01609b8 | 2020-05-04 11:12:33 -0700 | [diff] [blame] | 1064 | debian_deps() |
Andrzej Guszak | 0f9a592 | 2020-06-25 05:47:21 -0700 | [diff] [blame] | 1065 | |
| 1066 | load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") |
Ivo List | 4c6c999 | 2020-09-23 09:25:05 -0700 | [diff] [blame] | 1067 | |
Andrzej Guszak | 0f9a592 | 2020-06-25 05:47:21 -0700 | [diff] [blame] | 1068 | bazel_skylib_workspace() |