PRESUBMIT: Add authorized-authors check + AUTHORS e-mails.
This check will throw a PRESUBMIT error if the author or
organization is not present in the AUTHORS file.
E-mail wildcard entries were also added to the organizations
in the AUTHORS file.
BUG=webrtc:6852
NOTRY=True
Review-Url: https://codereview.webrtc.org/2564613002
Cr-Commit-Position: refs/heads/master@{#15591}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 7a64845..e05ac75 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -491,6 +491,8 @@
input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace(
input_api, output_api))
+ results.extend(input_api.canned_checks.CheckAuthorizedAuthor(
+ input_api, output_api))
results.extend(input_api.canned_checks.CheckChangeTodoHasOwner(
input_api, output_api))
results.extend(_CheckNativeApiHeaderChanges(input_api, output_api))