Add coverage flags for Clang coverage builds.
Bug: 143977934 Test: m CLANG_COVERAGE=true Test: m NATIVE_COVERAGE=true Change-Id: I5d07d336e241856961eb0bc9678fdc9d5a076802
This commit is contained in:
@@ -767,7 +767,7 @@ func (a *apexBundle) IsSanitizerEnabled(ctx android.BaseModuleContext, sanitizer
|
||||
}
|
||||
|
||||
func (a *apexBundle) IsNativeCoverageNeeded(ctx android.BaseModuleContext) bool {
|
||||
return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled()
|
||||
return ctx.Device() && (ctx.DeviceConfig().NativeCoverageEnabled() || ctx.DeviceConfig().ClangCoverageEnabled())
|
||||
}
|
||||
|
||||
func (a *apexBundle) PreventInstall() {
|
||||
|
Reference in New Issue
Block a user