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 | |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 3 | load("//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
| 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 | |
Cal Peyser | 2152bc1 | 2016-04-22 17:08:59 +0000 | [diff] [blame] | 90 | # This allows rules written in skylark 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"], |
| 99 | patches = ["@io_bazel//third_party/protobuf:3.11.3.patch"], |
| 100 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 101 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 102 | sha256 = "cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852", |
| 103 | strip_prefix = "protobuf-3.11.3", |
| 104 | urls = [ |
| 105 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 106 | "https://github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 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", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 149 | "java_tools_javac11_linux-v7.0.zip", |
| 150 | "java_tools_javac11_windows-v7.0.zip", |
| 151 | "java_tools_javac11_darwin-v7.0.zip", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 152 | "coverage_output_generator-v2.1.zip", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 153 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 154 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 155 | "0.16.2.zip", |
Donald Chai | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 156 | "android_tools_pkg-0.14.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 157 | # bazelbuild/bazel-skylib |
| 158 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 159 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 160 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 161 | # bazelbuild/rules_java |
| 162 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 163 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 164 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 165 | # bazelbuild/bazel-toolchains |
philwo | 25f1069 | 2020-02-14 04:18:20 -0800 | [diff] [blame] | 166 | "2.1.0.tar.gz", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 167 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 168 | "rules_pkg-0.2.4.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 169 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 170 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 171 | # protocolbuffers/protobuf |
| 172 | "v3.11.3.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 173 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 174 | dirname = "derived/distdir", |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 175 | sha256 = { |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 176 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 177 | "java_tools_javac11_linux-v7.0.zip": "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 178 | "java_tools_javac11_windows-v7.0.zip": "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 179 | "java_tools_javac11_darwin-v7.0.zip": "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 180 | "coverage_output_generator-v2.1.zip": "96ac6bc9b9fbc67b532bcae562da1642409791e6a4b8e522f04946ee5cc3ff8e", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 181 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz": "e6a76586b264f30679688f65f7e71ac112d1446681010a13bf22d9ca071f34b7", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 182 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
| 183 | "0.16.2.zip": "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 184 | "android_tools_pkg-0.14.tar.gz": "a3a951838448483e7af25afd10671b266cc6283104b4a2a427d31cac12cf0912", # built at 6c63d70ef9c11a662b8323c0ae4f6d3ac53b1a60 |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 185 | # bazelbuild/bazel-skylib |
| 186 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 187 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 188 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 189 | # bazelbuild/rules_java |
| 190 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 191 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 192 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 193 | # bazelbuild/bazel-toolchains |
philwo | 25f1069 | 2020-02-14 04:18:20 -0800 | [diff] [blame] | 194 | "2.1.0.tar.gz": "4d348abfaddbcee0c077fc51bb1177065c3663191588ab3d958f027cbfe1818b", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 195 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 196 | "rules_pkg-0.2.4.tar.gz": "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 197 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 198 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 199 | # protocolbuffers/protobuf |
| 200 | "v3.11.3.tar.gz": "cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 201 | }, |
| 202 | urls = { |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 203 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [ |
| 204 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 205 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 206 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 207 | "java_tools_javac11_linux-v7.0.zip": [ |
| 208 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_linux-v7.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 209 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 210 | "java_tools_javac11_windows-v7.0.zip": [ |
| 211 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_windows-v7.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 212 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 213 | "java_tools_javac11_darwin-v7.0.zip": [ |
| 214 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_darwin-v7.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 215 | ], |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 216 | "coverage_output_generator-v2.1.zip": [ |
| 217 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.1.zip", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 218 | ], |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 219 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz": [ |
| 220 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
| 221 | "https://github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 222 | ], |
| 223 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": [ |
| 224 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 225 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 226 | ], |
| 227 | "0.16.2.zip": [ |
| 228 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 229 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 230 | ], |
Donald Chai | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 231 | "android_tools_pkg-0.14.tar.gz": [ |
| 232 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.14.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 233 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 234 | # bazelbuild/bazel-skylib |
| 235 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": [ |
| 236 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 237 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 238 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 239 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 240 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 241 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 242 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 243 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 244 | # bazelbuild/rules_java |
| 245 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 246 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 247 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 248 | ], |
| 249 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 250 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 251 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 252 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 253 | ], |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 254 | # bazelbuild/bazel-toolchains |
philwo | 25f1069 | 2020-02-14 04:18:20 -0800 | [diff] [blame] | 255 | "2.1.0.tar.gz": [ |
| 256 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.1.0.tar.gz", |
| 257 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/2.1.0/bazel-toolchains-2.1.0.tar.gz", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 258 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 259 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 260 | "rules_pkg-0.2.4.tar.gz": [ |
| 261 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 262 | "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] | 263 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 264 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 265 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 266 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 267 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 268 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 269 | # protocolbuffers/protobuf |
| 270 | "v3.11.3.tar.gz": [ |
| 271 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 272 | "https://github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 273 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 274 | }, |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 275 | ) |
| 276 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 277 | # OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK. |
| 278 | http_file( |
| 279 | name = "openjdk_linux", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 280 | downloaded_file_path = "zulu-linux.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 281 | sha256 = "460d8a4f0c0204160b48086e341b22943c9cca471b195340e75b38ae9eb33c1c", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 282 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 283 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-linux_x64-allmodules-90755145cb6e6418584d8603cd5fa9afbb30aecc-1549209950.tar.gz", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 284 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 285 | ) |
| 286 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 287 | http_file( |
| 288 | name = "openjdk_linux_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 289 | downloaded_file_path = "zulu-linux-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 290 | sha256 = "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 291 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 292 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 293 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 294 | ) |
| 295 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 296 | http_file( |
| 297 | name = "openjdk_linux_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 298 | downloaded_file_path = "zulu-linux-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 299 | sha256 = "5123bc8dd21886761d1fd9ca0fb1898b3372d7243064a070ec81ca9c9d1a6791", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 300 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 301 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-linux_x64-minimal-524ae2ca2a782c9f15e00f08bd35b3f8ceacbd7f-1556011926.tar.gz", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 302 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 303 | ) |
| 304 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 305 | http_file( |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 306 | name = "openjdk_linux_aarch64", |
| 307 | downloaded_file_path = "zulu-linux-aarch64.tar.gz", |
| 308 | sha256 = "23c37c0c3a8fdcbc68e96e70ff5c5c020c14db76deaae9b547849afda4586e5e", |
| 309 | urls = [ |
| 310 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64-allmodules-c82eb4878c7dc829455caeb915affe36c89df06f-1561630858.tar.gz", |
| 311 | ], |
| 312 | ) |
| 313 | |
| 314 | http_file( |
| 315 | name = "openjdk_linux_aarch64_vanilla", |
| 316 | downloaded_file_path = "zulu-linux-aarch64-vanilla.tar.gz", |
| 317 | sha256 = "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
| 318 | urls = [ |
| 319 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
| 320 | ], |
| 321 | ) |
| 322 | |
| 323 | http_file( |
| 324 | name = "openjdk_linux_aarch64_minimal", |
| 325 | downloaded_file_path = "zulu-linux-aarch64-minimal.tar.gz", |
| 326 | sha256 = "7af2583fe5ef0a781d4a9dca0c0160d42e7db1305ec1b66f98aa44c91cc875df", |
| 327 | urls = [ |
| 328 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64-minimal-c82eb4878c7dc829455caeb915affe36c89df06f-1561630858.tar.gz", |
| 329 | ], |
| 330 | ) |
| 331 | |
| 332 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 333 | name = "openjdk_macos", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 334 | downloaded_file_path = "zulu-macos.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 335 | sha256 = "8fa61d85ca6f657d646fdb50cfc8634987f8f7d8a3250ed39fb7364647633252", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 336 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 337 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-macosx_x64-allmodules-90755145cb6e6418584d8603cd5fa9afbb30aecc-1549209951.tar.gz", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 338 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 339 | ) |
| 340 | |
| 341 | http_file( |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 342 | name = "openjdk_macos_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 343 | downloaded_file_path = "zulu-macos-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 344 | sha256 = "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 345 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 346 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 347 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 348 | ) |
| 349 | |
| 350 | http_file( |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 351 | name = "openjdk_macos_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 352 | downloaded_file_path = "zulu-macos-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 353 | sha256 = "ac56e44db46fd56ac78b39b6823daed4faa74a2677ac340c7d217f863884ec0f", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 354 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 355 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-macosx_x64-minimal-524ae2ca2a782c9f15e00f08bd35b3f8ceacbd7f-1556003114.tar.gz", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 356 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 357 | ) |
| 358 | |
| 359 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 360 | name = "openjdk_win", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 361 | downloaded_file_path = "zulu-win.zip", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 362 | sha256 = "e6ddb361309f8e84eb5fb5ad8b0f5cc031ba3679910139262c31efd8f7579d05", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 363 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 364 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-win_x64-allmodules-90755145cb6e6418584d8603cd5fa9afbb30aecc-1549209972.zip", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 365 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 366 | ) |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 367 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 368 | http_file( |
| 369 | name = "openjdk_win_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 370 | downloaded_file_path = "zulu-win-vanilla.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 371 | sha256 = "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 372 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 373 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-win_x64.zip", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 374 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 375 | ) |
| 376 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 377 | http_file( |
| 378 | name = "openjdk_win_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 379 | downloaded_file_path = "zulu-win-minimal.zip", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 380 | sha256 = "8e5dada6e9ebcc9ce29b4d051449bb95d3ee1e620e166da862224bbf15211f8b", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 381 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 382 | "https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-win_x64-minimal-524ae2ca2a782c9f15e00f08bd35b3f8ceacbd7f-1556003136.zip", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 383 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 384 | ) |
| 385 | |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 386 | http_archive( |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 387 | name = "bazel_toolchains", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 388 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 389 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
philwo | 25f1069 | 2020-02-14 04:18:20 -0800 | [diff] [blame] | 390 | sha256 = "4d348abfaddbcee0c077fc51bb1177065c3663191588ab3d958f027cbfe1818b", |
| 391 | strip_prefix = "bazel-toolchains-2.1.0", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 392 | urls = [ |
philwo | 25f1069 | 2020-02-14 04:18:20 -0800 | [diff] [blame] | 393 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.1.0.tar.gz", |
| 394 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/2.1.0/bazel-toolchains-2.1.0.tar.gz", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 395 | ], |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 396 | ) |
ccalvarin | 1cbe62a | 2017-08-14 21:09:07 +0200 | [diff] [blame] | 397 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 398 | load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 399 | |
| 400 | rbe_autoconfig( |
| 401 | name = "rbe_ubuntu1804_java11", |
| 402 | detect_java_home = True, |
| 403 | registry = "gcr.io", |
| 404 | repository = "bazel-public/ubuntu1804/bazel", |
| 405 | tag = "java11", |
| 406 | ) |
| 407 | |
| 408 | rbe_autoconfig( |
| 409 | name = "rbe_ubuntu1604_java8", |
| 410 | detect_java_home = True, |
| 411 | registry = "gcr.io", |
| 412 | repository = "bazel-public/ubuntu1604/bazel", |
| 413 | tag = "java8", |
Jakob Buchgraber | 3541ad6 | 2019-04-30 07:51:12 -0700 | [diff] [blame] | 414 | ) |
| 415 | |
Googler | de0612a | 2019-03-07 06:06:55 -0800 | [diff] [blame] | 416 | # Creates toolchain configuration for remote execution with BuildKite CI |
| 417 | # for rbe_ubuntu1604. |
| 418 | # To run the tests with RBE on BuildKite CI uncomment the two lines below |
| 419 | # load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 420 | # rbe_autoconfig(name = "buildkite_config") |
| 421 | |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 422 | http_archive( |
| 423 | name = "com_google_googletest", |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 424 | sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", |
| 425 | strip_prefix = "googletest-release-1.10.0", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 426 | urls = [ |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 427 | "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz", |
| 428 | "https://github.com/google/googletest/archive/release-1.10.0.tar.gz", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 429 | ], |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 430 | ) |
| 431 | |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 432 | http_archive( |
| 433 | name = "bazel_skylib", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 434 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 435 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 436 | # Commit f83cb8dd6f5658bc574ccd873e25197055265d1c of 2018-11-26 |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 437 | sha256 = "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
| 438 | strip_prefix = "bazel-skylib-f83cb8dd6f5658bc574ccd873e25197055265d1c", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 439 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 440 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 441 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 442 | ], |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 443 | ) |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 444 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 445 | # Note that skydoc depends on being called io_bazel_skydoc (and not just skydoc) |
| 446 | # to work without being patched, as it hard-codes this name in its sources. |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 447 | http_archive( |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 448 | name = "io_bazel_skydoc", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 449 | sha256 = "e6a76586b264f30679688f65f7e71ac112d1446681010a13bf22d9ca071f34b7", |
| 450 | strip_prefix = "skydoc-c7bbde2950769aac9a99364b0926230060a3ce04", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 451 | urls = [ |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 452 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
| 453 | "https://github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 454 | ], |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 455 | ) |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 456 | |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 457 | http_archive( |
| 458 | name = "rules_cc", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 459 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 460 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 461 | sha256 = "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
| 462 | strip_prefix = "rules_cc-8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 463 | urls = [ |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 464 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 465 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 466 | ], |
| 467 | ) |
| 468 | |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 469 | http_archive( |
| 470 | name = "rules_java", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 471 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 472 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 473 | sha256 = "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 474 | strip_prefix = "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 475 | urls = [ |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 476 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 477 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 478 | ], |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 479 | ) |
| 480 | |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 481 | http_archive( |
| 482 | name = "rules_proto", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 483 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 484 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 485 | sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
| 486 | strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 487 | urls = [ |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 488 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 489 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 490 | ], |
| 491 | ) |
| 492 | |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 493 | # For testing, have an distdir_tar with all the archives implicit in every |
| 494 | # WORKSPACE, to that they don't have to be refetched for every test |
| 495 | # calling `bazel sync`. |
| 496 | distdir_tar( |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 497 | name = "test_WORKSPACE_files", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 498 | archives = [ |
| 499 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
| 500 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz", |
| 501 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip", |
| 502 | "jdk9-server-release-1708.tar.xz", |
| 503 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz", |
| 504 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz", |
| 505 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip", |
| 506 | "jdk10-server-release-1804.tar.xz", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 507 | "java_tools_javac11_linux-v7.0.zip", |
| 508 | "java_tools_javac11_windows-v7.0.zip", |
| 509 | "java_tools_javac11_darwin-v7.0.zip", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 510 | "coverage_output_generator-v2.1.zip", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 511 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz", |
| 512 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz", |
| 513 | "zulu11.2.3-jdk11.0.1-win_x64.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 514 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 515 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 516 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip", |
| 517 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip", |
Donald Chai | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 518 | "android_tools_pkg-0.14.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 519 | # bazelbuild/bazel-skylib |
| 520 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 521 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 522 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 523 | # bazelbuild/rules_java |
| 524 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 525 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 526 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 527 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 528 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 529 | # protocolbuffers/protobuf |
| 530 | "v3.11.3.tar.gz", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 531 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 532 | dirname = "test_WORKSPACE/distdir", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 533 | sha256 = { |
| 534 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz": "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 535 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz": "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de", |
| 536 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip": "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed", |
| 537 | "jdk9-server-release-1708.tar.xz": "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
| 538 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz": "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5", |
| 539 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz": "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3", |
| 540 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip": "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5", |
| 541 | "jdk10-server-release-1804.tar.xz": "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 542 | "java_tools_javac11_linux-v7.0.zip": "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 543 | "java_tools_javac11_windows-v7.0.zip": "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 544 | "java_tools_javac11_darwin-v7.0.zip": "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 545 | "coverage_output_generator-v2.1.zip": "96ac6bc9b9fbc67b532bcae562da1642409791e6a4b8e522f04946ee5cc3ff8e", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 546 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 547 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz": "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 548 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb", |
| 549 | "zulu11.2.3-jdk11.0.1-win_x64.zip": "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 550 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz": "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
| 551 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip": "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
| 552 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip": "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 553 | "android_tools_pkg-0.14.tar.gz": "a3a951838448483e7af25afd10671b266cc6283104b4a2a427d31cac12cf0912", # built at 6c63d70ef9c11a662b8323c0ae4f6d3ac53b1a60 |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 554 | # bazelbuild/bazel-skylib |
| 555 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 556 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 557 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 558 | # bazelbuild/rules_java |
| 559 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 560 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 561 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 562 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 563 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 564 | # protocolbuffers/protobuf |
| 565 | "v3.11.3.tar.gz": "cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 566 | }, |
| 567 | urls = { |
| 568 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz"], |
| 569 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz"], |
| 570 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip": ["https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip"], |
| 571 | "jdk9-server-release-1708.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz"], |
| 572 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz"], |
| 573 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz"], |
| 574 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip": ["https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip"], |
| 575 | "jdk10-server-release-1804.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz"], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 576 | "java_tools_javac11_linux-v7.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_linux-v7.0.zip"], |
| 577 | "java_tools_javac11_windows-v7.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_windows-v7.0.zip"], |
| 578 | "java_tools_javac11_darwin-v7.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_darwin-v7.0.zip"], |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 579 | "coverage_output_generator-v2.1.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.1.zip"], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 580 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz"], |
| 581 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz"], |
| 582 | "zulu11.2.3-jdk11.0.1-win_x64.zip": ["https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-win_x64.zip"], |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 583 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz"], |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 584 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz": ["https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz"], |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 585 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip": ["https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip"], |
| 586 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip": ["https://mirror.bazel.build/openjdk/azul-zulu11.29.3-ca-jdk11.0.2/zulu11.29.3-ca-jdk11.0.2-win_x64.zip"], |
Donald Chai | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 587 | "android_tools_pkg-0.14.tar.gz": [ |
| 588 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.14.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 589 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 590 | # bazelbuild/bazel-skylib |
| 591 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": [ |
| 592 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 593 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 594 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 595 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 596 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 597 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 598 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 599 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 600 | # bazelbuild/rules_java |
| 601 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 602 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 603 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 604 | ], |
| 605 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 606 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 607 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 608 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 609 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 610 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 611 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 612 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 613 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 614 | ], |
Yannic Bonenberger | 5e571d2 | 2020-02-13 07:29:58 -0800 | [diff] [blame] | 615 | # protocolbuffers/protobuf |
| 616 | "v3.11.3.tar.gz": [ |
| 617 | "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 618 | "https://github.com/protocolbuffers/protobuf/archive/v3.11.3.tar.gz", |
| 619 | ], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 620 | }, |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 621 | ) |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 622 | |
| 623 | load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS") |
| 624 | |
| 625 | [http_file( |
| 626 | name = "jekyll_tree_%s" % DOC_VERSION["version"].replace(".", "_"), |
| 627 | sha256 = DOC_VERSION["sha256"], |
| 628 | urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]], |
| 629 | ) for DOC_VERSION in DOC_VERSIONS] |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 630 | |
| 631 | # Skydoc recommends declaring its dependencies via "*_dependencies" functions. |
| 632 | # This requires that the repositories these functions come from need to be |
| 633 | # fetched unconditionally for everything (including just building bazel!), so |
| 634 | # provide them as http_archives that can be shiped in the distdir, to keep the |
| 635 | # distribution archive self-contained. |
| 636 | http_archive( |
| 637 | name = "io_bazel_rules_sass", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 638 | sha256 = "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 639 | strip_prefix = "rules_sass-8ccf4f1c351928b55d5dddf3672e3667f6978d60", |
| 640 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 641 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 642 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 643 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 644 | ) |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 645 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 646 | http_archive( |
| 647 | name = "build_bazel_rules_nodejs", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 648 | sha256 = "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 649 | strip_prefix = "rules_nodejs-0.16.2", |
| 650 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 651 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 652 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 653 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 654 | ) |
| 655 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 656 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 657 | name = "java_tools_langtools_javac9", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 658 | sha256 = "d94befcfb325a9a62aebc2052e631fde2322b4df5c82a19ed260b38ba12a0ad1", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 659 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 660 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk9_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 661 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 662 | ) |
| 663 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 664 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 665 | name = "java_tools_langtools_javac10", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 666 | sha256 = "0e9c9ac5ef17869de3cb8c3497c4c0d31836ef7b63efe1690506f53783adb212", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 667 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 668 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk10_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 669 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 670 | ) |
| 671 | |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 672 | http_archive( |
| 673 | name = "java_tools_langtools_javac11", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 674 | sha256 = "cf0814fa002ef3d794582bb086516d8c9ed0958f83f19799cdb08949019fe4c7", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 675 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 676 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk11_v2.zip", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 677 | ], |
| 678 | ) |
| 679 | |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 680 | http_archive( |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 681 | name = "platforms", |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 682 | sha256 = "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
| 683 | strip_prefix = "platforms-46993efdd33b73649796c5fc5c9efb193ae19d51", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 684 | urls = [ |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 685 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 686 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 687 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 688 | ) |
| 689 | |
| 690 | http_archive( |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 691 | name = "java_tools_langtools_javac12", |
| 692 | sha256 = "99b107105165a91df82cd7cf82a8efb930d803fb7de1663cf7f780142104cd14", |
| 693 | urls = [ |
| 694 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk12.zip", |
| 695 | ], |
| 696 | ) |
| 697 | |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 698 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/android/android_remote_tools.WORKSPACE |
| 699 | http_archive( |
| 700 | name = "android_tools_for_testing", |
| 701 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 702 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 703 | sha256 = "a3a951838448483e7af25afd10671b266cc6283104b4a2a427d31cac12cf0912", # built at 6c63d70ef9c11a662b8323c0ae4f6d3ac53b1a60 |
| 704 | url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.14.tar.gz", |
| 705 | ) |
| 706 | |
| 707 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/coverage.WORKSPACE. |
| 708 | http_archive( |
| 709 | name = "remote_coverage_tools_for_testing", |
| 710 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 711 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 712 | sha256 = "96ac6bc9b9fbc67b532bcae562da1642409791e6a4b8e522f04946ee5cc3ff8e", |
| 713 | urls = [ |
| 714 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.1.zip", |
| 715 | ], |
| 716 | ) |
| 717 | |
| 718 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 719 | http_archive( |
| 720 | name = "remotejdk_linux_for_testing", |
| 721 | build_file = "@local_jdk//:BUILD.bazel", |
| 722 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 723 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 724 | sha256 = "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 725 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules", |
| 726 | urls = [ |
| 727 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
| 728 | ], |
| 729 | ) |
| 730 | |
| 731 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 732 | http_archive( |
| 733 | name = "remotejdk_macos_for_testing", |
| 734 | build_file = "@local_jdk//:BUILD.bazel", |
| 735 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 736 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 737 | sha256 = "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de", |
| 738 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules", |
| 739 | urls = [ |
| 740 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz", |
| 741 | ], |
| 742 | ) |
| 743 | |
| 744 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 745 | http_archive( |
| 746 | name = "remotejdk_win_for_testing", |
| 747 | build_file = "@local_jdk//:BUILD.bazel", |
| 748 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 749 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 750 | sha256 = "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed", |
| 751 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules", |
| 752 | urls = [ |
| 753 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip", |
| 754 | ], |
| 755 | ) |
| 756 | |
| 757 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 758 | http_archive( |
| 759 | name = "remotejdk_linux_aarch64_for_testing", |
| 760 | build_file = "@local_jdk//:BUILD.bazel", |
| 761 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 762 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 763 | sha256 = "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
| 764 | strip_prefix = "jdk9-server-release-1708", |
| 765 | urls = [ |
| 766 | # When you update this, also update the link to the source-code above. |
| 767 | "https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz", |
| 768 | "http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz", |
| 769 | ], |
| 770 | ) |
| 771 | |
| 772 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 773 | http_archive( |
| 774 | name = "remotejdk10_linux_for_testing", |
| 775 | build_file = "@local_jdk//:BUILD.bazel", |
| 776 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 777 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 778 | sha256 = "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5", |
| 779 | strip_prefix = "zulu10.2+3-jdk10.0.1-linux_x64-allmodules", |
| 780 | urls = [ |
| 781 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz", |
| 782 | ], |
| 783 | ) |
| 784 | |
| 785 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 786 | http_archive( |
| 787 | name = "remotejdk10_macos_for_testing", |
| 788 | build_file = "@local_jdk//:BUILD.bazel", |
| 789 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 790 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 791 | sha256 = "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3", |
| 792 | strip_prefix = "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules", |
| 793 | urls = [ |
| 794 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz", |
| 795 | ], |
| 796 | ) |
| 797 | |
| 798 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 799 | http_archive( |
| 800 | name = "remotejdk10_win_for_testing", |
| 801 | build_file = "@local_jdk//:BUILD.bazel", |
| 802 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 803 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 804 | sha256 = "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5", |
| 805 | strip_prefix = "zulu10.2+3-jdk10.0.1-win_x64-allmodules", |
| 806 | urls = [ |
| 807 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip", |
| 808 | ], |
| 809 | ) |
| 810 | |
| 811 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 812 | http_archive( |
| 813 | name = "remotejdk10_linux_aarch64_for_testing", |
| 814 | build_file = "@local_jdk//:BUILD.bazel", |
| 815 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 816 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 817 | sha256 = "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be", |
| 818 | strip_prefix = "jdk10-server-release-1804", |
| 819 | urls = [ |
| 820 | # When you update this, also update the link to the source-code above. |
| 821 | "https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz", |
| 822 | "http://openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz", |
| 823 | ], |
| 824 | ) |
| 825 | |
| 826 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 827 | http_archive( |
| 828 | name = "remotejdk11_linux_for_testing", |
| 829 | build_file = "@local_jdk//:BUILD.bazel", |
| 830 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 831 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 832 | sha256 = "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75", |
| 833 | strip_prefix = "zulu11.2.3-jdk11.0.1-linux_x64", |
| 834 | urls = [ |
| 835 | "https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-linux_x64.tar.gz", |
| 836 | ], |
| 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( |
| 841 | name = "remotejdk11_linux_aarch64_for_testing", |
| 842 | build_file = "@local_jdk//:BUILD.bazel", |
| 843 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 844 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 845 | sha256 = "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
| 846 | strip_prefix = "zulu11.31.15-ca-jdk11.0.3-linux_aarch64", |
| 847 | urls = [ |
| 848 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
| 849 | ], |
| 850 | ) |
| 851 | |
| 852 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 853 | http_archive( |
| 854 | name = "remotejdk11_macos_for_testing", |
| 855 | build_file = "@local_jdk//:BUILD.bazel", |
| 856 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 857 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 858 | sha256 = "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb", |
| 859 | strip_prefix = "zulu11.2.3-jdk11.0.1-macosx_x64", |
| 860 | urls = [ |
| 861 | "https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz", |
| 862 | ], |
| 863 | ) |
| 864 | |
| 865 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 866 | http_archive( |
| 867 | name = "remotejdk11_win_for_testing", |
| 868 | build_file = "@local_jdk//:BUILD.bazel", |
| 869 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE, |
| 870 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_BAZEL_FILE_WIN, |
| 871 | sha256 = "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3", |
| 872 | strip_prefix = "zulu11.2.3-jdk11.0.1-win_x64", |
| 873 | urls = [ |
| 874 | "https://mirror.bazel.build/openjdk/azul-zulu11.2.3-jdk11.0.1/zulu11.2.3-jdk11.0.1-win_x64.zip", |
| 875 | ], |
| 876 | ) |
| 877 | |
| 878 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 879 | http_archive( |
| 880 | name = "remote_java_tools_linux_for_testing", |
| 881 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 882 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 883 | sha256 = "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 884 | urls = [ |
| 885 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_linux-v7.0.zip", |
| 886 | "https://github.com/bazelbuild/java_tools/releases/download/javac11-v7.0/java_tools_javac11_linux-v7.0.zip", |
| 887 | ], |
| 888 | ) |
| 889 | |
| 890 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 891 | http_archive( |
| 892 | name = "remote_java_tools_windows_for_testing", |
| 893 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 894 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 895 | sha256 = "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 896 | urls = [ |
| 897 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_windows-v7.0.zip", |
| 898 | "https://github.com/bazelbuild/java_tools/releases/download/javac11-v7.0/java_tools_javac11_windows-v7.0.zip", |
| 899 | ], |
| 900 | ) |
| 901 | |
| 902 | # This must be kept in sync with src/main/java/com/google/devtools/build/lib/bazel/rules/java/jdk.WORKSPACE. |
| 903 | http_archive( |
| 904 | name = "remote_java_tools_darwin_for_testing", |
| 905 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 906 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 907 | sha256 = "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
| 908 | urls = [ |
| 909 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_darwin-v7.0.zip", |
| 910 | "https://github.com/bazelbuild/java_tools/releases/download/javac11-v7.0/java_tools_javac11_darwin-v7.0.zip", |
| 911 | ], |
| 912 | ) |
| 913 | |
| 914 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 915 | http_archive( |
| 916 | name = "remote_java_tools_javac9_test_linux", |
| 917 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 918 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 919 | sha256 = "e120f4a17365e7fbfc8ef0c1c24ece6668f1db295924bfe0c1b8d52caf8ad3a1", |
| 920 | urls = [ |
| 921 | "https://mirror.bazel.build/bazel_java_tools/releases/javac9/v4.0/java_tools_javac9_linux-v4.0.zip", |
| 922 | ], |
| 923 | ) |
| 924 | |
| 925 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 926 | http_archive( |
| 927 | name = "remote_java_tools_javac9_test_windows", |
| 928 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 929 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 930 | sha256 = "5d1caf08482b72cbea9a5b1530125bc4943daa70da0345ac0a630f51c1d11c6b", |
| 931 | urls = [ |
| 932 | "https://mirror.bazel.build/bazel_java_tools/releases/javac9/v4.0/java_tools_javac9_windows-v4.0.zip", |
| 933 | ], |
| 934 | ) |
| 935 | |
| 936 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 937 | http_archive( |
| 938 | name = "remote_java_tools_javac9_test_darwin", |
| 939 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 940 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 941 | sha256 = "03fd111111cc74b44984fb1eb945eec8ab4a91037538975bc403c26b501ee75f", |
| 942 | urls = [ |
| 943 | "https://mirror.bazel.build/bazel_java_tools/releases/javac9/v4.0/java_tools_javac9_darwin-v4.0.zip", |
| 944 | ], |
| 945 | ) |
| 946 | |
| 947 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 948 | http_archive( |
| 949 | name = "remote_java_tools_javac10_test_linux", |
| 950 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 951 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 952 | sha256 = "d4fbed2bb22634835e42568c2d26df34fdd7281d9a7061c537f32c9970316e38", |
| 953 | urls = [ |
| 954 | "https://mirror.bazel.build/bazel_java_tools/releases/javac10/v5.0/java_tools_javac10_linux-v5.0.zip", |
| 955 | ], |
| 956 | ) |
| 957 | |
| 958 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 959 | http_archive( |
| 960 | name = "remote_java_tools_javac10_test_windows", |
| 961 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 962 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 963 | sha256 = "ee3192ca33c1249ed785c755f84b5a989c22b4a6ca4cb1d7a37dd94104a9999d", |
| 964 | urls = [ |
| 965 | "https://mirror.bazel.build/bazel_java_tools/releases/javac10/v5.0/java_tools_javac10_windows-v5.0.zip", |
| 966 | ], |
| 967 | ) |
| 968 | |
| 969 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 970 | http_archive( |
| 971 | name = "remote_java_tools_javac10_test_darwin", |
| 972 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 973 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 974 | sha256 = "d9311bdccb5cfcc8783b70b81a50ca72029fb35a19295dd056a7f7050d71033f", |
| 975 | urls = [ |
| 976 | "https://mirror.bazel.build/bazel_java_tools/releases/javac10/v5.0/java_tools_javac10_darwin-v5.0.zip", |
| 977 | ], |
| 978 | ) |
| 979 | |
| 980 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 981 | http_archive( |
| 982 | name = "remote_java_tools_javac11_test_linux", |
| 983 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 984 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 985 | sha256 = "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 986 | urls = [ |
| 987 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_linux-v7.0.zip", |
| 988 | ], |
| 989 | ) |
| 990 | |
| 991 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 992 | http_archive( |
| 993 | name = "remote_java_tools_javac11_test_windows", |
| 994 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 995 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 996 | sha256 = "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 997 | urls = [ |
| 998 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_windows-v7.0.zip", |
| 999 | ], |
| 1000 | ) |
| 1001 | |
| 1002 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1003 | http_archive( |
| 1004 | name = "remote_java_tools_javac11_test_darwin", |
| 1005 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1006 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 1007 | sha256 = "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
| 1008 | urls = [ |
| 1009 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v7.0/java_tools_javac11_darwin-v7.0.zip", |
| 1010 | ], |
| 1011 | ) |
| 1012 | |
| 1013 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1014 | http_archive( |
| 1015 | name = "remote_java_tools_javac12_test_linux", |
| 1016 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1017 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 1018 | sha256 = "3997ee9a57b095748f1c0d084839fab2fbc72504aeb7b37b1f71c31738d330e3", |
| 1019 | urls = ["https://mirror.bazel.build/bazel_java_tools/releases/javac12/v3.0/java_tools_javac12_linux-v3.0.zip"], |
| 1020 | ) |
| 1021 | |
| 1022 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1023 | http_archive( |
| 1024 | name = "remote_java_tools_javac12_test_windows", |
| 1025 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1026 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 1027 | sha256 = "cfad1718dad1fed12816748eed27ab30b9ea1268c8ce9940acf3b5b7d82d483d", |
| 1028 | urls = [ |
| 1029 | "https://mirror.bazel.build/bazel_java_tools/releases/javac12/v3.0/java_tools_javac12_windows-v3.0.zip", |
| 1030 | ], |
| 1031 | ) |
| 1032 | |
| 1033 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1034 | http_archive( |
| 1035 | name = "remote_java_tools_javac12_test_darwin", |
| 1036 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1037 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
| 1038 | sha256 = "54df966e7583bafe659e39b4103a4ce934201d969de638d071ada07d8e0c1a3a", |
| 1039 | urls = [ |
| 1040 | "https://mirror.bazel.build/bazel_java_tools/releases/javac12/v3.0/java_tools_javac12_darwin-v3.0.zip", |
| 1041 | ], |
| 1042 | ) |
| 1043 | |
| 1044 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1045 | http_archive( |
| 1046 | name = "openjdk9_linux_archive", |
| 1047 | build_file_content = """ |
| 1048 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1049 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1050 | """, |
| 1051 | sha256 = "45f2dfbee93b91b1468cf81d843fc6d9a47fef1f831c0b7ceff4f1eb6e6851c8", |
| 1052 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64", |
| 1053 | urls = [ |
| 1054 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-linux_x64.tar.gz", |
| 1055 | ], |
| 1056 | ) |
| 1057 | |
| 1058 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1059 | http_archive( |
| 1060 | name = "openjdk9_darwin_archive", |
| 1061 | build_file_content = """ |
| 1062 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1063 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1064 | """, |
| 1065 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-macosx_x64", |
| 1066 | urls = [ |
| 1067 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-macosx_x64.tar.gz", |
| 1068 | ], |
| 1069 | ) |
| 1070 | |
| 1071 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1072 | http_archive( |
| 1073 | name = "openjdk9_windows_archive", |
| 1074 | build_file_content = """ |
| 1075 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1076 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1077 | """, |
| 1078 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-win_x64", |
| 1079 | urls = [ |
| 1080 | "https://mirror.bazel.build/openjdk/azul-zulu-9.0.7.1-jdk9.0.7/zulu9.0.7.1-jdk9.0.7-win_x64.zip", |
| 1081 | ], |
| 1082 | ) |
| 1083 | |
| 1084 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1085 | http_archive( |
| 1086 | name = "openjdk10_linux_archive", |
| 1087 | build_file_content = """ |
| 1088 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1089 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1090 | """, |
| 1091 | sha256 = "b3c2d762091a615b0c1424ebbd05d75cc114da3bf4f25a0dec5c51ea7e84146f", |
| 1092 | strip_prefix = "zulu10.2+3-jdk10.0.1-linux_x64", |
| 1093 | urls = [ |
| 1094 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-linux_x64.tar.gz", |
| 1095 | ], |
| 1096 | ) |
| 1097 | |
| 1098 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1099 | http_archive( |
| 1100 | name = "openjdk10_darwin_archive", |
| 1101 | build_file_content = """ |
| 1102 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1103 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1104 | """, |
| 1105 | strip_prefix = "zulu10.2+3-jdk10.0.1-macosx_x64", |
| 1106 | urls = [ |
| 1107 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-macosx_x64.tar.gz", |
| 1108 | ], |
| 1109 | ) |
| 1110 | |
| 1111 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1112 | http_archive( |
| 1113 | name = "openjdk10_windows_archive", |
| 1114 | build_file_content = """ |
| 1115 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1116 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1117 | """, |
| 1118 | strip_prefix = "zulu10.2+3-jdk10.0.1-win_x64", |
| 1119 | urls = [ |
| 1120 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-win_x64.zip", |
| 1121 | ], |
| 1122 | ) |
| 1123 | |
| 1124 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1125 | http_archive( |
| 1126 | name = "openjdk11_linux_archive", |
| 1127 | build_file_content = """ |
| 1128 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1129 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1130 | """, |
| 1131 | strip_prefix = "zulu11.31.11-ca-jdk11.0.3-linux_x64", |
| 1132 | urls = [ |
| 1133 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.11-ca-jdk11.0.3/zulu11.31.11-ca-jdk11.0.3-linux_x64.tar.gz", |
| 1134 | ], |
| 1135 | ) |
| 1136 | |
| 1137 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1138 | http_archive( |
| 1139 | name = "openjdk11_darwin_archive", |
| 1140 | build_file_content = """ |
| 1141 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1142 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1143 | """, |
| 1144 | strip_prefix = "zulu11.31.11-ca-jdk11.0.3-macosx_x64", |
| 1145 | urls = [ |
| 1146 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.11-ca-jdk11.0.3/zulu11.31.11-ca-jdk11.0.3-macosx_x64.tar.gz", |
| 1147 | ], |
| 1148 | ) |
| 1149 | |
| 1150 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1151 | http_archive( |
| 1152 | name = "openjdk11_windows_archive", |
| 1153 | build_file_content = """ |
| 1154 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1155 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1156 | """, |
| 1157 | strip_prefix = "zulu11.31.11-ca-jdk11.0.3-win_x64", |
| 1158 | urls = [ |
| 1159 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.11-ca-jdk11.0.3/zulu11.31.11-ca-jdk11.0.3-win_x64.zip", |
| 1160 | ], |
| 1161 | ) |
| 1162 | |
| 1163 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1164 | http_archive( |
| 1165 | name = "openjdk12_linux_archive", |
| 1166 | build_file_content = """ |
| 1167 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1168 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1169 | """, |
| 1170 | strip_prefix = "zulu12.2.3-ca-jdk12.0.1-linux_x64", |
| 1171 | urls = [ |
| 1172 | "https://mirror.bazel.build/openjdk/azul-zulu12.2.3-ca-jdk12.0.1/zulu12.2.3-ca-jdk12.0.1-linux_x64.tar.gz", |
| 1173 | ], |
| 1174 | ) |
| 1175 | |
| 1176 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1177 | http_archive( |
| 1178 | name = "openjdk12_darwin_archive", |
| 1179 | build_file_content = """ |
| 1180 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1181 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1182 | """, |
| 1183 | strip_prefix = "zulu12.2.3-ca-jdk12.0.1-macosx_x64", |
| 1184 | urls = [ |
| 1185 | "https://mirror.bazel.build/openjdk/azul-zulu12.2.3-ca-jdk12.0.1/zulu12.2.3-ca-jdk12.0.1-macosx_x64.tar.gz", |
| 1186 | ], |
| 1187 | ) |
| 1188 | |
| 1189 | # This must be kept in sync with src/test/shell/bazel/testdata/jdk_http_archives. |
| 1190 | http_archive( |
| 1191 | name = "openjdk12_windows_archive", |
| 1192 | build_file_content = """ |
| 1193 | java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public']) |
| 1194 | exports_files(["WORKSPACE"], visibility = ["//visibility:public"]) |
| 1195 | """, |
| 1196 | strip_prefix = "zulu12.2.3-ca-jdk12.0.1-win_x64", |
| 1197 | urls = [ |
| 1198 | "https://mirror.bazel.build/openjdk/azul-zulu12.2.3-ca-jdk12.0.1/zulu12.2.3-ca-jdk12.0.1-win_x64.zip", |
| 1199 | ], |
| 1200 | ) |
| 1201 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 1202 | load("@io_bazel_skydoc//:setup.bzl", "skydoc_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 1203 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 1204 | skydoc_repositories() |
| 1205 | |
| 1206 | load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 1207 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 1208 | rules_sass_dependencies() |
| 1209 | |
| 1210 | load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 1211 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 1212 | node_repositories() |
| 1213 | |
| 1214 | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 1215 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 1216 | sass_repositories() |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 1217 | |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 1218 | register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1219 | |
| 1220 | # Tools for building deb, rpm and tar files. |
| 1221 | http_archive( |
| 1222 | name = "rules_pkg", |
philwo | 17506af | 2020-01-28 04:20:39 -0800 | [diff] [blame] | 1223 | patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE, |
| 1224 | patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN, |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 1225 | sha256 = "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1226 | urls = [ |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame] | 1227 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 1228 | "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] | 1229 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1230 | ) |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 1231 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1232 | load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 1233 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 1234 | rules_pkg_dependencies() |
Laszlo Csomor | 3e02318 | 2019-08-01 05:05:09 -0700 | [diff] [blame] | 1235 | |
| 1236 | # Toolchains for Resource Compilation (.rc files on Windows). |
| 1237 | load("//src/main/res:winsdk_configure.bzl", "winsdk_configure") |
| 1238 | |
| 1239 | winsdk_configure(name = "local_config_winsdk") |
| 1240 | |
| 1241 | load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains") |
| 1242 | |
| 1243 | register_local_rc_exe_toolchains() |
| 1244 | |
| 1245 | register_toolchains("//src/main/res:empty_rc_toolchain") |