commit | 0b6be4353e4ee330e9b72228ba768b4f2cb56399 | [log] [tgz] |
---|---|---|
author | tzik <mail@tzik.jp> | Wed Oct 25 22:17:40 2017 +0900 |
committer | tzik <mail@tzik.jp> | Wed Oct 25 23:07:49 2017 +0900 |
tree | 4a2ca23cf7a422cd5c271c627cfc0fbd15dea98d | |
parent | e234a7bdb6c42f4539c0ab09b624f191287c2c10 [diff] |
Look up header dependencies on the first-output build Ninja has special syntax to specify the first output of the given node. E.g. it builds foo.o for foo.cc^. However, it doesn't work for headers, as headers usually doesn't appear in the regular dependency tree. After this change, Ninja looks up header dependencies from .ninja_deps to pick up a build target, so that it builds foo.o for foo.h^.