diff options
| author | 2023-04-11 08:44:44 +0000 | |
|---|---|---|
| committer | 2023-04-11 08:44:44 +0000 | |
| commit | 3848896584bc6bbd92dc5953863f63bb8a31d6fb (patch) | |
| tree | e559efb33f851229f9218fff8bc7678c8dc4d5d6 /android/module.go | |
| parent | ed35066ec76eefeb97784cd9782013d63fc6a149 (diff) | |
| parent | 1871f9002682350918ae6755cdda24cf8edb13a2 (diff) | |
Merge "Include license texts and kinds for VNDK snapshot"
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 76fe8dc45..ba474530d 100644 --- a/android/module.go +++ b/android/module.go @@ -550,6 +550,7 @@ type Module interface { ExportedToMake() bool InitRc() Paths VintfFragments() Paths + EffectiveLicenseKinds() []string EffectiveLicenseFiles() Paths AddProperties(props ...interface{}) @@ -2024,6 +2025,10 @@ func (m *ModuleBase) ExportedToMake() bool { return m.commonProperties.NamespaceExportedToMake } +func (m *ModuleBase) EffectiveLicenseKinds() []string { + return m.commonProperties.Effective_license_kinds +} + func (m *ModuleBase) EffectiveLicenseFiles() Paths { result := make(Paths, 0, len(m.commonProperties.Effective_license_text)) for _, p := range m.commonProperties.Effective_license_text { |