Merge "Apps-only notice file"

This commit is contained in:
Treehugger Robot
2022-03-18 00:31:57 +00:00
committed by Gerrit Code Review
2 changed files with 11 additions and 7 deletions

View File

@@ -1765,13 +1765,13 @@ apps_only: $(unbundled_build_modules)
droid_targets: apps_only
# Combine the NOTICE files for a apps_only build
$(eval $(call combine-notice-files, html, \
$(target_notice_file_txt), \
$(target_notice_file_html_or_xml), \
"Notices for files for apps:", \
$(TARGET_OUT_NOTICE_FILES), \
$(apps_only_installed_files)))
# NOTICE files for a apps_only build
$(eval $(call html-notice-rule,$(target_notice_file_html_or_xml),"Apps","Notices for files for apps:",$(unbundled_build_modules),$(PRODUCT_OUT)/ $(HOST_OUT)/))
$(eval $(call text-notice-rule,$(target_notice_file_txt),"Apps","Notices for files for apps:",$(unbundled_build_modules),$(PRODUCT_OUT)/ $(HOST_OUT)/))
$(call declare-0p-target,$(target_notice_file_txt))
$(call declare-0p-target,$(target_notice_html_or_xml_gz))
else ifeq ($(TARGET_BUILD_UNBUNDLED),$(TARGET_BUILD_UNBUNDLED_IMAGE))

View File

@@ -1,3 +1,5 @@
ifeq ($(TARGET_BUILD_APPS),)
.PHONY: systemlicense
systemlicense: $(call corresponding-license-metadata, $(SYSTEM_NOTICE_DEPS)) reportmissinglicenses
@@ -169,3 +171,5 @@ $(call declare-0p-target,$(target_system_dlkm_notice_file_xml_gz))
$(call declare-0p-target,$(installed_sysetm_dlkm_notice_xml_gz))
ALL_DEFAULT_INSTALLED_MODULES += $(installed_system_dlkm_notice_xml_gz)
endif
endif # not TARGET_BUILD_APPS