commit | 6aed9aec2e85c226de6b024bd4d253dea7d95e86 | [log] [tgz] |
---|---|---|
author | tfarina <[email protected]> | Sun Mar 08 03:54:07 2015 |
committer | Commit bot <[email protected]> | Sun Mar 08 03:54:54 2015 |
tree | 93a69451a7ffa1278c4ad47a241e99418a5ebc4c | |
parent | f1bb037074fde50988ca08e9c67e445fd37a8402 [diff] [blame] |
chrome: Simplify CPP files regex. This regex can be simplified down to a single-one. Similar to the way we already do elsewhere, like in //cc (https://chromium.googlesource.com/chromium/src/+/master/cc/PRESUBMIT.py) and ui/app_list (https://chromium.googlesource.com/chromium/src/+/master/ui/app_list/PRESUBMIT.py) BUG=None TEST=git cl presubmit -uv [email protected] Review URL: https://codereview.chromium.org/984073005 Cr-Commit-Position: refs/heads/master@{#319573}
diff --git a/chrome/PRESUBMIT.py b/chrome/PRESUBMIT.py index 9f4eefa7..195a5f6c 100644 --- a/chrome/PRESUBMIT.py +++ b/chrome/PRESUBMIT.py
@@ -11,7 +11,7 @@ import re INCLUDE_CPP_FILES_ONLY = ( - r'.*\.cc$', r'.*\.h$' + r'.*\.(cc|h)$', ) EXCLUDE = (