Revert "[SDK] Remove build rule for dart_precompiled_runtime"

This reverts commit c65057eda0.

Reason for revert: golem build breakage

Original change's description:
> [SDK] Remove build rule for dart_precompiled_runtime
>
> TEST=ci
>
> Change-Id: I2fa2de462a9170941ed9201ba14182d490de65cb
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/395683
> Reviewed-by: Alexander Aprelev <aam@google.com>
> Commit-Queue: Siva Annamalai <asiva@google.com>

Change-Id: Iba090f1c62468d2cdbce51f9fbfc5102fc4d37d6
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/396161
Auto-Submit: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
This commit is contained in:
Siva Annamalai
2024-11-18 21:40:36 +00:00
committed by Commit Queue
parent 9e0f1840c3
commit cc46252520
+17
View File
@@ -903,6 +903,23 @@ dart_executable("dart") {
}
}
# This rule is here to ensure benchmark suites do not break, it can be
# removed once the benchmark suites are updated.
group("dart_precompiled_runtime") {
deps = [
":copy_dart_precompiled_runtime",
":dartaotruntime",
]
}
copy("copy_dart_precompiled_runtime") {
visibility = [ ":dart_precompiled_runtime" ]
deps = [ ":dartaotruntime" ]
src_dir = get_label_info(":dartaotruntime", "root_out_dir")
sources = [ "$src_dir/dartaotruntime${executable_suffix}" ]
outputs = [ "$root_out_dir/dart_precompiled_runtime${executable_suffix}" ]
}
dart_executable("dartaotruntime") {
extra_configs = [
"..:dart_aotruntime_config",