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

Unified Diff: chrome/android/webapk/shell_apk/BUILD.gn

Issue 2872643003: Add translations for WebAPKs. (Closed)
Patch Set: Remove the string limit. Created 3 years, 7 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 | « no previous file | chrome/android/webapk/strings/android_webapk_strings.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/webapk/shell_apk/BUILD.gn
diff --git a/chrome/android/webapk/shell_apk/BUILD.gn b/chrome/android/webapk/shell_apk/BUILD.gn
index 2a9adc89ccad4eddc5ff404ed44b39bfa7217d0d..f1f4c0f0fd134571135ac55c40a080c1827d6a34 100644
--- a/chrome/android/webapk/shell_apk/BUILD.gn
+++ b/chrome/android/webapk/shell_apk/BUILD.gn
@@ -105,6 +105,9 @@ manifest_processor_template("shell_apk_manifest_javatests") {
android_resources("shell_apk_resources") {
resource_dirs = [ "res" ]
custom_package = "org.chromium.webapk.shell_apk"
+ deps = [
+ ":webapk_strings_grd",
+ ]
}
android_library("webapk_java") {
@@ -152,6 +155,57 @@ template("webapk_tmpl") {
}
}
+java_strings_grd("webapk_strings_grd") {
+ grd_file = "//chrome/android/webapk/strings/android_webapk_strings.grd"
+
+ outputs = [
+ "values-am/android_webapk_strings.xml",
+ "values-ar/android_webapk_strings.xml",
+ "values-bg/android_webapk_strings.xml",
+ "values-ca/android_webapk_strings.xml",
+ "values-cs/android_webapk_strings.xml",
+ "values-da/android_webapk_strings.xml",
+ "values-de/android_webapk_strings.xml",
+ "values-el/android_webapk_strings.xml",
+ "values/android_webapk_strings.xml",
+ "values-en-rGB/android_webapk_strings.xml",
+ "values-es/android_webapk_strings.xml",
+ "values-es-rUS/android_webapk_strings.xml",
+ "values-fa/android_webapk_strings.xml",
+ "values-fi/android_webapk_strings.xml",
+ "values-tl/android_webapk_strings.xml",
+ "values-fr/android_webapk_strings.xml",
+ "values-hi/android_webapk_strings.xml",
+ "values-hr/android_webapk_strings.xml",
+ "values-hu/android_webapk_strings.xml",
+ "values-in/android_webapk_strings.xml",
+ "values-it/android_webapk_strings.xml",
+ "values-iw/android_webapk_strings.xml",
+ "values-ja/android_webapk_strings.xml",
+ "values-ko/android_webapk_strings.xml",
+ "values-lt/android_webapk_strings.xml",
+ "values-lv/android_webapk_strings.xml",
+ "values-nl/android_webapk_strings.xml",
+ "values-nb/android_webapk_strings.xml",
+ "values-pl/android_webapk_strings.xml",
+ "values-pt-rBR/android_webapk_strings.xml",
+ "values-pt-rPT/android_webapk_strings.xml",
+ "values-ro/android_webapk_strings.xml",
+ "values-ru/android_webapk_strings.xml",
+ "values-sk/android_webapk_strings.xml",
+ "values-sl/android_webapk_strings.xml",
+ "values-sr/android_webapk_strings.xml",
+ "values-sv/android_webapk_strings.xml",
+ "values-sw/android_webapk_strings.xml",
+ "values-th/android_webapk_strings.xml",
+ "values-tr/android_webapk_strings.xml",
+ "values-uk/android_webapk_strings.xml",
+ "values-vi/android_webapk_strings.xml",
+ "values-zh-rCN/android_webapk_strings.xml",
+ "values-zh-rTW/android_webapk_strings.xml",
+ ]
+}
+
# Template for WebAPK. When a WebAPK is generated:
# - Android manifest is customized to the website.
# - App icon is extracted from the website and added to the APK's resources.
« no previous file with comments | « no previous file | chrome/android/webapk/strings/android_webapk_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698