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 = [ |
Jingwen Chen | 8d6eb83 | 2019-11-26 12:20:48 -0800 | [diff] [blame] | 44 | "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] | 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", |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 87 | build_file = "//third_party/rules_python:BUILD", |
laurentlb | af26567 | 2019-10-22 10:06:21 -0700 | [diff] [blame] | 88 | path = "./third_party/rules_python", |
brandjon | cb4ba07 | 2019-08-01 12:41:43 -0700 | [diff] [blame] | 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", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 122 | "java_tools_javac11_linux-v7.0.zip", |
| 123 | "java_tools_javac11_windows-v7.0.zip", |
| 124 | "java_tools_javac11_darwin-v7.0.zip", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 125 | "coverage_output_generator-v2.1.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 | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 129 | "android_tools_pkg-0.14.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 130 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 131 | "46993efdd33b73649796c5fc5c9efb193ae19d51.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 |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 135 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 136 | # bazelbuild/bazel-toolchains |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 137 | "2.0.2.tar.gz", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 138 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 139 | "rules_pkg-0.2.4.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", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 147 | "java_tools_javac11_linux-v7.0.zip": "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 148 | "java_tools_javac11_windows-v7.0.zip": "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 149 | "java_tools_javac11_darwin-v7.0.zip": "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 150 | "coverage_output_generator-v2.1.zip": "96ac6bc9b9fbc67b532bcae562da1642409791e6a4b8e522f04946ee5cc3ff8e", |
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", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 154 | "android_tools_pkg-0.14.tar.gz": "a3a951838448483e7af25afd10671b266cc6283104b4a2a427d31cac12cf0912", # built at 6c63d70ef9c11a662b8323c0ae4f6d3ac53b1a60 |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 155 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 156 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
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 |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 160 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 161 | # bazelbuild/bazel-toolchains |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 162 | "2.0.2.tar.gz": "a653c9d318e42b14c0ccd7ac50c4a2a276c0db1e39743ab88b5aa2f0bc9cf607", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 163 | # bazelbuild/rules_pkg |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 164 | "rules_pkg-0.2.4.tar.gz": "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
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 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 177 | "java_tools_javac11_linux-v7.0.zip": [ |
| 178 | "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] | 179 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 180 | "java_tools_javac11_windows-v7.0.zip": [ |
| 181 | "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] | 182 | ], |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 183 | "java_tools_javac11_darwin-v7.0.zip": [ |
| 184 | "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] | 185 | ], |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 186 | "coverage_output_generator-v2.1.zip": [ |
| 187 | "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] | 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 | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 201 | "android_tools_pkg-0.14.tar.gz": [ |
| 202 | "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] | 203 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 204 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 205 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 206 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 207 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 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 |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 215 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 216 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 217 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 218 | ], |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 219 | # bazelbuild/bazel-toolchains |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 220 | "2.0.2.tar.gz": [ |
| 221 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.0.2.tar.gz", |
| 222 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/2.0.2/bazel-toolchains-2.0.2.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 |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 225 | "rules_pkg-0.2.4.tar.gz": [ |
| 226 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 227 | "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] | 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", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 389 | sha256 = "a653c9d318e42b14c0ccd7ac50c4a2a276c0db1e39743ab88b5aa2f0bc9cf607", |
| 390 | strip_prefix = "bazel-toolchains-2.0.2", |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 391 | urls = [ |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 392 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.0.2.tar.gz", |
| 393 | "https://github.com/bazelbuild/bazel-toolchains/releases/download/2.0.2/bazel-toolchains-2.0.2.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 | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 421 | http_archive( |
| 422 | name = "com_google_googletest", |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 423 | sha256 = "9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb", |
| 424 | strip_prefix = "googletest-release-1.10.0", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 425 | urls = [ |
Yannic Bonenberger | 5b4ab2d | 2019-10-15 05:38:04 -0700 | [diff] [blame] | 426 | "https://mirror.bazel.build/github.com/google/googletest/archive/release-1.10.0.tar.gz", |
| 427 | "https://github.com/google/googletest/archive/release-1.10.0.tar.gz", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 428 | ], |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 429 | ) |
| 430 | |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 431 | http_archive( |
| 432 | name = "bazel_skylib", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 433 | # Commit f83cb8dd6f5658bc574ccd873e25197055265d1c of 2018-11-26 |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 434 | sha256 = "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
| 435 | strip_prefix = "bazel-skylib-f83cb8dd6f5658bc574ccd873e25197055265d1c", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 436 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 437 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 438 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 439 | ], |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 440 | ) |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 441 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 442 | # Note that skydoc depends on being called io_bazel_skydoc (and not just skydoc) |
| 443 | # 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] | 444 | http_archive( |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 445 | name = "io_bazel_skydoc", |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 446 | sha256 = "e6a76586b264f30679688f65f7e71ac112d1446681010a13bf22d9ca071f34b7", |
| 447 | strip_prefix = "skydoc-c7bbde2950769aac9a99364b0926230060a3ce04", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 448 | urls = [ |
cparsons | 8121d85 | 2019-08-14 08:52:13 -0700 | [diff] [blame] | 449 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
| 450 | "https://github.com/bazelbuild/skydoc/archive/c7bbde2950769aac9a99364b0926230060a3ce04.tar.gz", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 451 | ], |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 452 | ) |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 453 | |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 454 | http_archive( |
| 455 | name = "rules_cc", |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 456 | sha256 = "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
| 457 | strip_prefix = "rules_cc-8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 458 | urls = [ |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 459 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 460 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 461 | ], |
| 462 | ) |
| 463 | |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 464 | http_archive( |
| 465 | name = "rules_java", |
| 466 | sha256 = "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 467 | strip_prefix = "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 468 | urls = [ |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 469 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
| 470 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 471 | ], |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 472 | ) |
| 473 | |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 474 | http_archive( |
| 475 | name = "rules_proto", |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 476 | sha256 = "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
| 477 | strip_prefix = "rules_proto-97d8af4dc474595af3900dd85cb3a29ad28cc313", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 478 | urls = [ |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 479 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 480 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 481 | ], |
| 482 | ) |
| 483 | |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 484 | # For testing, have an distdir_tar with all the archives implicit in every |
| 485 | # WORKSPACE, to that they don't have to be refetched for every test |
| 486 | # calling `bazel sync`. |
| 487 | distdir_tar( |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 488 | name = "test_WORKSPACE_files", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 489 | archives = [ |
| 490 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
| 491 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz", |
| 492 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip", |
| 493 | "jdk9-server-release-1708.tar.xz", |
| 494 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz", |
| 495 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz", |
| 496 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip", |
| 497 | "jdk10-server-release-1804.tar.xz", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 498 | "java_tools_javac11_linux-v7.0.zip", |
| 499 | "java_tools_javac11_windows-v7.0.zip", |
| 500 | "java_tools_javac11_darwin-v7.0.zip", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 501 | "coverage_output_generator-v2.1.zip", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 502 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz", |
| 503 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz", |
| 504 | "zulu11.2.3-jdk11.0.1-win_x64.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 505 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 506 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 507 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip", |
| 508 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip", |
Donald Chai | 168d0a7 | 2020-01-13 15:30:24 -0800 | [diff] [blame] | 509 | "android_tools_pkg-0.14.tar.gz", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 510 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 511 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 512 | # bazelbuild/rules_java |
| 513 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 514 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 515 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 516 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 517 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 518 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 519 | dirname = "test_WORKSPACE/distdir", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 520 | sha256 = { |
| 521 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz": "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 522 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz": "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de", |
| 523 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip": "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed", |
| 524 | "jdk9-server-release-1708.tar.xz": "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
| 525 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz": "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5", |
| 526 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz": "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3", |
| 527 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip": "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5", |
| 528 | "jdk10-server-release-1804.tar.xz": "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be", |
Irina Iancu | a6cd408 | 2019-11-22 03:57:17 -0800 | [diff] [blame] | 529 | "java_tools_javac11_linux-v7.0.zip": "3ff465e82954a70f49982610dd63f6f651beaa83c707dd637870b0e41cdcd2f0", |
| 530 | "java_tools_javac11_windows-v7.0.zip": "11d90a147919e74d11870cdd58c4ee5de3062c08d11b16aa72d3f3bbfa9497a0", |
| 531 | "java_tools_javac11_darwin-v7.0.zip": "373a4226906ae9ba908550da16e133c4cd1f01b8973af82b9a2eb6903cb4d645", |
Ulf Adams | 9588a9e | 2019-12-10 07:29:54 -0800 | [diff] [blame] | 532 | "coverage_output_generator-v2.1.zip": "96ac6bc9b9fbc67b532bcae562da1642409791e6a4b8e522f04946ee5cc3ff8e", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 533 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75", |
philwo | 9f7fe69 | 2019-06-27 06:53:12 -0700 | [diff] [blame] | 534 | "zulu11.31.15-ca-jdk11.0.3-linux_aarch64.tar.gz": "3b0d91611b1bdc4d409afcf9eab4f0e7f4ae09f88fc01bd9f2b48954882ae69b", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 535 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb", |
| 536 | "zulu11.2.3-jdk11.0.1-win_x64.zip": "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 537 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz": "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
| 538 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip": "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
| 539 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip": "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 540 | "android_tools_pkg-0.14.tar.gz": "a3a951838448483e7af25afd10671b266cc6283104b4a2a427d31cac12cf0912", # built at 6c63d70ef9c11a662b8323c0ae4f6d3ac53b1a60 |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 541 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 542 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 543 | # bazelbuild/rules_java |
| 544 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 545 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 546 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": "1d4dbbd1e1e9b57d40bb0ade51c9e882da7658d5bfbf22bbd15b68e7879d761f", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 547 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 548 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": "602e7161d9195e50246177e7c55b2f39950a9cf7366f74ed5f22fd45750cd208", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 549 | }, |
| 550 | urls = { |
| 551 | "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"], |
| 552 | "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"], |
| 553 | "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"], |
| 554 | "jdk9-server-release-1708.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz"], |
| 555 | "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"], |
| 556 | "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"], |
| 557 | "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"], |
| 558 | "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] | 559 | "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"], |
| 560 | "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"], |
| 561 | "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] | 562 | "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] | 563 | "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"], |
| 564 | "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"], |
| 565 | "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] | 566 | "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] | 567 | "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] | 568 | "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"], |
| 569 | "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] | 570 | "android_tools_pkg-0.14.tar.gz": [ |
| 571 | "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] | 572 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 573 | # bazelbuild/platforms |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 574 | "46993efdd33b73649796c5fc5c9efb193ae19d51.zip": [ |
| 575 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 576 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 577 | ], |
iirina | e826049 | 2019-07-03 05:16:09 -0700 | [diff] [blame] | 578 | # bazelbuild/rules_java |
| 579 | "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": [ |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 580 | "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 581 | "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 582 | ], |
| 583 | # bazelbuild/rules_cc |
Marcel Hlopko | 02d1966 | 2019-11-11 21:55:16 -0800 | [diff] [blame] | 584 | "8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip": [ |
| 585 | "https://mirror.bazel.build/github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
| 586 | "https://github.com/bazelbuild/rules_cc/archive/8bd6cd75d03c01bb82561a96d9c1f9f7157b13d0.zip", |
oquenchil | 9606887 | 2019-07-08 07:01:39 -0700 | [diff] [blame] | 587 | ], |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 588 | # bazelbuild/rules_proto |
Yannic Bonenberger | cb44f66 | 2019-08-06 02:56:18 -0700 | [diff] [blame] | 589 | "97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz": [ |
| 590 | "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
| 591 | "https://github.com/bazelbuild/rules_proto/archive/97d8af4dc474595af3900dd85cb3a29ad28cc313.tar.gz", |
Yannic Bonenberger | ff44969 | 2019-07-25 05:55:49 -0700 | [diff] [blame] | 592 | ], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 593 | }, |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 594 | ) |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 595 | |
| 596 | load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS") |
| 597 | |
| 598 | [http_file( |
| 599 | name = "jekyll_tree_%s" % DOC_VERSION["version"].replace(".", "_"), |
| 600 | sha256 = DOC_VERSION["sha256"], |
| 601 | urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]], |
| 602 | ) for DOC_VERSION in DOC_VERSIONS] |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 603 | |
| 604 | # Skydoc recommends declaring its dependencies via "*_dependencies" functions. |
| 605 | # This requires that the repositories these functions come from need to be |
| 606 | # fetched unconditionally for everything (including just building bazel!), so |
| 607 | # provide them as http_archives that can be shiped in the distdir, to keep the |
| 608 | # distribution archive self-contained. |
| 609 | http_archive( |
| 610 | name = "io_bazel_rules_sass", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 611 | sha256 = "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 612 | strip_prefix = "rules_sass-8ccf4f1c351928b55d5dddf3672e3667f6978d60", |
| 613 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 614 | "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] | 615 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 616 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 617 | ) |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 618 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 619 | http_archive( |
| 620 | name = "build_bazel_rules_nodejs", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 621 | sha256 = "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 622 | strip_prefix = "rules_nodejs-0.16.2", |
| 623 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 624 | "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] | 625 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 626 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 627 | ) |
| 628 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 629 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 630 | name = "java_tools_langtools_javac9", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 631 | sha256 = "d94befcfb325a9a62aebc2052e631fde2322b4df5c82a19ed260b38ba12a0ad1", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 632 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 633 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk9_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 634 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 635 | ) |
| 636 | |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 637 | http_archive( |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 638 | name = "java_tools_langtools_javac10", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 639 | sha256 = "0e9c9ac5ef17869de3cb8c3497c4c0d31836ef7b63efe1690506f53783adb212", |
iirina | 3ab4dbc | 2019-04-29 05:12:39 -0700 | [diff] [blame] | 640 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 641 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk10_v2.zip", |
iirina | 88bb406 | 2019-04-29 08:02:40 -0700 | [diff] [blame] | 642 | ], |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 643 | ) |
| 644 | |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 645 | http_archive( |
| 646 | name = "java_tools_langtools_javac11", |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 647 | sha256 = "cf0814fa002ef3d794582bb086516d8c9ed0958f83f19799cdb08949019fe4c7", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 648 | urls = [ |
iirina | b815b79 | 2019-07-17 05:47:01 -0700 | [diff] [blame] | 649 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk11_v2.zip", |
iirina | a6e9260 | 2019-05-13 06:20:12 -0700 | [diff] [blame] | 650 | ], |
| 651 | ) |
| 652 | |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 653 | http_archive( |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 654 | name = "platforms", |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 655 | sha256 = "66184688debeeefcc2a16a2f80b03f514deac8346fe888fb7e691a52c023dd88", |
| 656 | strip_prefix = "platforms-46993efdd33b73649796c5fc5c9efb193ae19d51", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 657 | urls = [ |
aldersondrive | 64235c3 | 2019-11-18 08:50:39 -0800 | [diff] [blame] | 658 | "https://mirror.bazel.build/github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
| 659 | "https://github.com/bazelbuild/platforms/archive/46993efdd33b73649796c5fc5c9efb193ae19d51.zip", |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 660 | ], |
hlopko | aaf6457 | 2019-06-14 02:33:56 -0700 | [diff] [blame] | 661 | ) |
| 662 | |
| 663 | http_archive( |
iirina | 0eec693 | 2019-06-12 07:48:22 -0700 | [diff] [blame] | 664 | name = "java_tools_langtools_javac12", |
| 665 | sha256 = "99b107105165a91df82cd7cf82a8efb930d803fb7de1663cf7f780142104cd14", |
| 666 | urls = [ |
| 667 | "https://mirror.bazel.build/bazel_java_tools/jdk_langtools/langtools_jdk12.zip", |
| 668 | ], |
| 669 | ) |
| 670 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 671 | load("@io_bazel_skydoc//:setup.bzl", "skydoc_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 672 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 673 | skydoc_repositories() |
| 674 | |
| 675 | load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 676 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 677 | rules_sass_dependencies() |
| 678 | |
| 679 | load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 680 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 681 | node_repositories() |
| 682 | |
| 683 | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 684 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 685 | sass_repositories() |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 686 | |
Keith Smiley | 7fcbeec | 2019-04-23 17:06:02 -0700 | [diff] [blame] | 687 | register_execution_platforms("//:default_host_platform") # buildozer: disable=positional-args |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 688 | |
| 689 | # Tools for building deb, rpm and tar files. |
| 690 | http_archive( |
| 691 | name = "rules_pkg", |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 692 | sha256 = "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 693 | urls = [ |
philwo | b14e406 | 2020-01-27 03:02:32 -0800 | [diff] [blame^] | 694 | "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", |
| 695 | "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] | 696 | ], |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 697 | ) |
iirina | d26a3c1 | 2019-07-19 04:39:33 -0700 | [diff] [blame] | 698 | |
Tony Aiuto | ed8a5ec | 2019-07-17 08:33:48 -0700 | [diff] [blame] | 699 | load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies") |
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 | rules_pkg_dependencies() |
Laszlo Csomor | 3e02318 | 2019-08-01 05:05:09 -0700 | [diff] [blame] | 702 | |
| 703 | # Toolchains for Resource Compilation (.rc files on Windows). |
| 704 | load("//src/main/res:winsdk_configure.bzl", "winsdk_configure") |
| 705 | |
| 706 | winsdk_configure(name = "local_config_winsdk") |
| 707 | |
| 708 | load("@local_config_winsdk//:toolchains.bzl", "register_local_rc_exe_toolchains") |
| 709 | |
| 710 | register_local_rc_exe_toolchains() |
| 711 | |
| 712 | register_toolchains("//src/main/res:empty_rc_toolchain") |