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)
|
impl, ok := dep.(*Module)
|
||||||
if !ok {
|
if !ok {
|
||||||
ctx.ModuleErrorf("Implementation for stub is not correct module type")
|
ctx.ModuleErrorf("Implementation for stub is not correct module type")
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
output := impl.UnstrippedOutputFile()
|
output := impl.UnstrippedOutputFile()
|
||||||
if output == nil {
|
if output == nil {
|
||||||
|
|
Loading…
Reference in a new issue