-
Notifications
You must be signed in to change notification settings - Fork 312
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
CLion support for cc_library implementation deps #6919
Conversation
7ffd69e
to
ef30d1a
Compare
quote_includes = compilation_context.quote_includes.to_list() | ||
system_includes = compilation_context.system_includes.to_list() | ||
|
||
if hasattr(ctx.rule.attr, "implementation_deps"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can't this information be obtained from CcInfo
provider?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think there is a way since bazel treats impl deps context different from the main context. CcInfo only exposes the main context as far as I can tell.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this way it looks nice
ef30d1a
to
6db1fa5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
# Conflicts: # .bazelrc # clwb/tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java
6db1fa5
to
b476b27
Compare
Discussion thread for this change
Issue number: #5149
Description of this change
Rebased PR #5220 and added an integration test for implementation_deps.