• Vyacheslav Egorov's avatar
    Fix snapshot fingerprinting in --preview-dart-2 mode. (#14843) · 1f6b9471
    Vyacheslav Egorov authored
    * 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)
    1f6b9471
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...