Return early after NDK->non-NDK library link error am: 155d17c1da
am: 63833a3882
Change-Id: Ib83cad7611db8800e2cbee32c4a6126de8c1f472
This commit is contained in:
1
cc/cc.go
1
cc/cc.go
@@ -1378,6 +1378,7 @@ func checkLinkType(ctx android.ModuleContext, from *Module, to *Module, tag depe
|
|||||||
// NDK code linking to platform code is never okay.
|
// NDK code linking to platform code is never okay.
|
||||||
ctx.ModuleErrorf("depends on non-NDK-built library %q",
|
ctx.ModuleErrorf("depends on non-NDK-built library %q",
|
||||||
ctx.OtherModuleName(to))
|
ctx.OtherModuleName(to))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// At this point we know we have two NDK libraries, but we need to
|
// At this point we know we have two NDK libraries, but we need to
|
||||||
|
Reference in New Issue
Block a user