Merge "Use a default exclude filter for JaCoCo in Soong."
This commit is contained in:
@@ -1052,7 +1052,7 @@ func (c *deviceConfig) SamplingPGO() bool {
|
||||
// represents any path.
|
||||
func (c *deviceConfig) JavaCoverageEnabledForPath(path string) bool {
|
||||
coverage := false
|
||||
if c.config.productVariables.JavaCoveragePaths == nil ||
|
||||
if len(c.config.productVariables.JavaCoveragePaths) == 0 ||
|
||||
InList("*", c.config.productVariables.JavaCoveragePaths) ||
|
||||
HasAnyPrefix(path, c.config.productVariables.JavaCoveragePaths) {
|
||||
coverage = true
|
||||
|
Reference in New Issue
Block a user