commit | b3dd6ea54b471469d46ad13d9ef0ee1de4bb7b7d | [log] [tgz] |
---|---|---|
author | Chris Parsons <cparsons@google.com> | Tue May 17 02:03:00 2022 +0000 |
committer | Chris Parsons <cparsons@google.com> | Tue May 17 02:03:00 2022 +0000 |
tree | a68bee0f478641d9bf339357f595f5c0fab92298 | |
parent | e2408a6ab1aeb6d46c31410cd2f180c67a6e7cd2 [diff] |
Set output mtime of phony edges to latest inputs This is a partial cherrypick of https://github.com/ninja-build/ninja/pull/1964/ which fixes a build correctness bug for phony edges. Previously, actions with implicit dependencies on phony targets would not rerun if the inputs to these phony targets were changed. Test: Manually verified bug fix with repro case described in b/232030877#comment27 Test: New unit test Change-Id: I1d58abb9c46e9a31f0cb3b44bf45e87f8f301209