summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2020-06-09 12:44:06 +0100
committerRoland Levillain <rpl@google.com>2020-06-10 13:00:07 +0100
commit4f5297b4388175ea34f33ef431ae71dd000313ac (patch)
tree7c15239e18c27ccaf9a95330e4d8ac5ee1efa6d8 /rust/rust_test.go
parent4e372f7841c1b80178fa91110b34018d7e4d7ae8 (diff)
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
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index d658ee201..fe21e3a39 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -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()