commit | 246659993ca5e43621f11711d7935223b6d1f295 | [log] [tgz] |
---|---|---|
author | David Hubbard <dsp@google.com> | Wed Jun 08 19:16:39 2022 -0700 |
committer | David Hubbard <dsp@google.com> | Wed Jun 08 19:16:39 2022 -0700 |
tree | bb743da64d559a781ff8bb839ee67ccebd09e6b5 | |
parent | 1e5938f5528ffe4ba70e3eb304e191540e88bb3e [diff] |
Subninja chdir: clean up logspam Warnings would be spammed if a subninja (not a chdir) was used: ninja: warning: Node "%s" not in a child of target %p "" This fixes ResolveChdir() by first walking the target up the tree to the next chdir or root node. This prevents the child being searched for from flying past the target and hitting the root node unexpectedly. Change-Id: I1136d8432a2172e432023c48626270f21da51049