Add COVERAGE_ZIP to system notice deps.
Fixes http://b/225282564
Test: lunch gki_arm64-user; make dist
Bug: 225282564
Change-Id: Iba0ea3ee53d3abbce9afff9a005e887ea64f63d1
diff --git a/core/Makefile b/core/Makefile
index de73a05..bb3911d 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -6047,6 +6047,11 @@
$(hide) find $(TARGET_OUT_COVERAGE) | sort >$(PRIVATE_LIST_FILE)
$(hide) $(SOONG_ZIP) -d -o $@ -C $(TARGET_OUT_COVERAGE) -l $(PRIVATE_LIST_FILE)
+$(call declare-1p-container,$(COVERAGE_ZIP),)
+$(call declare-container-license-deps,$(COVERAGE_ZIP),$(INTERNAL_ALLIMAGE_FILES),$(PRODUCT_OUT)/:/)
+
+SYSTEM_NOTICE_DEPS += $(COVERAGE_ZIP)
+
#------------------------------------------------------------------
# Export the LLVM profile data tool and dependencies for Clang coverage processing
#