commit | 413a495197f93a72a8cdc54408bc34d3764fe57e | [log] [tgz] |
---|---|---|
author | Søren Gjesse <sgjesse@google.com> | Mon Sep 11 14:07:27 2023 +0200 |
committer | Søren Gjesse <sgjesse@google.com> | Mon Sep 11 12:09:37 2023 +0000 |
tree | 997b12cba24ade55fe278c86bc445b001dfd4feb | |
parent | f271e8d55822147484ecb7f12386bed861dd19a2 [diff] |
Reapply fix building desugared library HEAD on buildbot This was accidentally removed in https://r8-review.googlesource.com/c/r8/+/67503/10/tools/archive_desugar_jdk_libs.py Change-Id: I53947af9210592c850dcc380169576944a7ef9ee
diff --git a/tools/archive_desugar_jdk_libs.py b/tools/archive_desugar_jdk_libs.py index 931fe23..b475941 100755 --- a/tools/archive_desugar_jdk_libs.py +++ b/tools/archive_desugar_jdk_libs.py
@@ -150,6 +150,12 @@ def setUpFakeAndroidHome(androidHomeTemp): # Bazel will check if 30 is present then extract android.jar from 32. # We copy android.jar from third_party to mimic repository structure. + subpath = os.path.join(androidHomeTemp, "build-tools") + cmd = ["mkdir", subpath] + subprocess.check_call(cmd) + subpath = os.path.join(subpath, "32.0.0") + cmd = ["mkdir", subpath] + subprocess.check_call(cmd) subpath = os.path.join(androidHomeTemp, "platforms") cmd = ["mkdir", subpath] subprocess.check_call(cmd)