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

Unified Diff: ios/chrome/app/resources/BUILD.gn

Issue 2562063002: Upstream target to generate localizable strings for Info.plist. (Closed)
Patch Set: Created 4 years 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 | « no previous file | ios/chrome/app/resources/chrome_localize_strings_config.plist » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/resources/BUILD.gn
diff --git a/ios/chrome/app/resources/BUILD.gn b/ios/chrome/app/resources/BUILD.gn
index f89503e20146662c2911cd95338ec65a3d9789a8..e0e10c60f4b0a142544ea7dfce2e9a6556d7cf32 100644
--- a/ios/chrome/app/resources/BUILD.gn
+++ b/ios/chrome/app/resources/BUILD.gn
@@ -6,6 +6,7 @@ import("//build/config/chrome_build.gni")
import("//build/config/ios/rules.gni")
import("//build/config/locales.gni")
import("//ios/chrome/app/resources/ios_chrome_repack.gni")
+import("//ios/chrome/tools/strings/generate_localizable_strings.gni")
import("//ios/public/provider/chrome/browser/build_config.gni")
import("//tools/grit/grit_rule.gni")
@@ -113,3 +114,16 @@ bundle_data_xib("launchscreen_xib") {
ios_launchscreen_assets_target,
]
}
+
+generate_localizable_strings("system_strings") {
+ config_file = "chrome_localize_strings_config.plist"
+ datapack_dir = get_label_info(ios_packed_resources_target, "target_gen_dir")
+ packed_locales = ios_packed_locales_as_mac_outputs
+ output_filenames = [
+ "InfoPlist.strings",
+ "Localizable.strings",
+ ]
+ deps = [
+ ios_packed_resources_target,
+ ]
+}
« no previous file with comments | « no previous file | ios/chrome/app/resources/chrome_localize_strings_config.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698