summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Lukács T. Berki <lberki@google.com> 2021-08-27 13:39:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-08-27 13:39:11 +0000
commit5602d33025c7af2fcd2d7e17a567048b8f12b9f5 (patch)
tree2347261216bbf72954f91b5c02f0253b6d6e33fd /java/java_test.go
parent7e4c05fcc8df19d7930d2dc4bb35f4da971cc625 (diff)
parent9f6c24a887ee30ae27f42bc0ec26b0188b4c7fc7 (diff)
Merge "Rename BuildDir and NinjaBuildDir."
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index b6780c20c..8bb017f0b 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -1183,7 +1183,7 @@ func checkPatchModuleFlag(t *testing.T, ctx *android.TestContext, moduleName str
break
}
}
- if expected != android.StringPathRelativeToTop(ctx.Config().BuildDir(), got) {
+ if expected != android.StringPathRelativeToTop(ctx.Config().SoongOutDir(), got) {
t.Errorf("Unexpected patch-module flag for module %q - expected %q, but got %q", moduleName, expected, got)
}
}