Merge "Fix error handling"
This commit is contained in:
commit
d704f6ad69
1 changed files with 1 additions and 0 deletions
|
@ -307,6 +307,7 @@ func (this *stubDecorator) findImplementationLibrary(ctx ModuleContext) android.
|
|||
impl, ok := dep.(*Module)
|
||||
if !ok {
|
||||
ctx.ModuleErrorf("Implementation for stub is not correct module type")
|
||||
return nil
|
||||
}
|
||||
output := impl.UnstrippedOutputFile()
|
||||
if output == nil {
|
||||
|
|
Loading…
Reference in a new issue