Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: PRESUBMIT.py

Issue 697053005: ignore /win/ files in presubmit for wstring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index ee872e269c047ec2b64fafdb93537f3d7bc0149f..3b39479546837f61a5219ecbaa4a6b29a1589256 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698