bazel_7: start by copying bazel_6

+3153
+41
pkgs/development/tools/build-managers/bazel/bazel_7/actions_path.patch
··· 1 + diff --git a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 2 + index 6fff2af..7e2877e 100644 3 + --- a/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 4 + +++ b/src/main/java/com/google/devtools/build/lib/exec/local/PosixLocalEnvProvider.java 5 + @@ -47,6 +47,16 @@ public final class PosixLocalEnvProvider implements LocalEnvProvider { 6 + Map<String, String> env, BinTools binTools, String fallbackTmpDir) { 7 + ImmutableMap.Builder<String, String> result = ImmutableMap.builder(); 8 + result.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR"))); 9 + + 10 + + // In case we are running on NixOS. 11 + + // If bash is called with an unset PATH on this platform, 12 + + // it will set it to /no-such-path and default tools will be missings. 13 + + // See, https://github.com/NixOS/nixpkgs/issues/94222 14 + + // So we ensure that minimal dependencies are present. 15 + + if (!env.containsKey("PATH")){ 16 + + result.put("PATH", "@actionsPathPatch@"); 17 + + } 18 + + 19 + String p = clientEnv.get("TMPDIR"); 20 + if (Strings.isNullOrEmpty(p)) { 21 + // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR 22 + index 95642767c6..39d3c62461 100644 23 + --- a/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java 24 + +++ b/src/main/java/com/google/devtools/build/lib/exec/local/XcodeLocalEnvProvider.java 25 + @@ -74,6 +74,16 @@ public final class XcodeLocalEnvProvider implements LocalEnvProvider { 26 + 27 + ImmutableMap.Builder<String, String> newEnvBuilder = ImmutableMap.builder(); 28 + newEnvBuilder.putAll(Maps.filterKeys(env, k -> !k.equals("TMPDIR"))); 29 + + 30 + + // In case we are running on NixOS. 31 + + // If bash is called with an unset PATH on this platform, 32 + + // it will set it to /no-such-path and default tools will be missings. 33 + + // See, https://github.com/NixOS/nixpkgs/issues/94222 34 + + // So we ensure that minimal dependencies are present. 35 + + if (!env.containsKey("PATH")){ 36 + + newEnvBuilder.put("PATH", "@actionsPathPatch@"); 37 + + } 38 + + 39 + String p = clientEnv.get("TMPDIR"); 40 + if (Strings.isNullOrEmpty(p)) { 41 + // Do not use `fallbackTmpDir`, use `/tmp` instead. This way if the user didn't export TMPDIR
+675
pkgs/development/tools/build-managers/bazel/bazel_7/default.nix
··· 1 + { stdenv, callPackage, lib, fetchurl, fetchpatch, fetchFromGitHub, installShellFiles 2 + , runCommand, runCommandCC, makeWrapper, recurseIntoAttrs 3 + # this package (through the fixpoint glass) 4 + , bazel_self 5 + , lr, xe, zip, unzip, bash, writeCBin, coreutils 6 + , which, gawk, gnused, gnutar, gnugrep, gzip, findutils 7 + , diffutils, gnupatch 8 + # updater 9 + , python3, writeScript 10 + # Apple dependencies 11 + , cctools, libcxx, CoreFoundation, CoreServices, Foundation 12 + # Allow to independently override the jdks used to build and run respectively 13 + , buildJdk, runJdk 14 + , runtimeShell 15 + # Downstream packages for tests 16 + , bazel-watcher 17 + # Always assume all markers valid (this is needed because we remove markers; they are non-deterministic). 18 + # Also, don't clean up environment variables (so that NIX_ environment variables are passed to compilers). 19 + , enableNixHacks ? false 20 + , gcc-unwrapped 21 + , autoPatchelfHook 22 + , file 23 + , substituteAll 24 + , writeTextFile 25 + }: 26 + 27 + let 28 + version = "6.3.2"; 29 + sourceRoot = "."; 30 + 31 + src = fetchurl { 32 + url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; 33 + hash = "sha256-jNf+rFgZO+K8ukUbpmiKRoJNN8pjWf9Y4NROuY8EKUg="; 34 + }; 35 + 36 + # Update with 37 + # 1. export BAZEL_SELF=$(nix-build -A bazel_6) 38 + # 2. update version and hash for sources above 39 + # 3. `eval $(nix-build -A bazel_6.updater)` 40 + # 4. add new dependencies from the dict in ./src-deps.json if required by failing build 41 + srcDeps = lib.attrsets.attrValues srcDepsSet; 42 + srcDepsSet = 43 + let 44 + srcs = lib.importJSON ./src-deps.json; 45 + toFetchurl = d: lib.attrsets.nameValuePair d.name (fetchurl { 46 + urls = d.urls or [d.url]; 47 + sha256 = d.sha256; 48 + }); 49 + in builtins.listToAttrs (map toFetchurl [ 50 + srcs.desugar_jdk_libs 51 + srcs.io_bazel_skydoc 52 + srcs.bazel_skylib 53 + srcs.bazelci_rules 54 + srcs.io_bazel_rules_sass 55 + srcs.platforms 56 + srcs.remote_java_tools_for_testing 57 + srcs."coverage_output_generator-v2.6.zip" 58 + srcs.build_bazel_rules_nodejs 59 + srcs.android_tools_for_testing 60 + srcs.openjdk_linux_vanilla 61 + srcs.bazel_toolchains 62 + srcs.com_github_grpc_grpc 63 + srcs.upb 64 + srcs.com_google_protobuf 65 + srcs.rules_pkg 66 + srcs.rules_cc 67 + srcs.rules_java 68 + srcs.rules_proto 69 + srcs.rules_nodejs 70 + srcs.rules_license 71 + srcs.com_google_absl 72 + srcs.com_googlesource_code_re2 73 + srcs.com_github_cares_cares 74 + srcs.com_envoyproxy_protoc_gen_validate 75 + srcs.com_google_googleapis 76 + srcs.bazel_gazelle 77 + ]); 78 + 79 + distDir = runCommand "bazel-deps" {} '' 80 + mkdir -p $out 81 + for i in ${builtins.toString srcDeps}; do cp $i $out/$(stripHash $i); done 82 + ''; 83 + 84 + defaultShellUtils = 85 + # Keep this list conservative. For more exotic tools, prefer to use 86 + # @rules_nixpkgs to pull in tools from the nix repository. Example: 87 + # 88 + # WORKSPACE: 89 + # 90 + # nixpkgs_git_repository( 91 + # name = "nixpkgs", 92 + # revision = "def5124ec8367efdba95a99523dd06d918cb0ae8", 93 + # ) 94 + # 95 + # # This defines an external Bazel workspace. 96 + # nixpkgs_package( 97 + # name = "bison", 98 + # repositories = { "nixpkgs": "@nixpkgs//:default.nix" }, 99 + # ) 100 + # 101 + # some/BUILD.bazel: 102 + # 103 + # genrule( 104 + # ... 105 + # cmd = "$(location @bison//:bin/bison) -other -args", 106 + # tools = [ 107 + # ... 108 + # "@bison//:bin/bison", 109 + # ], 110 + # ) 111 + [ 112 + bash 113 + coreutils 114 + diffutils 115 + file 116 + findutils 117 + gawk 118 + gnugrep 119 + gnupatch 120 + gnused 121 + gnutar 122 + gzip 123 + python3 124 + unzip 125 + which 126 + zip 127 + ]; 128 + 129 + defaultShellPath = lib.makeBinPath defaultShellUtils; 130 + 131 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 132 + 133 + system = if stdenv.hostPlatform.isDarwin then "darwin" else "linux"; 134 + 135 + # on aarch64 Darwin, `uname -m` returns "arm64" 136 + arch = with stdenv.hostPlatform; if isDarwin && isAarch64 then "arm64" else parsed.cpu.name; 137 + 138 + bazelRC = writeTextFile { 139 + name = "bazel-rc"; 140 + text = '' 141 + startup --server_javabase=${runJdk} 142 + 143 + # Can't use 'common'; https://github.com/bazelbuild/bazel/issues/3054 144 + # Most commands inherit from 'build' anyway. 145 + build --distdir=${distDir} 146 + fetch --distdir=${distDir} 147 + query --distdir=${distDir} 148 + 149 + build --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition 150 + build --tool_java_runtime_version=local_jdk_11 151 + build --java_runtime_version=local_jdk_11 152 + 153 + # load default location for the system wide configuration 154 + try-import /etc/bazel.bazelrc 155 + ''; 156 + }; 157 + 158 + in 159 + stdenv.mkDerivation rec { 160 + pname = "bazel"; 161 + inherit version; 162 + 163 + meta = with lib; { 164 + homepage = "https://github.com/bazelbuild/bazel/"; 165 + description = "Build tool that builds code quickly and reliably"; 166 + sourceProvenance = with sourceTypes; [ 167 + fromSource 168 + binaryBytecode # source bundles dependencies as jars 169 + ]; 170 + license = licenses.asl20; 171 + maintainers = lib.teams.bazel.members; 172 + inherit platforms; 173 + }; 174 + 175 + inherit src; 176 + inherit sourceRoot; 177 + patches = [ 178 + # Force usage of the _non_ prebuilt java toolchain. 179 + # the prebuilt one does not work in nix world. 180 + ./java_toolchain.patch 181 + 182 + # On Darwin, the last argument to gcc is coming up as an empty string. i.e: '' 183 + # This is breaking the build of any C target. This patch removes the last 184 + # argument if it's found to be an empty string. 185 + ../trim-last-argument-to-gcc-if-empty.patch 186 + 187 + # `java_proto_library` ignores `strict_proto_deps` 188 + # https://github.com/bazelbuild/bazel/pull/16146 189 + ./strict_proto_deps.patch 190 + 191 + # On Darwin, using clang 6 to build fails because of a linker error (see #105573), 192 + # but using clang 7 fails because libarclite_macosx.a cannot be found when linking 193 + # the xcode_locator tool. 194 + # This patch removes using the -fobjc-arc compiler option and makes the code 195 + # compile without automatic reference counting. Caveat: this leaks memory, but 196 + # we accept this fact because xcode_locator is only a short-lived process used during the build. 197 + (substituteAll { 198 + src = ./no-arc.patch; 199 + multiBinPatch = if stdenv.hostPlatform.system == "aarch64-darwin" then "arm64" else "x86_64"; 200 + }) 201 + 202 + # --experimental_strict_action_env (which may one day become the default 203 + # see bazelbuild/bazel#2574) hardcodes the default 204 + # action environment to a non hermetic value (e.g. "/usr/local/bin"). 205 + # This is non hermetic on non-nixos systems. On NixOS, bazel cannot find the required binaries. 206 + # So we are replacing this bazel paths by defaultShellPath, 207 + # improving hermeticity and making it work in nixos. 208 + (substituteAll { 209 + src = ../strict_action_env.patch; 210 + strictActionEnvPatch = defaultShellPath; 211 + }) 212 + 213 + (substituteAll { 214 + src = ./actions_path.patch; 215 + actionsPathPatch = defaultShellPath; 216 + }) 217 + 218 + # bazel reads its system bazelrc in /etc 219 + # override this path to a builtin one 220 + (substituteAll { 221 + src = ../bazel_rc.patch; 222 + bazelSystemBazelRCPath = bazelRC; 223 + }) 224 + ] ++ lib.optional enableNixHacks ./nix-hacks.patch; 225 + 226 + 227 + # Additional tests that check bazel’s functionality. Execute 228 + # 229 + # nix-build . -A bazel_6.tests 230 + # 231 + # in the nixpkgs checkout root to exercise them locally. 232 + passthru.tests = 233 + let 234 + runLocal = name: attrs: script: 235 + let 236 + attrs' = removeAttrs attrs [ "buildInputs" ]; 237 + buildInputs = attrs.buildInputs or []; 238 + in 239 + runCommandCC name ({ 240 + inherit buildInputs; 241 + preferLocalBuild = true; 242 + meta.platforms = platforms; 243 + } // attrs') script; 244 + 245 + # bazel wants to extract itself into $install_dir/install every time it runs, 246 + # so let’s do that only once. 247 + extracted = bazelPkg: 248 + let install_dir = 249 + # `install_base` field printed by `bazel info`, minus the hash. 250 + # yes, this path is kinda magic. Sorry. 251 + "$HOME/.cache/bazel/_bazel_nixbld"; 252 + in runLocal "bazel-extracted-homedir" { passthru.install_dir = install_dir; } '' 253 + export HOME=$(mktemp -d) 254 + touch WORKSPACE # yeah, everything sucks 255 + install_base="$(${bazelPkg}/bin/bazel info | grep install_base)" 256 + # assert it’s actually below install_dir 257 + [[ "$install_base" =~ ${install_dir} ]] \ 258 + || (echo "oh no! $install_base but we are \ 259 + trying to copy ${install_dir} to $out instead!"; exit 1) 260 + cp -R ${install_dir} $out 261 + ''; 262 + 263 + bazelTest = { name, bazelScript, workspaceDir, bazelPkg, buildInputs ? [] }: 264 + let 265 + be = extracted bazelPkg; 266 + in runLocal name { inherit buildInputs; } ( 267 + # skip extraction caching on Darwin, because nobody knows how Darwin works 268 + (lib.optionalString (!stdenv.hostPlatform.isDarwin) '' 269 + # set up home with pre-unpacked bazel 270 + export HOME=$(mktemp -d) 271 + mkdir -p ${be.install_dir} 272 + cp -R ${be}/install ${be.install_dir} 273 + 274 + # https://stackoverflow.com/questions/47775668/bazel-how-to-skip-corrupt-installation-on-centos6 275 + # Bazel checks whether the mtime of the install dir files 276 + # is >9 years in the future, otherwise it extracts itself again. 277 + # see PosixFileMTime::IsUntampered in src/main/cpp/util 278 + # What the hell bazel. 279 + ${lr}/bin/lr -0 -U ${be.install_dir} | ${xe}/bin/xe -N0 -0 touch --date="9 years 6 months" {} 280 + '') 281 + + 282 + '' 283 + # Note https://github.com/bazelbuild/bazel/issues/5763#issuecomment-456374609 284 + # about why to create a subdir for the workspace. 285 + cp -r ${workspaceDir} wd && chmod u+w wd && cd wd 286 + 287 + ${bazelScript} 288 + 289 + touch $out 290 + ''); 291 + 292 + bazelWithNixHacks = bazel_self.override { enableNixHacks = true; }; 293 + 294 + bazel-examples = fetchFromGitHub { 295 + owner = "bazelbuild"; 296 + repo = "examples"; 297 + rev = "4183fc709c26a00366665e2d60d70521dc0b405d"; 298 + sha256 = "1mm4awx6sa0myiz9j4hwp71rpr7yh8vihf3zm15n2ii6xb82r31k"; 299 + }; 300 + 301 + in (lib.optionalAttrs (!stdenv.hostPlatform.isDarwin) { 302 + # `extracted` doesn’t work on darwin 303 + shebang = callPackage ../shebang-test.nix { inherit runLocal extracted bazelTest distDir; bazel = bazel_self;}; 304 + }) // { 305 + bashTools = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 306 + cpp = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 307 + java = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazel_self;}; 308 + protobuf = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self; }; 309 + pythonBinPath = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazel_self;}; 310 + 311 + bashToolsWithNixHacks = callPackage ../bash-tools-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 312 + 313 + cppWithNixHacks = callPackage ../cpp-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 314 + javaWithNixHacks = callPackage ../java-test.nix { inherit runLocal bazelTest bazel-examples distDir; bazel = bazelWithNixHacks; }; 315 + protobufWithNixHacks = callPackage ../protobuf-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 316 + pythonBinPathWithNixHacks = callPackage ../python-bin-path-test.nix { inherit runLocal bazelTest distDir; bazel = bazelWithNixHacks; }; 317 + 318 + # downstream packages using buildBazelPackage 319 + # fixed-output hashes of the fetch phase need to be spot-checked manually 320 + downstream = recurseIntoAttrs ({ 321 + inherit bazel-watcher; 322 + }); 323 + }; 324 + 325 + src_for_updater = stdenv.mkDerivation rec { 326 + name = "updater-sources"; 327 + inherit src; 328 + nativeBuildInputs = [ unzip ]; 329 + inherit sourceRoot; 330 + installPhase = '' 331 + runHook preInstall 332 + 333 + cp -r . "$out" 334 + 335 + runHook postInstall 336 + ''; 337 + }; 338 + # update the list of workspace dependencies 339 + passthru.updater = writeScript "update-bazel-deps.sh" '' 340 + #!${runtimeShell} 341 + (cd "${src_for_updater}" && 342 + BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \ 343 + "$BAZEL_SELF"/bin/bazel \ 344 + query 'kind(http_archive, //external:*) + kind(http_file, //external:*) + kind(distdir_tar, //external:*) + kind(git_repository, //external:*)' \ 345 + --loading_phase_threads=1 \ 346 + --output build) \ 347 + | "${python3}"/bin/python3 "${./update-srcDeps.py}" \ 348 + "${builtins.toString ./src-deps.json}" 349 + ''; 350 + 351 + # Necessary for the tests to pass on Darwin with sandbox enabled. 352 + # Bazel starts a local server and needs to bind a local address. 353 + __darwinAllowLocalNetworking = true; 354 + 355 + postPatch = let 356 + 357 + darwinPatches = '' 358 + bazelLinkFlags () { 359 + eval set -- "$NIX_LDFLAGS" 360 + local flag 361 + for flag in "$@"; do 362 + printf ' -Wl,%s' "$flag" 363 + done 364 + } 365 + 366 + # Disable Bazel's Xcode toolchain detection which would configure compilers 367 + # and linkers from Xcode instead of from PATH 368 + export BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 369 + 370 + # Explicitly configure gcov since we don't have it on Darwin, so autodetection fails 371 + export GCOV=${coreutils}/bin/false 372 + 373 + # Framework search paths aren't added by bintools hook 374 + # https://github.com/NixOS/nixpkgs/pull/41914 375 + export NIX_LDFLAGS+=" -F${CoreFoundation}/Library/Frameworks -F${CoreServices}/Library/Frameworks -F${Foundation}/Library/Frameworks" 376 + 377 + # libcxx includes aren't added by libcxx hook 378 + # https://github.com/NixOS/nixpkgs/pull/41589 379 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -isystem ${lib.getDev libcxx}/include/c++/v1" 380 + 381 + # don't use system installed Xcode to run clang, use Nix clang instead 382 + sed -i -E "s;/usr/bin/xcrun (--sdk macosx )?clang;${stdenv.cc}/bin/clang $NIX_CFLAGS_COMPILE $(bazelLinkFlags) -framework CoreFoundation;g" \ 383 + scripts/bootstrap/compile.sh \ 384 + tools/osx/BUILD 385 + 386 + substituteInPlace scripts/bootstrap/compile.sh --replace ' -mmacosx-version-min=10.9' "" 387 + 388 + # nixpkgs's libSystem cannot use pthread headers directly, must import GCD headers instead 389 + sed -i -e "/#include <pthread\/spawn.h>/i #include <dispatch/dispatch.h>" src/main/cpp/blaze_util_darwin.cc 390 + 391 + # clang installed from Xcode has a compatibility wrapper that forwards 392 + # invocations of gcc to clang, but vanilla clang doesn't 393 + sed -i -e 's;_find_generic(repository_ctx, "gcc", "CC", overriden_tools);_find_generic(repository_ctx, "clang", "CC", overriden_tools);g' tools/cpp/unix_cc_configure.bzl 394 + 395 + sed -i -e 's;"/usr/bin/libtool";_find_generic(repository_ctx, "libtool", "LIBTOOL", overriden_tools);g' tools/cpp/unix_cc_configure.bzl 396 + wrappers=( tools/cpp/osx_cc_wrapper.sh.tpl ) 397 + for wrapper in "''${wrappers[@]}"; do 398 + sed -i -e "s,/usr/bin/gcc,${stdenv.cc}/bin/clang,g" $wrapper 399 + sed -i -e "s,/usr/bin/install_name_tool,${cctools}/bin/install_name_tool,g" $wrapper 400 + sed -i -e "s,/usr/bin/xcrun install_name_tool,${cctools}/bin/install_name_tool,g" $wrapper 401 + done 402 + ''; 403 + 404 + genericPatches = '' 405 + # md5sum is part of coreutils 406 + sed -i 's|/sbin/md5|md5sum|g' \ 407 + src/BUILD third_party/ijar/test/testenv.sh tools/objc/libtool.sh 408 + 409 + # replace initial value of pythonShebang variable in BazelPythonSemantics.java 410 + substituteInPlace src/main/java/com/google/devtools/build/lib/bazel/rules/python/BazelPythonSemantics.java \ 411 + --replace '"#!/usr/bin/env " + pythonExecutableName' "\"#!${python3}/bin/python\"" 412 + 413 + substituteInPlace src/main/java/com/google/devtools/build/lib/starlarkbuildapi/python/PyRuntimeInfoApi.java \ 414 + --replace '"#!/usr/bin/env python3"' "\"#!${python3}/bin/python\"" 415 + 416 + # substituteInPlace is rather slow, so prefilter the files with grep 417 + grep -rlZ /bin/ src/main/java/com/google/devtools | while IFS="" read -r -d "" path; do 418 + # If you add more replacements here, you must change the grep above! 419 + # Only files containing /bin are taken into account. 420 + substituteInPlace "$path" \ 421 + --replace /bin/bash ${bash}/bin/bash \ 422 + --replace "/usr/bin/env bash" ${bash}/bin/bash \ 423 + --replace "/usr/bin/env python" ${python3}/bin/python \ 424 + --replace /usr/bin/env ${coreutils}/bin/env \ 425 + --replace /bin/true ${coreutils}/bin/true 426 + done 427 + 428 + grep -rlZ /bin/ tools/python | while IFS="" read -r -d "" path; do 429 + substituteInPlace "$path" \ 430 + --replace "/usr/bin/env python2" ${python3.interpreter} \ 431 + --replace "/usr/bin/env python3" ${python3}/bin/python \ 432 + --replace /usr/bin/env ${coreutils}/bin/env 433 + done 434 + 435 + # bazel test runner include references to /bin/bash 436 + substituteInPlace tools/build_rules/test_rules.bzl \ 437 + --replace /bin/bash ${bash}/bin/bash 438 + 439 + for i in $(find tools/cpp/ -type f) 440 + do 441 + substituteInPlace $i \ 442 + --replace /bin/bash ${bash}/bin/bash 443 + done 444 + 445 + # Fixup scripts that generate scripts. Not fixed up by patchShebangs below. 446 + substituteInPlace scripts/bootstrap/compile.sh \ 447 + --replace /bin/bash ${bash}/bin/bash 448 + 449 + # add nix environment vars to .bazelrc 450 + cat >> .bazelrc <<EOF 451 + # Limit the resources Bazel is allowed to use during the build to 1/2 the 452 + # available RAM and 3/4 the available CPU cores. This should help avoid 453 + # overwhelming the build machine. 454 + build --toolchain_resolution_debug=".*" 455 + build --local_ram_resources=HOST_RAM*.5 456 + build --local_cpu_resources=HOST_CPUS*.75 457 + 458 + build --distdir=${distDir} 459 + fetch --distdir=${distDir} 460 + build --copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt="/g')" 461 + build --host_copt="$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt="/g')" 462 + build --linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt="/g')" 463 + build --host_linkopt="$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt="/g')" 464 + build --linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt="-Wl,/g')" 465 + build --host_linkopt="-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt="-Wl,/g')" 466 + build --extra_toolchains=@bazel_tools//tools/jdk:nonprebuilt_toolchain_definition 467 + build --verbose_failures 468 + build --curses=no 469 + build --features=-layering_check 470 + build --experimental_strict_java_deps=off 471 + build --strict_proto_deps=off 472 + EOF 473 + 474 + cat >> third_party/grpc/bazel_1.41.0.patch <<EOF 475 + diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD 476 + index 39ee9f97c6..9128d20c85 100644 477 + --- a/third_party/grpc/BUILD 478 + +++ b/third_party/grpc/BUILD 479 + @@ -28,7 +28,6 @@ licenses(["notice"]) 480 + package( 481 + default_visibility = ["//visibility:public"], 482 + features = [ 483 + - "layering_check", 484 + "-parse_headers", 485 + ], 486 + ) 487 + EOF 488 + 489 + # add the same environment vars to compile.sh 490 + sed -e "/\$command \\\\$/a --copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --copt=\"/g')\" \\\\" \ 491 + -e "/\$command \\\\$/a --host_copt=\"$(echo $NIX_CFLAGS_COMPILE | sed -e 's/ /" --host_copt=\"/g')\" \\\\" \ 492 + -e "/\$command \\\\$/a --linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --linkopt=\"/g')\" \\\\" \ 493 + -e "/\$command \\\\$/a --host_linkopt=\"$(echo $(< ${stdenv.cc}/nix-support/libcxx-ldflags) | sed -e 's/ /" --host_linkopt=\"/g')\" \\\\" \ 494 + -e "/\$command \\\\$/a --linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --linkopt=\"-Wl,/g')\" \\\\" \ 495 + -e "/\$command \\\\$/a --host_linkopt=\"-Wl,$(echo $NIX_LDFLAGS | sed -e 's/ /" --host_linkopt=\"-Wl,/g')\" \\\\" \ 496 + -e "/\$command \\\\$/a --tool_java_runtime_version=local_jdk_11 \\\\" \ 497 + -e "/\$command \\\\$/a --java_runtime_version=local_jdk_11 \\\\" \ 498 + -e "/\$command \\\\$/a --verbose_failures \\\\" \ 499 + -e "/\$command \\\\$/a --curses=no \\\\" \ 500 + -e "/\$command \\\\$/a --features=-layering_check \\\\" \ 501 + -e "/\$command \\\\$/a --experimental_strict_java_deps=off \\\\" \ 502 + -e "/\$command \\\\$/a --strict_proto_deps=off \\\\" \ 503 + -i scripts/bootstrap/compile.sh 504 + 505 + # This is necessary to avoid: 506 + # "error: no visible @interface for 'NSDictionary' declares the selector 507 + # 'initWithContentsOfURL:error:'" 508 + # This can be removed when the apple_sdk is upgraded beyond 10.13+ 509 + sed -i '/initWithContentsOfURL:versionPlistUrl/ { 510 + N 511 + s/error:nil\];/\];/ 512 + }' tools/osx/xcode_locator.m 513 + 514 + # append the PATH with defaultShellPath in tools/bash/runfiles/runfiles.bash 515 + echo "PATH=\$PATH:${defaultShellPath}" >> runfiles.bash.tmp 516 + cat tools/bash/runfiles/runfiles.bash >> runfiles.bash.tmp 517 + mv runfiles.bash.tmp tools/bash/runfiles/runfiles.bash 518 + 519 + patchShebangs . 520 + ''; 521 + in lib.optionalString stdenv.hostPlatform.isDarwin darwinPatches 522 + + genericPatches; 523 + 524 + buildInputs = [buildJdk] ++ defaultShellUtils; 525 + 526 + # when a command can’t be found in a bazel build, you might also 527 + # need to add it to `defaultShellPath`. 528 + nativeBuildInputs = [ 529 + installShellFiles 530 + makeWrapper 531 + python3 532 + unzip 533 + which 534 + zip 535 + python3.pkgs.absl-py # Needed to build fish completion 536 + ] ++ lib.optionals (stdenv.isDarwin) [ cctools libcxx CoreFoundation CoreServices Foundation ]; 537 + 538 + # Bazel makes extensive use of symlinks in the WORKSPACE. 539 + # This causes problems with infinite symlinks if the build output is in the same location as the 540 + # Bazel WORKSPACE. This is why before executing the build, the source code is moved into a 541 + # subdirectory. 542 + # Failing to do this causes "infinite symlink expansion detected" 543 + preBuildPhases = ["preBuildPhase"]; 544 + preBuildPhase = '' 545 + mkdir bazel_src 546 + shopt -s dotglob extglob 547 + mv !(bazel_src) bazel_src 548 + ''; 549 + buildPhase = '' 550 + runHook preBuild 551 + 552 + # Increasing memory during compilation might be necessary. 553 + # export BAZEL_JAVAC_OPTS="-J-Xmx2g -J-Xms200m" 554 + 555 + # If EMBED_LABEL isn't set, it'd be auto-detected from CHANGELOG.md 556 + # and `git rev-parse --short HEAD` which would result in 557 + # "3.7.0- (@non-git)" due to non-git build and incomplete changelog. 558 + # Actual bazel releases use scripts/release/common.sh which is based 559 + # on branch/tag information which we don't have with tarball releases. 560 + # Note that .bazelversion is always correct and is based on bazel-* 561 + # executable name, version checks should work fine 562 + export EMBED_LABEL="${version}- (@non-git)" 563 + ${bash}/bin/bash ./bazel_src/compile.sh 564 + ./bazel_src/scripts/generate_bash_completion.sh \ 565 + --bazel=./bazel_src/output/bazel \ 566 + --output=./bazel_src/output/bazel-complete.bash \ 567 + --prepend=./bazel_src/scripts/bazel-complete-header.bash \ 568 + --prepend=./bazel_src/scripts/bazel-complete-template.bash 569 + ${python3}/bin/python3 ./bazel_src/scripts/generate_fish_completion.py \ 570 + --bazel=./bazel_src/output/bazel \ 571 + --output=./bazel_src/output/bazel-complete.fish 572 + 573 + # need to change directory for bazel to find the workspace 574 + cd ./bazel_src 575 + # build execlog tooling 576 + export HOME=$(mktemp -d) 577 + ./output/bazel build src/tools/execlog:parser_deploy.jar 578 + cd - 579 + 580 + runHook postBuild 581 + ''; 582 + 583 + installPhase = '' 584 + runHook preInstall 585 + 586 + mkdir -p $out/bin 587 + 588 + # official wrapper scripts that searches for $WORKSPACE_ROOT/tools/bazel 589 + # if it can’t find something in tools, it calls $out/bin/bazel-{version}-{os_arch} 590 + # The binary _must_ exist with this naming if your project contains a .bazelversion 591 + # file. 592 + cp ./bazel_src/scripts/packages/bazel.sh $out/bin/bazel 593 + wrapProgram $out/bin/bazel $wrapperfile --suffix PATH : ${defaultShellPath} 594 + mv ./bazel_src/output/bazel $out/bin/bazel-${version}-${system}-${arch} 595 + 596 + mkdir $out/share 597 + cp ./bazel_src/bazel-bin/src/tools/execlog/parser_deploy.jar $out/share/parser_deploy.jar 598 + cat <<EOF > $out/bin/bazel-execlog 599 + #!${runtimeShell} -e 600 + ${runJdk}/bin/java -jar $out/share/parser_deploy.jar \$@ 601 + EOF 602 + chmod +x $out/bin/bazel-execlog 603 + 604 + # shell completion files 605 + installShellCompletion --bash \ 606 + --name bazel.bash \ 607 + ./bazel_src/output/bazel-complete.bash 608 + installShellCompletion --zsh \ 609 + --name _bazel \ 610 + ./bazel_src/scripts/zsh_completion/_bazel 611 + installShellCompletion --fish \ 612 + --name bazel.fish \ 613 + ./bazel_src/output/bazel-complete.fish 614 + ''; 615 + 616 + # Install check fails on `aarch64-darwin` 617 + # https://github.com/NixOS/nixpkgs/issues/145587 618 + doInstallCheck = stdenv.hostPlatform.system != "aarch64-darwin"; 619 + installCheckPhase = '' 620 + export TEST_TMPDIR=$(pwd) 621 + 622 + hello_test () { 623 + $out/bin/bazel test \ 624 + --test_output=errors \ 625 + examples/cpp:hello-success_test \ 626 + examples/java-native/src/test/java/com/example/myproject:hello 627 + } 628 + 629 + cd ./bazel_src 630 + 631 + # If .bazelversion file is present in dist files and doesn't match `bazel` version 632 + # running `bazel` command within bazel_src will fail. 633 + # Let's remove .bazelversion within the test, if present it is meant to indicate bazel version 634 + # to compile bazel with, not version of bazel to be built and tested. 635 + rm -f .bazelversion 636 + 637 + # test whether $WORKSPACE_ROOT/tools/bazel works 638 + 639 + mkdir -p tools 640 + cat > tools/bazel <<"EOF" 641 + #!${runtimeShell} -e 642 + exit 1 643 + EOF 644 + chmod +x tools/bazel 645 + 646 + # first call should fail if tools/bazel is used 647 + ! hello_test 648 + 649 + cat > tools/bazel <<"EOF" 650 + #!${runtimeShell} -e 651 + exec "$BAZEL_REAL" "$@" 652 + EOF 653 + 654 + # second call succeeds because it defers to $out/bin/bazel-{version}-{os_arch} 655 + hello_test 656 + 657 + runHook postInstall 658 + ''; 659 + 660 + # Save paths to hardcoded dependencies so Nix can detect them. 661 + # This is needed because the templates get tar’d up into a .jar. 662 + postFixup = '' 663 + mkdir -p $out/nix-support 664 + echo "${defaultShellPath}" >> $out/nix-support/depends 665 + # The string literal specifying the path to the bazel-rc file is sometimes 666 + # stored non-contiguously in the binary due to gcc optimisations, which leads 667 + # Nix to miss the hash when scanning for dependencies 668 + echo "${bazelRC}" >> $out/nix-support/depends 669 + '' + lib.optionalString stdenv.isDarwin '' 670 + echo "${cctools}" >> $out/nix-support/depends 671 + ''; 672 + 673 + dontStrip = true; 674 + dontPatchELF = true; 675 + }
+33
pkgs/development/tools/build-managers/bazel/bazel_7/java_toolchain.patch
··· 1 + diff --git a/tools/jdk/BUILD.tools b/tools/jdk/BUILD.tools 2 + --- a/tools/jdk/BUILD.tools 3 + +++ b/tools/jdk/BUILD.tools 4 + @@ -3,6 +3,7 @@ load( 5 + "DEFAULT_TOOLCHAIN_CONFIGURATION", 6 + "PREBUILT_TOOLCHAIN_CONFIGURATION", 7 + "VANILLA_TOOLCHAIN_CONFIGURATION", 8 + + "NONPREBUILT_TOOLCHAIN_CONFIGURATION", 9 + "bootclasspath", 10 + "default_java_toolchain", 11 + "java_runtime_files", 12 + @@ -321,6 +322,21 @@ alias( 13 + actual = ":toolchain", 14 + ) 15 + 16 + +default_java_toolchain( 17 + + name = "nonprebuilt_toolchain", 18 + + configuration = NONPREBUILT_TOOLCHAIN_CONFIGURATION, 19 + + java_runtime = "@local_jdk//:jdk", 20 + +) 21 + + 22 + +default_java_toolchain( 23 + + name = "nonprebuilt_toolchain_java11", 24 + + configuration = NONPREBUILT_TOOLCHAIN_CONFIGURATION, 25 + + java_runtime = "@local_jdk//:jdk", 26 + + source_version = "11", 27 + + target_version = "11", 28 + +) 29 + + 30 + + 31 + RELEASES = (8, 9, 10, 11) 32 + 33 + [
+40
pkgs/development/tools/build-managers/bazel/bazel_7/nix-hacks.patch
··· 1 + diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 2 + index 25fbdcac9d..49616d37df 100644 3 + --- a/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 4 + +++ b/src/main/java/com/google/devtools/build/lib/rules/repository/RepositoryDelegatorFunction.java 5 + @@ -568,22 +568,7 @@ public final class RepositoryDelegatorFunction implements SkyFunction { 6 + String content; 7 + try { 8 + content = FileSystemUtils.readContent(markerPath, StandardCharsets.UTF_8); 9 + - String markerRuleKey = readMarkerFile(content, markerData); 10 + - boolean verified = false; 11 + - if (Preconditions.checkNotNull(ruleKey).equals(markerRuleKey)) { 12 + - verified = handler.verifyMarkerData(rule, markerData, env); 13 + - if (env.valuesMissing()) { 14 + - return null; 15 + - } 16 + - } 17 + - 18 + - if (verified) { 19 + - return new Fingerprint().addString(content).digestAndReset(); 20 + - } else { 21 + - // So that we are in a consistent state if something happens while fetching the repository 22 + - markerPath.delete(); 23 + - return null; 24 + - } 25 + + return new Fingerprint().addString(content).digestAndReset(); 26 + } catch (IOException e) { 27 + throw new RepositoryFunctionException(e, Transience.TRANSIENT); 28 + } 29 + diff --git a/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java b/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 30 + index 1a45b8a3a2..a6b73213f6 100644 31 + --- a/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 32 + +++ b/src/main/java/com/google/devtools/build/lib/shell/JavaSubprocessFactory.java 33 + @@ -152,7 +152,6 @@ public class JavaSubprocessFactory implements SubprocessFactory { 34 + ProcessBuilder builder = new ProcessBuilder(); 35 + builder.command(params.getArgv()); 36 + if (params.getEnv() != null) { 37 + - builder.environment().clear(); 38 + builder.environment().putAll(params.getEnv()); 39 + } 40 +
+42
pkgs/development/tools/build-managers/bazel/bazel_7/no-arc.patch
··· 1 + diff --git a/tools/osx/BUILD b/tools/osx/BUILD 2 + index 990afe3e8c..cd5b7b1b7a 100644 3 + --- a/tools/osx/BUILD 4 + +++ b/tools/osx/BUILD 5 + @@ -28,8 +28,8 @@ exports_files([ 6 + ]) 7 + 8 + DARWIN_XCODE_LOCATOR_COMPILE_COMMAND = """ 9 + - /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.13 -fobjc-arc -framework CoreServices \ 10 + - -framework Foundation -arch arm64 -arch x86_64 -Wl,-no_adhoc_codesign -Wl,-no_uuid -o $@ $< && \ 11 + + /usr/bin/xcrun --sdk macosx clang -mmacosx-version-min=10.13 -framework CoreServices \ 12 + + -framework Foundation -arch @multiBinPatch@ -Wl,-no_uuid -o $@ $< && \ 13 + env -i codesign --identifier $@ --force --sign - $@ 14 + """ 15 + 16 + diff --git a/tools/osx/xcode_configure.bzl b/tools/osx/xcode_configure.bzl 17 + index 2b819f07ec..a98ce37673 100644 18 + --- a/tools/osx/xcode_configure.bzl 19 + +++ b/tools/osx/xcode_configure.bzl 20 + @@ -127,7 +127,6 @@ def run_xcode_locator(repository_ctx, xcode_locator_src_label): 21 + "macosx", 22 + "clang", 23 + "-mmacosx-version-min=10.13", 24 + - "-fobjc-arc", 25 + "-framework", 26 + "CoreServices", 27 + "-framework", 28 + diff --git a/tools/osx/xcode_locator.m b/tools/osx/xcode_locator.m 29 + index ed2ef87453..e0ce6dbdd1 100644 30 + --- a/tools/osx/xcode_locator.m 31 + +++ b/tools/osx/xcode_locator.m 32 + @@ -21,10 +21,6 @@ 33 + // 6,6.4,6.4.1 = 6.4.1 34 + // 6.3,6.3.0 = 6.3 35 + 36 + -#if !defined(__has_feature) || !__has_feature(objc_arc) 37 + -#error "This file requires ARC support." 38 + -#endif 39 + - 40 + #import <CoreServices/CoreServices.h> 41 + #import <Foundation/Foundation.h> 42 +
+2247
pkgs/development/tools/build-managers/bazel/bazel_7/src-deps.json
··· 1 + { 2 + "1.25.0.zip": { 3 + "name": "1.25.0.zip", 4 + "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", 5 + "urls": [ 6 + "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", 7 + "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip" 8 + ] 9 + }, 10 + "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz": { 11 + "name": "1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 12 + "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", 13 + "urls": [ 14 + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 15 + "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz" 16 + ] 17 + }, 18 + "20211102.0.tar.gz": { 19 + "name": "20211102.0.tar.gz", 20 + "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", 21 + "urls": [ 22 + "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", 23 + "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" 24 + ] 25 + }, 26 + "2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz": { 27 + "name": "2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", 28 + "sha256": "5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0", 29 + "urls": [ 30 + "https://mirror.bazel.build/github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", 31 + "https://github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz" 32 + ] 33 + }, 34 + "4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz": { 35 + "name": "4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz", 36 + "sha256": "1e490b98005664d149b379a9529a6aa05932b8a11b76b4cd86f3d22d76346f47", 37 + "urls": [ 38 + "https://mirror.bazel.build/github.com/envoyproxy/protoc-gen-validate/archive/4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz", 39 + "https://github.com/envoyproxy/protoc-gen-validate/archive/4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz" 40 + ] 41 + }, 42 + "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip": { 43 + "name": "5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 44 + "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb", 45 + "urls": [ 46 + "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 47 + "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip" 48 + ] 49 + }, 50 + "6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz": { 51 + "name": "6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz", 52 + "sha256": "ec76c5e79db59762776bece58b69507d095856c37b81fd35bfb0958e74b61d93", 53 + "urls": [ 54 + "https://mirror.bazel.build/github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz", 55 + "https://github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz" 56 + ] 57 + }, 58 + "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip": { 59 + "name": "7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 60 + "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", 61 + "urls": [ 62 + "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 63 + "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip" 64 + ] 65 + }, 66 + "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz": { 67 + "name": "7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 68 + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", 69 + "urls": [ 70 + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 71 + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" 72 + ] 73 + }, 74 + "a5477045acaa34586420942098f5fecd3570f577.tar.gz": { 75 + "name": "a5477045acaa34586420942098f5fecd3570f577.tar.gz", 76 + "sha256": "cf7f71eaff90b24c1a28b49645a9ff03a9a6c1e7134291ce70901cb63e7364b5", 77 + "urls": [ 78 + "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz", 79 + "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz" 80 + ] 81 + }, 82 + "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz": { 83 + "name": "aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", 84 + "sha256": "9f385e146410a8150b6f4cb1a57eab7ec806ced48d427554b1e754877ff26c3e", 85 + "urls": [ 86 + "https://mirror.bazel.build/github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz", 87 + "https://github.com/google/re2/archive/aecba11114cf1fac5497aeb844b6966106de3eb6.tar.gz" 88 + ] 89 + }, 90 + "android_tools": { 91 + "generator_function": "maybe", 92 + "generator_name": "android_tools", 93 + "name": "android_tools", 94 + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", 95 + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" 96 + }, 97 + "android_tools_for_testing": { 98 + "name": "android_tools_for_testing", 99 + "patch_cmds": [ 100 + "test -f BUILD && chmod u+w BUILD || true", 101 + "echo >> BUILD", 102 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 103 + ], 104 + "patch_cmds_win": [ 105 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 106 + ], 107 + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", 108 + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" 109 + }, 110 + "android_tools_pkg-0.27.2.tar": { 111 + "name": "android_tools_pkg-0.27.2.tar", 112 + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", 113 + "urls": [ 114 + "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" 115 + ] 116 + }, 117 + "bazel-gazelle-v0.24.0.tar.gz": { 118 + "name": "bazel-gazelle-v0.24.0.tar.gz", 119 + "sha256": "de69a09dc70417580aabf20a28619bb3ef60d038470c7cf8442fafcf627c21cb", 120 + "urls": [ 121 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", 122 + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz" 123 + ] 124 + }, 125 + "bazel-skylib-1.0.3.tar.gz": { 126 + "name": "bazel-skylib-1.0.3.tar.gz", 127 + "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", 128 + "urls": [ 129 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 130 + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz" 131 + ] 132 + }, 133 + "bazel_compdb": { 134 + "generator_function": "grpc_deps", 135 + "generator_name": "bazel_compdb", 136 + "name": "bazel_compdb", 137 + "sha256": "bcecfd622c4ef272fd4ba42726a52e140b961c4eac23025f18b346c968a8cfb4", 138 + "strip_prefix": "bazel-compilation-database-0.4.5", 139 + "urls": [ 140 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz", 141 + "https://github.com/grailbio/bazel-compilation-database/archive/0.4.5.tar.gz" 142 + ] 143 + }, 144 + "bazel_gazelle": { 145 + "generator_function": "dist_http_archive", 146 + "generator_name": "bazel_gazelle", 147 + "name": "bazel_gazelle", 148 + "sha256": "de69a09dc70417580aabf20a28619bb3ef60d038470c7cf8442fafcf627c21cb", 149 + "urls": [ 150 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz", 151 + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.24.0/bazel-gazelle-v0.24.0.tar.gz" 152 + ] 153 + }, 154 + "bazel_skylib": { 155 + "generator_function": "dist_http_archive", 156 + "generator_name": "bazel_skylib", 157 + "name": "bazel_skylib", 158 + "patch_cmds": [ 159 + "test -f BUILD && chmod u+w BUILD || true", 160 + "echo >> BUILD", 161 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 162 + ], 163 + "patch_cmds_win": [ 164 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 165 + ], 166 + "sha256": "1c531376ac7e5a180e0237938a2536de0c54d93f5c278634818e0efc952dd56c", 167 + "urls": [ 168 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz", 169 + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.3/bazel-skylib-1.0.3.tar.gz" 170 + ] 171 + }, 172 + "bazel_toolchains": { 173 + "generator_function": "grpc_deps", 174 + "generator_name": "bazel_toolchains", 175 + "name": "bazel_toolchains", 176 + "sha256": "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024", 177 + "strip_prefix": "bazel-toolchains-4.1.0", 178 + "urls": [ 179 + "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/4.1.0.tar.gz", 180 + "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1.0/bazel-toolchains-4.1.0.tar.gz" 181 + ] 182 + }, 183 + "bazelci_rules": { 184 + "generator_function": "dist_http_archive", 185 + "generator_name": "bazelci_rules", 186 + "name": "bazelci_rules", 187 + "patch_cmds": [ 188 + "test -f BUILD && chmod u+w BUILD || true", 189 + "echo >> BUILD", 190 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 191 + ], 192 + "patch_cmds_win": [ 193 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 194 + ], 195 + "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", 196 + "strip_prefix": "bazelci_rules-1.0.0", 197 + "urls": [ 198 + "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", 199 + "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz" 200 + ] 201 + }, 202 + "bazelci_rules-1.0.0.tar.gz": { 203 + "name": "bazelci_rules-1.0.0.tar.gz", 204 + "sha256": "eca21884e6f66a88c358e580fd67a6b148d30ab57b1680f62a96c00f9bc6a07e", 205 + "urls": [ 206 + "https://mirror.bazel.build/github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz", 207 + "https://github.com/bazelbuild/continuous-integration/releases/download/rules-1.0.0/bazelci_rules-1.0.0.tar.gz" 208 + ] 209 + }, 210 + "boringssl": { 211 + "generator_function": "grpc_deps", 212 + "generator_name": "boringssl", 213 + "name": "boringssl", 214 + "sha256": "534fa658bd845fd974b50b10f444d392dfd0d93768c4a51b61263fd37d851c40", 215 + "strip_prefix": "boringssl-b9232f9e27e5668bc0414879dcdedb2a59ea75f2", 216 + "urls": [ 217 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz", 218 + "https://github.com/google/boringssl/archive/b9232f9e27e5668bc0414879dcdedb2a59ea75f2.tar.gz" 219 + ] 220 + }, 221 + "build_bazel_apple_support": { 222 + "generator_function": "grpc_deps", 223 + "generator_name": "build_bazel_apple_support", 224 + "name": "build_bazel_apple_support", 225 + "sha256": "76df040ade90836ff5543888d64616e7ba6c3a7b33b916aa3a4b68f342d1b447", 226 + "urls": [ 227 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz", 228 + "https://github.com/bazelbuild/apple_support/releases/download/0.11.0/apple_support.0.11.0.tar.gz" 229 + ] 230 + }, 231 + "build_bazel_rules_apple": { 232 + "generator_function": "grpc_deps", 233 + "generator_name": "build_bazel_rules_apple", 234 + "name": "build_bazel_rules_apple", 235 + "sha256": "0052d452af7742c8f3a4e0929763388a66403de363775db7e90adecb2ba4944b", 236 + "urls": [ 237 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz", 238 + "https://github.com/bazelbuild/rules_apple/releases/download/0.31.3/rules_apple.0.31.3.tar.gz" 239 + ] 240 + }, 241 + "build_bazel_rules_nodejs": { 242 + "generator_function": "dist_http_archive", 243 + "generator_name": "build_bazel_rules_nodejs", 244 + "name": "build_bazel_rules_nodejs", 245 + "sha256": "0fad45a9bda7dc1990c47b002fd64f55041ea751fafc00cd34efb96107675778", 246 + "urls": [ 247 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz", 248 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz" 249 + ] 250 + }, 251 + "cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz": { 252 + "name": "cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz", 253 + "sha256": "5bc8365613fe2f8ce6cc33959b7667b13b7fe56cb9d16ba740c06e1a7c4242fc", 254 + "urls": [ 255 + "https://mirror.bazel.build/github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz", 256 + "https://github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz" 257 + ] 258 + }, 259 + "com_envoyproxy_protoc_gen_validate": { 260 + "generator_function": "dist_http_archive", 261 + "generator_name": "com_envoyproxy_protoc_gen_validate", 262 + "name": "com_envoyproxy_protoc_gen_validate", 263 + "patch_args": [ 264 + "-p1" 265 + ], 266 + "patches": [ 267 + "//third_party/protoc_gen_validate:protoc_gen_validate.patch" 268 + ], 269 + "sha256": "1e490b98005664d149b379a9529a6aa05932b8a11b76b4cd86f3d22d76346f47", 270 + "strip_prefix": "protoc-gen-validate-4694024279bdac52b77e22dc87808bd0fd732b69", 271 + "urls": [ 272 + "https://mirror.bazel.build/github.com/envoyproxy/protoc-gen-validate/archive/4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz", 273 + "https://github.com/envoyproxy/protoc-gen-validate/archive/4694024279bdac52b77e22dc87808bd0fd732b69.tar.gz" 274 + ] 275 + }, 276 + "com_github_cares_cares": { 277 + "build_file": "@com_github_grpc_grpc//third_party:cares/cares.BUILD", 278 + "generator_function": "grpc_deps", 279 + "generator_name": "com_github_cares_cares", 280 + "name": "com_github_cares_cares", 281 + "sha256": "ec76c5e79db59762776bece58b69507d095856c37b81fd35bfb0958e74b61d93", 282 + "strip_prefix": "c-ares-6654436a307a5a686b008c1d4c93b0085da6e6d8", 283 + "urls": [ 284 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz", 285 + "https://github.com/c-ares/c-ares/archive/6654436a307a5a686b008c1d4c93b0085da6e6d8.tar.gz" 286 + ] 287 + }, 288 + "com_github_cncf_udpa": { 289 + "generator_function": "dist_http_archive", 290 + "generator_name": "com_github_cncf_udpa", 291 + "name": "com_github_cncf_udpa", 292 + "patch_args": [ 293 + "-p1" 294 + ], 295 + "patches": [ 296 + "//third_party/cncf_udpa:cncf_udpa_0.0.1.patch" 297 + ], 298 + "sha256": "5bc8365613fe2f8ce6cc33959b7667b13b7fe56cb9d16ba740c06e1a7c4242fc", 299 + "strip_prefix": "xds-cb28da3451f158a947dfc45090fe92b07b243bc1", 300 + "urls": [ 301 + "https://mirror.bazel.build/github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz", 302 + "https://github.com/cncf/xds/archive/cb28da3451f158a947dfc45090fe92b07b243bc1.tar.gz" 303 + ] 304 + }, 305 + "com_github_google_benchmark": { 306 + "generator_function": "grpc_deps", 307 + "generator_name": "com_github_google_benchmark", 308 + "name": "com_github_google_benchmark", 309 + "sha256": "0b921a3bc39e35f4275c8dcc658af2391c150fb966102341287b0401ff2e6f21", 310 + "strip_prefix": "benchmark-0baacde3618ca617da95375e0af13ce1baadea47", 311 + "urls": [ 312 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz", 313 + "https://github.com/google/benchmark/archive/0baacde3618ca617da95375e0af13ce1baadea47.tar.gz" 314 + ] 315 + }, 316 + "com_github_grpc_grpc": { 317 + "generator_function": "dist_http_archive", 318 + "generator_name": "com_github_grpc_grpc", 319 + "name": "com_github_grpc_grpc", 320 + "patch_args": [ 321 + "-p1" 322 + ], 323 + "patches": [ 324 + "//third_party/grpc:grpc_1.47.0.patch", 325 + "//third_party/grpc:grpc_1.47.0.win_arm64.patch" 326 + ], 327 + "sha256": "271bdc890bf329a8de5b65819f0f9590a5381402429bca37625b63546ed19e54", 328 + "strip_prefix": "grpc-1.47.0", 329 + "urls": [ 330 + "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.47.0.tar.gz", 331 + "https://github.com/grpc/grpc/archive/v1.47.0.tar.gz" 332 + ] 333 + }, 334 + "com_github_libuv_libuv": { 335 + "build_file": "@com_github_grpc_grpc//third_party:libuv.BUILD", 336 + "generator_function": "grpc_deps", 337 + "generator_name": "com_github_libuv_libuv", 338 + "name": "com_github_libuv_libuv", 339 + "sha256": "5ca4e9091f3231d8ad8801862dc4e851c23af89c69141d27723157776f7291e7", 340 + "strip_prefix": "libuv-02a9e1be252b623ee032a3137c0b0c94afbe6809", 341 + "urls": [ 342 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz", 343 + "https://github.com/libuv/libuv/archive/02a9e1be252b623ee032a3137c0b0c94afbe6809.tar.gz" 344 + ] 345 + }, 346 + "com_google_absl": { 347 + "generator_function": "dist_http_archive", 348 + "generator_name": "com_google_absl", 349 + "name": "com_google_absl", 350 + "sha256": "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", 351 + "strip_prefix": "abseil-cpp-20211102.0", 352 + "urls": [ 353 + "https://mirror.bazel.build/github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz", 354 + "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" 355 + ] 356 + }, 357 + "com_google_googleapis": { 358 + "generator_function": "dist_http_archive", 359 + "generator_name": "com_google_googleapis", 360 + "name": "com_google_googleapis", 361 + "sha256": "5bb6b0253ccf64b53d6c7249625a7e3f6c3bc6402abd52d3778bfa48258703a0", 362 + "strip_prefix": "googleapis-2f9af297c84c55c8b871ba4495e01ade42476c92", 363 + "urls": [ 364 + "https://mirror.bazel.build/github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz", 365 + "https://github.com/googleapis/googleapis/archive/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz" 366 + ] 367 + }, 368 + "com_google_googletest": { 369 + "name": "com_google_googletest", 370 + "sha256": "81964fe578e9bd7c94dfdb09c8e4d6e6759e19967e397dbea48d1c10e45d0df2", 371 + "strip_prefix": "googletest-release-1.12.1", 372 + "urls": [ 373 + "https://mirror.bazel.build/github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz", 374 + "https://github.com/google/googletest/archive/refs/tags/release-1.12.1.tar.gz" 375 + ] 376 + }, 377 + "com_google_protobuf": { 378 + "generator_function": "dist_http_archive", 379 + "generator_name": "com_google_protobuf", 380 + "name": "com_google_protobuf", 381 + "patch_args": [ 382 + "-p1" 383 + ], 384 + "patch_cmds": [ 385 + "test -f BUILD && chmod u+w BUILD || true", 386 + "echo >> BUILD", 387 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 388 + ], 389 + "patch_cmds_win": [ 390 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 391 + ], 392 + "patches": [ 393 + "//third_party/protobuf:3.19.6.patch" 394 + ], 395 + "sha256": "9a301cf94a8ddcb380b901e7aac852780b826595075577bb967004050c835056", 396 + "strip_prefix": "protobuf-3.19.6", 397 + "urls": [ 398 + "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.6.tar.gz", 399 + "https://github.com/protocolbuffers/protobuf/archive/v3.19.6.tar.gz" 400 + ] 401 + }, 402 + "com_google_testparameterinjector": { 403 + "build_file_content": "\njava_library(\n name = \"testparameterinjector\",\n testonly = True,\n srcs = glob([\"src/main/**/*.java\"]),\n deps = [\n \"@org_snakeyaml//:snakeyaml\",\n \"@//third_party:auto_value\",\n \"@//third_party:guava\",\n \"@//third_party:junit4\",\n \"@//third_party/protobuf:protobuf_java\",\n ],\n visibility = [\"//visibility:public\"],\n)\n", 404 + "name": "com_google_testparameterinjector", 405 + "sha256": "562a0e87eb413a7dcad29ebc8d578f6f97503473943585b051c1398a58189b06", 406 + "strip_prefix": "TestParameterInjector-1.0", 407 + "urls": [ 408 + "https://mirror.bazel.build/github.com/google/TestParameterInjector/archive/v1.0.tar.gz", 409 + "https://github.com/google/TestParameterInjector/archive/v1.0.tar.gz" 410 + ] 411 + }, 412 + "com_googlesource_code_re2": { 413 + "generator_function": "grpc_deps", 414 + "generator_name": "com_googlesource_code_re2", 415 + "name": "com_googlesource_code_re2", 416 + "sha256": "319a58a58d8af295db97dfeecc4e250179c5966beaa2d842a82f0a013b6a239b", 417 + "strip_prefix": "re2-8e08f47b11b413302749c0d8b17a1c94777495d5", 418 + "urls": [ 419 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz", 420 + "https://github.com/google/re2/archive/8e08f47b11b413302749c0d8b17a1c94777495d5.tar.gz" 421 + ] 422 + }, 423 + "coverage_output_generator-v2.6.zip": { 424 + "name": "coverage_output_generator-v2.6.zip", 425 + "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", 426 + "urls": [ 427 + "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip" 428 + ] 429 + }, 430 + "cython": { 431 + "build_file": "@com_github_grpc_grpc//third_party:cython.BUILD", 432 + "generator_function": "grpc_deps", 433 + "generator_name": "cython", 434 + "name": "cython", 435 + "sha256": "bb72b2f0ef029472759c711f0a4bded6e15e3f9bda3797550cef3c1d87d02283", 436 + "strip_prefix": "cython-0.29.26", 437 + "urls": [ 438 + "https://github.com/cython/cython/archive/0.29.26.tar.gz" 439 + ] 440 + }, 441 + "desugar_jdk_libs": { 442 + "generator_function": "dist_http_archive", 443 + "generator_name": "desugar_jdk_libs", 444 + "name": "desugar_jdk_libs", 445 + "sha256": "299452e6f4a4981b2e6d22357f7332713382a63e4c137f5fd6b89579f6d610cb", 446 + "strip_prefix": "desugar_jdk_libs-5847d6a06302136d95a14b4cbd4b55a9c9f1436e", 447 + "urls": [ 448 + "https://mirror.bazel.build/github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip", 449 + "https://github.com/google/desugar_jdk_libs/archive/5847d6a06302136d95a14b4cbd4b55a9c9f1436e.zip" 450 + ] 451 + }, 452 + "enum34": { 453 + "build_file": "@com_github_grpc_grpc//third_party:enum34.BUILD", 454 + "generator_function": "grpc_deps", 455 + "generator_name": "enum34", 456 + "name": "enum34", 457 + "sha256": "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1", 458 + "strip_prefix": "enum34-1.1.6", 459 + "urls": [ 460 + "https://files.pythonhosted.org/packages/bf/3e/31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/enum34-1.1.6.tar.gz" 461 + ] 462 + }, 463 + "envoy_api": { 464 + "generator_function": "grpc_deps", 465 + "generator_name": "envoy_api", 466 + "name": "envoy_api", 467 + "sha256": "c5807010b67033330915ca5a20483e30538ae5e689aa14b3631d6284beca4630", 468 + "strip_prefix": "data-plane-api-9c42588c956220b48eb3099d186487c2f04d32ec", 469 + "urls": [ 470 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/envoyproxy/data-plane-api/archive/9c42588c956220b48eb3099d186487c2f04d32ec.tar.gz", 471 + "https://github.com/envoyproxy/data-plane-api/archive/9c42588c956220b48eb3099d186487c2f04d32ec.tar.gz" 472 + ] 473 + }, 474 + "futures": { 475 + "build_file": "@com_github_grpc_grpc//third_party:futures.BUILD", 476 + "generator_function": "grpc_deps", 477 + "generator_name": "futures", 478 + "name": "futures", 479 + "sha256": "7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794", 480 + "strip_prefix": "futures-3.3.0", 481 + "urls": [ 482 + "https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz" 483 + ] 484 + }, 485 + "io_bazel_rules_go": { 486 + "generator_function": "grpc_deps", 487 + "generator_name": "io_bazel_rules_go", 488 + "name": "io_bazel_rules_go", 489 + "sha256": "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b", 490 + "urls": [ 491 + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", 492 + "https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz" 493 + ] 494 + }, 495 + "io_bazel_rules_python": { 496 + "generator_function": "grpc_deps", 497 + "generator_name": "io_bazel_rules_python", 498 + "name": "io_bazel_rules_python", 499 + "patch_args": [ 500 + "-p1" 501 + ], 502 + "patches": [ 503 + "@com_github_grpc_grpc//third_party:rules_python.patch" 504 + ], 505 + "sha256": "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea", 506 + "url": "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz" 507 + }, 508 + "io_bazel_rules_sass": { 509 + "generator_function": "dist_http_archive", 510 + "generator_name": "io_bazel_rules_sass", 511 + "name": "io_bazel_rules_sass", 512 + "sha256": "c78be58f5e0a29a04686b628cf54faaee0094322ae0ac99da5a8a8afca59a647", 513 + "strip_prefix": "rules_sass-1.25.0", 514 + "urls": [ 515 + "https://mirror.bazel.build/github.com/bazelbuild/rules_sass/archive/1.25.0.zip", 516 + "https://github.com/bazelbuild/rules_sass/archive/1.25.0.zip" 517 + ] 518 + }, 519 + "io_bazel_skydoc": { 520 + "generator_function": "dist_http_archive", 521 + "generator_name": "io_bazel_skydoc", 522 + "name": "io_bazel_skydoc", 523 + "sha256": "5a725b777976b77aa122b707d1b6f0f39b6020f66cd427bb111a585599c857b1", 524 + "strip_prefix": "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd", 525 + "urls": [ 526 + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz", 527 + "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.tar.gz" 528 + ] 529 + }, 530 + "io_opencensus_cpp": { 531 + "generator_function": "grpc_deps", 532 + "generator_name": "io_opencensus_cpp", 533 + "name": "io_opencensus_cpp", 534 + "sha256": "90d6fafa8b1a2ea613bf662731d3086e1c2ed286f458a95c81744df2dbae41b1", 535 + "strip_prefix": "opencensus-cpp-c9a4da319bc669a772928ffc55af4a61be1a1176", 536 + "urls": [ 537 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz", 538 + "https://github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz" 539 + ] 540 + }, 541 + "java_tools-v12.6.zip": { 542 + "name": "java_tools-v12.6.zip", 543 + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", 544 + "urls": [ 545 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", 546 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" 547 + ] 548 + }, 549 + "java_tools_darwin_arm64-v12.6.zip": { 550 + "name": "java_tools_darwin_arm64-v12.6.zip", 551 + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", 552 + "urls": [ 553 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", 554 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" 555 + ] 556 + }, 557 + "java_tools_darwin_x86_64-v12.6.zip": { 558 + "name": "java_tools_darwin_x86_64-v12.6.zip", 559 + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", 560 + "urls": [ 561 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", 562 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" 563 + ] 564 + }, 565 + "java_tools_linux-v12.6.zip": { 566 + "name": "java_tools_linux-v12.6.zip", 567 + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", 568 + "urls": [ 569 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", 570 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" 571 + ] 572 + }, 573 + "java_tools_windows-v12.6.zip": { 574 + "name": "java_tools_windows-v12.6.zip", 575 + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", 576 + "urls": [ 577 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", 578 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" 579 + ] 580 + }, 581 + "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip": { 582 + "name": "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip", 583 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 584 + "urls": [ 585 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 586 + ] 587 + }, 588 + "nuget_python_i686_3.10.0": { 589 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python310.dll\",\n interface_library = \"libs/python310.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 590 + "generator_function": "grpc_extra_deps", 591 + "generator_name": "nuget_python_i686_3.10.0", 592 + "name": "nuget_python_i686_3.10.0", 593 + "patch_cmds": [ 594 + "cp -r include/* ." 595 + ], 596 + "sha256": "e115e102eb90ce160ab0ef7506b750a8d7ecc385bde0a496f02a54337a8bc333", 597 + "strip_prefix": "tools", 598 + "type": "zip", 599 + "urls": [ 600 + "https://www.nuget.org/api/v2/package/pythonx86/3.10.0" 601 + ] 602 + }, 603 + "nuget_python_i686_3.7.0": { 604 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python37.dll\",\n interface_library = \"libs/python37.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 605 + "generator_function": "grpc_extra_deps", 606 + "generator_name": "nuget_python_i686_3.7.0", 607 + "name": "nuget_python_i686_3.7.0", 608 + "patch_cmds": [ 609 + "cp -r include/* ." 610 + ], 611 + "sha256": "a8bb49fa1ca62ad55430fcafaca1b58015e22943e66b1a87d5e7cef2556c6a54", 612 + "strip_prefix": "tools", 613 + "type": "zip", 614 + "urls": [ 615 + "https://www.nuget.org/api/v2/package/pythonx86/3.7.0" 616 + ] 617 + }, 618 + "nuget_python_i686_3.8.0": { 619 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python38.dll\",\n interface_library = \"libs/python38.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 620 + "generator_function": "grpc_extra_deps", 621 + "generator_name": "nuget_python_i686_3.8.0", 622 + "name": "nuget_python_i686_3.8.0", 623 + "patch_cmds": [ 624 + "cp -r include/* ." 625 + ], 626 + "sha256": "87a6481f5eef30b42ac12c93f06f73bd0b8692f26313b76a6615d1641c4e7bca", 627 + "strip_prefix": "tools", 628 + "type": "zip", 629 + "urls": [ 630 + "https://www.nuget.org/api/v2/package/pythonx86/3.8.0" 631 + ] 632 + }, 633 + "nuget_python_i686_3.9.0": { 634 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python39.dll\",\n interface_library = \"libs/python39.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 635 + "generator_function": "grpc_extra_deps", 636 + "generator_name": "nuget_python_i686_3.9.0", 637 + "name": "nuget_python_i686_3.9.0", 638 + "patch_cmds": [ 639 + "cp -r include/* ." 640 + ], 641 + "sha256": "229abecbe49dc08fe5709e0b31e70edfb3b88f23335ebfc2904c44f940fd59b6", 642 + "strip_prefix": "tools", 643 + "type": "zip", 644 + "urls": [ 645 + "https://www.nuget.org/api/v2/package/pythonx86/3.9.0" 646 + ] 647 + }, 648 + "nuget_python_x86-64_3.10.0": { 649 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python310.dll\",\n interface_library = \"libs/python310.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 650 + "generator_function": "grpc_extra_deps", 651 + "generator_name": "nuget_python_x86-64_3.10.0", 652 + "name": "nuget_python_x86-64_3.10.0", 653 + "patch_cmds": [ 654 + "cp -r include/* ." 655 + ], 656 + "sha256": "4474c83c25625d93e772e926f95f4cd398a0abbb52793625fa30f39af3d2cc00", 657 + "strip_prefix": "tools", 658 + "type": "zip", 659 + "urls": [ 660 + "https://www.nuget.org/api/v2/package/python/3.10.0" 661 + ] 662 + }, 663 + "nuget_python_x86-64_3.7.0": { 664 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python37.dll\",\n interface_library = \"libs/python37.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 665 + "generator_function": "grpc_extra_deps", 666 + "generator_name": "nuget_python_x86-64_3.7.0", 667 + "name": "nuget_python_x86-64_3.7.0", 668 + "patch_cmds": [ 669 + "cp -r include/* ." 670 + ], 671 + "sha256": "66eb796a5bdb1e6787b8f655a1237a6b6964af2115b7627cf4f0032cf068b4b2", 672 + "strip_prefix": "tools", 673 + "type": "zip", 674 + "urls": [ 675 + "https://www.nuget.org/api/v2/package/python/3.7.0" 676 + ] 677 + }, 678 + "nuget_python_x86-64_3.8.0": { 679 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python38.dll\",\n interface_library = \"libs/python38.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 680 + "generator_function": "grpc_extra_deps", 681 + "generator_name": "nuget_python_x86-64_3.8.0", 682 + "name": "nuget_python_x86-64_3.8.0", 683 + "patch_cmds": [ 684 + "cp -r include/* ." 685 + ], 686 + "sha256": "96c61321ce90dd053c8a04f305a5f6cc6d91350b862db34440e4a4f069b708a0", 687 + "strip_prefix": "tools", 688 + "type": "zip", 689 + "urls": [ 690 + "https://www.nuget.org/api/v2/package/python/3.8.0" 691 + ] 692 + }, 693 + "nuget_python_x86-64_3.9.0": { 694 + "build_file_content": "\ncc_import(\n name = \"python_full_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python39.dll\",\n interface_library = \"libs/python39.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n\ncc_import(\n name = \"python_limited_api\",\n hdrs = glob([\"**/*.h\"]),\n shared_library = \"python3.dll\",\n interface_library = \"libs/python3.lib\",\n visibility = [\"@upb//python:__pkg__\"],\n)\n", 695 + "generator_function": "grpc_extra_deps", 696 + "generator_name": "nuget_python_x86-64_3.9.0", 697 + "name": "nuget_python_x86-64_3.9.0", 698 + "patch_cmds": [ 699 + "cp -r include/* ." 700 + ], 701 + "sha256": "6af58a733e7dfbfcdd50d55788134393d6ffe7ab8270effbf724bdb786558832", 702 + "strip_prefix": "tools", 703 + "type": "zip", 704 + "urls": [ 705 + "https://www.nuget.org/api/v2/package/python/3.9.0" 706 + ] 707 + }, 708 + "opencensus_proto": { 709 + "generator_function": "grpc_deps", 710 + "generator_name": "opencensus_proto", 711 + "name": "opencensus_proto", 712 + "sha256": "b7e13f0b4259e80c3070b583c2f39e53153085a6918718b1c710caf7037572b0", 713 + "strip_prefix": "opencensus-proto-0.3.0/src", 714 + "urls": [ 715 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz", 716 + "https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz" 717 + ] 718 + }, 719 + "openjdk11_darwin_aarch64_archive": { 720 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 721 + "generator_function": "dist_http_archive", 722 + "generator_name": "openjdk11_darwin_aarch64_archive", 723 + "name": "openjdk11_darwin_aarch64_archive", 724 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 725 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", 726 + "urls": [ 727 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 728 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 729 + ] 730 + }, 731 + "openjdk11_darwin_archive": { 732 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 733 + "generator_function": "dist_http_archive", 734 + "generator_name": "openjdk11_darwin_archive", 735 + "name": "openjdk11_darwin_archive", 736 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 737 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", 738 + "urls": [ 739 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 740 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 741 + ] 742 + }, 743 + "openjdk11_linux_archive": { 744 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 745 + "generator_function": "dist_http_archive", 746 + "generator_name": "openjdk11_linux_archive", 747 + "name": "openjdk11_linux_archive", 748 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 749 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", 750 + "urls": [ 751 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 752 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 753 + ] 754 + }, 755 + "openjdk11_windows_archive": { 756 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 757 + "generator_function": "dist_http_archive", 758 + "generator_name": "openjdk11_windows_archive", 759 + "name": "openjdk11_windows_archive", 760 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 761 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", 762 + "urls": [ 763 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 764 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 765 + ] 766 + }, 767 + "openjdk11_windows_arm64_archive": { 768 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 769 + "generator_function": "dist_http_archive", 770 + "generator_name": "openjdk11_windows_arm64_archive", 771 + "name": "openjdk11_windows_arm64_archive", 772 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 773 + "strip_prefix": "jdk-11.0.13+8", 774 + "urls": [ 775 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 776 + ] 777 + }, 778 + "openjdk17_darwin_aarch64_archive": { 779 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 780 + "generator_function": "dist_http_archive", 781 + "generator_name": "openjdk17_darwin_aarch64_archive", 782 + "name": "openjdk17_darwin_aarch64_archive", 783 + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", 784 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", 785 + "urls": [ 786 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", 787 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" 788 + ] 789 + }, 790 + "openjdk17_darwin_archive": { 791 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 792 + "generator_function": "dist_http_archive", 793 + "generator_name": "openjdk17_darwin_archive", 794 + "name": "openjdk17_darwin_archive", 795 + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", 796 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", 797 + "urls": [ 798 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", 799 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" 800 + ] 801 + }, 802 + "openjdk17_linux_archive": { 803 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 804 + "generator_function": "dist_http_archive", 805 + "generator_name": "openjdk17_linux_archive", 806 + "name": "openjdk17_linux_archive", 807 + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", 808 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", 809 + "urls": [ 810 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", 811 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" 812 + ] 813 + }, 814 + "openjdk17_windows_archive": { 815 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 816 + "generator_function": "dist_http_archive", 817 + "generator_name": "openjdk17_windows_archive", 818 + "name": "openjdk17_windows_archive", 819 + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", 820 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", 821 + "urls": [ 822 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", 823 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" 824 + ] 825 + }, 826 + "openjdk17_windows_arm64_archive": { 827 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 828 + "generator_function": "dist_http_archive", 829 + "generator_name": "openjdk17_windows_arm64_archive", 830 + "name": "openjdk17_windows_arm64_archive", 831 + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", 832 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", 833 + "urls": [ 834 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 835 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" 836 + ] 837 + }, 838 + "openjdk18_darwin_aarch64_archive": { 839 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 840 + "generator_function": "dist_http_archive", 841 + "generator_name": "openjdk18_darwin_aarch64_archive", 842 + "name": "openjdk18_darwin_aarch64_archive", 843 + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", 844 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", 845 + "urls": [ 846 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", 847 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz" 848 + ] 849 + }, 850 + "openjdk18_darwin_archive": { 851 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 852 + "generator_function": "dist_http_archive", 853 + "generator_name": "openjdk18_darwin_archive", 854 + "name": "openjdk18_darwin_archive", 855 + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", 856 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", 857 + "urls": [ 858 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", 859 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz" 860 + ] 861 + }, 862 + "openjdk18_linux_archive": { 863 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 864 + "generator_function": "dist_http_archive", 865 + "generator_name": "openjdk18_linux_archive", 866 + "name": "openjdk18_linux_archive", 867 + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", 868 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", 869 + "urls": [ 870 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", 871 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz" 872 + ] 873 + }, 874 + "openjdk18_windows_archive": { 875 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 876 + "generator_function": "dist_http_archive", 877 + "generator_name": "openjdk18_windows_archive", 878 + "name": "openjdk18_windows_archive", 879 + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", 880 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", 881 + "urls": [ 882 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", 883 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip" 884 + ] 885 + }, 886 + "openjdk18_windows_arm64_archive": { 887 + "build_file_content": "\njava_runtime(name = 'runtime', srcs = glob(['**']), visibility = ['//visibility:public'])\nexports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])\n", 888 + "generator_function": "dist_http_archive", 889 + "generator_name": "openjdk18_windows_arm64_archive", 890 + "name": "openjdk18_windows_arm64_archive", 891 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 892 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", 893 + "urls": [ 894 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 895 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 896 + ] 897 + }, 898 + "openjdk_linux": { 899 + "downloaded_file_path": "zulu-linux.tar.gz", 900 + "name": "openjdk_linux", 901 + "sha256": "65bfe4e0ffa74a680ee4410db46b17e30cd9397b664a92a886599fe1f3530969", 902 + "urls": [ 903 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-linux_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689070.tar.gz" 904 + ] 905 + }, 906 + "openjdk_linux_aarch64": { 907 + "downloaded_file_path": "zulu-linux-aarch64.tar.gz", 908 + "name": "openjdk_linux_aarch64", 909 + "sha256": "6b245793087300db3ee82ab0d165614f193a73a60f2f011e347756c1e6ca5bac", 910 + "urls": [ 911 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz" 912 + ] 913 + }, 914 + "openjdk_linux_aarch64_minimal": { 915 + "downloaded_file_path": "zulu-linux-aarch64-minimal.tar.gz", 916 + "name": "openjdk_linux_aarch64_minimal", 917 + "sha256": "06f6520a877704c77614bcfc4f846cc7cbcbf5eaad149bf7f19f4f16e285c9de", 918 + "urls": [ 919 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.48-ca-jdk11.0.6/zulu11.37.48-ca-jdk11.0.6-linux_aarch64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581690750.tar.gz" 920 + ] 921 + }, 922 + "openjdk_linux_aarch64_vanilla": { 923 + "downloaded_file_path": "zulu-linux-aarch64-vanilla.tar.gz", 924 + "generator_function": "dist_http_file", 925 + "generator_name": "openjdk_linux_aarch64_vanilla", 926 + "name": "openjdk_linux_aarch64_vanilla", 927 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 928 + "urls": [ 929 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 930 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 931 + ] 932 + }, 933 + "openjdk_linux_minimal": { 934 + "downloaded_file_path": "zulu-linux-minimal.tar.gz", 935 + "name": "openjdk_linux_minimal", 936 + "sha256": "91f7d52f695c681d4e21499b4319d548aadef249a6b3053e306308992e1e29ae", 937 + "urls": [ 938 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-linux_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689068.tar.gz" 939 + ] 940 + }, 941 + "openjdk_linux_ppc64le_vanilla": { 942 + "downloaded_file_path": "adoptopenjdk-ppc64le-vanilla.tar.gz", 943 + "generator_function": "dist_http_file", 944 + "generator_name": "openjdk_linux_ppc64le_vanilla", 945 + "name": "openjdk_linux_ppc64le_vanilla", 946 + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", 947 + "urls": [ 948 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", 949 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" 950 + ] 951 + }, 952 + "openjdk_linux_s390x_vanilla": { 953 + "downloaded_file_path": "adoptopenjdk-s390x-vanilla.tar.gz", 954 + "generator_function": "dist_http_file", 955 + "generator_name": "openjdk_linux_s390x_vanilla", 956 + "name": "openjdk_linux_s390x_vanilla", 957 + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", 958 + "urls": [ 959 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", 960 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" 961 + ] 962 + }, 963 + "openjdk_linux_vanilla": { 964 + "downloaded_file_path": "zulu-linux-vanilla.tar.gz", 965 + "generator_function": "dist_http_file", 966 + "generator_name": "openjdk_linux_vanilla", 967 + "name": "openjdk_linux_vanilla", 968 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 969 + "urls": [ 970 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 971 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 972 + ] 973 + }, 974 + "openjdk_macos_aarch64": { 975 + "downloaded_file_path": "zulu-macos-aarch64.tar.gz", 976 + "name": "openjdk_macos_aarch64", 977 + "sha256": "a900ef793cb34b03ac5d93ea2f67291b6842e99d500934e19393a8d8f9bfa6ff", 978 + "urls": [ 979 + "https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-allmodules-1611665569.tar.gz" 980 + ] 981 + }, 982 + "openjdk_macos_aarch64_minimal": { 983 + "downloaded_file_path": "zulu-macos-aarch64-minimal.tar.gz", 984 + "name": "openjdk_macos_aarch64_minimal", 985 + "sha256": "f4f606926e6deeaa8b8397e299313d9df87642fe464b0ccf1ed0432aeb00640b", 986 + "urls": [ 987 + "https://mirror.bazel.build/openjdk/azul-zulu11.45.27-ca-jdk11.0.10/zulu11.45.27-ca-jdk11.0.10-macosx_aarch64-minimal-1611665562.tar.gz" 988 + ] 989 + }, 990 + "openjdk_macos_aarch64_vanilla": { 991 + "downloaded_file_path": "zulu-macos-aarch64-vanilla.tar.gz", 992 + "generator_function": "dist_http_file", 993 + "generator_name": "openjdk_macos_aarch64_vanilla", 994 + "name": "openjdk_macos_aarch64_vanilla", 995 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 996 + "urls": [ 997 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 998 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 999 + ] 1000 + }, 1001 + "openjdk_macos_x86_64": { 1002 + "downloaded_file_path": "zulu-macos.tar.gz", 1003 + "name": "openjdk_macos_x86_64", 1004 + "sha256": "8e283cfd23c7555be8e17295ed76eb8f00324c88ab904b8de37bbe08f90e569b", 1005 + "urls": [ 1006 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689066.tar.gz" 1007 + ] 1008 + }, 1009 + "openjdk_macos_x86_64_minimal": { 1010 + "downloaded_file_path": "zulu-macos-minimal.tar.gz", 1011 + "name": "openjdk_macos_x86_64_minimal", 1012 + "sha256": "1bacb1c07035d4066d79f0b65b4ea0ebd1954f3662bdfe3618da382ac8fd23a6", 1013 + "urls": [ 1014 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-macosx_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689063.tar.gz" 1015 + ] 1016 + }, 1017 + "openjdk_macos_x86_64_vanilla": { 1018 + "downloaded_file_path": "zulu-macos-vanilla.tar.gz", 1019 + "generator_function": "dist_http_file", 1020 + "generator_name": "openjdk_macos_x86_64_vanilla", 1021 + "name": "openjdk_macos_x86_64_vanilla", 1022 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 1023 + "urls": [ 1024 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1025 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 1026 + ] 1027 + }, 1028 + "openjdk_win": { 1029 + "downloaded_file_path": "zulu-win.zip", 1030 + "name": "openjdk_win", 1031 + "sha256": "8e1604b3a27dcf639bc6d1a73103f1211848139e4cceb081d0a74a99e1e6f995", 1032 + "urls": [ 1033 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-allmodules-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip" 1034 + ] 1035 + }, 1036 + "openjdk_win_arm64_vanilla": { 1037 + "downloaded_file_path": "zulu-win-arm64.zip", 1038 + "generator_function": "dist_http_file", 1039 + "generator_name": "openjdk_win_arm64_vanilla", 1040 + "name": "openjdk_win_arm64_vanilla", 1041 + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", 1042 + "urls": [ 1043 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 1044 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" 1045 + ] 1046 + }, 1047 + "openjdk_win_minimal": { 1048 + "downloaded_file_path": "zulu-win-minimal.zip", 1049 + "name": "openjdk_win_minimal", 1050 + "sha256": "b90a713c9c2d9ea23cad44d2c2dfcc9af22faba9bde55dedc1c3bb9f556ac1ae", 1051 + "urls": [ 1052 + "https://mirror.bazel.build/openjdk/azul-zulu11.37.17-ca-jdk11.0.6/zulu11.37.17-ca-jdk11.0.6-win_x64-minimal-b23d4e05466f2aa1fdcd72d3d3a8e962206b64bf-1581689080.zip" 1053 + ] 1054 + }, 1055 + "openjdk_win_vanilla": { 1056 + "downloaded_file_path": "zulu-win-vanilla.zip", 1057 + "generator_function": "dist_http_file", 1058 + "generator_name": "openjdk_win_vanilla", 1059 + "name": "openjdk_win_vanilla", 1060 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 1061 + "urls": [ 1062 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1063 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 1064 + ] 1065 + }, 1066 + "org_snakeyaml": { 1067 + "build_file_content": "\njava_library(\n name = \"snakeyaml\",\n srcs = glob([\"src/main/**/*.java\"]),\n visibility = [\n \"@io_bazel//src/main/java/com/google/devtools/build/docgen/release:__pkg__\",\n \"@com_google_testparameterinjector//:__pkg__\",\n ],\n)\n", 1068 + "name": "org_snakeyaml", 1069 + "sha256": "fd0e0cc6c5974fc8f08be3a15fb4a59954c7dd958b5b68186a803de6420b6e40", 1070 + "strip_prefix": "asomov-snakeyaml-b28f0b4d87c6", 1071 + "urls": [ 1072 + "https://mirror.bazel.build/bitbucket.org/asomov/snakeyaml/get/snakeyaml-1.28.tar.gz" 1073 + ] 1074 + }, 1075 + "platforms": { 1076 + "generator_function": "dist_http_archive", 1077 + "generator_name": "platforms", 1078 + "name": "platforms", 1079 + "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", 1080 + "urls": [ 1081 + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", 1082 + "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz" 1083 + ] 1084 + }, 1085 + "platforms-0.0.5.tar.gz": { 1086 + "name": "platforms-0.0.5.tar.gz", 1087 + "sha256": "379113459b0feaf6bfbb584a91874c065078aa673222846ac765f86661c27407", 1088 + "urls": [ 1089 + "https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz", 1090 + "https://github.com/bazelbuild/platforms/releases/download/0.0.5/platforms-0.0.5.tar.gz" 1091 + ] 1092 + }, 1093 + "python-3.7.0": { 1094 + "build_file_content": "\ncc_library(\n name = \"python_headers\",\n hdrs = glob([\"**/Include/**/*.h\"]),\n strip_include_prefix = \"Python-3.7.0/Include\",\n visibility = [\"//visibility:public\"],\n)\n", 1095 + "generator_function": "grpc_extra_deps", 1096 + "generator_name": "python-3.7.0", 1097 + "name": "python-3.7.0", 1098 + "patch_cmds": [ 1099 + "echo '#define SIZEOF_WCHAR_T 4' > Python-3.7.0/Include/pyconfig.h" 1100 + ], 1101 + "sha256": "85bb9feb6863e04fb1700b018d9d42d1caac178559ffa453d7e6a436e259fd0d", 1102 + "urls": [ 1103 + "https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz" 1104 + ] 1105 + }, 1106 + "r8-8.0.40.jar": { 1107 + "name": "r8-8.0.40.jar", 1108 + "sha256": "ab1379835c7d3e5f21f80347c3c81e2f762e0b9b02748ae5232c3afa14adf702", 1109 + "urls": [ 1110 + "https://maven.google.com/com/android/tools/r8/8.0.40/r8-8.0.40.jar" 1111 + ] 1112 + }, 1113 + "remote_coverage_tools": { 1114 + "generator_function": "dist_http_archive", 1115 + "generator_name": "remote_coverage_tools", 1116 + "name": "remote_coverage_tools", 1117 + "patch_cmds": [ 1118 + "test -f BUILD && chmod u+w BUILD || true", 1119 + "echo >> BUILD", 1120 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1121 + ], 1122 + "patch_cmds_win": [ 1123 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1124 + ], 1125 + "sha256": "7006375f6756819b7013ca875eab70a541cf7d89142d9c511ed78ea4fefa38af", 1126 + "urls": [ 1127 + "https://mirror.bazel.build/bazel_coverage_output_generator/releases/coverage_output_generator-v2.6.zip" 1128 + ] 1129 + }, 1130 + "remote_java_tools": { 1131 + "generator_function": "maybe", 1132 + "generator_name": "remote_java_tools", 1133 + "name": "remote_java_tools", 1134 + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", 1135 + "urls": [ 1136 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", 1137 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" 1138 + ] 1139 + }, 1140 + "remote_java_tools_darwin_arm64": { 1141 + "generator_function": "maybe", 1142 + "generator_name": "remote_java_tools_darwin_arm64", 1143 + "name": "remote_java_tools_darwin_arm64", 1144 + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", 1145 + "urls": [ 1146 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", 1147 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" 1148 + ] 1149 + }, 1150 + "remote_java_tools_darwin_arm64_for_testing": { 1151 + "generator_function": "dist_http_archive", 1152 + "generator_name": "remote_java_tools_darwin_arm64_for_testing", 1153 + "name": "remote_java_tools_darwin_arm64_for_testing", 1154 + "patch_cmds": [ 1155 + "test -f BUILD && chmod u+w BUILD || true", 1156 + "echo >> BUILD", 1157 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1158 + ], 1159 + "patch_cmds_win": [ 1160 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1161 + ], 1162 + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", 1163 + "urls": [ 1164 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", 1165 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" 1166 + ] 1167 + }, 1168 + "remote_java_tools_darwin_x86_64": { 1169 + "generator_function": "maybe", 1170 + "generator_name": "remote_java_tools_darwin_x86_64", 1171 + "name": "remote_java_tools_darwin_x86_64", 1172 + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", 1173 + "urls": [ 1174 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", 1175 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" 1176 + ] 1177 + }, 1178 + "remote_java_tools_darwin_x86_64_for_testing": { 1179 + "generator_function": "dist_http_archive", 1180 + "generator_name": "remote_java_tools_darwin_x86_64_for_testing", 1181 + "name": "remote_java_tools_darwin_x86_64_for_testing", 1182 + "patch_cmds": [ 1183 + "test -f BUILD && chmod u+w BUILD || true", 1184 + "echo >> BUILD", 1185 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1186 + ], 1187 + "patch_cmds_win": [ 1188 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1189 + ], 1190 + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", 1191 + "urls": [ 1192 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", 1193 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" 1194 + ] 1195 + }, 1196 + "remote_java_tools_for_testing": { 1197 + "generator_function": "dist_http_archive", 1198 + "generator_name": "remote_java_tools_for_testing", 1199 + "name": "remote_java_tools_for_testing", 1200 + "patch_cmds": [ 1201 + "test -f BUILD && chmod u+w BUILD || true", 1202 + "echo >> BUILD", 1203 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1204 + ], 1205 + "patch_cmds_win": [ 1206 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1207 + ], 1208 + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", 1209 + "urls": [ 1210 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", 1211 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" 1212 + ] 1213 + }, 1214 + "remote_java_tools_linux": { 1215 + "generator_function": "maybe", 1216 + "generator_name": "remote_java_tools_linux", 1217 + "name": "remote_java_tools_linux", 1218 + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", 1219 + "urls": [ 1220 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", 1221 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" 1222 + ] 1223 + }, 1224 + "remote_java_tools_linux_for_testing": { 1225 + "generator_function": "dist_http_archive", 1226 + "generator_name": "remote_java_tools_linux_for_testing", 1227 + "name": "remote_java_tools_linux_for_testing", 1228 + "patch_cmds": [ 1229 + "test -f BUILD && chmod u+w BUILD || true", 1230 + "echo >> BUILD", 1231 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1232 + ], 1233 + "patch_cmds_win": [ 1234 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1235 + ], 1236 + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", 1237 + "urls": [ 1238 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", 1239 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" 1240 + ] 1241 + }, 1242 + "remote_java_tools_test": { 1243 + "generator_function": "dist_http_archive", 1244 + "generator_name": "remote_java_tools_test", 1245 + "name": "remote_java_tools_test", 1246 + "patch_cmds": [ 1247 + "test -f BUILD && chmod u+w BUILD || true", 1248 + "echo >> BUILD", 1249 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1250 + ], 1251 + "patch_cmds_win": [ 1252 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1253 + ], 1254 + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", 1255 + "urls": [ 1256 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", 1257 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" 1258 + ] 1259 + }, 1260 + "remote_java_tools_test_darwin_arm64": { 1261 + "generator_function": "dist_http_archive", 1262 + "generator_name": "remote_java_tools_test_darwin_arm64", 1263 + "name": "remote_java_tools_test_darwin_arm64", 1264 + "patch_cmds": [ 1265 + "test -f BUILD && chmod u+w BUILD || true", 1266 + "echo >> BUILD", 1267 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1268 + ], 1269 + "patch_cmds_win": [ 1270 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1271 + ], 1272 + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", 1273 + "urls": [ 1274 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", 1275 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" 1276 + ] 1277 + }, 1278 + "remote_java_tools_test_darwin_x86_64": { 1279 + "generator_function": "dist_http_archive", 1280 + "generator_name": "remote_java_tools_test_darwin_x86_64", 1281 + "name": "remote_java_tools_test_darwin_x86_64", 1282 + "patch_cmds": [ 1283 + "test -f BUILD && chmod u+w BUILD || true", 1284 + "echo >> BUILD", 1285 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1286 + ], 1287 + "patch_cmds_win": [ 1288 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1289 + ], 1290 + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", 1291 + "urls": [ 1292 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", 1293 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" 1294 + ] 1295 + }, 1296 + "remote_java_tools_test_linux": { 1297 + "generator_function": "dist_http_archive", 1298 + "generator_name": "remote_java_tools_test_linux", 1299 + "name": "remote_java_tools_test_linux", 1300 + "patch_cmds": [ 1301 + "test -f BUILD && chmod u+w BUILD || true", 1302 + "echo >> BUILD", 1303 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1304 + ], 1305 + "patch_cmds_win": [ 1306 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1307 + ], 1308 + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", 1309 + "urls": [ 1310 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", 1311 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" 1312 + ] 1313 + }, 1314 + "remote_java_tools_test_windows": { 1315 + "generator_function": "dist_http_archive", 1316 + "generator_name": "remote_java_tools_test_windows", 1317 + "name": "remote_java_tools_test_windows", 1318 + "patch_cmds": [ 1319 + "test -f BUILD && chmod u+w BUILD || true", 1320 + "echo >> BUILD", 1321 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1322 + ], 1323 + "patch_cmds_win": [ 1324 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1325 + ], 1326 + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", 1327 + "urls": [ 1328 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", 1329 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" 1330 + ] 1331 + }, 1332 + "remote_java_tools_windows": { 1333 + "generator_function": "maybe", 1334 + "generator_name": "remote_java_tools_windows", 1335 + "name": "remote_java_tools_windows", 1336 + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", 1337 + "urls": [ 1338 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", 1339 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" 1340 + ] 1341 + }, 1342 + "remote_java_tools_windows_for_testing": { 1343 + "generator_function": "dist_http_archive", 1344 + "generator_name": "remote_java_tools_windows_for_testing", 1345 + "name": "remote_java_tools_windows_for_testing", 1346 + "patch_cmds": [ 1347 + "test -f BUILD && chmod u+w BUILD || true", 1348 + "echo >> BUILD", 1349 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1350 + ], 1351 + "patch_cmds_win": [ 1352 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1353 + ], 1354 + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", 1355 + "urls": [ 1356 + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", 1357 + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" 1358 + ] 1359 + }, 1360 + "remotejdk11_linux": { 1361 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1362 + "generator_function": "maybe", 1363 + "generator_name": "remotejdk11_linux", 1364 + "name": "remotejdk11_linux", 1365 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 1366 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", 1367 + "urls": [ 1368 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 1369 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 1370 + ] 1371 + }, 1372 + "remotejdk11_linux_aarch64": { 1373 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1374 + "generator_function": "maybe", 1375 + "generator_name": "remotejdk11_linux_aarch64", 1376 + "name": "remotejdk11_linux_aarch64", 1377 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 1378 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", 1379 + "urls": [ 1380 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 1381 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 1382 + ] 1383 + }, 1384 + "remotejdk11_linux_aarch64_for_testing": { 1385 + "build_file": "@local_jdk//:BUILD.bazel", 1386 + "generator_function": "dist_http_archive", 1387 + "generator_name": "remotejdk11_linux_aarch64_for_testing", 1388 + "name": "remotejdk11_linux_aarch64_for_testing", 1389 + "patch_cmds": [ 1390 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1391 + "echo >> BUILD.bazel", 1392 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1393 + ], 1394 + "patch_cmds_win": [ 1395 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1396 + ], 1397 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 1398 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64", 1399 + "urls": [ 1400 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 1401 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 1402 + ] 1403 + }, 1404 + "remotejdk11_linux_for_testing": { 1405 + "build_file": "@local_jdk//:BUILD.bazel", 1406 + "generator_function": "dist_http_archive", 1407 + "generator_name": "remotejdk11_linux_for_testing", 1408 + "name": "remotejdk11_linux_for_testing", 1409 + "patch_cmds": [ 1410 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1411 + "echo >> BUILD.bazel", 1412 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1413 + ], 1414 + "patch_cmds_win": [ 1415 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1416 + ], 1417 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 1418 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-linux_x64", 1419 + "urls": [ 1420 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 1421 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 1422 + ] 1423 + }, 1424 + "remotejdk11_linux_ppc64le": { 1425 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1426 + "generator_function": "maybe", 1427 + "generator_name": "remotejdk11_linux_ppc64le", 1428 + "name": "remotejdk11_linux_ppc64le", 1429 + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", 1430 + "strip_prefix": "jdk-11.0.15+10", 1431 + "urls": [ 1432 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", 1433 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" 1434 + ] 1435 + }, 1436 + "remotejdk11_linux_ppc64le_for_testing": { 1437 + "build_file": "@local_jdk//:BUILD.bazel", 1438 + "generator_function": "dist_http_archive", 1439 + "generator_name": "remotejdk11_linux_ppc64le_for_testing", 1440 + "name": "remotejdk11_linux_ppc64le_for_testing", 1441 + "patch_cmds": [ 1442 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1443 + "echo >> BUILD.bazel", 1444 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1445 + ], 1446 + "patch_cmds_win": [ 1447 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1448 + ], 1449 + "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", 1450 + "strip_prefix": "jdk-11.0.15+10", 1451 + "urls": [ 1452 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", 1453 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" 1454 + ] 1455 + }, 1456 + "remotejdk11_linux_s390x": { 1457 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1458 + "generator_function": "maybe", 1459 + "generator_name": "remotejdk11_linux_s390x", 1460 + "name": "remotejdk11_linux_s390x", 1461 + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", 1462 + "strip_prefix": "jdk-11.0.15+10", 1463 + "urls": [ 1464 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", 1465 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" 1466 + ] 1467 + }, 1468 + "remotejdk11_linux_s390x_for_testing": { 1469 + "build_file": "@local_jdk//:BUILD.bazel", 1470 + "generator_function": "dist_http_archive", 1471 + "generator_name": "remotejdk11_linux_s390x_for_testing", 1472 + "name": "remotejdk11_linux_s390x_for_testing", 1473 + "patch_cmds": [ 1474 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1475 + "echo >> BUILD.bazel", 1476 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1477 + ], 1478 + "patch_cmds_win": [ 1479 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1480 + ], 1481 + "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", 1482 + "strip_prefix": "jdk-11.0.15+10", 1483 + "urls": [ 1484 + "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", 1485 + "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" 1486 + ] 1487 + }, 1488 + "remotejdk11_macos": { 1489 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1490 + "generator_function": "maybe", 1491 + "generator_name": "remotejdk11_macos", 1492 + "name": "remotejdk11_macos", 1493 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 1494 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", 1495 + "urls": [ 1496 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1497 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 1498 + ] 1499 + }, 1500 + "remotejdk11_macos_aarch64": { 1501 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1502 + "generator_function": "maybe", 1503 + "generator_name": "remotejdk11_macos_aarch64", 1504 + "name": "remotejdk11_macos_aarch64", 1505 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 1506 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", 1507 + "urls": [ 1508 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 1509 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 1510 + ] 1511 + }, 1512 + "remotejdk11_macos_aarch64_for_testing": { 1513 + "build_file": "@local_jdk//:BUILD.bazel", 1514 + "generator_function": "dist_http_archive", 1515 + "generator_name": "remotejdk11_macos_aarch64_for_testing", 1516 + "name": "remotejdk11_macos_aarch64_for_testing", 1517 + "patch_cmds": [ 1518 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1519 + "echo >> BUILD.bazel", 1520 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1521 + ], 1522 + "patch_cmds_win": [ 1523 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1524 + ], 1525 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 1526 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64", 1527 + "urls": [ 1528 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 1529 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 1530 + ] 1531 + }, 1532 + "remotejdk11_macos_for_testing": { 1533 + "build_file": "@local_jdk//:BUILD.bazel", 1534 + "generator_function": "dist_http_archive", 1535 + "generator_name": "remotejdk11_macos_for_testing", 1536 + "name": "remotejdk11_macos_for_testing", 1537 + "patch_cmds": [ 1538 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1539 + "echo >> BUILD.bazel", 1540 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1541 + ], 1542 + "patch_cmds_win": [ 1543 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1544 + ], 1545 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 1546 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-macosx_x64", 1547 + "urls": [ 1548 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 1549 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 1550 + ] 1551 + }, 1552 + "remotejdk11_win": { 1553 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1554 + "generator_function": "maybe", 1555 + "generator_name": "remotejdk11_win", 1556 + "name": "remotejdk11_win", 1557 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 1558 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", 1559 + "urls": [ 1560 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1561 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 1562 + ] 1563 + }, 1564 + "remotejdk11_win_arm64": { 1565 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 11,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1566 + "generator_function": "maybe", 1567 + "generator_name": "remotejdk11_win_arm64", 1568 + "name": "remotejdk11_win_arm64", 1569 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 1570 + "strip_prefix": "jdk-11.0.13+8", 1571 + "urls": [ 1572 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 1573 + ] 1574 + }, 1575 + "remotejdk11_win_arm64_for_testing": { 1576 + "build_file": "@local_jdk//:BUILD.bazel", 1577 + "generator_function": "dist_http_archive", 1578 + "generator_name": "remotejdk11_win_arm64_for_testing", 1579 + "name": "remotejdk11_win_arm64_for_testing", 1580 + "patch_cmds": [ 1581 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1582 + "echo >> BUILD.bazel", 1583 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1584 + ], 1585 + "patch_cmds_win": [ 1586 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1587 + ], 1588 + "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", 1589 + "strip_prefix": "jdk-11.0.13+8", 1590 + "urls": [ 1591 + "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" 1592 + ] 1593 + }, 1594 + "remotejdk11_win_for_testing": { 1595 + "build_file": "@local_jdk//:BUILD.bazel", 1596 + "generator_function": "dist_http_archive", 1597 + "generator_name": "remotejdk11_win_for_testing", 1598 + "name": "remotejdk11_win_for_testing", 1599 + "patch_cmds": [ 1600 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1601 + "echo >> BUILD.bazel", 1602 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1603 + ], 1604 + "patch_cmds_win": [ 1605 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1606 + ], 1607 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 1608 + "strip_prefix": "zulu11.56.19-ca-jdk11.0.15-win_x64", 1609 + "urls": [ 1610 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 1611 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 1612 + ] 1613 + }, 1614 + "remotejdk17_linux": { 1615 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1616 + "generator_function": "maybe", 1617 + "generator_name": "remotejdk17_linux", 1618 + "name": "remotejdk17_linux", 1619 + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", 1620 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", 1621 + "urls": [ 1622 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", 1623 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" 1624 + ] 1625 + }, 1626 + "remotejdk17_linux_aarch64": { 1627 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1628 + "generator_function": "maybe", 1629 + "generator_name": "remotejdk17_linux_aarch64", 1630 + "name": "remotejdk17_linux_aarch64", 1631 + "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", 1632 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", 1633 + "urls": [ 1634 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", 1635 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz" 1636 + ] 1637 + }, 1638 + "remotejdk17_linux_for_testing": { 1639 + "build_file": "@local_jdk//:BUILD.bazel", 1640 + "generator_function": "dist_http_archive", 1641 + "generator_name": "remotejdk17_linux_for_testing", 1642 + "name": "remotejdk17_linux_for_testing", 1643 + "patch_cmds": [ 1644 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1645 + "echo >> BUILD.bazel", 1646 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1647 + ], 1648 + "patch_cmds_win": [ 1649 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1650 + ], 1651 + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", 1652 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", 1653 + "urls": [ 1654 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", 1655 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" 1656 + ] 1657 + }, 1658 + "remotejdk17_macos": { 1659 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1660 + "generator_function": "maybe", 1661 + "generator_name": "remotejdk17_macos", 1662 + "name": "remotejdk17_macos", 1663 + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", 1664 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", 1665 + "urls": [ 1666 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", 1667 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" 1668 + ] 1669 + }, 1670 + "remotejdk17_macos_aarch64": { 1671 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1672 + "generator_function": "maybe", 1673 + "generator_name": "remotejdk17_macos_aarch64", 1674 + "name": "remotejdk17_macos_aarch64", 1675 + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", 1676 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", 1677 + "urls": [ 1678 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", 1679 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" 1680 + ] 1681 + }, 1682 + "remotejdk17_macos_aarch64_for_testing": { 1683 + "build_file": "@local_jdk//:BUILD.bazel", 1684 + "generator_function": "dist_http_archive", 1685 + "generator_name": "remotejdk17_macos_aarch64_for_testing", 1686 + "name": "remotejdk17_macos_aarch64_for_testing", 1687 + "patch_cmds": [ 1688 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1689 + "echo >> BUILD.bazel", 1690 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1691 + ], 1692 + "patch_cmds_win": [ 1693 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1694 + ], 1695 + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", 1696 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", 1697 + "urls": [ 1698 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", 1699 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" 1700 + ] 1701 + }, 1702 + "remotejdk17_macos_for_testing": { 1703 + "build_file": "@local_jdk//:BUILD.bazel", 1704 + "generator_function": "dist_http_archive", 1705 + "generator_name": "remotejdk17_macos_for_testing", 1706 + "name": "remotejdk17_macos_for_testing", 1707 + "patch_cmds": [ 1708 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1709 + "echo >> BUILD.bazel", 1710 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1711 + ], 1712 + "patch_cmds_win": [ 1713 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1714 + ], 1715 + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", 1716 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", 1717 + "urls": [ 1718 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", 1719 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" 1720 + ] 1721 + }, 1722 + "remotejdk17_win": { 1723 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1724 + "generator_function": "maybe", 1725 + "generator_name": "remotejdk17_win", 1726 + "name": "remotejdk17_win", 1727 + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", 1728 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", 1729 + "urls": [ 1730 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", 1731 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" 1732 + ] 1733 + }, 1734 + "remotejdk17_win_arm64": { 1735 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 17,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1736 + "generator_function": "maybe", 1737 + "generator_name": "remotejdk17_win_arm64", 1738 + "name": "remotejdk17_win_arm64", 1739 + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", 1740 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", 1741 + "urls": [ 1742 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 1743 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" 1744 + ] 1745 + }, 1746 + "remotejdk17_win_arm64_for_testing": { 1747 + "build_file": "@local_jdk//:BUILD.bazel", 1748 + "generator_function": "dist_http_archive", 1749 + "generator_name": "remotejdk17_win_arm64_for_testing", 1750 + "name": "remotejdk17_win_arm64_for_testing", 1751 + "patch_cmds": [ 1752 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1753 + "echo >> BUILD.bazel", 1754 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1755 + ], 1756 + "patch_cmds_win": [ 1757 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1758 + ], 1759 + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", 1760 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", 1761 + "urls": [ 1762 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 1763 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" 1764 + ] 1765 + }, 1766 + "remotejdk17_win_for_testing": { 1767 + "build_file": "@local_jdk//:BUILD.bazel", 1768 + "generator_function": "dist_http_archive", 1769 + "generator_name": "remotejdk17_win_for_testing", 1770 + "name": "remotejdk17_win_for_testing", 1771 + "patch_cmds": [ 1772 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1773 + "echo >> BUILD.bazel", 1774 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1775 + ], 1776 + "patch_cmds_win": [ 1777 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1778 + ], 1779 + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", 1780 + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", 1781 + "urls": [ 1782 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", 1783 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" 1784 + ] 1785 + }, 1786 + "remotejdk18_linux": { 1787 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1788 + "generator_function": "maybe", 1789 + "generator_name": "remotejdk18_linux", 1790 + "name": "remotejdk18_linux", 1791 + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", 1792 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", 1793 + "urls": [ 1794 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", 1795 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz" 1796 + ] 1797 + }, 1798 + "remotejdk18_linux_aarch64": { 1799 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1800 + "generator_function": "maybe", 1801 + "generator_name": "remotejdk18_linux_aarch64", 1802 + "name": "remotejdk18_linux_aarch64", 1803 + "sha256": "a1d5f78172f32f819d08e9043b0f82fa7af738b37c55c6ca8d6092c61d204d53", 1804 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_aarch64", 1805 + "urls": [ 1806 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", 1807 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz" 1808 + ] 1809 + }, 1810 + "remotejdk18_linux_for_testing": { 1811 + "build_file": "@local_jdk//:BUILD.bazel", 1812 + "generator_function": "dist_http_archive", 1813 + "generator_name": "remotejdk18_linux_for_testing", 1814 + "name": "remotejdk18_linux_for_testing", 1815 + "patch_cmds": [ 1816 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1817 + "echo >> BUILD.bazel", 1818 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1819 + ], 1820 + "patch_cmds_win": [ 1821 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1822 + ], 1823 + "sha256": "959a94ca4097dcaabc7886784cec10dfdf2b0a3bff890ea8943cc09c5fff29cb", 1824 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-linux_x64", 1825 + "urls": [ 1826 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz", 1827 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_x64.tar.gz" 1828 + ] 1829 + }, 1830 + "remotejdk18_macos": { 1831 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1832 + "generator_function": "maybe", 1833 + "generator_name": "remotejdk18_macos", 1834 + "name": "remotejdk18_macos", 1835 + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", 1836 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", 1837 + "urls": [ 1838 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", 1839 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz" 1840 + ] 1841 + }, 1842 + "remotejdk18_macos_aarch64": { 1843 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1844 + "generator_function": "maybe", 1845 + "generator_name": "remotejdk18_macos_aarch64", 1846 + "name": "remotejdk18_macos_aarch64", 1847 + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", 1848 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", 1849 + "urls": [ 1850 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", 1851 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz" 1852 + ] 1853 + }, 1854 + "remotejdk18_macos_aarch64_for_testing": { 1855 + "build_file": "@local_jdk//:BUILD.bazel", 1856 + "generator_function": "dist_http_archive", 1857 + "generator_name": "remotejdk18_macos_aarch64_for_testing", 1858 + "name": "remotejdk18_macos_aarch64_for_testing", 1859 + "patch_cmds": [ 1860 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1861 + "echo >> BUILD.bazel", 1862 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1863 + ], 1864 + "patch_cmds_win": [ 1865 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1866 + ], 1867 + "sha256": "9595e001451e201fdf33c1952777968a3ac18fe37273bdeaea5b5ed2c4950432", 1868 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_aarch64", 1869 + "urls": [ 1870 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz", 1871 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_aarch64.tar.gz" 1872 + ] 1873 + }, 1874 + "remotejdk18_macos_for_testing": { 1875 + "build_file": "@local_jdk//:BUILD.bazel", 1876 + "generator_function": "dist_http_archive", 1877 + "generator_name": "remotejdk18_macos_for_testing", 1878 + "name": "remotejdk18_macos_for_testing", 1879 + "patch_cmds": [ 1880 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1881 + "echo >> BUILD.bazel", 1882 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1883 + ], 1884 + "patch_cmds_win": [ 1885 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1886 + ], 1887 + "sha256": "780a9aa4bda95a6793bf41d13f837c59ef915e9bfd0e0c5fd4c70e4cdaa88541", 1888 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-macosx_x64", 1889 + "urls": [ 1890 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz", 1891 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-macosx_x64.tar.gz" 1892 + ] 1893 + }, 1894 + "remotejdk18_win": { 1895 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1896 + "generator_function": "maybe", 1897 + "generator_name": "remotejdk18_win", 1898 + "name": "remotejdk18_win", 1899 + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", 1900 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", 1901 + "urls": [ 1902 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", 1903 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip" 1904 + ] 1905 + }, 1906 + "remotejdk18_win_arm64": { 1907 + "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_import\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"BUILD.bazel\"])\n\nDEPRECATION_MESSAGE = (\"Don't depend on targets in the JDK workspace;\" +\n \" use @bazel_tools//tools/jdk:current_java_runtime instead\" +\n \" (see https://github.com/bazelbuild/bazel/issues/5594)\")\n\nfilegroup(\n name = \"jni_header\",\n srcs = [\"include/jni.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-darwin\",\n srcs = [\"include/darwin/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-linux\",\n srcs = [\"include/linux/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-freebsd\",\n srcs = [\"include/freebsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-openbsd\",\n srcs = [\"include/openbsd/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jni_md_header-windows\",\n srcs = [\"include/win32/jni_md.h\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"java\",\n srcs = select({\n \":windows\": [\"bin/java.exe\"],\n \"//conditions:default\": [\"bin/java\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jar\",\n srcs = select({\n \":windows\": [\"bin/jar.exe\"],\n \"//conditions:default\": [\"bin/jar\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javac\",\n srcs = select({\n \":windows\": [\"bin/javac.exe\"],\n \"//conditions:default\": [\"bin/javac\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"javadoc\",\n srcs = select({\n \":windows\": [\"bin/javadoc.exe\"],\n \"//conditions:default\": [\"bin/javadoc\"],\n }),\n data = [\":jdk\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"xjc\",\n srcs = [\"bin/xjc\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"wsimport\",\n srcs = [\"bin/wsimport\"],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nBOOTCLASS_JARS = [\n \"rt.jar\",\n \"resources.jar\",\n \"jsse.jar\",\n \"jce.jar\",\n \"charsets.jar\",\n]\n\n# TODO(cushon): this isn't compatible with JDK 9\nfilegroup(\n name = \"bootclasspath\",\n srcs = [\"jre/lib/%s\" % jar for jar in BOOTCLASS_JARS],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-bin\",\n srcs = select({\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n \":windows\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n \"//conditions:default\": glob(\n [\"jre/bin/**\"],\n allow_empty = True,\n ),\n }),\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jre-lib\",\n srcs = glob(\n [\"jre/lib/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jre\",\n srcs = [\":jre-default\"],\n)\n\nfilegroup(\n name = \"jre-default\",\n srcs = [\n \":jre-bin\",\n \":jre-lib\",\n ],\n deprecation = DEPRECATION_MESSAGE,\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n#This folder holds security policies\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre-default\",\n ],\n version = 18,\n)\n\nconfig_setting(\n name = \"windows\",\n constraint_values = [\"@platforms//os:windows\"],\n visibility = [\"//visibility:private\"],\n)\n", 1908 + "generator_function": "maybe", 1909 + "generator_name": "remotejdk18_win_arm64", 1910 + "name": "remotejdk18_win_arm64", 1911 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 1912 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", 1913 + "urls": [ 1914 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 1915 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 1916 + ] 1917 + }, 1918 + "remotejdk18_win_arm64_for_testing": { 1919 + "build_file": "@local_jdk//:BUILD.bazel", 1920 + "generator_function": "dist_http_archive", 1921 + "generator_name": "remotejdk18_win_arm64_for_testing", 1922 + "name": "remotejdk18_win_arm64_for_testing", 1923 + "patch_cmds": [ 1924 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1925 + "echo >> BUILD.bazel", 1926 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1927 + ], 1928 + "patch_cmds_win": [ 1929 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1930 + ], 1931 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 1932 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_aarch64", 1933 + "urls": [ 1934 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 1935 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 1936 + ] 1937 + }, 1938 + "remotejdk18_win_for_testing": { 1939 + "build_file": "@local_jdk//:BUILD.bazel", 1940 + "generator_function": "dist_http_archive", 1941 + "generator_name": "remotejdk18_win_for_testing", 1942 + "name": "remotejdk18_win_for_testing", 1943 + "patch_cmds": [ 1944 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 1945 + "echo >> BUILD.bazel", 1946 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 1947 + ], 1948 + "patch_cmds_win": [ 1949 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1950 + ], 1951 + "sha256": "6c75498163b047595386fdb909cb6d4e04282c3a81799743c5e1f9316391fe16", 1952 + "strip_prefix": "zulu18.28.13-ca-jdk18.0.0-win_x64", 1953 + "urls": [ 1954 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip", 1955 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_x64.zip" 1956 + ] 1957 + }, 1958 + "rules_cc": { 1959 + "generator_function": "dist_http_archive", 1960 + "generator_name": "rules_cc", 1961 + "name": "rules_cc", 1962 + "patch_cmds": [ 1963 + "test -f BUILD && chmod u+w BUILD || true", 1964 + "echo >> BUILD", 1965 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1966 + ], 1967 + "patch_cmds_win": [ 1968 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1969 + ], 1970 + "sha256": "58bff40957ace85c2de21ebfc72e53ed3a0d33af8cc20abd0ceec55c63be7de2", 1971 + "urls": [ 1972 + "https://github.com/bazelbuild/rules_cc/releases/download/0.0.2/rules_cc-0.0.2.tar.gz" 1973 + ] 1974 + }, 1975 + "rules_cc-0.0.2.tar.gz": { 1976 + "name": "rules_cc-0.0.2.tar.gz", 1977 + "sha256": "58bff40957ace85c2de21ebfc72e53ed3a0d33af8cc20abd0ceec55c63be7de2", 1978 + "urls": [ 1979 + "https://github.com/bazelbuild/rules_cc/releases/download/0.0.2/rules_cc-0.0.2.tar.gz" 1980 + ] 1981 + }, 1982 + "rules_java": { 1983 + "generator_function": "dist_http_archive", 1984 + "generator_name": "rules_java", 1985 + "name": "rules_java", 1986 + "patch_cmds": [ 1987 + "test -f BUILD && chmod u+w BUILD || true", 1988 + "echo >> BUILD", 1989 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD" 1990 + ], 1991 + "patch_cmds_win": [ 1992 + "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 1993 + ], 1994 + "sha256": "bc81f1ba47ef5cc68ad32225c3d0e70b8c6f6077663835438da8d5733f917598", 1995 + "strip_prefix": "rules_java-7cf3cefd652008d0a64a419c34c13bdca6c8f178", 1996 + "urls": [ 1997 + "https://mirror.bazel.build/github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip", 1998 + "https://github.com/bazelbuild/rules_java/archive/7cf3cefd652008d0a64a419c34c13bdca6c8f178.zip" 1999 + ] 2000 + }, 2001 + "rules_jvm_external": { 2002 + "generator_function": "grpc_extra_deps", 2003 + "generator_name": "rules_jvm_external", 2004 + "name": "rules_jvm_external", 2005 + "sha256": "f36441aa876c4f6427bfb2d1f2d723b48e9d930b62662bf723ddfb8fc80f0140", 2006 + "strip_prefix": "rules_jvm_external-4.1", 2007 + "urls": [ 2008 + "https://github.com/bazelbuild/rules_jvm_external/archive/4.1.zip" 2009 + ] 2010 + }, 2011 + "rules_license": { 2012 + "generator_function": "dist_http_archive", 2013 + "generator_name": "rules_license", 2014 + "name": "rules_license", 2015 + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", 2016 + "urls": [ 2017 + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", 2018 + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz" 2019 + ] 2020 + }, 2021 + "rules_license-0.0.3.tar.gz": { 2022 + "name": "rules_license-0.0.3.tar.gz", 2023 + "sha256": "00ccc0df21312c127ac4b12880ab0f9a26c1cff99442dc6c5a331750360de3c3", 2024 + "urls": [ 2025 + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz", 2026 + "https://github.com/bazelbuild/rules_license/releases/download/0.0.3/rules_license-0.0.3.tar.gz" 2027 + ] 2028 + }, 2029 + "rules_nodejs": { 2030 + "generator_function": "dist_http_archive", 2031 + "generator_name": "rules_nodejs", 2032 + "name": "rules_nodejs", 2033 + "sha256": "4d48998e3fa1e03c684e6bdf7ac98051232c7486bfa412e5b5475bbaec7bb257", 2034 + "urls": [ 2035 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz", 2036 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz" 2037 + ] 2038 + }, 2039 + "rules_nodejs-5.5.0.tar.gz": { 2040 + "name": "rules_nodejs-5.5.0.tar.gz", 2041 + "sha256": "0fad45a9bda7dc1990c47b002fd64f55041ea751fafc00cd34efb96107675778", 2042 + "urls": [ 2043 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz", 2044 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-5.5.0.tar.gz" 2045 + ] 2046 + }, 2047 + "rules_nodejs-core-5.5.0.tar.gz": { 2048 + "name": "rules_nodejs-core-5.5.0.tar.gz", 2049 + "sha256": "4d48998e3fa1e03c684e6bdf7ac98051232c7486bfa412e5b5475bbaec7bb257", 2050 + "urls": [ 2051 + "https://mirror.bazel.build/github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz", 2052 + "https://github.com/bazelbuild/rules_nodejs/releases/download/5.5.0/rules_nodejs-core-5.5.0.tar.gz" 2053 + ] 2054 + }, 2055 + "rules_pkg": { 2056 + "generator_function": "dist_http_archive", 2057 + "generator_name": "rules_pkg", 2058 + "name": "rules_pkg", 2059 + "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", 2060 + "urls": [ 2061 + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", 2062 + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" 2063 + ] 2064 + }, 2065 + "rules_pkg-0.7.0.tar.gz": { 2066 + "name": "rules_pkg-0.7.0.tar.gz", 2067 + "sha256": "8a298e832762eda1830597d64fe7db58178aa84cd5926d76d5b744d6558941c2", 2068 + "urls": [ 2069 + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz", 2070 + "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" 2071 + ] 2072 + }, 2073 + "rules_proto": { 2074 + "generator_function": "dist_http_archive", 2075 + "generator_name": "rules_proto", 2076 + "name": "rules_proto", 2077 + "patch_cmds": [ 2078 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 2079 + "echo >> BUILD.bazel", 2080 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 2081 + ], 2082 + "patch_cmds_win": [ 2083 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 2084 + ], 2085 + "sha256": "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da", 2086 + "strip_prefix": "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488", 2087 + "urls": [ 2088 + "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz", 2089 + "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" 2090 + ] 2091 + }, 2092 + "six": { 2093 + "build_file": "@com_github_grpc_grpc//third_party:six.BUILD", 2094 + "generator_function": "grpc_deps", 2095 + "generator_name": "six", 2096 + "name": "six", 2097 + "sha256": "1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926", 2098 + "urls": [ 2099 + "https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e/six-1.16.0.tar.gz" 2100 + ] 2101 + }, 2102 + "upb": { 2103 + "generator_function": "dist_http_archive", 2104 + "generator_name": "upb", 2105 + "name": "upb", 2106 + "sha256": "cf7f71eaff90b24c1a28b49645a9ff03a9a6c1e7134291ce70901cb63e7364b5", 2107 + "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", 2108 + "urls": [ 2109 + "https://mirror.bazel.build/github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz", 2110 + "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz" 2111 + ] 2112 + }, 2113 + "v1.47.0.tar.gz": { 2114 + "name": "v1.47.0.tar.gz", 2115 + "sha256": "271bdc890bf329a8de5b65819f0f9590a5381402429bca37625b63546ed19e54", 2116 + "urls": [ 2117 + "https://mirror.bazel.build/github.com/grpc/grpc/archive/v1.47.0.tar.gz", 2118 + "https://github.com/grpc/grpc/archive/v1.47.0.tar.gz" 2119 + ] 2120 + }, 2121 + "v1.5.2-3.zip": { 2122 + "name": "v1.5.2-3.zip", 2123 + "sha256": "366009a43cfada35015e4cc40a7efc4b7f017c6b8df5cac3f87d2478027b2056", 2124 + "urls": [ 2125 + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/refs/tags/v1.5.2-3.zip", 2126 + "https://github.com/luben/zstd-jni/archive/refs/tags/v1.5.2-3.zip" 2127 + ] 2128 + }, 2129 + "v3.19.6.tar.gz": { 2130 + "name": "v3.19.6.tar.gz", 2131 + "sha256": "9a301cf94a8ddcb380b901e7aac852780b826595075577bb967004050c835056", 2132 + "urls": [ 2133 + "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.19.6.tar.gz", 2134 + "https://github.com/protocolbuffers/protobuf/archive/v3.19.6.tar.gz" 2135 + ] 2136 + }, 2137 + "zlib": { 2138 + "build_file": "@com_github_grpc_grpc//third_party:zlib.BUILD", 2139 + "generator_function": "grpc_deps", 2140 + "generator_name": "zlib", 2141 + "name": "zlib", 2142 + "sha256": "ef47b0fbe646d69a2fc5ba012cb278de8e8946a8e9649f83a807cc05559f0eff", 2143 + "strip_prefix": "zlib-21767c654d31d2dccdde4330529775c6c5fd5389", 2144 + "urls": [ 2145 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/madler/zlib/archive/21767c654d31d2dccdde4330529775c6c5fd5389.tar.gz", 2146 + "https://github.com/madler/zlib/archive/21767c654d31d2dccdde4330529775c6c5fd5389.tar.gz" 2147 + ] 2148 + }, 2149 + "zstd-jni": { 2150 + "build_file": "//third_party:zstd-jni/zstd-jni.BUILD", 2151 + "generator_function": "dist_http_archive", 2152 + "generator_name": "zstd-jni", 2153 + "name": "zstd-jni", 2154 + "patch_args": [ 2155 + "-p1" 2156 + ], 2157 + "patch_cmds": [ 2158 + "test -f BUILD.bazel && chmod u+w BUILD.bazel || true", 2159 + "echo >> BUILD.bazel", 2160 + "echo 'exports_files([\"WORKSPACE\"], visibility = [\"//visibility:public\"])' >> BUILD.bazel" 2161 + ], 2162 + "patch_cmds_win": [ 2163 + "Add-Content -Path BUILD.bazel -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" 2164 + ], 2165 + "patches": [ 2166 + "//third_party:zstd-jni/Native.java.patch" 2167 + ], 2168 + "sha256": "366009a43cfada35015e4cc40a7efc4b7f017c6b8df5cac3f87d2478027b2056", 2169 + "strip_prefix": "zstd-jni-1.5.2-3", 2170 + "urls": [ 2171 + "https://mirror.bazel.build/github.com/luben/zstd-jni/archive/refs/tags/v1.5.2-3.zip", 2172 + "https://github.com/luben/zstd-jni/archive/refs/tags/v1.5.2-3.zip" 2173 + ] 2174 + }, 2175 + "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz": { 2176 + "name": "zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 2177 + "sha256": "fc7c41a0005180d4ca471c90d01e049469e0614cf774566d4cf383caa29d1a97", 2178 + "urls": [ 2179 + "https://mirror.bazel.build/cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz", 2180 + "https://cdn.azul.com/zulu-embedded/bin/zulu11.56.19-ca-jdk11.0.15-linux_aarch64.tar.gz" 2181 + ] 2182 + }, 2183 + "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz": { 2184 + "name": "zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 2185 + "sha256": "e064b61d93304012351242bf0823c6a2e41d9e28add7ea7f05378b7243d34247", 2186 + "urls": [ 2187 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz", 2188 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-linux_x64.tar.gz" 2189 + ] 2190 + }, 2191 + "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz": { 2192 + "name": "zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 2193 + "sha256": "6bb0d2c6e8a29dcd9c577bbb2986352ba12481a9549ac2c0bcfd00ed60e538d2", 2194 + "urls": [ 2195 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz", 2196 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_aarch64.tar.gz" 2197 + ] 2198 + }, 2199 + "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz": { 2200 + "name": "zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 2201 + "sha256": "2614e5c5de8e989d4d81759de4c333aa5b867b17ab9ee78754309ba65c7f6f55", 2202 + "urls": [ 2203 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz", 2204 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-macosx_x64.tar.gz" 2205 + ] 2206 + }, 2207 + "zulu11.56.19-ca-jdk11.0.15-win_x64.zip": { 2208 + "name": "zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 2209 + "sha256": "a106c77389a63b6bd963a087d5f01171bd32aa3ee7377ecef87531390dcb9050", 2210 + "urls": [ 2211 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip", 2212 + "https://cdn.azul.com/zulu/bin/zulu11.56.19-ca-jdk11.0.15-win_x64.zip" 2213 + ] 2214 + }, 2215 + "zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz": { 2216 + "name": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", 2217 + "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", 2218 + "urls": [ 2219 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", 2220 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz" 2221 + ] 2222 + }, 2223 + "zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip": { 2224 + "name": "zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 2225 + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", 2226 + "urls": [ 2227 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", 2228 + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" 2229 + ] 2230 + }, 2231 + "zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz": { 2232 + "name": "zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", 2233 + "sha256": "a1d5f78172f32f819d08e9043b0f82fa7af738b37c55c6ca8d6092c61d204d53", 2234 + "urls": [ 2235 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz", 2236 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-linux_aarch64.tar.gz" 2237 + ] 2238 + }, 2239 + "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip": { 2240 + "name": "zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 2241 + "sha256": "9b52b259516e4140ee56b91f77750667bffbc543e78ad8c39082449d4c377b54", 2242 + "urls": [ 2243 + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip", 2244 + "https://cdn.azul.com/zulu/bin/zulu18.28.13-ca-jdk18.0.0-win_aarch64.zip" 2245 + ] 2246 + } 2247 + }
+21
pkgs/development/tools/build-managers/bazel/bazel_7/strict_proto_deps.patch
··· 1 + diff --git a/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl b/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 2 + index 63f68167e4..f106e64c9b 100644 3 + --- a/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 4 + +++ b/src/main/starlark/builtins_bzl/common/java/proto/java_proto_library.bzl 5 + @@ -114,6 +114,7 @@ def java_compile_for_protos(ctx, output_jar_suffix, source_jar = None, deps = [] 6 + exports = exports, 7 + output = output_jar, 8 + output_source_jar = source_jar, 9 + + strict_deps = ctx.fragments.proto.strict_proto_deps(), 10 + injecting_rule_kind = injecting_rule_kind, 11 + javac_opts = java_toolchain.compatible_javacopts("proto"), 12 + enable_jspecify = False, 13 + @@ -140,7 +141,7 @@ bazel_java_proto_aspect = aspect( 14 + attr_aspects = ["deps", "exports"], 15 + required_providers = [ProtoInfo], 16 + provides = [JavaInfo, JavaProtoAspectInfo], 17 + - fragments = ["java"], 18 + + fragments = ["java", "proto"], 19 + ) 20 + 21 + def bazel_java_proto_library_rule(ctx):
+54
pkgs/development/tools/build-managers/bazel/bazel_7/update-srcDeps.py
··· 1 + #!/usr/bin/env python3 2 + import sys 3 + import json 4 + 5 + if len(sys.argv) != 2: 6 + print("usage: ./this-script src-deps.json < WORKSPACE", file=sys.stderr) 7 + print("Takes the bazel WORKSPACE file and reads all archives into a json dict (by evaling it as python code)", file=sys.stderr) 8 + print("Hail Eris.", file=sys.stderr) 9 + sys.exit(1) 10 + 11 + http_archives = [] 12 + 13 + # just the kw args are the dict { name, sha256, urls … } 14 + def http_archive(**kw): 15 + http_archives.append(kw) 16 + # like http_file 17 + def http_file(**kw): 18 + http_archives.append(kw) 19 + 20 + # this is inverted from http_archive/http_file and bundles multiple archives 21 + def _distdir_tar(**kw): 22 + for archive_name in kw['archives']: 23 + http_archives.append({ 24 + "name": archive_name, 25 + "sha256": kw['sha256'][archive_name], 26 + "urls": kw['urls'][archive_name] 27 + }) 28 + 29 + # TODO? 30 + def git_repository(**kw): 31 + print(json.dumps(kw, sort_keys=True, indent=4), file=sys.stderr) 32 + sys.exit(1) 33 + 34 + # execute the WORKSPACE like it was python code in this module, 35 + # using all the function stubs from above. 36 + exec(sys.stdin.read()) 37 + 38 + # transform to a dict with the names as keys 39 + d = { el['name']: el for el in http_archives } 40 + 41 + def has_urls(el): 42 + return ('url' in el and el['url']) or ('urls' in el and el['urls']) 43 + def has_sha256(el): 44 + return 'sha256' in el and el['sha256'] 45 + bad_archives = list(filter(lambda el: not has_urls(el) or not has_sha256(el), d.values())) 46 + if bad_archives: 47 + print('Following bazel dependencies are missing url or sha256', file=sys.stderr) 48 + print('Check bazel sources for master or non-checksummed dependencies', file=sys.stderr) 49 + for el in bad_archives: 50 + print(json.dumps(el, sort_keys=True, indent=4), file=sys.stderr) 51 + sys.exit(1) 52 + 53 + with open(sys.argv[1], "w") as f: 54 + print(json.dumps(d, sort_keys=True, indent=4), file=f)