From 1c26bc9b27f504076d7428ad0ecbac32341e991f Mon Sep 17 00:00:00 2001 From: Tomasz Wasilczyk Date: Thu, 16 Nov 2017 10:11:41 -0800 Subject: [PATCH] Silence yet more superfluous build messages. Bug: 69315492 Test: it builds Change-Id: I89fcbf9f6435da7ff1c374020870c989b671af2a --- core/Makefile | 10 +--------- core/definitions.mk | 12 ++++++------ 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/core/Makefile b/core/Makefile index 162467836..393639ce3 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1167,14 +1167,6 @@ else RECOVERY_RESOURCE_ZIP := endif -ifeq ($(TARGET_PRIVATE_RES_DIRS),) - $(info No private recovery resources for TARGET_DEVICE $(TARGET_DEVICE)) -endif - -ifeq ($(recovery_fstab),) - $(info No recovery.fstab for TARGET_DEVICE $(TARGET_DEVICE)) -endif - INTERNAL_RECOVERYIMAGE_ARGS := \ $(addprefix --second ,$(INSTALLED_2NDBOOTLOADER_TARGET)) \ --kernel $(recovery_kernel) \ @@ -2170,7 +2162,7 @@ OTATOOLS_DEPS := \ $(shell find system/update_engine/scripts -name \*.pyc -prune -o -type f -print | sort) \ $(shell find build/target/product/security -type f -name \*.x509.pem -o -name \*.pk8 -o \ -name verity_key | sort) \ - $(shell find device vendor -type f -name \*.pk8 -o -name verifiedboot\* -o \ + $(shell find device $(wildcard vendor) -type f -name \*.pk8 -o -name verifiedboot\* -o \ -name \*.x509.pem -o -name oem\*.prop | sort) OTATOOLS_RELEASETOOLS := \ diff --git a/core/definitions.mk b/core/definitions.mk index c7799b07a..e74c77ffd 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -2569,9 +2569,9 @@ endef define uncompress-dexs $(hide) if (zipinfo $@ '*.dex' 2>/dev/null | grep -v ' stor ' >/dev/null) ; then \ rm -rf $(dir $@)uncompresseddexs && mkdir $(dir $@)uncompresseddexs; \ - unzip $@ '*.dex' -d $(dir $@)uncompresseddexs && \ - zip -d $@ '*.dex' && \ - ( cd $(dir $@)uncompresseddexs && find . -type f | sort | zip -D -X -0 ../$(notdir $@) -@ ) && \ + unzip -q $@ '*.dex' -d $(dir $@)uncompresseddexs && \ + zip -qd $@ '*.dex' && \ + ( cd $(dir $@)uncompresseddexs && find . -type f | sort | zip -qD -X -0 ../$(notdir $@) -@ ) && \ rm -rf $(dir $@)uncompresseddexs; \ fi endef @@ -2581,9 +2581,9 @@ endef define uncompress-shared-libs $(hide) if (zipinfo $@ $(PRIVATE_EMBEDDED_JNI_LIBS) 2>/dev/null | grep -v ' stor ' >/dev/null) ; then \ rm -rf $(dir $@)uncompressedlibs && mkdir $(dir $@)uncompressedlibs; \ - unzip $@ $(PRIVATE_EMBEDDED_JNI_LIBS) -d $(dir $@)uncompressedlibs && \ - zip -d $@ 'lib/*.so' && \ - ( cd $(dir $@)uncompressedlibs && find lib -type f | sort | zip -D -X -0 ../$(notdir $@) -@ ) && \ + unzip -q $@ $(PRIVATE_EMBEDDED_JNI_LIBS) -d $(dir $@)uncompressedlibs && \ + zip -qd $@ 'lib/*.so' && \ + ( cd $(dir $@)uncompressedlibs && find lib -type f | sort | zip -qD -X -0 ../$(notdir $@) -@ ) && \ rm -rf $(dir $@)uncompressedlibs; \ fi endef