1. 28 Mar, 2018 1 commit
  2. 12 Mar, 2018 1 commit
  3. 08 Nov, 2017 1 commit
  4. 12 Oct, 2017 1 commit
  5. 06 Oct, 2017 1 commit
  6. 12 Sep, 2017 1 commit
  7. 07 Sep, 2017 1 commit
  8. 06 Sep, 2017 1 commit
    • Chris Bracken's avatar
      Log checksum validation errors at trace level (#11944) · ce08bf9a
      Chris Bracken authored
      Checksum validation is intended only as a performance improvement.
      Checksum de-serialization errors (typically framework version mismatch) are
      expected on framework updates and shouldn't be user-visible except for
      informational purposes when --verbose is set.
      ce08bf9a
  9. 05 Sep, 2017 1 commit
    • Chris Bracken's avatar
      Invalidate snapshot when entrypoint changes (#11913) · c896fe2f
      Chris Bracken authored
      Adds the app entrypoint as a key in the checksum file.
      
      This change eliminates the assumption that checksummed files change when
      the main entrypoint changes. In the case where there are two
      entrypoints, a.dart and b.dart and a.dart imports b.dart and b.dart
      imports a.dart, building the app with entrypoint a.dart followed by a
      build of the app with entrypoint b.dart would result in the same
      files list and checksums, but should invalidate the build.
      c896fe2f
  10. 29 Aug, 2017 1 commit
    • Chris Bracken's avatar
      Extract snapshotting logic to Snapshotter class (#11820) · 27d3e8a4
      Chris Bracken authored
      Extract a Snapshotter class that can be shared between FLX snapshotting,
      AOT snapshotting, and assembly AOT snapshotting. Allows for better
      testability of snapshotting logic.
      
      * Extracts script snapshotting used in FLX build.
      * Adds tests for snapshot checksumming, build invalidation/skipping.
      
      Remaining work: disentangle + extract AOT snapshotting and Assembly AOT
      snapshotting logic from build_aot.dart.
      27d3e8a4
  11. 28 Aug, 2017 1 commit
    • Chris Bracken's avatar
      Avoid rebuilding snapshots if no change to source (#11551) (#11793) · 1ee94001
      Chris Bracken authored
      This change re-introduces skipping AOT snapshot builds if input sources
      and outputs have not changed since the last snapshot build, assuming a
      build for the same platform in the same build mode.
      
      This reverts commit 3d5afb5a.
      It includes the following changes relative to the original:
        1. Include the entrypoint source in the checksums
        2. include the build mode in the checksums
        3. include the target platform in the checksums
      1ee94001
  12. 25 Aug, 2017 1 commit
    • Chris Bracken's avatar
      Add version, build mode to the snapshot checksums (#11787) · fd54bd4c
      Chris Bracken authored
      This change ensures that snapshot build checksums used to avoid
      duplicate builds are invalidated by a change to framework revision
      (in case gen_snapshot is updated), as well as by build mode.
      
      Currently, only FLX snapshotting uses checksums to avoid duplicate
      builds. FLX snapshotting is always done with BuildMode.debug, so didn't
      include build mode in the checksum file.
      fd54bd4c
  13. 16 Aug, 2017 3 commits
  14. 11 Aug, 2017 1 commit
  15. 08 Aug, 2017 1 commit
    • 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
  16. 01 Aug, 2017 1 commit
  17. 05 Jul, 2017 2 commits
  18. 30 Jun, 2017 1 commit
    • Chris Bracken's avatar
      Skip snapshot build if inputs are unchanged (#11047) · 1438ae85
      Chris Bracken authored
      Previously, the snapshot file was recomputed on every build. We now
      record checksums for all snapshot inputs (which are catalogued in the
      snapshot dependencies file output alongside the snapshot) and only
      rebuild if the checksum for any input file has changed.
      1438ae85