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", |
Laszlo Csomor | 0f3f788 | 2018-03-13 06:56:12 -0700 | [diff] [blame] | 40 | # Computed using "shasum -a 256 j2objc-2.0.3.zip" |
| 41 | sha256 = "a36bac432d0dbd8c98249e484b2b69dd5720afa4abb58711a3c3def1c0bfa21d", |
Googler | 5b90b16 | 2017-08-31 16:29:34 +0200 | [diff] [blame] | 42 | strip_prefix = "j2objc-2.0.3", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 43 | urls = [ |
| 44 | "https://miirror.bazel.build/github.com/google/j2objc/releases/download/2.0.3/j2objc-2.0.3.zip", |
| 45 | "https://github.com/google/j2objc/releases/download/2.0.3/j2objc-2.0.3.zip", |
| 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 | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 112 | "java_tools_javac10_linux-x86_64-v2.1.zip", |
| 113 | "java_tools_javac10_windows-x86_64-v2.1.zip", |
| 114 | "java_tools_javac10_darwin-v2.1.zip", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 115 | "coverage_output_generator-v1.0.zip", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 116 | "2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz", |
| 117 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 118 | "0.16.2.zip", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 119 | "android_tools_pkg-0.1.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 120 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 121 | dirname = "derived/distdir", |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 122 | sha256 = { |
Klaus Aehlig | d4a8a47 | 2018-12-06 07:34:02 -0800 | [diff] [blame] | 123 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": "fe2e04f91ce8c59d49d91b8102edc6627c6fa2906c1b0e7346f01419ec4f419d", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 124 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 125 | "java_tools_javac10_linux-x86_64-v2.1.zip": "9163c9963f31e10101d538163c435db9534baf9db63d380508311b775fbe3c37", |
| 126 | "java_tools_javac10_windows-x86_64-v2.1.zip": "a7a99e34213eb80384b81dda0217582a38f876f420c7b648900f254bf9ea3bd7", |
| 127 | "java_tools_javac10_darwin-v2.1.zip": "5f6a7abf7ec0c491dc2d0b15add6a2abb594e31809f4cabc2cfde41efa995f92", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 128 | "coverage_output_generator-v1.0.zip": "cc470e529fafb6165b5be3929ff2d99b38429b386ac100878687416603a67889", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 129 | "2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz": "4a1318fed4831697b83ce879b3ab70ae09592b167e5bda8edaff45132d1c3b3f", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 130 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
| 131 | "0.16.2.zip": "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 132 | "android_tools_pkg-0.1.tar.gz": "b71b10e8f067dd6bff446fb0d49239fe28b12cfd1ed24278d04b06cf54669862", |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 133 | }, |
| 134 | urls = { |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 135 | "e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip": [ |
| 136 | "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 137 | "https://github.com/google/desugar_jdk_libs/archive/e0b0291b2c51fbe5a7cfa14473a1ae850f94f021.zip", |
| 138 | ], |
| 139 | "f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz": [ |
| 140 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 141 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
| 142 | ], |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 143 | "java_tools_javac10_linux-x86_64-v2.1.zip": [ |
| 144 | "https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_linux-x86_64-v2.1.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 145 | ], |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 146 | "java_tools_javac10_windows-x86_64-v2.1.zip": [ |
| 147 | "https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_windows-x86_64-v2.1.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 148 | ], |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 149 | "java_tools_javac10_darwin-v2.1.zip": [ |
| 150 | "https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_darwin-v2.1.zip", |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 151 | ], |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 152 | "coverage_output_generator-v1.0.zip": [ |
| 153 | "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v1.0.zip", |
| 154 | ], |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 155 | "2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz": [ |
| 156 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz", |
| 157 | "https://github.com/bazelbuild/skydoc/archive/2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz", |
| 158 | ], |
| 159 | "8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz": [ |
| 160 | "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 161 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 162 | ], |
| 163 | "0.16.2.zip": [ |
| 164 | "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 165 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 166 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 167 | "android_tools_pkg-0.1.tar.gz": [ |
| 168 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.1.tar.gz", |
| 169 | ], |
cushon | b664623 | 2018-09-07 01:44:10 -0700 | [diff] [blame] | 170 | }, |
Klaus Aehlig | 3c9cd82 | 2018-05-24 03:35:42 -0700 | [diff] [blame] | 171 | ) |
| 172 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 173 | # OpenJDK distributions used to create a version of Bazel bundled with the OpenJDK. |
| 174 | http_file( |
| 175 | name = "openjdk_linux", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 176 | downloaded_file_path = "zulu-linux.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 177 | sha256 = "460d8a4f0c0204160b48086e341b22943c9cca471b195340e75b38ae9eb33c1c", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 178 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 179 | "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] | 180 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 181 | ) |
| 182 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 183 | http_file( |
| 184 | name = "openjdk_linux_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 185 | downloaded_file_path = "zulu-linux-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 186 | sha256 = "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 187 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 188 | "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] | 189 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 190 | ) |
| 191 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 192 | http_file( |
| 193 | name = "openjdk_linux_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 194 | downloaded_file_path = "zulu-linux-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 195 | sha256 = "5123bc8dd21886761d1fd9ca0fb1898b3372d7243064a070ec81ca9c9d1a6791", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 196 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 197 | "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] | 198 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 199 | ) |
| 200 | |
philwo | 54c2572 | 2018-10-02 05:41:00 -0700 | [diff] [blame] | 201 | # Used by CI to test Bazel on platforms without an installed system JDK. |
| 202 | # TODO(twerth): Migrate to @remotejdk when https://github.com/bazelbuild/bazel/pull/6216 is merged. |
Klaus Aehlig | a55714c | 2018-10-23 02:16:02 -0700 | [diff] [blame] | 203 | http_archive( |
philwo | 54c2572 | 2018-10-02 05:41:00 -0700 | [diff] [blame] | 204 | name = "openjdk_linux_archive", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 205 | build_file_content = "java_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])", |
philwo | 54c2572 | 2018-10-02 05:41:00 -0700 | [diff] [blame] | 206 | sha256 = "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 207 | strip_prefix = "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules", |
philwo | 54c2572 | 2018-10-02 05:41:00 -0700 | [diff] [blame] | 208 | urls = [ |
| 209 | "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", |
| 210 | ], |
philwo | 54c2572 | 2018-10-02 05:41:00 -0700 | [diff] [blame] | 211 | ) |
| 212 | |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 213 | http_file( |
| 214 | name = "openjdk_macos", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 215 | downloaded_file_path = "zulu-macos.tar.gz", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 216 | sha256 = "8fa61d85ca6f657d646fdb50cfc8634987f8f7d8a3250ed39fb7364647633252", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 217 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 218 | "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] | 219 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 220 | ) |
| 221 | |
| 222 | http_file( |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 223 | name = "openjdk_macos_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 224 | downloaded_file_path = "zulu-macos-vanilla.tar.gz", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 225 | sha256 = "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 226 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 227 | "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] | 228 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 229 | ) |
| 230 | |
| 231 | http_file( |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 232 | name = "openjdk_macos_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 233 | downloaded_file_path = "zulu-macos-minimal.tar.gz", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 234 | sha256 = "ac56e44db46fd56ac78b39b6823daed4faa74a2677ac340c7d217f863884ec0f", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 235 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 236 | "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] | 237 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 238 | ) |
| 239 | |
| 240 | http_file( |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 241 | name = "openjdk_win", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 242 | downloaded_file_path = "zulu-win.zip", |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 243 | sha256 = "e6ddb361309f8e84eb5fb5ad8b0f5cc031ba3679910139262c31efd8f7579d05", |
philwo | 915fa8f | 2017-05-09 12:17:12 -0400 | [diff] [blame] | 244 | urls = [ |
Tobias Werth | 8db50b6 | 2019-02-03 15:09:17 -0800 | [diff] [blame] | 245 | "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] | 246 | ], |
Philipp Wollermann | 9504827 | 2017-03-17 15:11:58 +0000 | [diff] [blame] | 247 | ) |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 248 | |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 249 | http_file( |
| 250 | name = "openjdk_win_vanilla", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 251 | downloaded_file_path = "zulu-win-vanilla.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 252 | sha256 = "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 253 | urls = [ |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 254 | "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] | 255 | ], |
Tobias Werth | 218e8f6 | 2018-12-13 04:44:35 -0800 | [diff] [blame] | 256 | ) |
| 257 | |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 258 | http_file( |
| 259 | name = "openjdk_win_minimal", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 260 | downloaded_file_path = "zulu-win-minimal.zip", |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 261 | sha256 = "8e5dada6e9ebcc9ce29b4d051449bb95d3ee1e620e166da862224bbf15211f8b", |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 262 | urls = [ |
Tobias Werth | adacaf9 | 2019-04-23 05:53:31 -0700 | [diff] [blame] | 263 | "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] | 264 | ], |
Tobias Werth | fbf8fb9 | 2019-01-09 11:22:11 -0800 | [diff] [blame] | 265 | ) |
| 266 | |
Arielle Albon | fa7e49f | 2018-07-31 00:57:54 -0700 | [diff] [blame] | 267 | # The source-code for this OpenJDK can be found at: |
lberki | 7eb9ea1 | 2018-09-07 04:01:48 -0700 | [diff] [blame] | 268 | # https://openjdk.linaro.org/releases/jdk9-src-1708.tar.xz |
Arielle Albon | fa7e49f | 2018-07-31 00:57:54 -0700 | [diff] [blame] | 269 | http_file( |
| 270 | name = "openjdk_linux_aarch64", |
lberki | 7eb9ea1 | 2018-09-07 04:01:48 -0700 | [diff] [blame] | 271 | sha256 = "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
Arielle Albon | fa7e49f | 2018-07-31 00:57:54 -0700 | [diff] [blame] | 272 | urls = [ |
| 273 | # When you update this, also update the link to the source-code above. |
philwo | 6ebc71f | 2018-10-23 11:57:09 -0700 | [diff] [blame] | 274 | "https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz", |
lberki | 7eb9ea1 | 2018-09-07 04:01:48 -0700 | [diff] [blame] | 275 | "http://openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz", |
Arielle Albon | fa7e49f | 2018-07-31 00:57:54 -0700 | [diff] [blame] | 276 | ], |
| 277 | ) |
| 278 | |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 279 | http_archive( |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 280 | name = "bazel_toolchains", |
| 281 | sha256 = "67335b3563d9b67dc2550b8f27cc689b64fadac491e69ce78763d9ba894cc5cc", |
| 282 | strip_prefix = "bazel-toolchains-cddc376d428ada2927ad359211c3e356bd9c9fbb", |
| 283 | urls = [ |
| 284 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/cddc376d428ada2927ad359211c3e356bd9c9fbb.tar.gz", |
| 285 | "https://github.com/bazelbuild/bazel-toolchains/archive/cddc376d428ada2927ad359211c3e356bd9c9fbb.tar.gz", |
| 286 | ], |
Googler | 5f36bf8 | 2017-07-12 20:43:08 +0200 | [diff] [blame] | 287 | ) |
ccalvarin | 1cbe62a | 2017-08-14 21:09:07 +0200 | [diff] [blame] | 288 | |
Googler | de0612a | 2019-03-07 06:06:55 -0800 | [diff] [blame] | 289 | # Creates toolchain configuration for remote execution with BuildKite CI |
| 290 | # for rbe_ubuntu1604. |
| 291 | # To run the tests with RBE on BuildKite CI uncomment the two lines below |
| 292 | # load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig") |
| 293 | # rbe_autoconfig(name = "buildkite_config") |
| 294 | |
ccalvarin | 7383976 | 2018-03-23 15:35:00 -0700 | [diff] [blame] | 295 | # We're pinning to a commit because this project does not have a recent release. |
| 296 | # Nothing special about this commit, though. |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 297 | http_archive( |
| 298 | name = "com_google_googletest", |
Loo Rong Jie | e94aa22 | 2018-10-15 01:27:08 -0700 | [diff] [blame] | 299 | sha256 = "0fb00ff413f6b9b80ccee44a374ca7a18af7315aea72a43c62f2acd1ca74e9b5", |
| 300 | strip_prefix = "googletest-f13bbe2992d188e834339abe6f715b2b2f840a77", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 301 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 302 | "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] | 303 | "https://github.com/google/googletest/archive/f13bbe2992d188e834339abe6f715b2b2f840a77.tar.gz", |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 304 | ], |
ccalvarin | 8e9f4a8 | 2018-03-23 08:19:37 -0700 | [diff] [blame] | 305 | ) |
| 306 | |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 307 | http_archive( |
| 308 | name = "bazel_skylib", |
Klaus Aehlig | dbe05df | 2018-12-06 06:00:49 -0800 | [diff] [blame] | 309 | # Commit f83cb8dd6f5658bc574ccd873e25197055265d1c of 2018-11-26 |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 310 | sha256 = "ba5d15ca230efca96320085d8e4d58da826d1f81b444ef8afccd8b23e0799b52", |
| 311 | strip_prefix = "bazel-skylib-f83cb8dd6f5658bc574ccd873e25197055265d1c", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 312 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 313 | "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 48b672c | 2018-11-29 15:01:32 -0800 | [diff] [blame] | 314 | "https://github.com/bazelbuild/bazel-skylib/archive/f83cb8dd6f5658bc574ccd873e25197055265d1c.tar.gz", |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 315 | ], |
cparsons | 871cd6f | 2018-08-16 09:10:38 -0700 | [diff] [blame] | 316 | ) |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 317 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 318 | # Note that skydoc depends on being called io_bazel_skydoc (and not just skydoc) |
| 319 | # 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] | 320 | http_archive( |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 321 | name = "io_bazel_skydoc", |
cparsons | 1488f91 | 2019-02-27 10:22:55 -0800 | [diff] [blame] | 322 | sha256 = "4a1318fed4831697b83ce879b3ab70ae09592b167e5bda8edaff45132d1c3b3f", |
| 323 | strip_prefix = "skydoc-2d9566b21fbe405acf5f7bf77eda30df72a4744c", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 324 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 325 | "https://mirror.bazel.build/github.com/bazelbuild/skydoc/archive/2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz", |
cparsons | 1488f91 | 2019-02-27 10:22:55 -0800 | [diff] [blame] | 326 | "https://github.com/bazelbuild/skydoc/archive/2d9566b21fbe405acf5f7bf77eda30df72a4744c.tar.gz", |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 327 | ], |
cparsons | a5be661 | 2018-08-27 13:21:21 -0700 | [diff] [blame] | 328 | ) |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 329 | |
| 330 | # For testing, have an distdir_tar with all the archives implicit in every |
| 331 | # WORKSPACE, to that they don't have to be refetched for every test |
| 332 | # calling `bazel sync`. |
| 333 | distdir_tar( |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 334 | name = "test_WORKSPACE_files", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 335 | archives = [ |
| 336 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz", |
| 337 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz", |
| 338 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip", |
| 339 | "jdk9-server-release-1708.tar.xz", |
| 340 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz", |
| 341 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz", |
| 342 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip", |
| 343 | "jdk10-server-release-1804.tar.xz", |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 344 | "java_tools_javac10_linux-x86_64-v2.1.zip", |
| 345 | "java_tools_javac10_windows-x86_64-v2.1.zip", |
| 346 | "java_tools_javac10_darwin-v2.1.zip", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 347 | "coverage_output_generator-v1.0.zip", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 348 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz", |
| 349 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz", |
| 350 | "zulu11.2.3-jdk11.0.1-win_x64.zip", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 351 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz", |
| 352 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip", |
| 353 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 354 | "android_tools_pkg-0.1.tar.gz", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 355 | ], |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 356 | dirname = "test_WORKSPACE/distdir", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 357 | sha256 = { |
| 358 | "zulu9.0.7.1-jdk9.0.7-linux_x64-allmodules.tar.gz": "f27cb933de4f9e7fe9a703486cf44c84bc8e9f138be0c270c9e5716a32367e87", |
| 359 | "zulu9.0.7.1-jdk9.0.7-macosx_x64-allmodules.tar.gz": "404e7058ff91f956612f47705efbee8e175a38b505fb1b52d8c1ea98718683de", |
| 360 | "zulu9.0.7.1-jdk9.0.7-win_x64-allmodules.zip": "e738829017f107e7a7cd5069db979398ec3c3f03ef56122f89ba38e7374f63ed", |
| 361 | "jdk9-server-release-1708.tar.xz": "72e7843902b0395e2d30e1e9ad2a5f05f36a4bc62529828bcbc698d54aec6022", |
| 362 | "zulu10.2+3-jdk10.0.1-linux_x64-allmodules.tar.gz": "57fad3602e74c79587901d6966d3b54ef32cb811829a2552163185d5064fe9b5", |
| 363 | "zulu10.2+3-jdk10.0.1-macosx_x64-allmodules.tar.gz": "e669c9a897413d855b550b4e39d79614392e6fb96f494e8ef99a34297d9d85d3", |
| 364 | "zulu10.2+3-jdk10.0.1-win_x64-allmodules.zip": "c39e7700a8d41794d60985df5a20352435196e78ecbc6a2b30df7be8637bffd5", |
| 365 | "jdk10-server-release-1804.tar.xz": "b7098b7aaf6ee1ffd4a2d0371a0be26c5a5c87f6aebbe46fe9a92c90583a84be", |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 366 | "java_tools_javac10_linux-x86_64-v2.1.zip": "9163c9963f31e10101d538163c435db9534baf9db63d380508311b775fbe3c37", |
| 367 | "java_tools_javac10_windows-x86_64-v2.1.zip": "a7a99e34213eb80384b81dda0217582a38f876f420c7b648900f254bf9ea3bd7", |
| 368 | "java_tools_javac10_darwin-v2.1.zip": "5f6a7abf7ec0c491dc2d0b15add6a2abb594e31809f4cabc2cfde41efa995f92", |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 369 | "coverage_output_generator-v1.0.zip": "cc470e529fafb6165b5be3929ff2d99b38429b386ac100878687416603a67889", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 370 | "zulu11.2.3-jdk11.0.1-linux_x64.tar.gz": "232b1c3511f0d26e92582b7c3cc363be7ac633e371854ca2f2e9f2b50eb72a75", |
| 371 | "zulu11.2.3-jdk11.0.1-macosx_x64.tar.gz": "1edf366ee821e5db8e348152fcb337b28dfd6bf0f97943c270dcc6747cedb6cb", |
| 372 | "zulu11.2.3-jdk11.0.1-win_x64.zip": "8e1e2b8347de6746f3fd1538840dd643201533ab113abc4ed93678e342d28aa3", |
Tobias Werth | 0068055 | 2019-02-03 02:17:41 -0800 | [diff] [blame] | 373 | "zulu11.29.3-ca-jdk11.0.2-linux_x64.tar.gz": "f3f44b6235508e87b760bf37a49e186cc1fa4e9cd28384c4dbf5a33991921e08", |
| 374 | "zulu11.29.3-ca-jdk11.0.2-macosx_x64.zip": "059f8e3484bf07b63a8f2820d5f528f473eff1befdb1896ee4f8ff06be3b8d8f", |
| 375 | "zulu11.29.3-ca-jdk11.0.2-win_x64.zip": "e1f5b4ce1b9148140fae2fcfb8a96d1c9b7eac5b8df0e13fbcad9b8561284880", |
Jingwen Chen | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 376 | "android_tools_pkg-0.1.tar.gz": "b71b10e8f067dd6bff446fb0d49239fe28b12cfd1ed24278d04b06cf54669862", |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 377 | }, |
| 378 | urls = { |
| 379 | "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"], |
| 380 | "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"], |
| 381 | "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"], |
| 382 | "jdk9-server-release-1708.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk9-server-release-1708.tar.xz"], |
| 383 | "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"], |
| 384 | "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"], |
| 385 | "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"], |
| 386 | "jdk10-server-release-1804.tar.xz": ["https://mirror.bazel.build/openjdk.linaro.org/releases/jdk10-server-release-1804.tar.xz"], |
iirina | ebdbdcd | 2019-04-09 04:43:08 -0700 | [diff] [blame] | 387 | "java_tools_javac10_linux-x86_64-v2.1.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_linux-x86_64-v2.1.zip"], |
| 388 | "java_tools_javac10_windows-x86_64-v2.1.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_windows-x86_64-v2.1.zip"], |
| 389 | "java_tools_javac10_darwin-v2.1.zip": ["https://mirror.bazel.build/bazel_java_tools/releases/java_tools_javac10_darwin-v2.1.zip"], |
iirina | ec2b080 | 2019-04-09 10:43:48 -0700 | [diff] [blame] | 390 | "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] | 391 | "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"], |
| 392 | "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"], |
| 393 | "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] | 394 | "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"], |
| 395 | "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"], |
| 396 | "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 | 186929e | 2019-04-02 10:38:30 -0700 | [diff] [blame] | 397 | "android_tools_pkg-0.1.tar.gz": [ |
| 398 | "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.1.tar.gz", |
| 399 | ], |
philwo | 75edd78 | 2019-01-29 05:02:44 -0800 | [diff] [blame] | 400 | }, |
Klaus Aehlig | acafe5a | 2018-10-24 03:16:42 -0700 | [diff] [blame] | 401 | ) |
Jingwen Chen | 186bdcd | 2018-12-14 10:27:23 -0800 | [diff] [blame] | 402 | |
| 403 | load("//scripts/docs:doc_versions.bzl", "DOC_VERSIONS") |
| 404 | |
| 405 | [http_file( |
| 406 | name = "jekyll_tree_%s" % DOC_VERSION["version"].replace(".", "_"), |
| 407 | sha256 = DOC_VERSION["sha256"], |
| 408 | urls = ["https://mirror.bazel.build/bazel_versioned_docs/jekyll-tree-%s.tar" % DOC_VERSION["version"]], |
| 409 | ) for DOC_VERSION in DOC_VERSIONS] |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 410 | |
| 411 | # Skydoc recommends declaring its dependencies via "*_dependencies" functions. |
| 412 | # This requires that the repositories these functions come from need to be |
| 413 | # fetched unconditionally for everything (including just building bazel!), so |
| 414 | # provide them as http_archives that can be shiped in the distdir, to keep the |
| 415 | # distribution archive self-contained. |
| 416 | http_archive( |
| 417 | name = "io_bazel_rules_sass", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 418 | sha256 = "d868ce50d592ef4aad7dec4dd32ae68d2151261913450fac8390b3fd474bb898", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 419 | strip_prefix = "rules_sass-8ccf4f1c351928b55d5dddf3672e3667f6978d60", |
| 420 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 421 | "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] | 422 | "https://github.com/bazelbuild/rules_sass/archive/8ccf4f1c351928b55d5dddf3672e3667f6978d60.tar.gz", |
| 423 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 424 | ) |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 425 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 426 | http_archive( |
| 427 | name = "build_bazel_rules_nodejs", |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 428 | sha256 = "9b72bb0aea72d7cbcfc82a01b1e25bf3d85f791e790ddec16c65e2d906382ee0", |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 429 | strip_prefix = "rules_nodejs-0.16.2", |
| 430 | urls = [ |
hlopko | 6b06acc | 2019-03-25 04:40:10 -0700 | [diff] [blame] | 431 | "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] | 432 | "https://github.com/bazelbuild/rules_nodejs/archive/0.16.2.zip", |
| 433 | ], |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 434 | ) |
| 435 | |
iirina | 93e8073 | 2019-04-16 02:07:40 -0700 | [diff] [blame] | 436 | load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") |
| 437 | git_repository( |
| 438 | name = "java_tools_langtools_javac9", |
| 439 | branch = "langtools_javac9", |
| 440 | remote = "https://github.com/bazelbuild/java_tools.git", |
| 441 | ) |
| 442 | |
| 443 | git_repository( |
| 444 | name = "java_tools_langtools_javac10", |
| 445 | branch = "langtools_javac10", |
| 446 | remote = "https://github.com/bazelbuild/java_tools.git", |
| 447 | ) |
| 448 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 449 | load("@io_bazel_skydoc//:setup.bzl", "skydoc_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 450 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 451 | skydoc_repositories() |
| 452 | |
| 453 | load("@io_bazel_rules_sass//:package.bzl", "rules_sass_dependencies") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 454 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 455 | rules_sass_dependencies() |
| 456 | |
| 457 | load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 458 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 459 | node_repositories() |
| 460 | |
| 461 | load("@io_bazel_rules_sass//:defs.bzl", "sass_repositories") |
iirina | f5c33426 | 2019-03-19 02:44:59 -0700 | [diff] [blame] | 462 | |
Klaus Aehlig | 6f52fca | 2019-03-18 03:43:40 -0700 | [diff] [blame] | 463 | sass_repositories() |
Jakob Buchgraber | 593c530 | 2019-04-16 10:12:20 -0700 | [diff] [blame] | 464 | |
| 465 | register_execution_platforms("//:default_host_platform"); # buildozer: disable=positional-args |