mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
[build] Fix application_snapshot.gni for uses outside of utils/xyz.
Cf. 74cff6c7df
Change-Id: I7af53019bbe4bfe3eba8fc3a4648ec70a26cbc90
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117013
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
7badd807b1
commit
351acd155d
1 changed files with 8 additions and 7 deletions
|
@ -78,11 +78,12 @@ template("_application_snapshot") {
|
|||
# Build the kernel file using the prebuilt VM to speed up the debug and
|
||||
# simulator builds.
|
||||
prebuilt_dart_action(target_name + "_dill") {
|
||||
deps = extra_deps + [
|
||||
"../../runtime/vm:kernel_platform_files($dart_host_toolchain)",
|
||||
"../../runtime/vm:vm_platform",
|
||||
]
|
||||
gen_kernel_script = "../../pkg/vm/bin/gen_kernel.dart"
|
||||
deps =
|
||||
extra_deps + [
|
||||
"$_dart_root/runtime/vm:kernel_platform_files($dart_host_toolchain)",
|
||||
"$_dart_root/runtime/vm:vm_platform",
|
||||
]
|
||||
gen_kernel_script = "$_dart_root/pkg/vm/bin/gen_kernel.dart"
|
||||
platform_dill = "$root_out_dir/vm_platform_strong.dill"
|
||||
|
||||
inputs = extra_inputs + [
|
||||
|
@ -91,7 +92,7 @@ template("_application_snapshot") {
|
|||
main_dart,
|
||||
dot_packages,
|
||||
]
|
||||
output = "$root_gen_dir/$name.dart.dill"
|
||||
output = "$target_gen_dir/$name.dart.dill"
|
||||
outputs = [
|
||||
output,
|
||||
]
|
||||
|
@ -131,7 +132,7 @@ template("_application_snapshot") {
|
|||
deps = extra_deps + [ ":${target_name}_dill" ]
|
||||
depfile = "$output.d"
|
||||
|
||||
script = "$root_gen_dir/$name.dart.dill"
|
||||
script = "$target_gen_dir/$name.dart.dill"
|
||||
|
||||
inputs = extra_inputs
|
||||
|
||||
|
|
Loading…
Reference in a new issue