Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04bc250d authored by Chris Gross's avatar Chris Gross Committed by Gerrit Code Review
Browse files

Merge "Clean-up CL for CL985267."

parents 1c859937 e5d4a9e7
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1280,16 +1280,18 @@ license_modules_agg := $(license_modules_system) \
                       $(license_modules_product) \
                       $(license_modules_system_ext) \
                       $(license_modules_odm)
license_modules_vendor += $(filter-out $(license_modules_agg),$(license_modules))
system_xml_directories := xml_system
system_notice_file_message := "Notices for files contained in the system filesystem image in this directory:"
license_modules_rest := $(filter-out $(license_modules_agg),$(license_modules))

# If we are building in a configuration that includes a prebuilt vendor.img, we can't
# update its notice file, so include those notices in the system partition instead
ifdef BOARD_PREBUILT_VENDORIMAGE
license_modules_system += $(filter-out $(license_modules_agg),$(license_modules))
license_modules_system += $(license_modules_rest)
system_xml_directories := xml_excluded_vendor_product_odm
system_notice_file_message := "Notices for files contained in all filesystem images except vendor/system_ext/product/odm in this directory:"
else
license_modules_vendor += $(license_modules_rest)
system_xml_directories := xml_system
system_notice_file_message := "Notices for files contained in the system filesystem image in this directory:"
endif

$(eval $(call combine-notice-files, $(system_xml_directories), \