diff --git a/cc/cc.go b/cc/cc.go index c3e554cbd..ce28a3bf4 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -634,6 +634,10 @@ func (ctx *moduleContextImpl) shouldCreateVndkSourceAbiDump() bool { // Host modules do not need ABI dumps. return false } + if !ctx.mod.IsForPlatform() { + // APEX variants do not need ABI dumps. + return false + } if inList(ctx.baseModuleName(), llndkLibraries) { return true }