Skip to content

Commit

Permalink
[6.3.0] Update Android tools to 0.27.2 for fixes to DexMapper for htt…
Browse files Browse the repository at this point in the history
…ps://gith... (#18891)

* Update Android tools to 0.27.1 for fixes to DexMapper for #16368

* Update Android rules to 0.27.2 to include #18909

---------

Co-authored-by: keertk <[email protected]>
Co-authored-by: Ian (Hee) Cha <[email protected]>
  • Loading branch information
3 people authored Jul 12, 2023
1 parent e8ac967 commit 70facd3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
20 changes: 10 additions & 10 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,19 @@ distdir_tar(
name = "additional_distfiles",
# Keep in sync with the archives fetched as part of building bazel.
archives = [
"android_tools_pkg-0.27.0.tar.gz",
"android_tools_pkg-0.27.2.tar",
# for android_gmaven_r8
"r8-8.0.40.jar",
],
dirname = "derived/distdir",
dist_deps = {dep: attrs for dep, attrs in DIST_DEPS.items() if "additional_distfiles" in attrs["used_in"]},
sha256 = {
"android_tools_pkg-0.27.0.tar.gz": "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d",
"android_tools_pkg-0.27.2.tar": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b",
"r8-8.0.40.jar": "ab1379835c7d3e5f21f80347c3c81e2f762e0b9b02748ae5232c3afa14adf702",
},
urls = {
"android_tools_pkg-0.27.0.tar.gz": [
"https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz",
"android_tools_pkg-0.27.2.tar": [
"https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar",
],
"r8-8.0.40.jar": [
"https://maven.google.com/com/android/tools/r8/8.0.40/r8-8.0.40.jar",
Expand Down Expand Up @@ -359,16 +359,16 @@ dist_http_archive(
distdir_tar(
name = "test_WORKSPACE_files",
archives = [
"android_tools_pkg-0.27.0.tar.gz",
"android_tools_pkg-0.27.2.tar",
],
dirname = "test_WORKSPACE/distdir",
dist_deps = {dep: attrs for dep, attrs in DIST_DEPS.items() if "test_WORKSPACE_files" in attrs["used_in"]},
sha256 = {
"android_tools_pkg-0.27.0.tar.gz": "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d",
"android_tools_pkg-0.27.2.tar": "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b",
},
urls = {
"android_tools_pkg-0.27.0.tar.gz": [
"https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz",
"android_tools_pkg-0.27.2.tar": [
"https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar",
],
},
)
Expand Down Expand Up @@ -404,8 +404,8 @@ http_archive(
name = "android_tools_for_testing",
patch_cmds = EXPORT_WORKSPACE_IN_BUILD_FILE,
patch_cmds_win = EXPORT_WORKSPACE_IN_BUILD_FILE_WIN,
sha256 = "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz",
sha256 = "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar",
)

# This is here to override the android_gmaven_r8 rule from
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
maybe(
http_archive,
name = "android_tools",
sha256 = "1afa4b7e13c82523c8b69e87f8d598c891ec7e2baa41d9e24e08becd723edb4d", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.0.tar.gz",
sha256 = "5d0f140125afba82603ccd5050c78dd2e2863ca992a17f43f6df9a9119ffcb9b", # DO_NOT_REMOVE_THIS_ANDROID_TOOLS_UPDATE_MARKER
url = "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.27.2.tar",
)

# This must be kept in sync with the top-level WORKSPACE file.
Expand Down
2 changes: 0 additions & 2 deletions src/test/shell/bazel/android/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ android_sh_test(
name = "DexFileSplitter_synthetic_classes_test",
size = "medium",
srcs = ["DexFileSplitter_synthetic_classes_test.sh"],
# Fixes to DexMapper are not released yet.
create_test_with_released_tools = False,
data = [
":android_helper",
"//external:android_sdk_for_testing",
Expand Down

0 comments on commit 70facd3

Please sign in to comment.