summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 23:01:23 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-29 23:01:23 +0000
commit24be83c988f11d09a66dc3a223a872e8aba8e77c (patch)
treed0e54aaa4485acf3cfa34298477ad57acf0b0939
parentb6149371bc9960c92fac76caaa9548da409312b9 (diff)
downloadchromium_src-24be83c988f11d09a66dc3a223a872e8aba8e77c.zip
chromium_src-24be83c988f11d09a66dc3a223a872e8aba8e77c.tar.gz
chromium_src-24be83c988f11d09a66dc3a223a872e8aba8e77c.tar.bz2
Don't issue presubmit warning for use of wstrings in Windows-only files.
BUG=none TEST=none R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/22338004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220415 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--PRESUBMIT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 7f4af43..cefb599 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -309,7 +309,7 @@ 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')):
+ f.LocalPath().endswith(('test.cc', '_win.cc', '_win.h'))):
continue
allowWString = False