From b7208800354cf0b27552652f6ff39c08fc6ff1be Mon Sep 17 00:00:00 2001 From: Omkar Chandorkar Date: Tue, 1 Feb 2022 17:58:07 +0530 Subject: [PATCH] build: build target-files-package instead of dist * let's save everyone a few cpu cycles and disk writes Signed-off-by: Omkar Chandorkar Change-Id: I6abd3794f1007d52acc401e3babc9de067a15c18 --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index b2b564cc..e83305bd 100755 --- a/build.sh +++ b/build.sh @@ -197,14 +197,14 @@ elif [ "${KEY_MAPPINGS}" ]; then export ANDROID_PW_FILE=$PWFILE fi - # Make package for distribution - m dist "$CMD" + # Make target-files-package + m otatools target-files-package "$CMD" checkExit echo -e "${CLR_BLD_BLU}Signing target files apks${CLR_RST}" sign_target_files_apks -o -d $KEY_MAPPINGS \ - out/dist/aospa_$DEVICE-target_files-$FILE_NAME_TAG.zip \ + "$OUT"/obj/PACKAGING/target_files_intermediates/aospa_$DEVICE-target_files-$FILE_NAME_TAG.zip \ aospa-$AOSPA_VERSION-signed-target_files-$FILE_NAME_TAG.zip checkExit