diff options
author | Ulf Adams <ulfjack@google.com> | 2016-10-25 07:32:41 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-10-25 20:17:14 +0000 |
commit | 9dd245aa89b94d5679cc26a59810d8354c3cf660 (patch) | |
tree | 89349e6ea66e9c7d2e6d48fc108599eef54d851f /site/blog | |
parent | b1f55c83baef679a2b8628d1aba658e0283aab4f (diff) |
Add a flag to lock down isystem include checks.
If this flag is disabled, Bazel continues to behave as previously - includes
reached through isystem paths are completely ignored, i.e., they don't have
to be declared in any rule. This applies primarily to cc_library.includes.
When the flag is enabled, Bazel gives an error for any such header file that
isn't declared in srcs or hdrs of a dependent rule.
Goes towards fixing #1162.
RELNOTES[NEW]: Use --strict_system_includes to apply hdrs_check=strict also to
cc_library.includes, even if sandboxing is disabled.
--
MOS_MIGRATED_REVID=137125638
Diffstat (limited to 'site/blog')
0 files changed, 0 insertions, 0 deletions