From 742989eedb14870dfab7b489b9f8aa0d3d6ecb50 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 26 Nov 2018 12:41:04 -0800 Subject: [PATCH] Update error message for double loadable libraries. Before it just mentioned 'double_loadable', but in this context, LL-NDK and VNDK-SP libraries also work. Bug: 119790516 Test: N/A Change-Id: Ie09a959fd5e05b9cb73db30d3cc2853694577dfe --- cc/cc.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cc/cc.go b/cc/cc.go index 3aaaf39d9..9fa7c3a80 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -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)) } }