Automatically inherit common properties.
Before, the values were often simply ignored. If bad values are provided now, we should be able to catch them. Bug: 119771576 Test: relying on this for AIDL/HIDL Change-Id: I8d2ff26da0b2d01ebe7f78c26d69c7b618a65367
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user