Loading android/module.go +12 −2 Original line number Diff line number Diff line Loading @@ -165,13 +165,20 @@ type BaseModuleContext interface { // OtherModuleDependencyVariantExists returns true if a module with the // specified name and variant exists. The variant must match the given // variations. It must also match all the non-local variations of the current // module. In other words, it checks for the module AddVariationDependencies // module. In other words, it checks for the module that AddVariationDependencies // would add a dependency on with the same arguments. OtherModuleDependencyVariantExists(variations []blueprint.Variation, name string) bool // OtherModuleFarDependencyVariantExists returns true if a module with the // specified name and variant exists. The variant must match the given // variations, but not the non-local variations of the current module. In // other words, it checks for the module that AddFarVariationDependencies // would add a dependency on with the same arguments. OtherModuleFarDependencyVariantExists(variations []blueprint.Variation, name string) bool // OtherModuleReverseDependencyVariantExists returns true if a module with the // specified name exists with the same variations as the current module. In // other words, it checks for the module AddReverseDependency would add a // other words, it checks for the module that AddReverseDependency would add a // dependency on with the same argument. OtherModuleReverseDependencyVariantExists(name string) bool Loading Loading @@ -2022,6 +2029,9 @@ func (b *baseModuleContext) OtherModuleExists(name string) bool { return b.bp.Ot func (b *baseModuleContext) OtherModuleDependencyVariantExists(variations []blueprint.Variation, name string) bool { return b.bp.OtherModuleDependencyVariantExists(variations, name) } func (b *baseModuleContext) OtherModuleFarDependencyVariantExists(variations []blueprint.Variation, name string) bool { return b.bp.OtherModuleFarDependencyVariantExists(variations, name) } func (b *baseModuleContext) OtherModuleReverseDependencyVariantExists(name string) bool { return b.bp.OtherModuleReverseDependencyVariantExists(name) } Loading Loading
android/module.go +12 −2 Original line number Diff line number Diff line Loading @@ -165,13 +165,20 @@ type BaseModuleContext interface { // OtherModuleDependencyVariantExists returns true if a module with the // specified name and variant exists. The variant must match the given // variations. It must also match all the non-local variations of the current // module. In other words, it checks for the module AddVariationDependencies // module. In other words, it checks for the module that AddVariationDependencies // would add a dependency on with the same arguments. OtherModuleDependencyVariantExists(variations []blueprint.Variation, name string) bool // OtherModuleFarDependencyVariantExists returns true if a module with the // specified name and variant exists. The variant must match the given // variations, but not the non-local variations of the current module. In // other words, it checks for the module that AddFarVariationDependencies // would add a dependency on with the same arguments. OtherModuleFarDependencyVariantExists(variations []blueprint.Variation, name string) bool // OtherModuleReverseDependencyVariantExists returns true if a module with the // specified name exists with the same variations as the current module. In // other words, it checks for the module AddReverseDependency would add a // other words, it checks for the module that AddReverseDependency would add a // dependency on with the same argument. OtherModuleReverseDependencyVariantExists(name string) bool Loading Loading @@ -2022,6 +2029,9 @@ func (b *baseModuleContext) OtherModuleExists(name string) bool { return b.bp.Ot func (b *baseModuleContext) OtherModuleDependencyVariantExists(variations []blueprint.Variation, name string) bool { return b.bp.OtherModuleDependencyVariantExists(variations, name) } func (b *baseModuleContext) OtherModuleFarDependencyVariantExists(variations []blueprint.Variation, name string) bool { return b.bp.OtherModuleFarDependencyVariantExists(variations, name) } func (b *baseModuleContext) OtherModuleReverseDependencyVariantExists(name string) bool { return b.bp.OtherModuleReverseDependencyVariantExists(name) } Loading