dart-sdk/pkg/front_end/tool
Sigmund Cherem b48584d3d0 Switch FE to use the libraries.json format.
This CL:
  * introduces the Dart API to operate over libraries specifications and describes
    the format we intend to use (see libraries_spec.dart)

  * implements serialization/deserialization for this API

  * switches over the front_end to use these APIs
    * public options accept a URI to the JSON file and no longer
       accept a `dartLibraries` map
    * internal code uses the LibrariesSpecification API

  * switches other dependencies on these APIs (resynthesizer_test and patch_sdk.dart)

This is the first step in migrating over to use the libraries.json format and
eventually remove the patched_sdk step. In particular, some of the next steps
include:
  * add a build step to generate .json files from .yaml files
  * add a libraries.yaml file for the sdk
  * split the patched_sdk step in two:
     * patching files
     * generating .dill files
  * add any missing support for patch-files in fasta
  * finally remove the patching files step, and only have a build step for generating
   .dill files

BUG=
R=ahe@google.com, paulberry@google.com, scheglov@google.com

Committed: abf2d23af2
Review-Url: https://codereview.chromium.org/2986303003 .
2017-08-07 08:41:28 -07:00
..
_fasta Add dump-partial tool. 2017-07-26 15:19:42 -07:00
vm Fix hot reload test 2017-07-10 12:52:28 -07:00
example.dart Use URIs rather than paths in front end API. 2017-01-09 11:19:38 -08:00
fasta Add dump-partial tool. 2017-07-26 15:19:42 -07:00
fasta_perf.dart Switch FE to use the libraries.json format. 2017-08-07 08:41:28 -07:00
fasta_perf_test.dart Add script to run fasta as a benchmark 2017-02-17 14:33:56 -08:00
perf.dart Unifying compiler context 2017-07-18 17:02:59 -07:00
perf_test.dart Small fix to perf.dart. 2017-02-07 15:07:57 -08:00