diff --git a/testing/scenario_app/compile_android_aot.sh b/testing/scenario_app/compile_android_aot.sh index eb22ebdafd7..bff6564ae8e 100755 --- a/testing/scenario_app/compile_android_aot.sh +++ b/testing/scenario_app/compile_android_aot.sh @@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then exit 1 fi +PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version) +echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub" + +$HOST_TOOLS/dart-sdk/bin/pub get + echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS." OUTDIR="${BASH_SOURCE%/*}/build/android" diff --git a/testing/scenario_app/compile_ios_aot.sh b/testing/scenario_app/compile_ios_aot.sh index 60596525438..45ec6016891 100755 --- a/testing/scenario_app/compile_ios_aot.sh +++ b/testing/scenario_app/compile_ios_aot.sh @@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then exit 1 fi +PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version) +echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub" + +$HOST_TOOLS/dart-sdk/bin/pub get + echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS." OUTDIR="${BASH_SOURCE%/*}/build/ios" diff --git a/testing/scenario_app/compile_ios_jit.sh b/testing/scenario_app/compile_ios_jit.sh index 565089f5624..fc27b4854b1 100755 --- a/testing/scenario_app/compile_ios_jit.sh +++ b/testing/scenario_app/compile_ios_jit.sh @@ -20,6 +20,11 @@ if [[ ! -d "$DEVICE_TOOLS" ]]; then exit 1 fi +PUB_VERSION=$($HOST_TOOLS/dart-sdk/bin/pub --version) +echo "Using Pub ${PUB_VERSION} from $HOST_TOOLS/dart-sdk/bin/pub" + +$HOST_TOOLS/dart-sdk/bin/pub get + echo "Using dart from $HOST_TOOLS, gen_snapshot from $DEVICE_TOOLS." OUTDIR="${BASH_SOURCE%/*}/build/ios"