application_snapshot() template doesn't use the kernel-service snapshot

This speeds up the Engine build by a few minutes on Windows since
other snapshots don't have to be gated on building the kernel-service
snapshot.

related https://github.com/flutter/flutter/issues/84787

Change-Id: I8e0e81b36e043364b1cbba4626fc33b9ad1de7ed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/204920
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
This commit is contained in:
Zach Anderson 2021-06-30 00:41:02 +00:00 committed by commit-bot@chromium.org
parent 87a4f54b91
commit 895cae980b

View file

@ -142,7 +142,7 @@ template("_application_snapshot") {
# Explicitly set DFE so Dart doesn't implicitly depend on the kernel service
# snapshot (creating a circular dep. for kernel-service_snapshot).
dfe = "$_dart_root/pkg/vm/bin/kernel_service.dart"
dfe = "NEVER LOADED"
abs_depfile = rebase_path(depfile)
abs_output = rebase_path(output)
@ -199,7 +199,6 @@ template("application_snapshot") {
if (!defined(invoker.deps)) {
deps = []
}
deps += [ "$_dart_root/utils/kernel-service:kernel-service" ]
}
}