flutter/packages/flutter_tools/lib
Vyacheslav Egorov 1f6b9471a8
Fix snapshot fingerprinting in --preview-dart-2 mode. (#14843)
* Fix snapshot fingerprinting in --preview-dart-2 mode.

This is a follow up to PR #14775 - instead of treating dill file
as an input treat as intermediate file and don't fingerprint it.

Make sure to always use original main Dart file as an entry
point for fingerprint calculation.

This fixes an issue that AOT snapshot would not be recompiled in
the preview-dart-2 mode if entry point changes, e.g.

$ flutter build aot -t t/x.dart --preview-dart-2
$ flutter build aot -t t/y.dart --preview-dart-2

The second invocation would not build AOT snapshot.

(This issue is visible on the microbencmarks bot)
2018-02-23 21:40:19 +01:00
..
src Fix snapshot fingerprinting in --preview-dart-2 mode. (#14843) 2018-02-23 21:40:19 +01:00
executable.dart unnessary parenthesis (#14475) 2018-02-06 09:00:11 +01:00
runner.dart Fix flutter tools packages_test when run off bots (#14692) 2018-02-21 09:54:07 -08:00