diff options
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index f745a4ab4..ce7fd0ca0 100644 --- a/android/module.go +++ b/android/module.go @@ -473,6 +473,7 @@ type Module interface { InitRc() Paths VintfFragments() Paths NoticeFiles() Paths + EffectiveLicenseFiles() Paths AddProperties(props ...interface{}) GetProperties() []interface{} @@ -1501,6 +1502,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) { |