summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorgman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 03:22:53 +0000
committergman@chromium.org <gman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-14 03:22:53 +0000
commit1084cccae8d99c74a8c343334141b26229172bd8 (patch)
tree4539caa8943bb241bc075b8d6ac6c973eb722ec7 /PRESUBMIT.py
parentf798d7a4a79a04ea303558e1b24d4161fb0b84d7 (diff)
downloadchromium_src-1084cccae8d99c74a8c343334141b26229172bd8.zip
chromium_src-1084cccae8d99c74a8c343334141b26229172bd8.tar.gz
chromium_src-1084cccae8d99c74a8c343334141b26229172bd8.tar.bz2
Make presubmit ignore files that end in _autogen.h
The GPU code generates relatively complicated code. We generate that code and check in the generated files to make it easy to use codereview to see what was generated makes sense. Unfortunately, keeping the generator always generating lint error free code is hard. We mark lines that have issues with // NOLINT but that feature has apparently been removed from our lint so instead we'd just like to have presubmit ignore *_autogen.h files. R=maruel@chromium.org BUG=none TEST=checked that it did indeed exclude *_autogen.h files Review URL: http://codereview.chromium.org/9692059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126542 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index e94741f..b042b7c 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -19,6 +19,7 @@ _EXCLUDED_PATHS = (
r"^skia[\\\/].*",
r"^v8[\\\/].*",
r".*MakeFile$",
+ r".+_autogen\.h$",
)