Index: chrome/chrome_repack_locales.gni |
diff --git a/chrome/chrome_repack_locales.gni b/chrome/chrome_repack_locales.gni |
index 83b1e19a33b50508ba4a33351b54c895212ab906..0c089f5533b81f008887a38826349562e6833737 100644 |
--- a/chrome/chrome_repack_locales.gni |
+++ b/chrome/chrome_repack_locales.gni |
@@ -6,6 +6,7 @@ import("//build/config/chrome_build.gni") |
import("//build/config/features.gni") |
import("//build/config/ui.gni") |
import("//tools/grit/repack.gni") |
+import("//tools/grit/grit_rule.gni") |
# Arguments: |
# |
@@ -118,6 +119,10 @@ template("_repack_one_locale") { |
] |
} |
+ if (enable_resource_whitelist_generation) { |
+ repack_whitelist = "$root_gen_dir/resource_whitelist.txt" |
+ deps += [ "//chrome:resource_whitelist" ] |
+ } |
output = invoker.output |
} |
} |