Add VisitDirectDepsIgnoreBlueprint
This method allows dependencies on non-Android modules, which it ignores in strict mode, rather than flagging the dependency as an error. Bug: none Test: manual Change-Id: I9575e46638fa8ffc69c8935b1b65aab37ceab3c3
This commit is contained in:
@@ -1692,7 +1692,7 @@ func (m *ModuleBase) GenerateBuildActions(blueprintCtx blueprint.ModuleContext)
|
||||
// ensure all direct android.Module deps are enabled
|
||||
ctx.VisitDirectDepsBlueprint(func(bm blueprint.Module) {
|
||||
if m, ok := bm.(Module); ok {
|
||||
ctx.validateAndroidModule(bm, ctx.OtherModuleDependencyTag(m), ctx.baseModuleContext.strictVisitDeps)
|
||||
ctx.validateAndroidModule(bm, ctx.OtherModuleDependencyTag(m), ctx.baseModuleContext.strictVisitDeps, false)
|
||||
}
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user