Index: PRESUBMIT.py |
diff --git a/PRESUBMIT.py b/PRESUBMIT.py |
index 7c8d58e35a1bf00d995f381d618696bf2be1b534..f0eecfa7ddc51d042e6173e4ad3f6c43c3334134 100644 |
--- a/PRESUBMIT.py |
+++ b/PRESUBMIT.py |
@@ -8,7 +8,6 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
for more details about the presubmit API built into gcl. |
""" |
- |
Alexei Svitkine (slow)
2014/11/11 20:36:41
Nit: Revert changes to this file.
gayane -on leave until 09-2017
2014/11/12 22:00:23
Done.
|
_EXCLUDED_PATHS = ( |
r"^breakpad[\\\/].*", |
r"^native_client_sdk[\\\/]src[\\\/]build_tools[\\\/]make_rules.py", |
@@ -1073,7 +1072,7 @@ def _CheckUserActionUpdate(input_api, output_api): |
# for actions.xml will do a more complete presubmit check. |
return [] |
- file_filter = lambda f: f.LocalPath().endswith(('.cc', '.mm')) |
+ file_filter = lambda f: f.LocalPath().endswith(('.cc', '.mm', '.c', '.m')) |
action_re = r'[^a-zA-Z]UserMetricsAction\("([^"]*)' |
current_actions = None |
for f in input_api.AffectedFiles(file_filter=file_filter): |