Local instance for cuttlefish will set ANDROID_HOST_OUT for launch_cvd.
launch_cvd looks for the host bins in $ANDROID_HOST_OUT which is fine if
you've built the image yourself but if you've downloaded the images,
then it can't find anything since launch_cvd isn't made aware of the dir
that holds all the downloaded host bins. Now we set $ANDROID_HOST_OUT to
wherever launch_cvd is invoked so that launch_cvd can find its dependent
bins.
Bug: 120115171
Test: atest acloud_test
acloud create --local-instance --image-download-dir /path/to/dir
acloud create --local-instance
Change-Id: Iac56285ba0e4a6560f0c2377a9e3d54f55538ab6
3 files changed