Open HappyCerberus opened 2 years ago
FYI ran into the same issue, one suggestion I got to my question on the bazel slack channel was to walk the implementation_deps manually, which seems to work. It was by design that the compilation context only returns public properties.
Unsure whether manually combining all the depset propererties of the target's compilation context, as well as the implementation_dep's compilation contexts, is a general solution, but it seems to work in our case.
also hitting this and interested in a solution. @zpzjzj would your solution make sense to push up as a PR?
It seems that the implementation dependencies are not included in the compilation context, so clang-tidy doesn't see the headers.
I tried to debug this problem, but I actually have no idea where bazel puts the implementation dependencies since they are not in the sandbox directory.