mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +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:
|
||
---|---|---|
.. | ||
analysis_server | ||
analyzer | ||
analyzer_cli | ||
analyzer_plugin | ||
async_helper | ||
browser | ||
compiler | ||
dart_messages | ||
dev_compiler | ||
expect | ||
front_end | ||
js | ||
js_ast | ||
kernel | ||
lookup_map | ||
meta | ||
microlytics | ||
status_file | ||
telemetry | ||
testing | ||
typed_mock | ||
.gitignore | ||
BUILD.gn | ||
pkg.status |