diff options
Diffstat (limited to 'apex/androidmk.go')
| -rw-r--r-- | apex/androidmk.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apex/androidmk.go b/apex/androidmk.go index ee8b2b321..993260c7e 100644 --- a/apex/androidmk.go +++ b/apex/androidmk.go @@ -307,6 +307,7 @@ func (a *apexBundle) writeRequiredModules(w io.Writer) { func (a *apexBundle) androidMkForType() android.AndroidMkData { return android.AndroidMkData{ + DistFiles: a.distFiles, Custom: func(w io.Writer, name, prefix, moduleDir string, data android.AndroidMkData) { moduleNames := []string{} apexType := a.properties.ApexType @@ -391,6 +392,9 @@ func (a *apexBundle) androidMkForType() android.AndroidMkData { fmt.Fprintf(w, "$(call dist-for-goals,%s,%s:%s)\n", goal, a.installedFilesFile.String(), distFile) } + for _, dist := range data.Entries.GetDistForGoals(a) { + fmt.Fprintf(w, dist) + } } }} } |