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

Unified Diff: build/config/locales.gni

Issue 2371053002: GN(android): Use foreach() loops when dealing with locales (Closed)
Patch Set: a couple more usages 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/BUILD.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/locales.gni
diff --git a/build/config/locales.gni b/build/config/locales.gni
index 588613283d8fe672ad95c4a61365348a91138579..1f285d60ff314bbd1b1bd87b2acb8796898f5343 100644
--- a/build/config/locales.gni
+++ b/build/config/locales.gni
@@ -2,6 +2,22 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Android doesn't ship all locales in order to save space (but webview does).
+# http://crbug.com/369218
+if (is_android) {
+ android_unsupported_locales = [
michaelbai 2016/09/28 00:13:03 android_unsupported_locales seems not accurate, th
agrieve 2016/09/28 14:11:40 I struggled with this as well. Changed it to "andr
+ "bn",
+ "et",
+ "gu",
+ "kn",
+ "ml",
+ "mr",
+ "ms",
+ "ta",
+ "te",
+ ]
+}
+
# Chrome on iOS only ships with a subset of the locales supported by other
# version of Chrome as the corresponding locales are not supported by the
# operating system (but for simplicity, the corresponding .pak files are
« no previous file with comments | « android_webview/BUILD.gn ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698