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

Unified Diff: chrome/BUILD.gn

Issue 2339213003: Reland of Refactor the various locale_paks() templates to be more shared (Closed)
Patch Set: Fix output path of the repack template on iOS. 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
« no previous file with comments | « android_webview/webview_repack_locales_list.gni ('k') | chrome/android/monochrome_repack_locales.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/BUILD.gn
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn
index 87d474359ee27ffe7a25e1482c71596cb408ba2e..8d1cef7d8dd4a432febaded48e1c91ea20b8995c 100644
--- a/chrome/BUILD.gn
+++ b/chrome/BUILD.gn
@@ -1453,7 +1453,7 @@ repack("packed_extra_resources") {
if (enable_resource_whitelist_generation) {
repack_whitelist = android_resource_whitelist
- deps += [ "//chrome:resource_whitelist" ]
+ deps += [ ":resource_whitelist" ]
}
}
@@ -1481,6 +1481,13 @@ chrome_repack_locales("repack_locales_pack") {
} else {
output_locales = locales
}
+
+ if (enable_resource_whitelist_generation) {
+ repack_whitelist = android_resource_whitelist
+ deps = [
+ ":resource_whitelist",
+ ]
+ }
}
chrome_repack_locales("repack_pseudo_locales_pack") {
@@ -1493,6 +1500,13 @@ chrome_repack_locales("repack_pseudo_locales_pack") {
} else {
output_locales = [ "fake-bidi" ]
}
+
+ if (enable_resource_whitelist_generation) {
+ repack_whitelist = android_resource_whitelist
+ deps = [
+ ":resource_whitelist",
+ ]
+ }
}
# Generates a rule to repack a set of resources, substituting a given string
@@ -1566,7 +1580,7 @@ template("chrome_repack_percent") {
if (enable_resource_whitelist_generation) {
repack_whitelist = android_resource_whitelist
- deps += [ "//chrome:resource_whitelist" ]
+ deps += [ ":resource_whitelist" ]
}
}
« no previous file with comments | « android_webview/webview_repack_locales_list.gni ('k') | chrome/android/monochrome_repack_locales.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698