From af3759f2642666eabcf9e4d9c93e09f2842b212d Mon Sep 17 00:00:00 2001 From: Jacob Foard Date: Wed, 16 Aug 2023 16:15:21 -0400 Subject: [PATCH] bazel_6: 6.2.0 -> 6.3.2 --- .../build-managers/bazel/bazel_6/default.nix | 4 +- .../bazel/bazel_6/src-deps.json | 262 +++++++++--------- 2 files changed, 138 insertions(+), 128 deletions(-) diff --git a/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix index d09b0dad82f3..fca02e80ee50 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix @@ -24,12 +24,12 @@ }: let - version = "6.2.0"; + version = "6.3.2"; sourceRoot = "."; src = fetchurl { url = "https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-dist.zip"; - hash = "sha256-8ej3iGN6xXTUcdYZ0glrqsoEoZtXoDQ5ngeWM9tEGUU="; + hash = "sha256-jNf+rFgZO+K8ukUbpmiKRoJNN8pjWf9Y4NROuY8EKUg="; }; # Update with diff --git a/pkgs/development/tools/build-managers/bazel/bazel_6/src-deps.json b/pkgs/development/tools/build-managers/bazel/bazel_6/src-deps.json index c39723aa455f..e407902f7949 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_6/src-deps.json +++ b/pkgs/development/tools/build-managers/bazel/bazel_6/src-deps.json @@ -91,8 +91,8 @@ "generator_function": "maybe", "generator_name": "android_tools", "name": "android_tools", - "sha256": "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d", - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz" + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" }, "android_tools_for_testing": { "name": "android_tools_for_testing", @@ -104,14 +104,14 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d", - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz" + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", + "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" }, - "android_tools_pkg-0.27.0.tar.gz": { - "name": "android_tools_pkg-0.27.0.tar.gz", - "sha256": "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d", + "android_tools_pkg-0.27.2.tar": { + "name": "android_tools_pkg-0.27.2.tar", + "sha256": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", "urls": [ - "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz" + "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar" ] }, "bazel-gazelle-v0.24.0.tar.gz": { @@ -538,44 +538,44 @@ "https://github.com/census-instrumentation/opencensus-cpp/archive/c9a4da319bc669a772928ffc55af4a61be1a1176.tar.gz" ] }, - "java_tools-v12.3.zip": { - "name": "java_tools-v12.3.zip", - "sha256": "cbb62ecfef61568ded46260a8e8e8430755db7ec9638c0c7ff668a656f6c042f", + "java_tools-v12.6.zip": { + "name": "java_tools-v12.6.zip", + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" ] }, - "java_tools_darwin_arm64-v12.3.zip": { - "name": "java_tools_darwin_arm64-v12.3.zip", - "sha256": "29aa0c2de4e3cf45bc55d2995ba803ecbd1173a8d363860abbc309551db7931b", + "java_tools_darwin_arm64-v12.6.zip": { + "name": "java_tools_darwin_arm64-v12.6.zip", + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_arm64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_arm64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" ] }, - "java_tools_darwin_x86_64-v12.3.zip": { - "name": "java_tools_darwin_x86_64-v12.3.zip", - "sha256": "3c3fb1967a0f35c73ff509505de53ca4611518922a6b7c8c22a468aa7503132c", + "java_tools_darwin_x86_64-v12.6.zip": { + "name": "java_tools_darwin_x86_64-v12.6.zip", + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_x86_64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_x86_64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" ] }, - "java_tools_linux-v12.3.zip": { - "name": "java_tools_linux-v12.3.zip", - "sha256": "32157b5218b151009f5b99bf5e2f65e28823d269dfbba8cd57e7da5e7cdd291d", + "java_tools_linux-v12.6.zip": { + "name": "java_tools_linux-v12.6.zip", + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_linux-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_linux-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" ] }, - "java_tools_windows-v12.3.zip": { - "name": "java_tools_windows-v12.3.zip", - "sha256": "ec6f91387d2353eacb0ca0492f35f68c5c7b0e7a80acd1fb825088b4b069fab1", + "java_tools_windows-v12.6.zip": { + "name": "java_tools_windows-v12.6.zip", + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_windows-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_windows-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" ] }, "microsoft-jdk-11.0.13.8.1-windows-aarch64.zip": { @@ -1103,11 +1103,11 @@ "https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz" ] }, - "r8-3.3.28.jar": { - "name": "r8-3.3.28.jar", - "sha256": "8626ca32fb47aba7fddd2c897615e2e8ffcdb4d4b213572a2aefb3f838f01972", + "r8-8.0.40.jar": { + "name": "r8-8.0.40.jar", + "sha256": "ab1379835c7d3e5f21f80347c3c81e2f762e0b9b02748ae5232c3afa14adf702", "urls": [ - "https://maven.google.com/com/android/tools/r8/3.3.28/r8-3.3.28.jar" + "https://maven.google.com/com/android/tools/r8/8.0.40/r8-8.0.40.jar" ] }, "remote_coverage_tools": { @@ -1131,20 +1131,20 @@ "generator_function": "maybe", "generator_name": "remote_java_tools", "name": "remote_java_tools", - "sha256": "5cd59ea6bf938a1efc1e11ea562d37b39c82f76781211b7cd941a2346ea8484d", + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.9/java_tools-v11.9.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v11.9/java_tools-v11.9.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" ] }, - "remote_java_tools_darwin": { + "remote_java_tools_darwin_arm64": { "generator_function": "maybe", - "generator_name": "remote_java_tools_darwin", - "name": "remote_java_tools_darwin", - "sha256": "b9e962c6a836ba1d7573f2473fab3a897c6370d4c2724bde4017b40932ff4fe4", + "generator_name": "remote_java_tools_darwin_arm64", + "name": "remote_java_tools_darwin_arm64", + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.9/java_tools_darwin-v11.9.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v11.9/java_tools_darwin-v11.9.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" ] }, "remote_java_tools_darwin_arm64_for_testing": { @@ -1159,10 +1159,20 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "29aa0c2de4e3cf45bc55d2995ba803ecbd1173a8d363860abbc309551db7931b", + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_arm64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_arm64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" + ] + }, + "remote_java_tools_darwin_x86_64": { + "generator_function": "maybe", + "generator_name": "remote_java_tools_darwin_x86_64", + "name": "remote_java_tools_darwin_x86_64", + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", + "urls": [ + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" ] }, "remote_java_tools_darwin_x86_64_for_testing": { @@ -1177,10 +1187,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "3c3fb1967a0f35c73ff509505de53ca4611518922a6b7c8c22a468aa7503132c", + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_x86_64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_x86_64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" ] }, "remote_java_tools_for_testing": { @@ -1195,20 +1205,20 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "cbb62ecfef61568ded46260a8e8e8430755db7ec9638c0c7ff668a656f6c042f", + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" ] }, "remote_java_tools_linux": { "generator_function": "maybe", "generator_name": "remote_java_tools_linux", "name": "remote_java_tools_linux", - "sha256": "512582cac5b7ea7974a77b0da4581b21f546c9478f206eedf54687eeac035989", + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.9/java_tools_linux-v11.9.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v11.9/java_tools_linux-v11.9.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" ] }, "remote_java_tools_linux_for_testing": { @@ -1223,10 +1233,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "32157b5218b151009f5b99bf5e2f65e28823d269dfbba8cd57e7da5e7cdd291d", + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_linux-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_linux-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" ] }, "remote_java_tools_test": { @@ -1241,10 +1251,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "cbb62ecfef61568ded46260a8e8e8430755db7ec9638c0c7ff668a656f6c042f", + "sha256": "f58a358ca694a41416a9b6a92b852935ad301d8882e5d22f4f11134f035317d5", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools-v12.6.zip" ] }, "remote_java_tools_test_darwin_arm64": { @@ -1259,10 +1269,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "29aa0c2de4e3cf45bc55d2995ba803ecbd1173a8d363860abbc309551db7931b", + "sha256": "c6ffcaf87965c436cc86fc0e9673dafc97c0761efae8225ad2691cf6cfe3d87a", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_arm64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_arm64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_arm64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_arm64-v12.6.zip" ] }, "remote_java_tools_test_darwin_x86_64": { @@ -1277,10 +1287,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "3c3fb1967a0f35c73ff509505de53ca4611518922a6b7c8c22a468aa7503132c", + "sha256": "c6545e82e543cb5775d3b8909d6270b5f481864b5ff083d20bfa5dcf77ac3ef7", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_darwin_x86_64-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_darwin_x86_64-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_darwin_x86_64-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_darwin_x86_64-v12.6.zip" ] }, "remote_java_tools_test_linux": { @@ -1295,10 +1305,10 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "32157b5218b151009f5b99bf5e2f65e28823d269dfbba8cd57e7da5e7cdd291d", + "sha256": "64294e91fe940c77e6d35818b4c3a1f07d78e33add01e330188d907032687066", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_linux-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_linux-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_linux-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_linux-v12.6.zip" ] }, "remote_java_tools_test_windows": { @@ -1313,20 +1323,20 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "ec6f91387d2353eacb0ca0492f35f68c5c7b0e7a80acd1fb825088b4b069fab1", + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_windows-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_windows-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" ] }, "remote_java_tools_windows": { "generator_function": "maybe", "generator_name": "remote_java_tools_windows", "name": "remote_java_tools_windows", - "sha256": "677ab910046205020fd715489147c2bcfad8a35d9f5d94fdc998d217545bd87a", + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v11.9/java_tools_windows-v11.9.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v11.9/java_tools_windows-v11.9.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" ] }, "remote_java_tools_windows_for_testing": { @@ -1341,14 +1351,14 @@ "patch_cmds_win": [ "Add-Content -Path BUILD -Value \"`nexports_files([`\"WORKSPACE`\"], visibility = [`\"//visibility:public`\"])`n\" -Force" ], - "sha256": "ec6f91387d2353eacb0ca0492f35f68c5c7b0e7a80acd1fb825088b4b069fab1", + "sha256": "63f727d44011b8c504bb4e6d89c2cd982278efb34dae8629687e9483d8f7d62d", "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.3/java_tools_windows-v12.3.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v12.3/java_tools_windows-v12.3.zip" + "https://mirror.bazel.build/bazel_java_tools/releases/java/v12.6/java_tools_windows-v12.6.zip", + "https://github.com/bazelbuild/java_tools/releases/download/java_v12.6/java_tools_windows-v12.6.zip" ] }, "remotejdk11_linux": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_linux", "name": "remotejdk11_linux", @@ -1360,7 +1370,7 @@ ] }, "remotejdk11_linux_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_linux_aarch64", "name": "remotejdk11_linux_aarch64", @@ -1412,7 +1422,7 @@ ] }, "remotejdk11_linux_ppc64le": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_linux_ppc64le", "name": "remotejdk11_linux_ppc64le", @@ -1444,7 +1454,7 @@ ] }, "remotejdk11_linux_s390x": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_linux_s390x", "name": "remotejdk11_linux_s390x", @@ -1476,7 +1486,7 @@ ] }, "remotejdk11_macos": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_macos", "name": "remotejdk11_macos", @@ -1488,7 +1498,7 @@ ] }, "remotejdk11_macos_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_macos_aarch64", "name": "remotejdk11_macos_aarch64", @@ -1540,7 +1550,7 @@ ] }, "remotejdk11_win": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_win", "name": "remotejdk11_win", @@ -1552,7 +1562,7 @@ ] }, "remotejdk11_win_arm64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk11_win_arm64", "name": "remotejdk11_win_arm64", @@ -1602,27 +1612,27 @@ ] }, "remotejdk17_linux": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_linux", "name": "remotejdk17_linux", - "sha256": "73d5c4bae20325ca41b606f7eae64669db3aac638c5b3ead4a975055846ad6de", - "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_x64", + "sha256": "20c91a922eec795f3181eaa70def8b99d8eac56047c9a14bfb257c85b991df1b", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_x64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_x64.tar.gz" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_x64.tar.gz" ] }, "remotejdk17_linux_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_linux_aarch64", "name": "remotejdk17_linux_aarch64", - "sha256": "2b8066bbdbc5cff422bb6b6db1b8f8d362b576340cce8492f1255502af632b06", - "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-linux_aarch64", + "sha256": "dbc6ae9163e7ff469a9ab1f342cd1bc1f4c1fb78afc3c4f2228ee3b32c4f3e43", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-linux_aarch64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-linux_aarch64.tar.gz" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-linux_aarch64.tar.gz" ] }, "remotejdk17_linux_for_testing": { @@ -1646,27 +1656,27 @@ ] }, "remotejdk17_macos": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_macos", "name": "remotejdk17_macos", - "sha256": "89d04b2d99b05dcb25114178e65f6a1c5ca742e125cab0a63d87e7e42f3fcb80", - "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_x64", + "sha256": "e6317cee4d40995f0da5b702af3f04a6af2bbd55febf67927696987d11113b53", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_x64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_x64.tar.gz" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_x64.tar.gz" ] }, "remotejdk17_macos_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_macos_aarch64", "name": "remotejdk17_macos_aarch64", - "sha256": "54247dde248ffbcd3c048675504b1c503b81daf2dc0d64a79e353c48d383c977", - "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-macosx_aarch64", + "sha256": "515dd56ec99bb5ae8966621a2088aadfbe72631818ffbba6e4387b7ee292ab09", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-macosx_aarch64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-macosx_aarch64.tar.gz" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-macosx_aarch64.tar.gz" ] }, "remotejdk17_macos_aarch64_for_testing": { @@ -1710,27 +1720,27 @@ ] }, "remotejdk17_win": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_win", "name": "remotejdk17_win", - "sha256": "e965aa0ea7a0661a3446cf8f10ee00684b851f883b803315289f26b4aa907fdb", - "strip_prefix": "zulu17.32.13-ca-jdk17.0.2-win_x64", + "sha256": "9972c5b62a61b45785d3d956c559e079d9e91f144ec46225f5deeda214d48f27", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_x64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.32.13-ca-jdk17.0.2-win_x64.zip" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_x64.zip" ] }, "remotejdk17_win_arm64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk17_win_arm64", "name": "remotejdk17_win_arm64", - "sha256": "811d7e7591bac4f081dfb00ba6bd15b6fc5969e1f89f0f327ef75147027c3877", - "strip_prefix": "zulu17.30.15-ca-jdk17.0.1-win_aarch64", + "sha256": "bc3476f2161bf99bc9a243ff535b8fc033b34ce9a2fa4b62fb8d79b6bfdc427f", + "strip_prefix": "zulu17.38.21-ca-jdk17.0.5-win_aarch64", "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.30.15-ca-jdk17.0.1-win_aarch64.zip" + "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip", + "https://cdn.azul.com/zulu/bin/zulu17.38.21-ca-jdk17.0.5-win_aarch64.zip" ] }, "remotejdk17_win_arm64_for_testing": { @@ -1774,7 +1784,7 @@ ] }, "remotejdk18_linux": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_linux", "name": "remotejdk18_linux", @@ -1786,7 +1796,7 @@ ] }, "remotejdk18_linux_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_linux_aarch64", "name": "remotejdk18_linux_aarch64", @@ -1818,7 +1828,7 @@ ] }, "remotejdk18_macos": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_macos", "name": "remotejdk18_macos", @@ -1830,7 +1840,7 @@ ] }, "remotejdk18_macos_aarch64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_macos_aarch64", "name": "remotejdk18_macos_aarch64", @@ -1882,7 +1892,7 @@ ] }, "remotejdk18_win": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_win", "name": "remotejdk18_win", @@ -1894,7 +1904,7 @@ ] }, "remotejdk18_win_arm64": { - "build_file": "@bazel_tools//tools/jdk:jdk.BUILD", + "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", "generator_function": "maybe", "generator_name": "remotejdk18_win_arm64", "name": "remotejdk18_win_arm64",