-
Notifications
You must be signed in to change notification settings - Fork 302
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
Added external_include paths to system includes switch #6284
Conversation
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.
The general idea looks good, but could you add tests? Ideally both aspect tests aspect/
and an example project in examples
.
I added an example project. But I am not sure how to write a test for this because I need to enable the |
I think the reason the project fails to build on mac is because bazel passes the include directories using
|
The process can get a little complicated for sure, but there is a way. We can:
|
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number: #4980
Description of this change
Support for external_includes. Fixes #4980. When
--features=external_include_paths
is specified includes are added tocompilation_context.external_includes
and no longer tocompilation_context.includes
.