ANDROID: Update test scripts to provide destdir instead of dist_dir

Build was changed to use pkg_install instead of the deprecated
copy-to-dist-dir, so the build option needs to be switched to use
--destdir.

Bug: 331730853
Change-Id: I5063c0676cfeafff3100396f2171ac17b338a2ff
Signed-off-by: Edward Liaw <edliaw@google.com>
This commit is contained in:
Edward Liaw
2024-09-24 17:01:37 +00:00
parent 8c9762ff1d
commit 4be14b7b15
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ if $BUILD_KERNEL; then
echo "Building kernel..."
# TODO: add support to build kernel for physical device
$BAZEL run $BUILD_FLAGS //common-modules/virtual-device:virtual_device_x86_64_dist -- \
--dist_dir=$DIST_DIR
--destdir=$DIST_DIR
exit_code=$?
if [ $exit_code -eq 0 ]; then
echo "Build kernel succeeded"
+1 -1
View File
@@ -141,7 +141,7 @@ if $BUILD_KERNEL; then
echo "Building kernel..."
# TODO: add support to build kernel for physical device
$BAZEL run $BUILD_FLAGS //common-modules/virtual-device:virtual_device_x86_64_dist -- \
--dist_dir=$DIST_DIR
--destdir=$DIST_DIR
exit_code=$?
if [ $exit_code -eq 0 ]; then
echo "Command succeeded"