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 | |
Klaus Aehlig | a55714c | 2018-10-23 02:16:02 -0700 | [diff] [blame] | 3 | load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file") |
Kristina Chodorow | 93fbc3e | 2016-04-27 17:03:28 +0000 | [diff] [blame] | 4 | |
David Chen | b78bbd5 | 2016-03-16 13:17:57 +0000 | [diff] [blame] | 5 | # Protobuf expects an //external:python_headers label which would contain the |
| 6 | # Python headers if fast Python protos is enabled. Since we are not using fast |
| 7 | # Python protos, bind python_headers to a dummy target. |
| 8 | bind( |
| 9 | name = "python_headers", |
| 10 | actual = "//:dummy", |
| 11 | ) |
| 12 | |
Alpha Lam | a1a79cb | 2016-05-15 19:13:52 +0000 | [diff] [blame] | 13 | # Protobuf code generation for GRPC requires three external labels: |
| 14 | # //external:grpc-java_plugin |
| 15 | # //external:grpc-jar |
| 16 | # //external:guava |
| 17 | bind( |
| 18 | name = "grpc-java-plugin", |
| 19 | actual = "//third_party/grpc:grpc-java-plugin", |
| 20 | ) |
| 21 | |
| 22 | bind( |
| 23 | name = "grpc-jar", |
| 24 | actual = "//third_party/grpc:grpc-jar", |
| 25 | ) |
| 26 | |
| 27 | bind( |
| 28 | name = "guava", |
| 29 | actual = "//third_party:guava", |
| 30 | ) |
| 31 | |
Jakob Buchgraber | 6e12e65 | 2017-05-02 11:53:15 +0200 | [diff] [blame] | 32 | # Used by //third_party/protobuf:protobuf_python |
| 33 | bind( |
| 34 | name = "six", |
| 35 | actual = "//third_party/py/six", |
| 36 | ) |
| 37 | |
Googler | 5b90b16 | 2017-08-31 16:29:34 +0200 | [diff] [blame] | 38 | http_archive( |
| 39 | name = "bazel_j2objc", |
iirina | dcbad67 | 2019-07-17 04:45:21 -0700 | [diff] [blame] | 40 | # Computed using "shasum -a 256 j2objc-2.5.zip" |
| 41 | sha256 = "8d3403b5b7db57e347c943d214577f6879e5b175c2b59b7e075c0b6453330e9b", |
| 42 | strip_prefix = "j2objc-2.5", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 43 | urls = [ |
iirina | dcbad67 | 2019-07-17 04:45:21 -0700 | [diff] [blame] | 44 | "https://miirror.bazel.build/github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip", |
| 45 | "https://github.com/google/j2objc/releases/download/2.5/j2objc-2.5.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 46 | ], |
Googler | 5b90b16 | 2017-08-31 16:29:34 +0200 | [diff] [blame] | 47 | ) |
| 48 | |
Damien Martin-Guillerez | 0baff0f | 2017-08-22 17:40:37 +0200 | [diff] [blame] | 49 | # For src/test/shell/bazel:test_srcs |
| 50 | load("//src/test/shell/bazel:list_source_repository.bzl", "list_source_repository") |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 51 | |
Damien Martin-Guillerez | 0baff0f | 2017-08-22 17:40:37 +0200 | [diff] [blame] | 52 | list_source_repository(name = "local_bazel_source_list") |
| 53 | |
Adam Michael | 9b7330f | 2017-03-23 18:40:51 +0000 | [diff] [blame] | 54 | # To run the Android integration tests in //src/test/shell/bazel/android:all or |
| 55 | # build the Android sample app in //examples/android/java/bazel:hello_world |
| 56 | # |
| 57 | # 1. Install an Android SDK and NDK from https://developer.android.com |
| 58 | # 2. Set the $ANDROID_HOME and $ANDROID_NDK_HOME environment variables |
| 59 | # 3. Uncomment the two lines below |
| 60 | # |
| 61 | # android_sdk_repository(name = "androidsdk") |
| 62 | # android_ndk_repository(name = "androidndk") |
Cal Peyser | 2152bc1 | 2016-04-22 17:08:59 +0000 | [diff] [blame] | 63 | |
Adam Michael | 8a136d8 | 2016-11-16 23:04:46 +0000 | [diff] [blame] | 64 | # In order to run //src/test/shell/bazel:maven_skylark_test, follow the |
| 65 | # instructions above for the Android integration tests and uncomment the |
| 66 | # following lines: |
| 67 | # load("//tools/build_defs/repo:maven_rules.bzl", "maven_dependency_plugin") |
| 68 | # maven_dependency_plugin() |
| 69 | |
Cal Peyser | 2152bc1 | 2016-04-22 17:08:59 +0000 | [diff] [blame] | 70 | # This allows rules written in skylark to locate apple build tools. |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 71 | bind( |
| 72 | name = "xcrunwrapper", |
| 73 | actual = "@bazel_tools//tools/objc:xcrunwrapper", |
| 74 | ) |
Carmi Grushko | bfaff29 | 2016-08-17 18:37:55 +0000 | [diff] [blame] | 75 | |
Jakob Buchgraber | 8ff0d0d | 2017-04-14 21:16:19 +0200 | [diff] [blame] | 76 | new_local_repository( |
Carmi Grushko | 0fd73d6 | 2017-02-17 06:49:40 +0000 | [diff] [blame] | 77 | name = "com_google_protobuf", |
hlopko | ead1002 | 2018-09-05 05:37:23 -0700 | [diff] [blame] | 78 | build_file = "./third_party/protobuf/3.6.1/BUILD", |
| 79 | path = "./third_party/protobuf/3.6.1/", |
Carmi Grushko | 0fd73d6 | 2017-02-17 06:49:40 +0000 | [diff] [blame] | 80 | ) |
| 81 | |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 82 | # This is a mock version of bazelbuild/rules_python that contains only |
| 83 | # @rules_python//python:defs.bzl. It is used by protobuf. |
| 84 | # TODO(#9029): We could potentially replace this with the real @rules_python. |
| 85 | new_local_repository( |
| 86 | name = "rules_python", |
| 87 | path = "./third_party/rules_python", |
| 88 | build_file = "//third_party/rules_python:BUILD", |
| 89 | workspace_file = "//third_party/rules_python:rules_python.WORKSPACE", |
| 90 | ) |
| 91 | |
John Cater | 2f83892 | 2018-11-12 08:19:03 -0800 | [diff] [blame] | 92 | local_repository( |
Jakob Buchgraber | 166f28c | 2017-05-30 16:41:18 +0200 | [diff] [blame] | 93 | name = "googleapis", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 94 | path = "./third_party/googleapis/", |
Jakob Buchgraber | 166f28c | 2017-05-30 16:41:18 +0200 | [diff] [blame] | 95 | ) |
| 96 | |
John Cater | 2f83892 | 2018-11-12 08:19:03 -0800 | [diff] [blame] | 97 | local_repository( |
Ola Rozenfeld | 930119a | 2018-08-10 11:04:44 -0700 | [diff] [blame] | 98 | name = "remoteapis", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 99 | path = "./third_party/remoteapis/", |
Ola Rozenfeld | 930119a | 2018-08-10 11:04:44 -0700 | [diff] [blame] | 100 | ) |
| 101 | |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 102 | http_archive( |
| 103 | name = "desugar_jdk_libs", |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 104 | # Commit e0b0291b2c51fbe5a7cfa14473a1ae850f94f021 of 2018-12-4 |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 105 | # Computed using "shasum -a 256 <zip>" |
kmb | a964125 | 2018-12-05 13:17:58 -0800 | [diff] [blame] | 106 | sha256 = "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
| 107 | strip_prefix = "desugar_jdk_libs-e0b0291b2c51fbe5a7cfa14473a1ae850f94f021", |
philwo | f443d09 | 2019-01-08 11:11:09 -0800 | [diff] [blame] | 108 | urls = [ |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 109 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 110 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 111 | ], |
kmb | bfd89d6 | 2018-04-11 14:26:56 -0700 | [diff] [blame] | 112 | ) |
| 113 | |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 114 | load("//:distdir.bzl", "distdir_tar") |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 115 | |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 116 | distdir_tar( |
| 117 | name = "additional_distfiles", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 118 | # Keep in sync with the archives fetched as part of building bazel. |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 119 | archives = [ |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 120 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 121 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 122 | "java_tools_javac11_linux-v5.0.zip", |
| 123 | "java_tools_javac11_windows-v5.0.zip", |
| 124 | "java_tools_javac11_darwin-v5.0.zip", |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 125 | "coverage_output_generator-v2.0.zip", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 126 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 127 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 128 | "0.16.2.zip", |
Donald Chai | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 129 | "android_tools_pkg-0.11.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 130 | # bazelbuild/platforms |
| 131 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 132 | # bazelbuild/rules_java |
| 133 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 134 | # bazelbuild/rules_cc |
| 135 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 136 | # bazelbuild/bazel-toolchains |
Laurent Le Brun | 79c40aa | 2019-08-07 09:04:01 -0700 | [diff] [blame] | 137 | "0.28.3.tar.gz", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 138 | # bazelbuild/rules_pkg |
| 139 | "rules_pkg-0.2.0.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 140 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 141 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 142 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 143 | dirname = "derived/distdir", |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 144 | sha256 = { |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 145 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 146 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 147 | "java_tools_javac11_linux-v5.0.zip": "b644b1eb3743376ce3aeb0cc6a15374ca5676bf872cc653c3633751c8226e060", |
| 148 | "java_tools_javac11_windows-v5.0.zip": "116fef8a385873bfda5fa76e831959aa0ad0b12ca9a880bd0fc7252413ed7c1f", |
| 149 | "java_tools_javac11_darwin-v5.0.zip": "dfa0e6b6320325eb28023ed754022d985d462b4db468394be305a82f55e7dafa", |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 150 | "coverage_output_generator-v2.0.zip": "3a6951051272d51613ac4c77af6ce238a3db321bf06506fde1b8866eb18a89dd", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 151 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz": "e6a76586b264f30679688f65f7e71ac112d1446681010a13bf22d9ca071f34b7", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 152 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
| 153 | "0.16.2.zip": "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Donald Chai | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 154 | "android_tools_pkg-0.11.tar.gz": "6fc50151063bffdda700038ea7df99c89d54dc066e9377a5baff60d55d482ad2", # built at 4739f69a7afa9ddaa450823cc78e97e8addc22a3 |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 155 | # bazelbuild/platforms |
| 156 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip": "a07fe5e75964361885db725039c2ba673f0ee0313d971ae4f50c9b18cd28b0b5", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 157 | # bazelbuild/rules_java |
| 158 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 159 | # bazelbuild/rules_cc |
| 160 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip": "36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 161 | # bazelbuild/bazel-toolchains |
Laurent Le Brun | 79c40aa | 2019-08-07 09:04:01 -0700 | [diff] [blame] | 162 | "0.28.3.tar.gz": "d8c2f20deb2f6143bac792d210db1a4872102d81529fe0ea3476c1696addd7ff", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 163 | # bazelbuild/rules_pkg |
| 164 | "rules_pkg-0.2.0.tar.gz": "5bdc04987af79bd27bc5b00fe30f59a858f77ffa0bd2d8143d5b31ad8b1bd71c", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 165 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 166 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 167 | }, |
| 168 | urls = { |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 169 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [ |
| 170 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 171 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 172 | ], |
| 173 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": [ |
| 174 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 175 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 176 | ], |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 177 | "java_tools_javac11_linux-v5.0.zip": [ |
| 178 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_linux-v5.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 179 | ], |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 180 | "java_tools_javac11_windows-v5.0.zip": [ |
| 181 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_windows-v5.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 182 | ], |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 183 | "java_tools_javac11_darwin-v5.0.zip": [ |
| 184 | "https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_darwin-v5.0.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 185 | ], |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 186 | "coverage_output_generator-v2.0.zip": [ |
| 187 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 188 | ], |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 189 | "c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz": [ |
| 190 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
| 191 | "https://github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 192 | ], |
| 193 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": [ |
| 194 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 195 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 196 | ], |
| 197 | "0.16.2.zip": [ |
| 198 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 199 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 200 | ], |
Donald Chai | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 201 | "android_tools_pkg-0.11.tar.gz": [ |
| 202 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.11.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 203 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 204 | # bazelbuild/platforms |
| 205 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip": [ |
| 206 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 207 | "https://github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 208 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 209 | # bazelbuild/rules_java |
| 210 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 211 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 212 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 213 | ], |
| 214 | # bazelbuild/rules_cc |
| 215 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip": [ |
| 216 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 217 | "https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 218 | ], |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 219 | # bazelbuild/bazel-toolchains |
Laurent Le Brun | 79c40aa | 2019-08-07 09:04:01 -0700 | [diff] [blame] | 220 | "0.28.3.tar.gz": [ |
| 221 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/0.28.3.tar.gz", |
| 222 | "https://github.com/bazelbuild/bazel-toolchains/archive/0.28.3.tar.gz", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 223 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 224 | # bazelbuild/rules_pkg |
| 225 | "rules_pkg-0.2.0.tar.gz": [ |
| 226 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/rules_pkg-0.2.0.tar.gz", |
| 227 | "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.0/rules_pkg-0.2.0.tar.gz", |
| 228 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 229 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 230 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 231 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 232 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 233 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 234 | }, |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 235 | ) |
| 236 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 237 | # OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK. |
| 238 | http_file( |
| 239 | name = "openjdk_linux", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 240 | downloaded_file_path = "zulu-linux.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 241 | sha256 = "460d8a4f0c0204160b48086e341b22943c9cca471b195340e75b38ae9eb33c1c", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 242 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 243 | "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] | 244 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 245 | ) |
| 246 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 247 | http_file( |
| 248 | name = "openjdk_linux_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 249 | downloaded_file_path = "zulu-linux-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 250 | sha256 = "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 251 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 252 | "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] | 253 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 254 | ) |
| 255 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 256 | http_file( |
| 257 | name = "openjdk_linux_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 258 | downloaded_file_path = "zulu-linux-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 259 | sha256 = "5123bc8dd21886761d1fd9ca0fb1898b3372d7243064a070ec81ca9c9d1a6791", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 260 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 261 | "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] | 262 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 263 | ) |
| 264 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 265 | http_file( |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 266 | name = "openjdk_linux_aarch64", |
| 267 | downloaded_file_path = "zulu-linux-aarch64.tar.gz", |
| 268 | sha256 = "23c37c0c3a8fdcbc68e96e70ff5c5c020c14db76deaae9b547849afda4586e5e", |
| 269 | urls = [ |
| 270 | "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", |
| 271 | ], |
| 272 | ) |
| 273 | |
| 274 | http_file( |
| 275 | name = "openjdk_linux_aarch64_vanilla", |
| 276 | downloaded_file_path = "zulu-linux-aarch64-vanilla.tar.gz", |
| 277 | sha256 = "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
| 278 | urls = [ |
| 279 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.15-ca-jdk11.0.3/zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
| 280 | ], |
| 281 | ) |
| 282 | |
| 283 | http_file( |
| 284 | name = "openjdk_linux_aarch64_minimal", |
| 285 | downloaded_file_path = "zulu-linux-aarch64-minimal.tar.gz", |
| 286 | sha256 = "7af2583fe5ef0a781d4a9dca0c0160d42e7db1305ec1b66f98aa44c91cc875df", |
| 287 | urls = [ |
| 288 | "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", |
| 289 | ], |
| 290 | ) |
| 291 | |
| 292 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 293 | name = "openjdk_macos", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 294 | downloaded_file_path = "zulu-macos.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 295 | sha256 = "8fa61d85ca6f657d646fdb50cfc8634987f8f7d8a3250ed39fb7364647633252", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 296 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 297 | "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] | 298 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 299 | ) |
| 300 | |
| 301 | http_file( |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 302 | name = "openjdk_macos_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 303 | downloaded_file_path = "zulu-macos-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 304 | sha256 = "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 305 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 306 | "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] | 307 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 308 | ) |
| 309 | |
| 310 | http_file( |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 311 | name = "openjdk_macos_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 312 | downloaded_file_path = "zulu-macos-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 313 | sha256 = "ac56e44db46fd56ac78b39b6823daed4faa74a2677ac340c7d217f863884ec0f", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 314 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 315 | "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] | 316 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 317 | ) |
| 318 | |
| 319 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 320 | name = "openjdk_win", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 321 | downloaded_file_path = "zulu-win.zip", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 322 | sha256 = "e6ddb361309f8e84eb5fb5ad8b0f5cc031ba3679910139262c31efd8f7579d05", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 323 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 324 | "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] | 325 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 326 | ) |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 327 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 328 | http_file( |
| 329 | name = "openjdk_win_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 330 | downloaded_file_path = "zulu-win-vanilla.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 331 | sha256 = "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 332 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 333 | "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] | 334 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 335 | ) |
| 336 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 337 | http_file( |
| 338 | name = "openjdk_win_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 339 | downloaded_file_path = "zulu-win-minimal.zip", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 340 | sha256 = "8e5dada6e9ebcc9ce29b4d051449bb95d3ee1e620e166da862224bbf15211f8b", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 341 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 342 | "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] | 343 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 344 | ) |
| 345 | |
philwo | 75a3a53 | 2019-04-24 04:54:25 -0700 | [diff] [blame] | 346 | # OpenJDK versions only used by CI to test Bazel with various JDKs. |
| 347 | http_archive( |
| 348 | name = "openjdk12_linux_archive", |
| 349 | build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])", |
| 350 | sha256 = "529c99841d69e11a85aea967ccfb9d0fd40b98c5b68dbe1d059002655e0a9c13", |
| 351 | strip_prefix = "zulu12.2.3-ca-jdk12.0.1-linux_x64", |
| 352 | urls = [ |
| 353 | "https://mirror.bazel.build/openjdk/azul-zulu12.2.3-ca-jdk12.0.1/zulu12.2.3-ca-jdk12.0.1-linux_x64.tar.gz", |
| 354 | ], |
| 355 | ) |
| 356 | |
| 357 | http_archive( |
| 358 | name = "openjdk11_linux_archive", |
| 359 | build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])", |
| 360 | sha256 = "ddb0fd4526089cf1ce2db36282c282263f587a9e8be373fa02f511a12923cc48", |
| 361 | strip_prefix = "zulu11.31.11-ca-jdk11.0.3-linux_x64", |
| 362 | urls = [ |
| 363 | "https://mirror.bazel.build/openjdk/azul-zulu11.31.11-ca-jdk11.0.3/zulu11.31.11-ca-jdk11.0.3-linux_x64.tar.gz", |
| 364 | ], |
| 365 | ) |
| 366 | |
| 367 | http_archive( |
| 368 | name = "openjdk10_linux_archive", |
| 369 | build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])", |
| 370 | sha256 = "b3c2d762091a615b0c1424ebbd05d75cc114da3bf4f25a0dec5c51ea7e84146f", |
| 371 | strip_prefix = "zulu10.2+3-jdk10.0.1-linux_x64", |
| 372 | urls = [ |
| 373 | "https://mirror.bazel.build/openjdk/azul-zulu10.2+3-jdk10.0.1/zulu10.2+3-jdk10.0.1-linux_x64.tar.gz", |
| 374 | ], |
| 375 | ) |
| 376 | |
| 377 | http_archive( |
| 378 | name = "openjdk9_linux_archive", |
| 379 | build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])", |
| 380 | sha256 = "45f2dfbee93b91b1468cf81d843fc6d9a47fef1f831c0b7ceff4f1eb6e6851c8", |
| 381 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64", |
| 382 | urls = [ |
| 383 | "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", |
| 384 | ], |
| 385 | ) |
| 386 | |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 387 | http_archive( |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 388 | name = "bazel_toolchains", |
Laurent Le Brun | 79c40aa | 2019-08-07 09:04:01 -0700 | [diff] [blame] | 389 | sha256 = "d8c2f20deb2f6143bac792d210db1a4872102d81529fe0ea3476c1696addd7ff", |
| 390 | strip_prefix = "bazel-toolchains-0.28.3", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 391 | urls = [ |
Laurent Le Brun | 79c40aa | 2019-08-07 09:04:01 -0700 | [diff] [blame] | 392 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/0.28.3.tar.gz", |
| 393 | "https://github.com/bazelbuild/bazel-toolchains/archive/0.28.3.tar.gz", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 394 | ], |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 395 | ) |
ccalvarin | 1cbe62a | 2017-08-14 21:09:07 +0200 | [diff] [blame] | 396 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 397 | load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 398 | |
| 399 | rbe_autoconfig( |
| 400 | name = "rbe_ubuntu1804_java11", |
| 401 | detect_java_home = True, |
| 402 | registry = "gcr.io", |
| 403 | repository = "bazel-public/ubuntu1804/bazel", |
| 404 | tag = "java11", |
| 405 | ) |
| 406 | |
| 407 | rbe_autoconfig( |
| 408 | name = "rbe_ubuntu1604_java8", |
| 409 | detect_java_home = True, |
| 410 | registry = "gcr.io", |
| 411 | repository = "bazel-public/ubuntu1604/bazel", |
| 412 | tag = "java8", |
Jakob Buchgraber | 3541ad6 | 2019-04-30 07:51:12 -0700 | [diff] [blame] | 413 | ) |
| 414 | |
Googler | de0612a | 2019-03-07 06:06:55 -0800 | [diff] [blame] | 415 | # Creates toolchain configuration for remote execution with BuildKite CI |
| 416 | # for rbe_ubuntu1604. |
| 417 | # To run the tests with RBE on BuildKite CI uncomment the two lines below |
| 418 | # load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 419 | # rbe_autoconfig(name = "buildkite_config") |
| 420 | |
ccalvarin | 7383976 | 2018-03-23 15:35:00 -0700 | [diff] [blame] | 421 | # We're pinning to a commit because this project does not have a recent release. |
| 422 | # Nothing special about this commit, though. |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 423 | http_archive( |
| 424 | name = "com_google_googletest", |
Loo Rong Jie | e94aa22 | 2018-10-15 01:27:08 -0700 | [diff] [blame] | 425 | sha256 = "0fb00ff413f6b9b80ccee44a374ca7a18af7315aea72a43c62f2acd1ca74e9b5", |
| 426 | strip_prefix = "googletest-f13bbe2992d188e834339abe6f715b2b2f840a77", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 427 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 428 | "https://mirror.bazel.build/github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz", |
Loo Rong Jie | e94aa22 | 2018-10-15 01:27:08 -0700 | [diff] [blame] | 429 | "https://github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 430 | ], |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 431 | ) |
| 432 | |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 433 | http_archive( |
| 434 | name = "bazel_skylib", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 435 | # Commit f83cb8dd6f5658bc574ccd873e25197055265d1c of 2018-11-26 |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 436 | sha256 = "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
| 437 | strip_prefix = "bazel-skylib-f83cb8dd6f5658bc574ccd873e25197055265d1c", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 438 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 439 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 440 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 441 | ], |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 442 | ) |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 443 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 444 | # Note that skydoc depends on being called io_bazel_skydoc (and not just skydoc) |
| 445 | # 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] | 446 | http_archive( |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 447 | name = "io_bazel_skydoc", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 448 | sha256 = "e6a76586b264f30679688f65f7e71ac112d1446681010a13bf22d9ca071f34b7", |
| 449 | strip_prefix = "skydoc-c7bbde2950769aac9a99364b0926230060a3ce04", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 450 | urls = [ |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 451 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
| 452 | "https://github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 453 | ], |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 454 | ) |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 455 | |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 456 | http_archive( |
| 457 | name = "rules_cc", |
| 458 | sha256 = "36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89", |
| 459 | strip_prefix = "rules_cc-0d5f3f2768c6ca2faca0079a997a97ce22997a0c", |
| 460 | urls = [ |
| 461 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 462 | "https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 463 | ], |
| 464 | ) |
| 465 | |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 466 | http_archive( |
| 467 | name = "rules_java", |
| 468 | sha256 = "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 469 | strip_prefix = "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 470 | urls = [ |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 471 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 472 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 473 | ], |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 474 | ) |
| 475 | |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 476 | http_archive( |
| 477 | name = "rules_proto", |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 478 | sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
| 479 | strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 480 | urls = [ |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 481 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 482 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 483 | ], |
| 484 | ) |
| 485 | |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 486 | # For testing, have an distdir_tar with all the archives implicit in every |
| 487 | # WORKSPACE, to that they don't have to be refetched for every test |
| 488 | # calling `bazel sync`. |
| 489 | distdir_tar( |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 490 | name = "test_WORKSPACE_files", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 491 | archives = [ |
| 492 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
| 493 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz", |
| 494 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip", |
| 495 | "jdk9-server-release-1708.tar.xz", |
| 496 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz", |
| 497 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz", |
| 498 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip", |
| 499 | "jdk10-server-release-1804.tar.xz", |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 500 | "java_tools_javac11_linux-v5.0.zip", |
| 501 | "java_tools_javac11_windows-v5.0.zip", |
| 502 | "java_tools_javac11_darwin-v5.0.zip", |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 503 | "coverage_output_generator-v2.0.zip", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 504 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz", |
| 505 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz", |
| 506 | "zulu11.2.3-jdk11.0.1-win_x64.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 507 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 508 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 509 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip", |
| 510 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip", |
Donald Chai | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 511 | "android_tools_pkg-0.11.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 512 | # bazelbuild/platforms |
| 513 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 514 | # bazelbuild/rules_java |
| 515 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 516 | # bazelbuild/rules_cc |
| 517 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 518 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 519 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 520 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 521 | dirname = "test_WORKSPACE/distdir", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 522 | sha256 = { |
| 523 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz": "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 524 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz": "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de", |
| 525 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip": "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed", |
| 526 | "jdk9-server-release-1708.tar.xz": "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
| 527 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz": "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5", |
| 528 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz": "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3", |
| 529 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip": "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5", |
| 530 | "jdk10-server-release-1804.tar.xz": "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be", |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 531 | "java_tools_javac11_linux-v5.0.zip": "b644b1eb3743376ce3aeb0cc6a15374ca5676bf872cc653c3633751c8226e060", |
| 532 | "java_tools_javac11_windows-v5.0.zip": "116fef8a385873bfda5fa76e831959aa0ad0b12ca9a880bd0fc7252413ed7c1f", |
| 533 | "java_tools_javac11_darwin-v5.0.zip": "dfa0e6b6320325eb28023ed754022d985d462b4db468394be305a82f55e7dafa", |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 534 | "coverage_output_generator-v2.0.zip": "3a6951051272d51613ac4c77af6ce238a3db321bf06506fde1b8866eb18a89dd", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 535 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 536 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz": "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 537 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb", |
| 538 | "zulu11.2.3-jdk11.0.1-win_x64.zip": "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 539 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz": "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
| 540 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip": "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
| 541 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip": "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
Donald Chai | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 542 | "android_tools_pkg-0.11.tar.gz": "6fc50151063bffdda700038ea7df99c89d54dc066e9377a5baff60d55d482ad2", # built at 4739f69a7afa9ddaa450823cc78e97e8addc22a3 |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 543 | # bazelbuild/platforms |
| 544 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip": "a07fe5e75964361885db725039c2ba673f0ee0313d971ae4f50c9b18cd28b0b5", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 545 | # bazelbuild/rules_java |
| 546 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 547 | # bazelbuild/rules_cc |
| 548 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip": "36fa66d4d49debd71d05fba55c1353b522e8caef4a20f8080a3d17cdda001d89", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 549 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 550 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 551 | }, |
| 552 | urls = { |
| 553 | "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"], |
| 554 | "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"], |
| 555 | "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"], |
| 556 | "jdk9-server-release-1708.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz"], |
| 557 | "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"], |
| 558 | "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"], |
| 559 | "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"], |
| 560 | "jdk10-server-release-1804.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz"], |
iirina | b3214442 | 2019-08-27 05:09:10 -0700 | [diff] [blame] | 561 | "java_tools_javac11_linux-v5.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_linux-v5.0.zip"], |
| 562 | "java_tools_javac11_windows-v5.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_windows-v5.0.zip"], |
| 563 | "java_tools_javac11_darwin-v5.0.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/javac11/v5.0/java_tools_javac11_darwin-v5.0.zip"], |
iirina | 22bb3e0 | 2019-09-03 05:53:01 -0700 | [diff] [blame] | 564 | "coverage_output_generator-v2.0.zip": ["https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.0.zip"], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 565 | "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"], |
| 566 | "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"], |
| 567 | "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] | 568 | "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] | 569 | "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] | 570 | "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"], |
| 571 | "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 | cf6ec60 | 2019-09-06 14:54:39 -0700 | [diff] [blame] | 572 | "android_tools_pkg-0.11.tar.gz": [ |
| 573 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.11.tar.gz", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 574 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 575 | # bazelbuild/platforms |
| 576 | "441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip": [ |
| 577 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 578 | "https://github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 579 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 580 | # bazelbuild/rules_java |
| 581 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 582 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 583 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 584 | ], |
| 585 | # bazelbuild/rules_cc |
| 586 | "0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip": [ |
| 587 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 588 | "https://github.com/bazelbuild/rules_cc/archive/0d5f3f2768c6ca2faca0079a997a97ce22997a0c.zip", |
| 589 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 590 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 591 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 592 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 593 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 594 | ], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 595 | }, |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 596 | ) |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 597 | |
| 598 | load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS") |
| 599 | |
| 600 | [http_file( |
| 601 | name = "jekyll_tree_%s" % DOC_VERSION["version"].replace(".", "_"), |
| 602 | sha256 = DOC_VERSION["sha256"], |
| 603 | urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]], |
| 604 | ) for DOC_VERSION in DOC_VERSIONS] |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 605 | |
| 606 | # Skydoc recommends declaring its dependencies via "*_dependencies" functions. |
| 607 | # This requires that the repositories these functions come from need to be |
| 608 | # fetched unconditionally for everything (including just building bazel!), so |
| 609 | # provide them as http_archives that can be shiped in the distdir, to keep the |
| 610 | # distribution archive self-contained. |
| 611 | http_archive( |
| 612 | name = "io_bazel_rules_sass", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 613 | sha256 = "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 614 | strip_prefix = "rules_sass-8ccf4f1c351928b55d5dddf3672e3667f6978d60", |
| 615 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 616 | "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] | 617 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 618 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 619 | ) |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 620 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 621 | http_archive( |
| 622 | name = "build_bazel_rules_nodejs", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 623 | sha256 = "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 624 | strip_prefix = "rules_nodejs-0.16.2", |
| 625 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 626 | "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] | 627 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 628 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 629 | ) |
| 630 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 631 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 632 | name = "java_tools_langtools_javac9", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 633 | sha256 = "d94befcfb325a9a62aebc2052e631fde2322b4df5c82a19ed260b38ba12a0ad1", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 634 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 635 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk9_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 636 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 637 | ) |
| 638 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 639 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 640 | name = "java_tools_langtools_javac10", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 641 | sha256 = "0e9c9ac5ef17869de3cb8c3497c4c0d31836ef7b63efe1690506f53783adb212", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 642 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 643 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk10_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 644 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 645 | ) |
| 646 | |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 647 | http_archive( |
| 648 | name = "java_tools_langtools_javac11", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 649 | sha256 = "cf0814fa002ef3d794582bb086516d8c9ed0958f83f19799cdb08949019fe4c7", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 650 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 651 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk11_v2.zip", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 652 | ], |
| 653 | ) |
| 654 | |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 655 | http_archive( |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 656 | name = "platforms", |
| 657 | sha256 = "a07fe5e75964361885db725039c2ba673f0ee0313d971ae4f50c9b18cd28b0b5", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 658 | strip_prefix = "platforms-441afe1bfdadd6236988e9cac159df6b5a9f5a98", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 659 | urls = [ |
| 660 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 661 | "https://github.com/bazelbuild/platforms/archive/441afe1bfdadd6236988e9cac159df6b5a9f5a98.zip", |
| 662 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 663 | ) |
| 664 | |
| 665 | http_archive( |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 666 | name = "java_tools_langtools_javac12", |
| 667 | sha256 = "99b107105165a91df82cd7cf82a8efb930d803fb7de1663cf7f780142104cd14", |
| 668 | urls = [ |
| 669 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk12.zip", |
| 670 | ], |
| 671 | ) |
| 672 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 673 | load("@io_bazel_skydoc//:setup.bzl", "skydoc_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 674 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 675 | skydoc_repositories() |
| 676 | |
| 677 | load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 678 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 679 | rules_sass_dependencies() |
| 680 | |
| 681 | load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 682 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 683 | node_repositories() |
| 684 | |
| 685 | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") |
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 | sass_repositories() |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 688 | |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 689 | register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 690 | |
| 691 | # Tools for building deb, rpm and tar files. |
| 692 | http_archive( |
| 693 | name = "rules_pkg", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 694 | sha256 = "5bdc04987af79bd27bc5b00fe30f59a858f77ffa0bd2d8143d5b31ad8b1bd71c", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 695 | urls = [ |
| 696 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/rules_pkg-0.2.0.tar.gz", |
| 697 | "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.0/rules_pkg-0.2.0.tar.gz", |
| 698 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 699 | ) |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 700 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 701 | load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 702 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 703 | rules_pkg_dependencies() |
Laszlo Csomor | 3e02318 | 2019-08-01 05:05:09 -0700 | [diff] [blame] | 704 | |
| 705 | # Toolchains for Resource Compilation (.rc files on Windows). |
| 706 | load("//src/main/res:winsdk_configure.bzl", "winsdk_configure") |
| 707 | |
| 708 | winsdk_configure(name = "local_config_winsdk") |
| 709 | |
| 710 | load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains") |
| 711 | |
| 712 | register_local_rc_exe_toolchains() |
| 713 | |
| 714 | register_toolchains("//src/main/res:empty_rc_toolchain") |