summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2014-11-04 17:59:57 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-05 02:00:14 +0000
commite6f0440932ca40307d7df95a7bd5721b5ef3be24 (patch)
treeb4a6d291b1d9dcf5643c27b2f002e5b8f26b1c9d /PRESUBMIT.py
parent357d1f8cc2c53eebafa512b258acd6b18d0c44ab (diff)
downloadchromium_src-e6f0440932ca40307d7df95a7bd5721b5ef3be24.zip
chromium_src-e6f0440932ca40307d7df95a7bd5721b5ef3be24.tar.gz
chromium_src-e6f0440932ca40307d7df95a7bd5721b5ef3be24.tar.bz2
ignore /win/ files in presubmit for wstring
R=cpu@chromium.org Review URL: https://codereview.chromium.org/697053005 Cr-Commit-Position: refs/heads/master@{#302740}
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index ee872e2..3b39479 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -361,7 +361,8 @@ def _CheckNoNewWStrings(input_api, output_api):
problems = []
for f in input_api.AffectedFiles():
if (not f.LocalPath().endswith(('.cc', '.h')) or
- f.LocalPath().endswith(('test.cc', '_win.cc', '_win.h'))):
+ f.LocalPath().endswith(('test.cc', '_win.cc', '_win.h')) or
+ '/win/' in f.LocalPath()):
continue
allowWString = False