Extract dist properties from commonProperties
Common properties are automatically inherited from a parent module (i.e. one that calls CreateModule()) to the child module that it creates. This makes no sense for dist/dists properties so this change extracts them into their own structure separate to the commonProperties. Test: m checkbuild and TreeHugger Bug: 160448975 Change-Id: Icceb20455e13394dd3b3bce464fb9bb34882d6c3
This commit is contained in:
@@ -195,7 +195,8 @@ func InitDefaultsModule(module DefaultsModule) {
|
||||
module.AddProperties(
|
||||
&hostAndDeviceProperties{},
|
||||
commonProperties,
|
||||
&ApexProperties{})
|
||||
&ApexProperties{},
|
||||
&distProperties{})
|
||||
|
||||
initAndroidModuleBase(module)
|
||||
initProductVariableModule(module)
|
||||
|
Reference in New Issue
Block a user