diff options
| author | 2019-09-09 17:16:22 +0000 | |
|---|---|---|
| committer | 2019-09-09 17:16:22 +0000 | |
| commit | ed329ceab10e6ea8ce7a3e361c3bf408a9616f3c (patch) | |
| tree | 924971960470c78d313a63297c7f0a3547207d05 | |
| parent | 1282f42ed66f0f47debac76861b3c6ec6fc7a910 (diff) | |
| parent | 349cd474ef9ec74aa83c887f1fea8a6a3ea4cfc6 (diff) | |
Merge "CreateModule also inherits variableProperties."
| -rw-r--r-- | android/mutator.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/mutator.go b/android/mutator.go index 8e4343d0f..e76f847c9 100644 --- a/android/mutator.go +++ b/android/mutator.go @@ -244,8 +244,8 @@ func (t *topDownMutatorContext) Rename(name string) { } func (t *topDownMutatorContext) CreateModule(factory blueprint.ModuleFactory, props ...interface{}) { - common := []interface{}{&t.Module().base().commonProperties} - t.bp.CreateModule(factory, append(common, props...)...) + inherited := []interface{}{&t.Module().base().commonProperties, &t.Module().base().variableProperties} + t.bp.CreateModule(factory, append(inherited, props...)...) } func (b *bottomUpMutatorContext) MutatorName() string { |