Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Unified Diff: chrome/BUILD.gn

Issue 2320883006: 🍵 Refactor the various locale_paks() templates to be more shared (Closed)
Patch Set: sdefresne comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 0534fd03c7f9da88b387c1e27819eb9831120f21..f7a52d527f46a125257e0f4b69b60122cc3ccf78 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -1481,6 +1481,11 @@ chrome_repack_locales("repack_locales_pack") {
} else {
output_locales = locales
}
+
+ if (enable_resource_whitelist_generation) {
+ repack_whitelist = android_resource_whitelist
+ deps += [ "//chrome:resource_whitelist" ]
+ }
}
chrome_repack_locales("repack_pseudo_locales_pack") {
@@ -1493,6 +1498,11 @@ chrome_repack_locales("repack_pseudo_locales_pack") {
} else {
output_locales = [ "fake-bidi" ]
}
+
+ if (enable_resource_whitelist_generation) {
+ repack_whitelist = android_resource_whitelist
+ deps += [ "//chrome:resource_whitelist" ]
+ }
}
# Generates a rule to repack a set of resources, substituting a given string

Powered by Google App Engine
This is Rietveld 408576698