1. 16 Mar, 2018 1 commit
  2. 09 Mar, 2018 1 commit
  3. 07 Mar, 2018 2 commits
  4. 06 Mar, 2018 1 commit
  5. 02 Mar, 2018 1 commit
  6. 23 Feb, 2018 1 commit
    • 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
  7. 20 Feb, 2018 1 commit
  8. 14 Feb, 2018 1 commit
  9. 12 Feb, 2018 1 commit
  10. 08 Feb, 2018 1 commit
  11. 02 Feb, 2018 1 commit
  12. 01 Feb, 2018 1 commit
  13. 16 Jan, 2018 1 commit
  14. 11 Jan, 2018 3 commits
  15. 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
  16. 05 Dec, 2017 1 commit
  17. 30 Nov, 2017 1 commit
  18. 22 Nov, 2017 1 commit
  19. 21 Nov, 2017 1 commit
    • Martin Kustermann's avatar
      Add support for NDK discovery and add --prefer-shared-library option (#12788) · 545ec9ef
      Martin Kustermann authored
      * Add support for NDK discovery and add --prefer-shared-library option
      
      We would like to be able to use native tools (e.g. simpleperf, gdb) with
      precompiled flutter apps.  The native tools work much better with *.so
      files instead of the custom formats the Dart VM uses by default.
      
      The reason for using blobs / instruction snapshots is that we do not
      want to force flutter users to install the Android NDK.
      
      This CL adds a `--prefer-shared-library` flag to e.g. `flutter build
      apk` which will use the NDK compiler (if available) to turn the
      precompiled app assembly file to an `*.so` file.  If the NDK compiler is
      not available it will default to the default behavior.
      
      * Rebase, add test for NDK detection, augment flutter.gradle with @Input for flag
      
      * Use InMemoryFileSystem for test
      
      * Remove unused import
      
      * Address some analyzer warnings
      545ec9ef
  20. 22 Oct, 2017 1 commit
  21. 17 Oct, 2017 1 commit
  22. 06 Oct, 2017 1 commit
  23. 03 Oct, 2017 1 commit
    • Alexander Markov's avatar
      Add hidden options --extra-front-end-options and --extra-gen-snapshot-options... · 7153dea2
      Alexander Markov authored
      Add hidden options --extra-front-end-options and --extra-gen-snapshot-options to flutter tool (#12219)
      
      This CL introduces 2 hidden options to 'flutter build aot' and 'flutter run' for passing arbitrary arguments to front-end server and to gen_snapshot tool when building and running flutter app in --profile or --release modes.
      
      The ability to pass arbitrary options simplifies various experiments, as it removes the need to change defaults and rebuild flutter engine for every tested configuration.
      7153dea2
  24. 07 Sep, 2017 1 commit
  25. 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
  26. 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
  27. 31 Aug, 2017 1 commit
  28. 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
  29. 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
  30. 16 Aug, 2017 3 commits
  31. 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
  32. 07 Aug, 2017 1 commit
  33. 01 Aug, 2017 1 commit
  34. 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
  35. 09 Jun, 2017 1 commit