-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect system includes from obcj dependencies #351
Collect system includes from obcj dependencies #351
Conversation
Do you have an example of a graph where this isn't working? I'm surprised we haven't hit any issues internally with it. |
I guess the reason why the issue went unnoticed is that system includes cannot be specified through any of the A graph like |
Out of curiosity, have you checked to see if ObjcCompile actions will use the system includes from a If not, this patch looks fine (I'll need to test it internally), but I'd also like to decrease your dependence on something that we're trying to remove. |
It uses it but it does not propagate it, so |
22f0a85
to
ca56718
Compare
@allevato Is this ready to merge? |
Sorry for the delay on this; in addition to being stretched a bit thin right now, I've been in the middle of refactoring these rules to support some future work that we need. I'll look at adding this change in as part of that so that you don't have to rebase it in on top of a completely changed implementation. |
Fine, I'll close this then. Thanks @allevato |
So, unfortunately this isn't as straightforward as I'd hoped. Inside Google, we have some I'll need to dig a bit more to figure out how to gracefully handle this case before we can roll it out, but I want to re-open this so I don't lose track of it. |
This objc provider field is gone with this incompatible flag bazelbuild/bazel#11359 If there's another field we should use for this now feel free to submit a new PR! |
System includes are not collected from Objc providers of the dependencies.