summaryrefslogtreecommitdiff
path: root/android/module_context.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2024-08-27 15:54:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-08-27 15:54:00 +0000
commit4b98396c647e1b247c3b50ea723bfecac68a7789 (patch)
tree2d6a41ef6080beb50095a45fcff5280f941adae5 /android/module_context.go
parent1282d272918875cd8a15ea8e1cc4ac917d164266 (diff)
parentec810545481e6530b5f3c3da788e09aaae187c83 (diff)
Merge "Remove licenseMetadataFile and installFiles from ModuleBase." into main
Diffstat (limited to 'android/module_context.go')
-rw-r--r--android/module_context.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/module_context.go b/android/module_context.go
index 632fc961c..f5104b842 100644
--- a/android/module_context.go
+++ b/android/module_context.go
@@ -246,6 +246,9 @@ type moduleContext struct {
// apex containers.
licenseInstallMap []string
+ // The path to the generated license metadata file for the module.
+ licenseMetadataFile WritablePath
+
katiInstalls katiInstalls
katiSymlinks katiInstalls
@@ -714,7 +717,7 @@ func (m *moduleContext) blueprintModuleContext() blueprint.ModuleContext {
}
func (m *moduleContext) LicenseMetadataFile() Path {
- return m.module.base().licenseMetadataFile
+ return m.licenseMetadataFile
}
func (m *moduleContext) ModuleInfoJSON() *ModuleInfoJSON {