[build] Correctly rebase kernel-service output for depfile

Otherwise ninja thinks kernel-service is always dirty.

Change-Id: I40fdddf25bddeb4546e520e7d8f0137eedf87bfd
Reviewed-on: https://dart-review.googlesource.com/75780
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
This commit is contained in:
Zach Anderson 2018-09-20 17:59:50 +00:00 committed by commit-bot@chromium.org
parent cbf60679eb
commit 0bbdd8f7d9

View file

@ -80,10 +80,10 @@ prebuilt_dart_action("kernel_service_dill") {
depfile = "$root_gen_dir/kernel_service_dill.d"
abs_depfile = rebase_path(depfile)
abs_output = rebase_path(output)
rebased_output = rebase_path(output, root_out_dir)
vm_args = [
"--depfile=$abs_depfile",
"--depfile_output_filename=$abs_output",
"--depfile_output_filename=$rebased_output",
]
script = gen_kernel_script