1. 09 Oct, 2018 1 commit
  2. 01 Oct, 2018 3 commits
  3. 28 Sep, 2018 1 commit
    • Stanislav Baranov's avatar
      Implement build flow for hot updates on Android (#22391) · 54c10f44
      Stanislav Baranov authored
      This also involves switching from Core JIT to App JIT snapshot, and replacing per-isolate VM snapshot with the shared VM snapshot.
      
      For now there is no separate update bundle file, as the generated update gets packaged directly into the APK for testing purposes.
      54c10f44
  4. 20 Sep, 2018 1 commit
  5. 12 Sep, 2018 1 commit
  6. 07 Sep, 2018 2 commits
    • Chris Bracken's avatar
      Revert "Eliminate snapshot/depfile options to build bundle (#21507)" (#21563) · 5ab9e707
      Chris Bracken authored
      This tickled a bug in KernelCompiler.compile() where the fingerprinter
      doesn't include the outputFilePath in its list of dependencies. As such,
      if the output .dill file is missing or corrupted, the fingerprint still
      matches and re-compile is skipped, even though it shouldn't be. I'll fix
      that in a followup, then look at how this triggered that issue. My
      hypothesis is that that it's due to the aot kernel compile and bundle
      kernel compile have separate output directories for the .dill files
      (build/ vs build/aot) but the same output directory for the associated
      depfiles (due to this patch).
      
      This reverts commit 43a106e9.
      5ab9e707
    • Chris Bracken's avatar
      Eliminate snapshot/depfile options to build bundle (#21507) · 43a106e9
      Chris Bracken authored
      The --snapshot argument was only necessary in Dart 1. The --depfile
      argument was only used in Dart 2 mode to pass to the kernel compiler,
      but was inconsistent with the 'build aot' command, where the depfile was
      always set to build/kernel_compile.d.
      
      This patch updates 'build bundle' to emit the depfile to a location
      consistent with the 'build aot' command; since it's not intended to be
      user-configurable and flutter.gradle hardcodes the location to
      build/kernel_compile.d either way, this patch also eliminates the
      ability to configure the filename altogether.
      43a106e9
  7. 04 Sep, 2018 2 commits
    • Chris Bracken's avatar
      Eliminate script snapshot support (#21387) · ed0b8be0
      Chris Bracken authored
      Script snapshots were only every used in Dart 1 mode, which is no longer
      supported.
      ed0b8be0
    • Chris Bracken's avatar
      Eliminate --preview-dart-2 flag (#21304) · 041ff621
      Chris Bracken authored
      This patch eliminates the --preview-dart-2/--no-preview-dart-2 flag,
      hardcoding all uses to true. It also defaults all previewDart2 method
      parameters to true, where they hadn't yet been.
      
      A series of subsequent patches will eliminate all previewDart2
      parameters and the associated code from within the codebase.
      041ff621
  8. 16 Aug, 2018 2 commits
  9. 15 Aug, 2018 5 commits
  10. 15 Jun, 2018 1 commit
  11. 13 Jun, 2018 1 commit
    • Chris Bracken's avatar
      Revert elimination of Dart 1 (#18460) · 2ae48845
      Chris Bracken authored
      fuchsia_tester.dart still assumes Dart 1. Previously, it ran tests directly
      from source, flutter_platform.dart automatically runs a kernel compile when
      operating in Dart 2 mode, but this assumes a functional Dart SDK is available
      in the artifacts directly, and fuchsia_tester.dart mocks out the artifacts
      directory with an empty temp dir.
      
      Remaining work is:
      1. Get the frontend server building as a dependency on Fuchsia.
      2. Patch fuchsia_tester.dart to use a valid Dart SDK and frontend server.
      
      This also reverts migration to Dart 2 typedef syntax.
      
      This reverts commit 6c56bb24. (#18362)
      This reverts commit 3daebd05. (#18316)
      2ae48845
  12. 08 Jun, 2018 3 commits
    • Chris Bracken's avatar
      It's time to #deleteDart1 (again) (#18316) · 3daebd05
      Chris Bracken authored
      * It's time to #deleteDart1 (#18293)
      
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      
      * Fix indentation, remove no longer necessary .toList()
      
      * Only push udpated kernel if >0 invalidated srcs
      3daebd05
    • Chris Bracken's avatar
      Revert "It's time to #deleteDart1 (#18293)" (#18313) · 9495df4b
      Chris Bracken authored
      Several benchmarks started failing during kernel compile:
      1. Timeouts:
         * commands_test
         * hot_mode_dev_cycle__benchmark
         * run_machine_concurrent_hot_reload
         * service_extensions_test
      
      2. Kernel compiler crash:
         * hot_mode_dev_cycle_linux__benchmark
         * routing_test
      
      3. Unexpected termination:
         * hot_mode_dev_cycle_win__benchmark
      
      This reverts commit ed63e708.
      9495df4b
    • Chris Bracken's avatar
      It's time to #deleteDart1 (#18293) · ed63e708
      Chris Bracken authored
      Eliminates support for Dart 1 in flutter_tools, and drops our Dart 1
      benchmarks. All commands now run in Dart 1 mode only.
      
      Eliminates --preview-dart-2 / --no-preview-dart-2 support.
      ed63e708
  13. 05 Jun, 2018 1 commit
  14. 24 May, 2018 1 commit
  15. 14 May, 2018 1 commit
  16. 09 May, 2018 1 commit
    • Chris Bracken's avatar
      Add caching for kernel compiles during AOT builds (#17439) · 5d8d14b7
      Chris Bracken authored
      We've always cached kernel compiles during bundle builds. This adds
      caching for kernel compiles during AOT builds by moving caching into the
      KernelCompiler.compile() method rather than around each invocation of it.
      
      This also filters buildbot paths included by the kernel compile that are
      not present on the local machine at paths /b/build/slave/Linux_Engine/...
      The kernel compiler should probably include an option to not emit these
      paths in the depfile, since these are used both by Gradle and the
      Fingerprinter class.
      5d8d14b7
  17. 08 May, 2018 1 commit
    • Chris Bracken's avatar
      Update kernel compile log message (#17390) · 671489ff
      Chris Bracken authored
      Updates the message emitted when a kernel compile is skipped in the
      build bundle action. Since we now use fingerprinting to enable
      performance of script snapshots, AOT snapshots, and kernel compiles,
      this helps a bit with debugging.
      
      Also switches to trace level logging.
      671489ff
  18. 04 May, 2018 1 commit
    • Chris Bracken's avatar
      Add Fingerprinter class (#17255) · 66c7b6a9
      Chris Bracken authored
      Adds a Fingerprinter utility class that can be used to compute unique
      fingerprints for a set of input paths and build options, compare to the
      output of a previous run, and skip the build action if no inputs or
      options have changed. The existing Fingerprint class still does all the
      heavy lifting. Fingerprinter adds common operations such as
      reading/writing/comparing fingerprints and parsing depfiles.
      
      This migrates existing uses of Fingerprint over to Fingerprinter.
      
      This also adds better fingerprinting to AOT snapshotting, which
      previously failed to include several options in its fingerprint
      (--preview-dart-2, --prefer-shared-library).
      66c7b6a9
  19. 01 May, 2018 1 commit
  20. 24 Apr, 2018 2 commits
  21. 12 Apr, 2018 3 commits
  22. 17 Mar, 2018 3 commits
  23. 16 Mar, 2018 2 commits