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:
Ayu Ishii
2020-06-26 18:00:52 +00:00
committed by LUCI CQ
parent 37ce201d92
commit 0985861970
5 changed files with 18 additions and 18 deletions

View File

@@ -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.