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
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user