Commit 685cb7c1 authored by John Abd-El-Malek's avatar John Abd-El-Malek Committed by Commit Bot

Migrate towards allowlist in weblayer's grit list.

Bug: 1097260
Change-Id: I28a9eed52f254364c8782f6b6fe95f1e637cbbcc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255559
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Auto-Submit: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: default avatarClark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780505}
parent f204c589
...@@ -46,11 +46,11 @@ if (is_android) { ...@@ -46,11 +46,11 @@ if (is_android) {
# components_strings contains strings from all components. WebLayer # components_strings contains strings from all components. WebLayer
# will never display most of them, so we try to limit the included # will never display most of them, so we try to limit the included
# strings. # strings.
whitelist = rebase_path("grit_strings_whitelist.txt", root_build_dir) allowlist = rebase_path("grit_strings_allowlist.txt", root_build_dir)
inputs = [ "//weblayer/grit_strings_whitelist.txt" ] inputs = [ "//weblayer/grit_strings_allowlist.txt" ]
grit_flags = [ grit_flags = [
"-w", "-w",
whitelist, allowlist,
] ]
outputs = outputs =
weblayer_components_strings_java_resources + weblayer_components_strings_java_resources +
...@@ -65,11 +65,11 @@ if (is_android) { ...@@ -65,11 +65,11 @@ if (is_android) {
# components_chromium_strings contains Chromium-specific strings. WebLayer # components_chromium_strings contains Chromium-specific strings. WebLayer
# will never display most of them, so we try to limit the included # will never display most of them, so we try to limit the included
# strings. # strings.
whitelist = rebase_path("grit_strings_whitelist.txt", root_build_dir) allowlist = rebase_path("grit_strings_allowlist.txt", root_build_dir)
inputs = [ "//weblayer/grit_strings_whitelist.txt" ] inputs = [ "//weblayer/grit_strings_allowlist.txt" ]
grit_flags = [ grit_flags = [
"-w", "-w",
whitelist, allowlist,
] ]
outputs = [ "grit/components_chromium_strings.h" ] + outputs = [ "grit/components_chromium_strings.h" ] +
process_file_template( process_file_template(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment