diff --git a/engine/src/flutter/testing/scenario_app/compile_android_aot.sh b/engine/src/flutter/testing/scenario_app/compile_android_aot.sh index eb22ebdafd..bff6564ae8 100755 --- a/engine/src/flutter/testing/scenario_app/compile_android_aot.sh +++ b/engine/src/flutter/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/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh b/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh index 6059652543..45ec601689 100755 --- a/engine/src/flutter/testing/scenario_app/compile_ios_aot.sh +++ b/engine/src/flutter/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/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh b/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh index 565089f562..fc27b4854b 100755 --- a/engine/src/flutter/testing/scenario_app/compile_ios_jit.sh +++ b/engine/src/flutter/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"