forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mojo] Update presubmit checks to prevent introducing old Mojo types
Following the work started in CL1796371, this change changes the logic of the PRESUBMIT.py script in order to raise ERRORS from now on when deprecated mojo types are introduced in Blink, and raise WARNINGS when those old types are introduced everywhere else but //components/arc, which hasn't been migrated yet (see crrev.com/c/1868870). We didn't do this before to prevent too many "false positives" when moving code around, but since all of Blink has been migrated now and nearly everything outside of Blink (but //components/arc) is nearly finished, this seems like a good moment to flip the switch. See the "Mojo Bindings Conversion CheatSheet" for more information: https://docs.google.com/document/d/1Jwfbzbe8ozaoilhqj5mAPYbYGpgZCen_XAAAdwmyP1E Bug: 955171 Change-Id: I1f7b62ff6841935a43c462dc266d3f3aa632aa80 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1961908 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Mario Sanchez Prada <mario@igalia.com> Cr-Commit-Position: refs/heads/master@{#724971}
- Loading branch information
Showing
2 changed files
with
28 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters