summaryrefslogtreecommitdiff
path: root/rust/project_json_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 /rust/project_json_test.go
parent7e4c05fcc8df19d7930d2dc4bb35f4da971cc625 (diff)
parent9f6c24a887ee30ae27f42bc0ec26b0188b4c7fc7 (diff)
Merge "Rename BuildDir and NinjaBuildDir."
Diffstat (limited to 'rust/project_json_test.go')
-rw-r--r--rust/project_json_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/project_json_test.go b/rust/project_json_test.go
index bdd54c59b..f7b668122 100644
--- a/rust/project_json_test.go
+++ b/rust/project_json_test.go
@@ -36,7 +36,7 @@ func testProjectJson(t *testing.T, bp string) []byte {
// The JSON file is generated via WriteFileToOutputDir. Therefore, it
// won't appear in the Output of the TestingSingleton. Manually verify
// it exists.
- content, err := ioutil.ReadFile(filepath.Join(result.Config.BuildDir(), rustProjectJsonFileName))
+ content, err := ioutil.ReadFile(filepath.Join(result.Config.SoongOutDir(), rustProjectJsonFileName))
if err != nil {
t.Errorf("rust-project.json has not been generated")
}