Support path exclusion for native coverage.
Specify list of paths to exclude from coverage instrumentation. Test: make NATIVE_COVERAGE=true COVERAGE_PATHS=hardware/interfaces COVERAGE_EXCLUDE_PATHS=hardware/interfaces/graphics Bug: 35769817 Change-Id: I3bf10e5e5697d140d6cff73d000768b00aa28ca4
This commit is contained in:
@@ -121,8 +121,9 @@ type productVariables struct {
|
||||
ClangTidy *bool `json:",omitempty"`
|
||||
TidyChecks *string `json:",omitempty"`
|
||||
|
||||
NativeCoverage *bool `json:",omitempty"`
|
||||
CoveragePaths *[]string `json:",omitempty"`
|
||||
NativeCoverage *bool `json:",omitempty"`
|
||||
CoveragePaths *[]string `json:",omitempty"`
|
||||
CoverageExcludePaths *[]string `json:",omitempty"`
|
||||
|
||||
DevicePrefer32BitExecutables *bool `json:",omitempty"`
|
||||
HostPrefer32BitExecutables *bool `json:",omitempty"`
|
||||
|
Reference in New Issue
Block a user