Fix SDK link type check

am: 3c316bc03b

Change-Id: Icbcccc3ccb28443a6310ec65e95d0ac2d7d69589
This commit is contained in:
Dan Willemsen 2016-07-08 16:49:59 +00:00 committed by android-build-merger
commit 5ff2a27e89

View file

@ -928,7 +928,11 @@ func (c *Module) depsToPaths(ctx android.ModuleContext) PathDeps {
// These are allowed, but don't set sdk_version
return true
}
return from.Properties.Sdk_version != ""
if _, ok := to.linker.(*ndkPrebuiltStlLinker); ok {
// These are allowed, but don't set sdk_version
return true
}
return to.Properties.Sdk_version != ""
}
ctx.VisitDirectDeps(func(m blueprint.Module) {