| OLD | NEW |
| 1 ## Tools for processing the Dart SDK | 1 ## Tools for processing the Dart SDK |
| 2 | 2 |
| 3 # patch_sdk.dart | 3 # patch_sdk.dart |
| 4 | 4 |
| 5 This script combines: | 5 This script combines: |
| 6 | 6 |
| 7 tool/input_sdk_src/... | 7 tool/input_sdk/lib/... |
| 8 tool/input_sdk_patch/... | 8 tool/input_sdk/patch/... |
| 9 tool/input_sdk/private/... |
| 9 | 10 |
| 10 and produces the merged SDK sources in: | 11 and produces the merged SDK sources in: |
| 11 | 12 |
| 12 test/generated_sdk/... | 13 tool/generated_sdk/... |
| 13 | 14 |
| 14 The result has all "external" keywords replaced with the @patch implementations. | 15 The result has all "external" keywords replaced with the @patch implementations. |
| 15 | 16 |
| 16 Generally local edits should be to `input_sdk_patch`, as it is specific to DDC. | 17 Generally local edits should be to `input_sdk/patch` and `input_sdk/private`, |
| 17 `input_sdk_src` should represent unmodified SDK sources to the maximum extent | 18 as those two directories are specific to DDC. `input_sdk/lib` should represent |
| 18 possible. Currently there are slight edits to the type annotations in some | 19 unmodified SDK sources to the maximum extent possible. Currently there are |
| 19 cases. | 20 slight edits to the type annotations in some cases. |
| 20 | 21 |
| 21 See patch_sdk.dart for more information. | 22 See patch_sdk.dart for more information. |
| 22 | 23 |
| 23 # sdk_version_check.dart | 24 # sdk_version_check.dart |
| 24 | 25 |
| 25 Asserts that the Dart VM is at least a particular semantic version. | 26 Asserts that the Dart VM is at least a particular semantic version. |
| 26 It returns an exit code to make it easy to integrate with shell scripts. | 27 It returns an exit code to make it easy to integrate with shell scripts. |
| OLD | NEW |