mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:17:55 +00:00
b48584d3d0
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:
|
||
---|---|---|
.. | ||
parser | ||
scanner | ||
testing | ||
type_inference | ||
analyze_test.dart | ||
ast_builder_test.dart | ||
bootstrap_test.dart | ||
compile_test.dart | ||
outline_test.dart | ||
sdk_test.dart | ||
shaker_test.dart | ||
strong_test.dart | ||
uri_translator_test.dart |