Skip to content

Commit cc46252

Browse files
a-sivaCommit Queue
authored andcommitted
Revert "[SDK] Remove build rule for dart_precompiled_runtime"
This reverts commit c65057e. 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 <[email protected]> > Commit-Queue: Siva Annamalai <[email protected]> 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 <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]> Reviewed-by: Alexander Aprelev <[email protected]> Bot-Commit: Rubber Stamper <[email protected]>
1 parent 9e0f184 commit cc46252

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

runtime/bin/BUILD.gn

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -903,6 +903,23 @@ dart_executable("dart") {
903903
}
904904
}
905905

906+
# This rule is here to ensure benchmark suites do not break, it can be
907+
# removed once the benchmark suites are updated.
908+
group("dart_precompiled_runtime") {
909+
deps = [
910+
":copy_dart_precompiled_runtime",
911+
":dartaotruntime",
912+
]
913+
}
914+
915+
copy("copy_dart_precompiled_runtime") {
916+
visibility = [ ":dart_precompiled_runtime" ]
917+
deps = [ ":dartaotruntime" ]
918+
src_dir = get_label_info(":dartaotruntime", "root_out_dir")
919+
sources = [ "$src_dir/dartaotruntime${executable_suffix}" ]
920+
outputs = [ "$root_out_dir/dart_precompiled_runtime${executable_suffix}" ]
921+
}
922+
906923
dart_executable("dartaotruntime") {
907924
extra_configs = [
908925
"..:dart_aotruntime_config",

0 commit comments

Comments
 (0)