Switch flutter_tools from script to app-jit snapshot. (#27749)

This commit is contained in:
Jonah Williams
2019-03-15 19:33:24 -07:00
committed by GitHub
parent 23326db7a1
commit 72605d2406
5 changed files with 32 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ function upgrade_flutter () {
retry_upgrade
"$DART" --snapshot="$SNAPSHOT_PATH" --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH"
"$DART" --snapshot="$SNAPSHOT_PATH" --snapshot-kind=app-jit --packages="$FLUTTER_TOOLS_DIR/.packages" "$SCRIPT_PATH" training
echo "$revision" > "$STAMP_PATH"
fi
# The exit here is duplicitous since the function is run in a subshell,