Revert "Revert "Build notice files from license metadata.""

This reverts commit 77807b3c27.

Reason for revert: fix and roll forward again

Change-Id: I80c796ca81ecf29df9522babe54d684a0d11b9e6
This commit is contained in:
Bob Badour
2022-04-01 18:00:00 +00:00
parent 77807b3c27
commit de6a087d2d
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 {