"[SDK/VM] - Rename dart_precompiled_runtime to dartaotruntime, ensures we have a uniform name for the executable between the build directories and the SDK directory"

Fixed golem breakage by temporarily copying dartaotruntime to dart_precompiled_runtime

This reverts commit 75e6a748f7.

TEST=ci

Original change's description:
> Revert "[SDK/VM] - Rename dart_precompiled_runtime to dartaotruntime, ensures we have a uniform name for the executable between the build directories and the SDK directory"
>
> This reverts commit 1b331d05c2.
>
> Reason for revert: golem builds are failing
>
> Original change's description:
> > [SDK/VM] - Rename dart_precompiled_runtime to dartaotruntime, ensures we have a uniform name for the executable between the build directories and the SDK directory
> >
> > TEST=ci
> >

Change-Id: Id0f383eabb496c06c0acebc639c8e3b056ba82d0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393781
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
asiva
2024-11-06 03:10:31 +00:00
committed by Commit Queue
parent 1d4c570dc5
commit f81a402aa1
46 changed files with 220 additions and 150 deletions
+7 -1
View File
@@ -12,8 +12,14 @@ aot_snapshot("kernel_worker_aot") {
main_dart = "kernel_worker.dart"
name = "kernel_worker_aot"
output = "$root_gen_dir/kernel_worker_aot.dart.snapshot"
}
# dartaotruntime has dart_product_config applied to it,
aot_snapshot("kernel_worker_aot_product") {
main_dart = "kernel_worker.dart"
name = "kernel_worker_aot_product"
output = "$root_gen_dir/kernel_worker_aot_product.dart.snapshot"
# dartaotruntime in the dart SDK has dart_product_config applied to it,
# so it is built in product mode in both release and
# product builds, and is only built in debug mode in debug
# builds. The following line ensures that the dartaotruntime
+12 -4
View File
@@ -93,12 +93,20 @@ aot_snapshot("dart2js_sdk_aot") {
main_dart = "$target_gen_dir/dart2js.dart"
name = "dart2js_aot.dart"
output = "$root_gen_dir/dart2js_aot.dart.snapshot"
}
# dartaotruntime has dart_product_config applied to it,
# so it is built in # product mode in both release and
# product builds, and is only built in debug mode in debug
aot_snapshot("dart2js_sdk_aot_product") {
deps = [ ":dart2js_create_snapshot_entry" ]
main_dart = "$target_gen_dir/dart2js.dart"
name = "dart2js_aot_product.dart"
output = "$root_gen_dir/dart2js_aot_product.dart.snapshot"
# dartaotruntime in the dart sdk has dart_product_config applied to it,
# so it is built in product mode in both release and
# product sdks, and is built in debug mode in debug
# builds. The following line ensures that the dartaotruntime
# and dartdevc_aot snapshot in an SDK build are
# and dart2js aot snapshot in an SDK build are
# always compatible with each other.
force_product_mode = !dart_debug
}
+7 -1
View File
@@ -22,8 +22,14 @@ aot_snapshot("dartdevc_aot") {
main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart"
name = "dartdevc_aot"
output = "$root_gen_dir/dartdevc_aot.dart.snapshot"
}
# dartaotruntime has dart_product_config applied to it,
aot_snapshot("dartdevc_aot_product") {
main_dart = "../../pkg/dev_compiler/bin/dartdevc.dart"
name = "dartdevc_aot_product"
output = "$root_gen_dir/dartdevc_aot_product.dart.snapshot"
# dartaotruntime in the dart sdk has dart_product_config applied to it,
# so it is built in product mode in both release and
# product builds, and is only built in debug mode in debug
# builds. The following line ensures that the dartaotruntime
+12 -5
View File
@@ -69,12 +69,19 @@ aot_snapshot("frontend_server_aot") {
main_dart = "../../pkg/frontend_server/bin/frontend_server_starter.dart"
name = "frontend_server_aot"
output = "$root_out_dir/frontend_server_aot.dart.snapshot"
}
# dartaotruntime has dart_product_config applied to it, so it is built in
# product mode in both release and product builds, and is only built in debug
# mode in debug builds. The following line ensures that the dartaotruntime and
# frontend_server_aot snapshot in an SDK build are always compatible with
# each other.
aot_snapshot("frontend_server_aot_product") {
main_dart = "../../pkg/frontend_server/bin/frontend_server_starter.dart"
name = "frontend_server_aot_product"
output = "$root_out_dir/frontend_server_aot_product.dart.snapshot"
# dartaotruntime in the dart sdk has dart_product_config applied to it,
# so it is built in product mode in both release and
# product sdks, and is built in debug mode in debug
# builds. The following line ensures that the dartaotruntime
# and frontend_server aot snapshot in an SDK build are
# always compatible with each other.
force_product_mode = !dart_debug
}