mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 19:55:23 +00:00
Create the frontend_server snapshot as a part of the sdk
This will allow us to use it from webdev, as it now supports DDC output. Change-Id: I4b82d1c45d2c058abb062dddd2a2c41cc6318c45 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130134 Reviewed-by: Keerti Parthasarathy <keertip@google.com> Reviewed-by: Jonah Williams <jonahwilliams@google.com> Reviewed-by: Vijay Menon <vsm@google.com> Commit-Queue: Jake Macdonald <jakemac@google.com>
This commit is contained in:
parent
053fb6ad56
commit
24a0601d5b
|
@ -182,6 +182,10 @@ _full_sdk_snapshots = [
|
|||
"pub",
|
||||
"../utils/pub",
|
||||
],
|
||||
[
|
||||
"frontend_server",
|
||||
"../utils/kernel-service:frontend_server",
|
||||
],
|
||||
]
|
||||
if (include_dart2native && dart_target_arch != "ia32") {
|
||||
_full_sdk_snapshots += [ [
|
||||
|
|
|
@ -182,6 +182,10 @@ _full_sdk_snapshots = [
|
|||
"pub",
|
||||
"../utils/pub",
|
||||
],
|
||||
[
|
||||
"frontend_server",
|
||||
"../utils/kernel-service:frontend_server",
|
||||
],
|
||||
]
|
||||
if (include_dart2native && dart_target_arch != "ia32") {
|
||||
_full_sdk_snapshots += [ [
|
||||
|
|
|
@ -59,7 +59,19 @@ application_snapshot("frontend_server") {
|
|||
"--platform=$sdk_root/vm_platform_strong.dill",
|
||||
rebase_path(main_dart),
|
||||
]
|
||||
output = "$root_out_dir/frontend_server.dart.snapshot"
|
||||
output = "$root_gen_dir/frontend_server.dart.snapshot"
|
||||
}
|
||||
|
||||
copy("copy_frontend_server") {
|
||||
deps = [
|
||||
":frontend_server",
|
||||
]
|
||||
sources = [
|
||||
"$root_gen_dir/frontend_server.dart.snapshot",
|
||||
]
|
||||
outputs = [
|
||||
"$root_out_dir/frontend_server.dart.snapshot",
|
||||
]
|
||||
}
|
||||
|
||||
template("kernel_service_dill") {
|
||||
|
|
Loading…
Reference in a new issue