From f81bb657d3bc49550e5a8fa8107b2a21077cd58e Mon Sep 17 00:00:00 2001 From: Hsin-Yi Chen Date: Tue, 7 Apr 2020 21:42:19 +0800 Subject: [PATCH] Do not check ABI for coverage variants Bug: 153119422 Test: make NATIVE_COVERAGE=true out/target/product/generic_x86/lsdump_paths.txt Change-Id: I1cfa1526436d0587b801bd222f1037f743c0528d --- cc/cc.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cc/cc.go b/cc/cc.go index 4667a3d97..e5851d364 100644 --- a/cc/cc.go +++ b/cc/cc.go @@ -1194,6 +1194,11 @@ func (ctx *moduleContextImpl) shouldCreateSourceAbiDump() bool { return false } + // Coverage builds have extra symbols. + if ctx.mod.isCoverageVariant() { + return false + } + if ctx.ctx.Fuchsia() { return false }