mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
[build] Use an absolute path for the snapshot.
When constructing the command line for creating the kernel service snapshot, the variable `abs_output` actually contains a relative path, which means that copy/pasting the generated command line fails if not within the root build directory. This CL fixes that. Change-Id: I0d9fcafac489a6bd4771de1d6db1a2aa3623dcf8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200861 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
This commit is contained in:
parent
554c34ce27
commit
269828ed34
|
@ -145,7 +145,7 @@ template("_application_snapshot") {
|
|||
dfe = "$_dart_root/pkg/vm/bin/kernel_service.dart"
|
||||
|
||||
abs_depfile = rebase_path(depfile)
|
||||
abs_output = rebase_path(output, root_build_dir)
|
||||
abs_output = rebase_path(output)
|
||||
|
||||
vm_args = [
|
||||
"--deterministic",
|
||||
|
|
Loading…
Reference in a new issue