summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbauman <jbauman@chromium.org>2014-11-14 08:26:39 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-14 16:26:59 +0000
commitaba0db32133733da205016bfa067f3960bce2b45 (patch)
treee9f13ec56abe1565876f0996865c3d101b0ae4d0
parentfd3d88693085923c7a5fade594b27890030c353e (diff)
downloadchromium_src-aba0db32133733da205016bfa067f3960bce2b45.zip
chromium_src-aba0db32133733da205016bfa067f3960bce2b45.tar.gz
chromium_src-aba0db32133733da205016bfa067f3960bce2b45.tar.bz2
Run cc/ PRESUBMIT.py checks on windows.
The regex was ignoring all windows-style paths. Review URL: https://codereview.chromium.org/723373002 Cr-Commit-Position: refs/heads/master@{#304221}
-rw-r--r--cc/PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/PRESUBMIT.py b/cc/PRESUBMIT.py
index a431d5d..71c4ea1f 100644
--- a/cc/PRESUBMIT.py
+++ b/cc/PRESUBMIT.py
@@ -11,7 +11,7 @@ for more details about the presubmit API built into depot_tools.
import re
import string
-CC_SOURCE_FILES=(r'^cc/.*\.(cc|h)$',)
+CC_SOURCE_FILES=(r'^cc/.*\.(cc|h)$', r'^cc\\.*\.(cc|h)$')
def CheckChangeLintsClean(input_api, output_api):
input_api.cpplint._cpplint_state.ResetErrorCounts() # reset global state