mirror of
https://github.com/dart-lang/sdk
synced 2024-10-07 18:18:52 +00:00
363c71c9c1
This CL adds a flag, `assume-initialize-from-dill-up-to-date`, to the `frontend_server` which will skip the check and potential invalidation of files from the dill we're initializing from. Normally the sources included in the dill is used to figure out what files that was used to produce the dill has changed and thus needs to be invalidated after we've initialized from it. If we didn't do that we'd be in a bad state where some changes would not be discovered. In some circumstances, though, we might know that the sources haven't changed and the check is thus not needed. This could for instance be if we're initializing from a dill that was just build by another build system. Change-Id: Id8244125fd79465be89ac81d603cd624339fbc0e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219040 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Jens Johansen <jensj@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
test | ||
LICENSE | ||
pubspec.yaml | ||
README.md |
The frontend_server package is used by both the flutter command line tool and the frontend_server_client package (used by webdev and package:test).
API Stability
Changes to the command line API or behavior should be tested against the follwing test suites (in addition to normal HHH testing):
- flutter_tools: https://github.com/flutter/flutter/tree/master/packages/flutter_tools
- frontend_server_client: https://github.com/dart-lang/webdev/tree/master/frontend_server_client
Otherwise these changes will need to be carefully coordinated with the flutter tooling and frontend_server_client teams.
This API stability does not cover any of the source code APIs.
Stable subset
- The frontend_server kernel compilation and expression evaluation for kernel should be considered "stable".
- The frontend_server JavaScript compilation is semi-stable, but clients should anticipate coordinated breaking changes in the future.
- The frontend_server JavaScript expression evaluation is experimental and is expected to change significantly from Dec 2020 through the end of 2021.
- Specific flags like the --flutter-widget-cache may be added for experimentation and should not be considered stable.