tree: a61eb123cae739468b037d48b1c713a5f028e1bf [path history] [tgz]
  1. input_sdk/
  2. analyze.sh
  3. browser_test.sh
  4. build_pkgs.sh
  5. build_sdk.dart
  6. build_sdk.sh
  7. build_test_pkgs.sh
  8. coverage.sh
  9. dependency_overrides.sh
  10. format.sh
  11. get_chrome_canary.sh
  12. global_compile.dart
  13. override_analyzer_dependency.sh
  14. patch_sdk.dart
  15. patch_sdk.sh
  16. presubmit.sh
  17. README.md
  18. run.js
  19. sdk_expected_errors.txt
  20. sdk_version_check.dart
  21. test.sh
pkg/dev_compiler/tool/README.md

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:

gen/patched_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.