Make sure dist files have license metadata.
Bug: 151177513 Bug: 210912771 Test: m droid dist reportmissinglicenses Change-Id: I0c85f6c49a3e9d9bb3219ed6ddfb939d90f80656
This commit is contained in:
@@ -412,6 +412,7 @@ func (a *apexBundle) androidMkForType() android.AndroidMkData {
|
||||
fmt.Fprintln(w, ".PHONY:", goal)
|
||||
fmt.Fprintf(w, "$(call dist-for-goals,%s,%s:%s)\n",
|
||||
goal, a.installedFilesFile.String(), distFile)
|
||||
fmt.Fprintf(w, "$(call declare-0p-target,%s)\n", a.installedFilesFile.String())
|
||||
}
|
||||
for _, dist := range data.Entries.GetDistForGoals(a) {
|
||||
fmt.Fprintf(w, dist)
|
||||
|
Reference in New Issue
Block a user