Allow rules based toolchains to set compiler_files_without_includes #922
Since most of these are dictated by some combination of what tools you're using, and what configuration your toolchain is targeting, shouldn't this be populated by cc_tool and cc_args?
I looked at that but that's why I added something to the pr desc, I don't think we can derive that since we would have to manually exclude things (which is the whole value of this)
not as data; it'd be a new attribute.
so you're thinking on cc_tool (which would probably be enough for this case given it's use case) beside data we'd have data_without_headers and we'd collect those from the compile actions?
Yeah, naming might be fun with this one. include_scanning_exempt_data is long and signals the why but not the what. data_without_headers signals the what but not the why.
What if we flipped the problem? All data is include scanning exempt unless something like scanned_hdrs is set? Seems to signal the what and the why.
armandomontanez
keith
This field is preferred when include scanning is enabled so that bazel
can decide for itself what headers are actually needed.
Unlike the other fields this one is not something we can derive based
on
dataofcc_argsunless we tried to do some sneaky filtering