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:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user