1. 02 Mar, 2018 1 commit
  2. 14 Feb, 2018 2 commits
  3. 12 Feb, 2018 1 commit
  4. 08 Feb, 2018 1 commit
  5. 29 Jan, 2018 1 commit
    • Todd Volkert's avatar
      Extensibility improvements to flutter_tools (#14299) · 1859e82a
      Todd Volkert authored
      * Make the current command injected into the AppContext, allowing
        other classes to inject the current command.
      * Introduce `AssetBundleFactory`, an injected factory class for
        spawning instances of `AssetBundle`. This allows other run contexts
        to use custom asset bundling logic.
      * Clean up RunCommand by removing a 'packages' argument that duplicated
        a global argument by the same name (and for the same purpose).
        Duplicate arguments are confusing and error-prone.
      1859e82a
  6. 12 Jan, 2018 1 commit
  7. 11 Jan, 2018 4 commits
  8. 04 Jan, 2018 1 commit
    • Siva's avatar
      support for --strong option (#13859) · 426d6b06
      Siva authored
      * Plumb a --strong option through to the front end server and the engine
      so that we can run flutter apps in preview-dart-2 and strong mode
      
      * - Address analyzer lint issues
      *- correctly set up strong mode option in the case of AOT builds
      426d6b06
  9. 14 Dec, 2017 1 commit
  10. 10 Nov, 2017 1 commit
  11. 31 Aug, 2017 1 commit
  12. 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
  13. 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
  14. 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
  15. 23 Aug, 2017 1 commit
  16. 16 Aug, 2017 3 commits
  17. 11 Aug, 2017 1 commit
  18. 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
  19. 01 Aug, 2017 1 commit
  20. 05 Jul, 2017 1 commit
    • Chris Bracken's avatar
      Skip AOT snapshot build if inputs are unchanged (#11084) · b5e522e2
      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 (or the previous output file) has
      changed.
      b5e522e2
  21. 30 Jun, 2017 2 commits
    • 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
    • Chris Bracken's avatar
      Make _createSnapshot private, depfilePath required (#11054) · c1c15225
      Chris Bracken authored
      * Only one call to createSnapshot exists, and it's in the same library.
      
      * Eliminate conditional logic around the presence of depfilePath, the
        only existing call always passes a non-null depfilePath.
      c1c15225
  22. 06 Apr, 2017 1 commit
  23. 31 Mar, 2017 1 commit
  24. 23 Mar, 2017 2 commits
  25. 20 Mar, 2017 1 commit
    • Jakob Andersen's avatar
      Remove legacy .apk build. (#8793) · 7b2367ed
      Jakob Andersen authored
      * Remove legacy .apk build.
      
      Print out an error message telling the user to upgrade the project if
      it's not Gradle-based. Removed all the obvious traces of the legacy
      build.
      
      Added support for Dart VM kernel snapshots in Gradle builds.
      
      Fixed Android installs to verify that the app is actually installed, and
      not just rely on the presence of the .sha1 file.
      7b2367ed
  26. 14 Mar, 2017 2 commits
    • Jason Simmons's avatar
      Fix the gen_snapshot path for a local_engine FLX build in debug mode (#8754) · e44f513e
      Jason Simmons authored
      gen_snapshot is now used for both JIT and AOT snapshots.  The JIT version
      used in debug mode will be a 64-bit binary.
      e44f513e
    • Jakob Andersen's avatar
      Use snapshot's .d file as source inputs in Gradle build. (#8756) · 9c6ffc82
      Jakob Andersen authored
      * Use snapshot's .d file as source inputs in Gradle build.
      
      If we don't yet have a .d file (first build), fall back to using the
      .dart files in the current directory. This enables us to detect changes
      in dependent source files (Flutter framework, packages outside the
      source directory, etc.), and re-generate the snapshots as needed.
      
      Unfortunately, Gradle requires knowing the source files before executing
      the task, and can't update them after building, so Gradle considers the
      second build to be out-of-date (because it has more input files than the
      first build). Sub-sequent builds have the correct dependency
      information, and will be skipped if the source files haven't changed.
      
      Also added a dependency on gen_snapshot. The snapshot ABI isn't stable,
      so we need to re-generate the snapshots when we roll the Dart SDK
      dependency.
      
      Fixes #8315
      Fixes #8687
      Fixes #8607
      9c6ffc82
  27. 08 Mar, 2017 1 commit
  28. 04 Mar, 2017 1 commit
  29. 02 Mar, 2017 1 commit
  30. 23 Feb, 2017 1 commit
  31. 22 Feb, 2017 1 commit