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