mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
CodeInclusion: Rename whitelist/blacklist -> allowlist/blocklist
Migrate to more inclusive terminology. Bug: 1097674 Change-Id: I387b385ff36c7766682c06af34ed5fc6115119d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2268403 Reviewed-by: Anthony Polito <apolito@google.com> Commit-Queue: Ayu Ishii <ayui@chromium.org>
This commit is contained in:
@@ -135,7 +135,7 @@ _GCLIENT_HOOKS_SCHEMA = [
|
||||
|
||||
_GCLIENT_SCHEMA = schema.Schema(
|
||||
_NodeDictSchema({
|
||||
# List of host names from which dependencies are allowed (whitelist).
|
||||
# List of host names from which dependencies are allowed (allowlist).
|
||||
# NOTE: when not present, all hosts are allowed.
|
||||
# NOTE: scoped to current DEPS file, not recursive.
|
||||
schema.Optional('allowed_hosts'): [schema.Optional(basestring)],
|
||||
@@ -187,7 +187,7 @@ _GCLIENT_SCHEMA = schema.Schema(
|
||||
# Recursion limit for nested DEPS.
|
||||
schema.Optional('recursion'): int,
|
||||
|
||||
# Whitelists deps for which recursion should be enabled.
|
||||
# Allowlists deps for which recursion should be enabled.
|
||||
schema.Optional('recursedeps'): [
|
||||
schema.Optional(schema.Or(
|
||||
basestring,
|
||||
@@ -196,7 +196,7 @@ _GCLIENT_SCHEMA = schema.Schema(
|
||||
)),
|
||||
],
|
||||
|
||||
# Blacklists directories for checking 'include_rules'.
|
||||
# Blocklists directories for checking 'include_rules'.
|
||||
schema.Optional('skip_child_includes'): [schema.Optional(basestring)],
|
||||
|
||||
# Mapping from paths to include rules specific for that path.
|
||||
|
||||
Reference in New Issue
Block a user