• Chris Bracken's avatar
    Avoid rebuilding snapshots if no change to source (#11551) · 74835db5
    Chris Bracken authored
    This change re-introduces skipping snapshot builds if input sources (and
    outputs) have not changed since the last snapshot build, with a bugfix
    to include the entry-point source in the checksum used to check whether
    rebuild can be skipped. This ensures that the following sequence
    invalidates the cached build, resulting in two snapshot builds:
    
      flutter build ios lib/foo.dart
      flutter build ios lib/bar.dart
    
    This reverts commit 3d5afb5a.
    74835db5
build_aot.dart 12.8 KB