aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-14 01:09:51 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-04-14 01:09:51 +0000
commitaadb6922be5e0387154a5d1b8201b40a609597f2 (patch)
tree34d720e66745b8daf1632bb1fcd89fb9c0a40894
parent1dada74f08e482745604570659d405d741339ae1 (diff)
parent2666b810918bbe8713cda1db15ee9cb8202472e8 (diff)
downloadbazelbuild-rules_android-android14-d1-s7-release.tar.gz
Change-Id: I73bbdd4e1b39a6393ba0471b08f2ab08cf12ba95
-rw-r--r--tools/jdk/BUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/jdk/BUILD b/tools/jdk/BUILD
index edc9d13..76b1921 100644
--- a/tools/jdk/BUILD
+++ b/tools/jdk/BUILD
@@ -1,13 +1,9 @@
load("@bazel_tools//tools/jdk:default_java_toolchain.bzl", "default_java_toolchain")
-default_java_toolchain(
+# AOSP-only change
+alias(
name = "toolchain_android_only",
- bootclasspath = [
- "//tools/android:android_jar",
- # TODO(b/175805830): Add this only when desugaring is enabled.
- "@bazel_tools//tools/android:desugar_java8_extra_bootclasspath",
- ],
- java_runtime = ":current_java_runtime",
+ actual = "@bazel_tools//tools/jdk:current_java_toolchain",
visibility = ["//visibility:public"],
)