From 112943d0b79052d1db23177da4fcc67b708ca583 Mon Sep 17 00:00:00 2001 From: agrieve Date: Wed, 28 Sep 2016 09:47:29 -0700 Subject: [PATCH] GN(android): Use foreach() loops when dealing with locales Review-Url: https://codereview.chromium.org/2371053002 Cr-Original-Commit-Position: refs/heads/master@{#421546} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: fe56f1285feafa8fd32aa78ce1d04092e13169e0 --- config/locales.gni | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/locales.gni b/config/locales.gni index 588613283..2b608b7e7 100644 --- a/config/locales.gni +++ b/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_chrome_omitted_locales = [ + "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