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/lib/... | 7 tool/input_sdk/lib/... |
8 tool/input_sdk/patch/... | 8 tool/input_sdk/patch/... |
9 tool/input_sdk/private/... | 9 tool/input_sdk/private/... |
10 | 10 |
11 and produces the merged SDK sources in: | 11 and produces the merged SDK sources in: |
12 | 12 |
13 tool/generated_sdk/... | 13 gen/patched_sdk/... |
14 | 14 |
15 The result has all "external" keywords replaced with the @patch implementations. | 15 The result has all "external" keywords replaced with the @patch implementations. |
16 | 16 |
17 Generally local edits should be to `input_sdk/patch` and `input_sdk/private`, | 17 Generally local edits should be to `input_sdk/patch` and `input_sdk/private`, |
18 as those two directories are specific to DDC. `input_sdk/lib` should represent | 18 as those two directories are specific to DDC. `input_sdk/lib` should represent |
19 unmodified SDK sources to the maximum extent possible. Currently there are | 19 unmodified SDK sources to the maximum extent possible. Currently there are |
20 slight edits to the type annotations in some cases. | 20 slight edits to the type annotations in some cases. |
21 | 21 |
22 See patch_sdk.dart for more information. | 22 See patch_sdk.dart for more information. |
23 | 23 |
24 # sdk_version_check.dart | 24 # sdk_version_check.dart |
25 | 25 |
26 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. |
27 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 |