mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This change will make Flutter's frontend_server validate that any kernel file given to it was produced by the same Dart SDK hash as the frontend_server itself is based upon. Notice that this implies one cannot use the prebuilt Dart SDK's frontend_server and give it kernel files produced in the current build iff //third_party/dart is at a different SDK hash. (By-default the prebuilt Dart SDK and //third_party/dart are based on the same git commit hash) => This is mainly relevant for people who change //third_party/dart during local development (e.g. for preparing rolls, ...) => In such cases one should pass "--no-prebuilt-dart-sdk" to flutter/tools/gn The effect of this change is that one will get a clear message on mismatched kernel files instead of possibly an exception from the CFE. The change is changing the Flutter build actions similar to how [0] changed the Dart build actions. Issue https://github.com/flutter/flutter/issues/92679 [0] https://dart-review.googlesource.com/c/sdk/+/152802