[build] Fix more invocations to use relative paths.
Change-Id: I417ff793567a8adbbc4cc4fd4f77792c9a451f89 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/506280 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Aprelev <aam@google.com>
This commit is contained in:
committed by
dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent
c4d1c3a3e8
commit
d907fbb72b
@@ -36,13 +36,13 @@ template("copy_tree") {
|
||||
|
||||
common_args = [
|
||||
"--from",
|
||||
rebase_path(source),
|
||||
rebase_path(source, root_build_dir),
|
||||
"--to",
|
||||
rebase_path(dest),
|
||||
rebase_path(dest, root_build_dir),
|
||||
"--depfile",
|
||||
rebase_path(depfile),
|
||||
rebase_path(depfile, root_build_dir),
|
||||
"--stamp",
|
||||
rebase_path(stampfile),
|
||||
rebase_path(stampfile, root_build_dir),
|
||||
]
|
||||
if (defined(invoker.exclude)) {
|
||||
common_args += [
|
||||
|
||||
@@ -165,7 +165,8 @@ template("fuchsia_toolchain") {
|
||||
rspfile = "$outfile.rsp"
|
||||
symfile = "$outfile.sym"
|
||||
symbolizer_script =
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py")
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py",
|
||||
root_build_dir)
|
||||
|
||||
# Note that the unstripped_outfile is in the exe.stripped folder.
|
||||
# We should probably clean this up, but changing this and dart.cmx
|
||||
|
||||
@@ -202,7 +202,8 @@ template("gcc_toolchain") {
|
||||
command = "$ld {{ldflags}} -o $outfile -Wl,--start-group @$rspfile {{solibs}} -Wl,--end-group $libs_section_prefix {{libs}} $libs_section_postfix"
|
||||
|
||||
symbolizer_script =
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py")
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py",
|
||||
root_build_dir)
|
||||
symbolize_command =
|
||||
"$symbolizer_script --nm $nm --output $symfile --binary $outfile"
|
||||
command += " && $symbolize_command"
|
||||
|
||||
@@ -203,7 +203,8 @@ template("mac_toolchain") {
|
||||
commands += [ "$dsymutil -o $dsymdir $outfile" ]
|
||||
|
||||
symbolizer_script =
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py")
|
||||
rebase_path("//runtime/tools/dart_profiler_symbols.py",
|
||||
root_build_dir)
|
||||
commands +=
|
||||
[ "$symbolizer_script --nm $nm --output $symfile --binary $outfile" ]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user