8b2b6b2440
This reverts commit74c5aa3a7a. Reason for revert: Fix golem breakage by not changing the script dart_precompiled_runtime2 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 commitf81a402aa1. > > Reason for revert: golem benchmarks are failing to run > > TEST=ci > > 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" > > > > Fixed golem breakage by temporarily copying dartaotruntime to dart_precompiled_runtime > > > > This reverts commit75e6a748f7. > > > > TEST=ci > > Change-Id: I9efe40643c59bc617f6fb484b89b038deaffbb93 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393941 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import("../../runtime/runtime_args.gni")
|
|
import("../../sdk_args.gni")
|
|
import("../aot_snapshot.gni")
|
|
import("../application_snapshot.gni")
|
|
import("../create_timestamp.gni")
|
|
|
|
aot_snapshot("kernel_worker_aot") {
|
|
main_dart = "kernel_worker.dart"
|
|
name = "kernel_worker_aot"
|
|
output = "$root_gen_dir/kernel_worker_aot.dart.snapshot"
|
|
}
|
|
|
|
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
|
|
# and frontend_server_aot snapshot in an SDK build are
|
|
# always compatible with each other.
|
|
force_product_mode = !dart_debug
|
|
}
|
|
|
|
# Generation of this JIT snapshot can be removed in Dart SDK version 3.7
|
|
# Please see https://github.com/dart-lang/build/pull/3742 for more details
|
|
application_snapshot("kernel_worker") {
|
|
main_dart = "kernel_worker.dart"
|
|
training_args = [ "--help" ]
|
|
}
|
|
|
|
create_timestamp_file("kernel_worker_files_stamp") {
|
|
path = rebase_path("kernel_worker.dart")
|
|
output = "$target_gen_dir/kernel_worker.stamp"
|
|
}
|