diff --git a/common/arch.go b/common/arch.go index 2a09ae959..4ea0f268b 100644 --- a/common/arch.go +++ b/common/arch.go @@ -377,8 +377,7 @@ func InitArchModule(m AndroidModule, defaultMultilib Multilib, archProperties := &archProperties{} forEachInterface(reflect.ValueOf(archProperties), func(v reflect.Value) { - newValue := proptools.CloneProperties(propertiesValue) - proptools.ZeroProperties(newValue.Elem()) + newValue := proptools.CloneEmptyProperties(propertiesValue) v.Set(newValue) })