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

Unified Diff: chrome/chrome_repack_locales.gni

Issue 2344063002: Reland of Enable whitelisting for targets other than libchrome. (Closed)
Patch Set: fix gn gen 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 | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_repack_locales.gni
diff --git a/chrome/chrome_repack_locales.gni b/chrome/chrome_repack_locales.gni
index a864354ad06cebc8f3af0ef1925dd740d5544602..b970f30eeae32947907e5aa860fb0cf07e07071f 100644
--- a/chrome/chrome_repack_locales.gni
+++ b/chrome/chrome_repack_locales.gni
@@ -36,6 +36,9 @@ template("chrome_repack_locales") {
"//components/strings:components_locale_settings",
"//components/strings:components_strings",
]
+ if (defined(invoker.deps)) {
+ deps += invoker.deps
+ }
if (use_ash) {
source_patterns += [ "${root_gen_dir}/ash/common/strings/ash_strings_" ]
@@ -99,13 +102,5 @@ template("chrome_repack_locales") {
if (defined(invoker.additional_source_patterns)) {
source_patterns += invoker.additional_source_patterns
}
-
- if (!defined(output_dir)) {
- if (is_mac || is_ios) {
- output_dir = "${root_gen_dir}/repack/locales"
- } else {
- output_dir = "${root_out_dir}/locales"
- }
- }
}
}
« no previous file with comments | « chrome/chrome_paks.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698