commit | 7ba1ca0ac3f08cfda1d5455ed194123ac654bf03 | [log] [tgz] |
---|---|---|
author | Jiakai Zhang <jiakaiz@google.com> | Wed May 10 17:04:53 2023 +0100 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Fri May 12 11:16:22 2023 +0000 |
tree | 702943c501db385d5d2584476bfafc972ebe2daf | |
parent | 4e9eb1ae46ea2d5914a616454f0a92579cdc85f2 [diff] [blame] |
Unify installDirOnHost and installDirOnDevice. These two fields never do what they are described to do. This CL unifies them to avoid the confusion. Bug: 280440941 Test: m (cherry picked from https://android-review.googlesource.com/q/commit:09d88df0407263e846b01c226184b262f2e36678) Merged-In: I3652d73a50832a2e494d9f5cae750f5fc38293b4 Change-Id: I3652d73a50832a2e494d9f5cae750f5fc38293b4
diff --git a/java/testing.go b/java/testing.go index 4ff2aa4..6671bf0 100644 --- a/java/testing.go +++ b/java/testing.go
@@ -610,9 +610,9 @@ }) } -// Sets the value of `installDirOnDevice` of the boot image config with the given name. +// Sets the value of `installDir` of the boot image config with the given name. func FixtureSetBootImageInstallDirOnDevice(name string, installDir string) android.FixturePreparer { return FixtureModifyBootImageConfig(name, func(config *bootImageConfig) { - config.installDirOnDevice = installDir + config.installDir = installDir }) }