We now support native code coverage in mixed build.

Bug: 233660582
Test: None
Change-Id: Ied34189293d754256a0f69a8473f77a5d27597ea
This commit is contained in:
Yu Liu
2022-12-21 14:31:43 -08:00
parent 62e4fe15dc
commit 482b0ecb80

View File

@@ -595,10 +595,6 @@ func (c *config) IsMixedBuildsEnabled() bool {
fmt.Fprintln(os.Stderr, "unsupported env var GLOBAL_THINLTO for Bazel: falling back to non-mixed build")
return false
}
if c.IsEnvTrue("CLANG_COVERAGE") {
fmt.Fprintln(os.Stderr, "unsupported env var CLANG_COVERAGE for Bazel: falling back to non-mixed build")
return false
}
if len(c.productVariables.SanitizeHost) > 0 {
fmt.Fprintln(os.Stderr, "unsupported product var SanitizeHost for Bazel: falling back to non-mixed build")
return false