Merge "Build module from source branch instead of using prebuilds when coverage is enabled." am: a535be6012
am: fb6a70e5a1
Change-Id: Id7426f8bf7db4a9ba173a2e073c964f03b451b25
This commit is contained in:
commit
de90ab86fa
1 changed files with 4 additions and 0 deletions
|
@ -1497,6 +1497,10 @@ func (p *Prebuilt) DepsMutator(ctx android.BottomUpMutatorContext) {
|
|||
// to build the prebuilts themselves.
|
||||
forceDisable = forceDisable || ctx.Config().UnbundledBuild()
|
||||
|
||||
// Force disable the prebuilts when coverage is enabled.
|
||||
forceDisable = forceDisable || ctx.DeviceConfig().NativeCoverageEnabled()
|
||||
forceDisable = forceDisable || ctx.Config().IsEnvTrue("EMMA_INSTRUMENT")
|
||||
|
||||
// b/137216042 don't use prebuilts when address sanitizer is on
|
||||
forceDisable = forceDisable || android.InList("address", ctx.Config().SanitizeDevice()) ||
|
||||
android.InList("hwaddress", ctx.Config().SanitizeDevice())
|
||||
|
|
Loading…
Reference in a new issue