Merge "Share EffectiveLicenseFiles for snapshot modules"

This commit is contained in:
Treehugger Robot
2021-07-12 22:06:59 +00:00
committed by Gerrit Code Review
3 changed files with 10 additions and 2 deletions

View File

@@ -483,6 +483,7 @@ type Module interface {
InitRc() Paths
VintfFragments() Paths
NoticeFiles() Paths
EffectiveLicenseFiles() Paths
AddProperties(props ...interface{})
GetProperties() []interface{}
@@ -1515,6 +1516,10 @@ func (m *ModuleBase) ExportedToMake() bool {
return m.commonProperties.NamespaceExportedToMake
}
func (m *ModuleBase) EffectiveLicenseFiles() Paths {
return m.commonProperties.Effective_license_text
}
// computeInstallDeps finds the installed paths of all dependencies that have a dependency
// tag that is annotated as needing installation via the IsInstallDepNeeded method.
func (m *ModuleBase) computeInstallDeps(ctx ModuleContext) ([]*installPathsDepSet, []*packagingSpecsDepSet) {