diff options
author | scottmg <scottmg@chromium.org> | 2014-11-04 17:59:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-05 02:00:14 +0000 |
commit | e6f0440932ca40307d7df95a7bd5721b5ef3be24 (patch) | |
tree | b4a6d291b1d9dcf5643c27b2f002e5b8f26b1c9d /PRESUBMIT.py | |
parent | 357d1f8cc2c53eebafa512b258acd6b18d0c44ab (diff) | |
download | chromium_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.py | 3 |
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 |