Files
sdk/pkg/dev_compiler/tool
Vijay Menon 2358366f56 Rewire DDC to use the analyzer task model
This is WIP - not quite ready for review.

Not all tests are passing yet.  Most checker and inference tests are passing, but about a quarter are failing - need to look.

The non-runtime changes under lib along with test/testing.dart are the only real changes.

We seem to be losing some type info - lots of new casts - but I see at least one removed.

R=brianwilkerson@google.com, jmesserly@google.com, leafp@google.com

Review URL: https://codereview.chromium.org/1355893003 .
2015-10-08 13:42:53 -07:00
..
2015-09-02 08:43:00 -07:00
2015-06-26 10:03:11 -07:00

Tools for processing the Dart SDK

patch_sdk.dart

This script combines:

tool/input_sdk/lib/...
tool/input_sdk/patch/...
tool/input_sdk/private/...

and produces the merged SDK sources in:

tool/generated_sdk/...

The result has all "external" keywords replaced with the @patch implementations.

Generally local edits should be to input_sdk/patch and input_sdk/private, as those two directories are specific to DDC. input_sdk/lib should represent unmodified SDK sources to the maximum extent possible. Currently there are slight edits to the type annotations in some cases.

See patch_sdk.dart for more information.

sdk_version_check.dart

Asserts that the Dart VM is at least a particular semantic version. It returns an exit code to make it easy to integrate with shell scripts.