summaryrefslogtreecommitdiff
path: root/build/art.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/art.go')
-rw-r--r--build/art.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/art.go b/build/art.go
index a6cd944227..01cb44a89c 100644
--- a/build/art.go
+++ b/build/art.go
@@ -288,7 +288,7 @@ func testInstall(ctx android.InstallHookContext) {
defer artTestMutex.Unlock()
tests := testMap[name]
- tests = append(tests, ctx.Path().ToMakePath().String())
+ tests = append(tests, ctx.Path().String())
testMap[name] = tests
}
@@ -315,7 +315,7 @@ func addTestcasesFile(ctx android.InstallHookContext) {
defer artTestMutex.Unlock()
src := ctx.SrcPath().String()
- path := strings.Split(ctx.Path().ToMakePath().String(), "/")
+ path := strings.Split(ctx.Path().String(), "/")
// Keep last two parts of the install path (e.g. bin/dex2oat).
dst := strings.Join(path[len(path)-2:], "/")
if oldSrc, ok := testcasesContent[dst]; ok {