aboutsummaryrefslogtreecommitdiffhomepage
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-03-25 07:21:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-25 07:21:20 -0700
commit18e55800c629fe321dbf803f0c80fb67f23caf97 (patch)
tree15b46330919a39cfd73a5b7dd82356cfbcc30770 /PRESUBMIT.py
parent73bb4562a631d54ee2343ce2becea0070eb31a80 (diff)
More file types to check for (C).
- objective C++ (31) - objective C (4) - C (2) - alternate C++ extension (1) - Go (1) BUG=skia: Review URL: https://codereview.chromium.org/1032143002
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 9abe70f727..00835f9ef9 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -144,6 +144,11 @@ def _CommonChecks(input_api, output_api):
x.LocalPath().endswith('.gyp') or
x.LocalPath().endswith('.py') or
x.LocalPath().endswith('.sh') or
+ x.LocalPath().endswith('.m') or
+ x.LocalPath().endswith('.mm') or
+ x.LocalPath().endswith('.go') or
+ x.LocalPath().endswith('.c') or
+ x.LocalPath().endswith('.cc') or
x.LocalPath().endswith('.cpp'))
results.extend(
_CheckChangeHasEol(