summaryrefslogtreecommitdiffstats
path: root/third_party/PRESUBMIT.py
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@chromium.org>2015-09-23 17:39:29 +0100
committerPrimiano Tucci <primiano@chromium.org>2015-09-23 16:41:36 +0000
commitc2aa2ce2da1b8feec53ea6a859981659eeec5525 (patch)
tree0dc919ba7efac211685b7dde12419ceb887cb49a /third_party/PRESUBMIT.py
parent8dfd8bbbbd97d86ba5fee6cd7502d16382f51d95 (diff)
downloadchromium_src-c2aa2ce2da1b8feec53ea6a859981659eeec5525.zip
chromium_src-c2aa2ce2da1b8feec53ea6a859981659eeec5525.tar.gz
chromium_src-c2aa2ce2da1b8feec53ea6a859981659eeec5525.tar.bz2
Exempt WebKit from third_party PRESUBMIT check for README updates
BUG=none R=primiano@chromium.org Review URL: https://codereview.chromium.org/1365653002 . Cr-Commit-Position: refs/heads/master@{#350327}
Diffstat (limited to 'third_party/PRESUBMIT.py')
-rw-r--r--third_party/PRESUBMIT.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/PRESUBMIT.py b/third_party/PRESUBMIT.py
index 623b14b..e42ad8a 100644
--- a/third_party/PRESUBMIT.py
+++ b/third_party/PRESUBMIT.py
@@ -42,7 +42,9 @@ def _CheckThirdPartyReadmesUpdated(input_api, output_api):
local_path = f.LocalPath()
if input_api.os_path.dirname(local_path) == 'third_party':
continue
- if local_path.startswith('third_party' + input_api.os_path.sep):
+ if (local_path.startswith('third_party' + input_api.os_path.sep) and
+ not local_path.startswith('third_party' + input_api.os_path.sep +
+ 'WebKit' + input_api.os_path.sep)):
files.append(f)
if local_path.endswith("README.chromium"):
readmes.append(f)