From da85282643ac56cdfb777f3e257f1279bd8a88be Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Thu, 10 Oct 2024 18:00:16 +0000 Subject: [PATCH] gclient_eval.py: Add "new_usages_require_review" to DEPS file schema Bug: 365797506 Change-Id: I332e169fd4e5756d92fd3acc2b27eef4c647cda7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5920788 Commit-Queue: Andrew Grieve Reviewed-by: Josip Sokcevic Auto-Submit: Andrew Grieve --- gclient_eval.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gclient_eval.py b/gclient_eval.py index 32adb9caa..f8a05d78a 100644 --- a/gclient_eval.py +++ b/gclient_eval.py @@ -244,6 +244,11 @@ _GCLIENT_SCHEMA = schema.Schema( # Also see 'skip_child_includes' and 'specific_include_rules'. schema.Optional('include_rules'): [schema.Optional(str)], + # Commits that add include_rules entries on the paths with this set + # will require an OWNERS review from them. + schema.Optional('new_usages_require_review'): + bool, + # Optionally discards rules from parent directories, similar to # "noparent" in OWNERS files. For example, if # //base/allocator/partition_allocator has "noparent = True" then it