diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-20 10:29:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-20 10:29:14 +0200 |
commit | 446d4f91b38bcf2f12f645389e10b443c02c2a00 (patch) | |
tree | d06987010a9f08f05dc58718b8b5eaf740ec0445 /libbuild2/cc/target.cxx | |
parent | c6c8d0be6fd99b2d8ac32c23d1a4141cdbdcd107 (diff) |
Adjust conditional dependency declaration warning logic
Now instead of ignoring imported stuff (which turned out to be racy), we only
consider conditions up to the include boundary. The thinking here is that an
included (but not sourced) buildfile is a standalone entity (e.g., imported
project but also could be just a side-included buildfile).
Note that unfortunately we will still be issuing warnings in imported projects
since there is no straightforward way to know what is being distributed and
what is not while parsing.
Diffstat (limited to 'libbuild2/cc/target.cxx')
0 files changed, 0 insertions, 0 deletions