Return early after NDK->non-NDK library link error

am: 155d17c1da

Change-Id: I8d11bf8c71a3df036e5545f6d796ce970813e123
This commit is contained in:
Dan Willemsen
2019-02-06 22:58:33 -08:00
committed by android-build-merger

View File

@@ -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