aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWei Li <weiwli@google.com>2023-10-16 16:22:34 -0700
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2023-10-17 23:12:52 +0000
commit5c1187e22fd9bdb7bfcbe5dccea69732716db501 (patch)
treef7c60760de698b2f6ce41ea14c0aa8d1d96fdbac
parentd15b1251bd1a08ce3efc86567260f6b56a020b8a (diff)
downloadbuild-5c1187e22fd9bdb7bfcbe5dccea69732716db501.tar.gz
Add zip2zip as a data dependency of releasetools_common so it is built with releasetools_common and other python_binary_host modules depend on releasetools_common.
Bug: 303082945 Test: CIs Test: "m dev_sign_bundle" on internal udc branch and check zip2zip is built too. (cherry picked from https://android-review.googlesource.com/q/commit:6437bae07c9510bfaa61908c1255a17e55c65742) Merged-In: Iad5aa401de39516876714c854dc07aeba2f234e5 Change-Id: Iad5aa401de39516876714c854dc07aeba2f234e5
-rw-r--r--tools/releasetools/Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/releasetools/Android.bp b/tools/releasetools/Android.bp
index 1240872a9e..d07292a082 100644
--- a/tools/releasetools/Android.bp
+++ b/tools/releasetools/Android.bp
@@ -236,6 +236,9 @@ python_library_host {
"rangelib.py",
"sparse_img.py",
],
+ data: [
+ ":zip2zip",
+ ],
// Only the tools that are referenced directly are listed as required modules. For example,
// `avbtool` is not here, as the script always uses the one from info_dict['avb_avbtool'].
required: [
@@ -251,7 +254,6 @@ python_library_host {
"signapk",
"toybox",
"unpack_bootimg",
- "zip2zip",
],
}