Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add presubmit rule banning relative header includes
Relative header includes (#include path containing "../") can be used to cheat the dependency system because they're not checked properly. This CL adds a presubmit rule to catch these. This rules applies to third_party/WebKit, but not anywhere else in third_party/. There's one currently existing file I know of that would fail this rule: ppapi/lib/gl/include/GLES2/gl2.h I did not change this file when cleaning up the other headers since it appears to be code imported from a third-party repo. I guess whoever updates this file will have to bypass the rule. BUG=724264 Review-Url: https://codereview.chromium.org/2900173003 Cr-Commit-Position: refs/heads/master@{#474396}
- Loading branch information