1. 09 May, 2018 1 commit
    • Chris Bracken's avatar
      Add pathFilter to Fingerprinter (#17412) · e4f55332
      Chris Bracken authored
      Allows users of Fingerprinter to filter the set of paths collected from
      the explicitly-specified paths and those collected from depfiles.
      
      In some cases, depfiles are emitted with files that are not present on
      the local disk (e.g. the frontend compiler currently emits buildbot
      paths for the dart core libraries and dart:ui). These files will not
      materially affect whether we need to re-run a build action for which
      they are inputs, since they're not present in the filesystem and
      therefore cannot change.
      e4f55332
  2. 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