commit | 24be83c988f11d09a66dc3a223a872e8aba8e77c | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Aug 29 23:01:23 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Aug 29 23:01:23 2013 |
tree | d0e54aaa4485acf3cfa34298477ad57acf0b0939 | |
parent | b6149371bc9960c92fac76caaa9548da409312b9 [diff] [blame] |
Don't issue presubmit warning for use of wstrings in Windows-only files. BUG=none TEST=none [email protected] Review URL: https://chromiumcodereview.appspot.com/22338004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220415 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/PRESUBMIT.py b/PRESUBMIT.py index 7f4af43..cefb599 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py
@@ -309,7 +309,7 @@ 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