Update error message for double loadable libraries. am: 742989eedb

am: 26d78433d9

Change-Id: I03f928b5917c5d29423f45db14ed052f4f2a8912
This commit is contained in:
Steven Moreland
2018-11-26 17:01:24 -08:00
committed by android-build-merger

View File

@@ -1283,7 +1283,8 @@ func checkDoubleLoadableLibries(ctx android.ModuleContext, from *Module, to *Mod
}
depIsDoubleLoadable := Bool(to.VendorProperties.Double_loadable)
if !depIsLlndk && !depIsVndkSp && !depIsDoubleLoadable && depIsVndk {
ctx.ModuleErrorf("links VNDK library %q that isn't double_loadable.",
ctx.ModuleErrorf("links VNDK library %q that isn't double loadable (not also LL-NDK, "+
"VNDK-SP, or explicitly marked as 'double_loadable').",
ctx.OtherModuleName(to))
}
}