Update buildbot-build.sh
'make' has been deprecated. Change to using soong_ui.bash --make-mode
instead.
Test: ./art/tools/buildbot-build.sh --host
Change-Id: I86d111d6f5132fe8155a27b0a807d47c821e5169
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh
index a7be41b..9ef5fdf 100755
--- a/tools/buildbot-build.sh
+++ b/tools/buildbot-build.sh
@@ -64,7 +64,7 @@
extra_args="SOONG_ALLOW_MISSING_DEPENDENCIES=true TEMPORARY_DISABLE_PATH_RESTRICTIONS=true"
if [[ $mode == "host" ]]; then
- make_command="make $j_arg $extra_args $showcommands build-art-host-tests $common_targets"
+ make_command="build/soong/soong_ui.bash --make-mode $j_arg $extra_args $showcommands build-art-host-tests $common_targets"
make_command+=" dx-tests junit-host"
mode_suffix="-host"
elif [[ $mode == "target" ]]; then
@@ -72,7 +72,7 @@
echo 'ANDROID_PRODUCT_OUT environment variable is empty; did you forget to run `lunch`?'
exit 1
fi
- make_command="make $j_arg $extra_args $showcommands build-art-target-tests $common_targets"
+ make_command="build/soong/soong_ui.bash --make-mode $j_arg $extra_args $showcommands build-art-target-tests $common_targets"
make_command+=" libjavacrypto-target libnetd_client-target toybox toolbox sh"
make_command+=" debuggerd su"
make_command+=" libstdc++ "