[go: nahoru, domu]

Grit: whitelist -> allowlist

Renames occurrences in //tools/grit as well as all spots that
are transitively affected by the rename.

Opts grit testdata out of PRESUBMIT.py checks since we don't
need UI snapshots for strings in unit tests.

Bug: 1097644
Change-Id: Ieca51c233447ded9d5943ad878354cbdaa1de78d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2386392
Reviewed-by: Scott Violet <sky@chromium.org>
Commit-Queue: Andrew Grieve <agrieve@chromium.org>
Cr-Commit-Position: refs/heads/master@{#804288}
diff --git a/tools/cygprofile/orderfile_generator_backend.py b/tools/cygprofile/orderfile_generator_backend.py
index 467498c..00d9f3c 100755
--- a/tools/cygprofile/orderfile_generator_backend.py
+++ b/tools/cygprofile/orderfile_generator_backend.py
@@ -284,7 +284,7 @@
 
     # Set the "Release Official" flavor, the parts affecting performance.
     args = [
-        'enable_resource_whitelist_generation=false',
+        'enable_resource_allowlist_generation=false',
         'is_chrome_branded=' + str(not self._public).lower(),
         'is_debug=false',
         'is_official_build=true',