Update path to SOONG_HOST_OUT
Bug: 383892968
Test: OUT_DIR=out ./prebuilts/build-tools/build-prebuilts.sh --skip-asan --skip-go --skip-soong-tests
Change-Id: I6b5665d220a443dda094595de5e6937b3ff2da5d
diff --git a/build-prebuilts.sh b/build-prebuilts.sh
index ceed9c8..af4c2e1 100755
--- a/build-prebuilts.sh
+++ b/build-prebuilts.sh
@@ -78,7 +78,7 @@
if [ -n "${build_soong}" ]; then
SOONG_OUT=${OUT_DIR}/soong
- SOONG_HOST_OUT=${OUT_DIR}/soong/host/${OS}-x86
+ SOONG_HOST_OUT=${OUT_DIR}/host/${OS}-x86
[[ -z "${clean}" ]] || rm -rf ${SOONG_OUT}
mkdir -p ${SOONG_OUT}
rm -rf ${SOONG_OUT}/dist ${SOONG_OUT}/dist-common ${SOONG_OUT}/dist-arm64
@@ -203,7 +203,7 @@
# Build cross-compiled musl arm64 binaries, except for go binaries
# since Blueprint doesn't have cross compilation support for them.
- SOONG_HOST_ARM_OUT=${OUT_DIR}/soong/host/linux-arm64
+ SOONG_HOST_ARM_OUT=${OUT_DIR}/host/linux-arm64
cross_binaries="${SOONG_BINARIES[@]/#/${SOONG_HOST_ARM_OUT}/bin/}"
cross_binaries="${cross_binaries} ${SOONG_MUSL_BINARIES[@]/#/${SOONG_HOST_ARM_OUT}/bin/}"