Rename native code coverage paths product variables in Soong.

Rename `CoveragePath` and `CoverageExcludePaths` as
`NativeCoveragePath` and `NativeCoverageExcludePaths` (resp.).
Also rename function `android.CoverageEnabledForPath` as
`android.NativeCoverageEnabledForPath`.

Test: m nothing
Bug: 158212027
Change-Id: Id2c11a638e88088096420b537effa866d7667304
This commit is contained in:
Roland Levillain
2020-06-09 12:44:06 +01:00
parent 4e372f7841
commit 4f5297b438
4 changed files with 17 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ func testRustContext(t *testing.T, bp string, coverage bool) *android.TestContex
if coverage {
config.TestProductVariables.Native_coverage = proptools.BoolPtr(true)
config.TestProductVariables.CoveragePaths = []string{"*"}
config.TestProductVariables.NativeCoveragePaths = []string{"*"}
}
t.Helper()