From 5c1187e22fd9bdb7bfcbe5dccea69732716db501 Mon Sep 17 00:00:00 2001 From: Wei Li Date: Mon, 16 Oct 2023 16:22:34 -0700 Subject: [PATCH] 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 --- tools/releasetools/Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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", ], }