1. 07 Sep, 2017 1 commit
  2. 06 Sep, 2017 2 commits
  3. 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
  4. 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
  5. 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
  6. 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
  7. 16 Aug, 2017 3 commits
  8. 11 Aug, 2017 1 commit
  9. 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
  10. 01 Aug, 2017 2 commits
  11. 19 Jul, 2017 1 commit
  12. 10 Jul, 2017 1 commit
    • Todd Volkert's avatar
      Minor fixes in tools: (#11009) · 926a096e
      Todd Volkert authored
      * Include the process' `stdout` and `stderr` when it returns a
        non-zero exit code in `runCheckedAsync()`
      * Defensively catch errors in `AndroidDevice.isAppInstalled()`
        and return false
      926a096e
  13. 07 Jul, 2017 1 commit
  14. 05 Jul, 2017 2 commits
  15. 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
  16. 26 Jun, 2017 2 commits
  17. 09 Jun, 2017 1 commit
  18. 02 Jun, 2017 1 commit
  19. 25 May, 2017 1 commit
  20. 24 May, 2017 1 commit
  21. 19 May, 2017 1 commit
  22. 18 May, 2017 1 commit
  23. 16 May, 2017 1 commit
  24. 12 May, 2017 1 commit
  25. 09 May, 2017 1 commit
  26. 05 May, 2017 1 commit
    • Jakob Andersen's avatar
      Improve Android builds. (#9801) · 6b54137a
      Jakob Andersen authored
      Eagerly generate local.properties, and always update the flutter.sdk
      setting in it, in case FLUTTER_ROOT has changed.
      
      Fixes #8365.
      Fixes #9716 - at least the specific issue reported. My Android Studio
      still complains about Gradle versions - it ships with v3.2, but requires
      v3.3...
      
      Add a 'generate dependencies' task to the Gradle build, which checks if
      the snapshot dependencies file exists, and runs an extra build before
      the actual FlutterTask if it doesn't. This makes the first build slower,
      but sub-sequent builds (without source changes) much faster.
      
      Fixes #9717.
      6b54137a
  27. 04 May, 2017 1 commit
  28. 03 May, 2017 1 commit
  29. 02 May, 2017 1 commit
  30. 27 Apr, 2017 1 commit
  31. 26 Apr, 2017 3 commits
  32. 25 Apr, 2017 1 commit