Return early after NDK->non-NDK library link error
am: 155d17c1da
Change-Id: I8d11bf8c71a3df036e5545f6d796ce970813e123
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.
|
||||
ctx.ModuleErrorf("depends on non-NDK-built library %q",
|
||||
ctx.OtherModuleName(to))
|
||||
return
|
||||
}
|
||||
|
||||
// At this point we know we have two NDK libraries, but we need to
|
||||
|
Reference in New Issue
Block a user