Update error message for double loadable libraries.
am: 742989eedb
Change-Id: Ifef31df477a5837023e03093f00c034f8ace0624
This commit is contained in:
3
cc/cc.go
3
cc/cc.go
@@ -1283,7 +1283,8 @@ func checkDoubleLoadableLibries(ctx android.ModuleContext, from *Module, to *Mod
|
|||||||
}
|
}
|
||||||
depIsDoubleLoadable := Bool(to.VendorProperties.Double_loadable)
|
depIsDoubleLoadable := Bool(to.VendorProperties.Double_loadable)
|
||||||
if !depIsLlndk && !depIsVndkSp && !depIsDoubleLoadable && depIsVndk {
|
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))
|
ctx.OtherModuleName(to))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user