dart-sdk/pkg/frontend_server
Daco Harkes 3466d6855a [frontend_server] Support @Native assets in compute_kernel
The utils/bazel/kernel_worker.dart entry-point uses
pkg/frontend_server/lib/compute_kernel.dart as entry-point.
So we need to cover this entry point to the frontend_server as well
to pass the native asset yaml file.

Upstreamed from cl/530924434 and cl/512913404.

Change-Id: I86204870807da4ee3e8a7b10c40a17862042da08
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/286141
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2023-05-16 09:50:38 +00:00
..
bin [pkg/frontend_server] use package:lints/recommended.yaml 2023-02-10 20:29:17 +00:00
lib [frontend_server] Support @Native assets in compute_kernel 2023-05-16 09:50:38 +00:00
test [dart2js] delete bin/dart2js.dart 2023-05-10 17:21:41 +00:00
analysis_options.yaml [pkg/frontend_server] use package:lints/recommended.yaml 2023-02-10 20:29:17 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml Update SDK constraints for SDK packages. 2023-03-09 19:52:47 +00:00
README.md Spelling 2023-01-30 18:29:59 +00:00

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 following test suites (in addition to normal HHH testing):

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.