Build notice files from license metadata.

Switch from generate-notice-files.py and mergenotice.py to htmlnotice.

Bug: 151177513
Bug: 213388645
Bug: 210912771

Test: m droid dist reportmissinglicenses
Change-Id: I6cac049d24f35ec358c6f341a04f4ba6161703bf
This commit is contained in:
Bob Badour
2022-03-29 14:43:28 -07:00
parent 76ff96f885
commit 43c2dcaef6
10 changed files with 28 additions and 638 deletions

View File

@@ -396,10 +396,6 @@ func (a *apexBundle) androidMkForType() android.AndroidMkData {
}
a.writeRequiredModules(w, moduleNames)
if a.mergedNotices.Merged.Valid() {
fmt.Fprintln(w, "LOCAL_NOTICE_FILE :=", a.mergedNotices.Merged.Path().String())
}
fmt.Fprintln(w, "include $(BUILD_PREBUILT)")
if apexType == imageApex {