summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authornewt <newt@chromium.org>2015-01-23 10:10:51 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-23 18:11:57 +0000
commitd8b7d30e9afe371540e481820c46ca7e9da809a2 (patch)
tree65d013d84862e501b3de5255d991c2d9a23d234d /PRESUBMIT.py
parentb5a99f2c1652471236c5d07403faa42bf53420df (diff)
downloadchromium_src-d8b7d30e9afe371540e481820c46ca7e9da809a2.zip
chromium_src-d8b7d30e9afe371540e481820c46ca7e9da809a2.tar.gz
chromium_src-d8b7d30e9afe371540e481820c46ca7e9da809a2.tar.bz2
Don't run checkstyle on non-source-code.
In particular, checkstyle shouldn't run on third-party code. Review URL: https://codereview.chromium.org/866273002 Cr-Commit-Position: refs/heads/master@{#312876}
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index ad5b854..8eb1d2d 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -1218,7 +1218,7 @@ def _CheckJavaStyle(input_api, output_api):
return checkstyle.RunCheckstyle(
input_api, output_api, 'tools/android/checkstyle/chromium-style-5.0.xml',
- black_list=_EXCLUDED_PATHS)
+ black_list=_EXCLUDED_PATHS + input_api.DEFAULT_BLACK_LIST)
def _CheckForCopyrightedCode(input_api, output_api):