From 6437bae07c9510bfaa61908c1255a17e55c65742 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. 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 971518ad34..ee266b7d91 100644 --- a/tools/releasetools/Android.bp +++ b/tools/releasetools/Android.bp @@ -235,6 +235,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: [ @@ -249,7 +252,6 @@ python_library_host { "signapk", "toybox", "unpack_bootimg", - "zip2zip", ], }