Merge "Share EffectiveLicenseFiles for snapshot modules"
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user