summaryrefslogtreecommitdiff
path: root/android/package.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/package.go')
-rw-r--r--android/package.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/package.go b/android/package.go
index eb76751f5..385326e53 100644
--- a/android/package.go
+++ b/android/package.go
@@ -56,7 +56,10 @@ func (p *packageModule) DepsMutator(ctx BottomUpMutatorContext) {
}
func (p *packageModule) GenerateBuildActions(ctx blueprint.ModuleContext) {
- // Nothing to do.
+ ctx.SetProvider(CommonModuleInfoKey, CommonModuleInfo{
+ Enabled: true,
+ PrimaryLicensesProperty: p.primaryLicensesProperty,
+ })
}
func (p *packageModule) qualifiedModuleId(ctx BaseModuleContext) qualifiedModuleName {