From 5046d4c749c55943f8cf31f50d9dec9b94187203 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Mon, 9 Apr 2018 15:30:33 -0700 Subject: [PATCH] Disable warnings for unknown modules in package-modules.mk We've had these warnings for a while, but we've still got a lot of warnings that people have been trained to ignore. Lets just silence them for now. The Merged-In is just a random change from AOSP that isn't in pi-dev, to stop this from being merged to master, where I'm just fixing the warnings. Bug: 77883700 Test: m Change-Id: I00d8173a527760d62dca5837bcc86d5f03b87e83 Merged-In: I78ca65e6f0c81f09e7da848eda797b3a8f97a521 --- core/tasks/tools/package-modules.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/tasks/tools/package-modules.mk b/core/tasks/tools/package-modules.mk index 629a9b2a9..4155a3907 100644 --- a/core/tasks/tools/package-modules.mk +++ b/core/tasks/tools/package-modules.mk @@ -28,9 +28,10 @@ $(foreach m,$(my_modules),\ # Ignore unknown installed files on partial builds my_missing_files := -ifneq ($(ALLOW_MISSING_DEPENDENCIES),true) -my_missing_files = $(shell $(call echo-warning,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)')) -endif +# These warnings are too noisy, silence them for now. +#ifneq ($(ALLOW_MISSING_DEPENDENCIES),true) +#my_missing_files = $(shell $(call echo-warning,$(my_makefile),$(my_package_name): Unknown installed file for module '$(1)')) +#endif # Iterate over modules' built files and installed files; # Calculate the dest files in the output zip file.