diff --git a/android/mutator.go b/android/mutator.go index b7994329a..82376e475 100644 --- a/android/mutator.go +++ b/android/mutator.go @@ -243,7 +243,8 @@ func (t *topDownMutatorContext) Rename(name string) { } func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) { - t.bp.CreateModule(factory, props...) + common := []interface{}{&t.Module().base().commonProperties} + t.bp.CreateModule(factory, append(common, props...)...) } func (b *bottomUpMutatorContext) MutatorName() string {