summaryrefslogtreecommitdiff
path: root/rust/project_json_test.go
diff options
context:
space:
mode:
author Lukacs T. Berki <lberki@google.com> 2021-08-26 15:07:24 +0200
committer Lukacs T. Berki <lberki@google.com> 2021-08-27 10:08:49 +0200
commit9f6c24a887ee30ae27f42bc0ec26b0188b4c7fc7 (patch)
treef8caaf07c4265d4e50a5d13a2dd34923889753ef /rust/project_json_test.go
parent60dc5c0db29aed77aee195d0e5db608361a98d75 (diff)
Rename BuildDir and NinjaBuildDir.
These are just out/ and out/soong/ and the old names were quite confusing. Test: Presubmits. Merged-In: I999ca62162062f27e449f83ffb00fa580d4065b8 Merged-In: I2fcd80a9e376a6842a06aa104a9f6f5c5e16f8c7 Change-Id: Ib481d2aac40df8da1b74174dc8ec576c1cb48be0
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")
}