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
This commit is contained in:
Родитель
cd2572aab8
Коммит
112943d0b7
|
@ -2,6 +2,22 @@
|
||||||
# Use of this source code is governed by a BSD-style license that can be
|
# Use of this source code is governed by a BSD-style license that can be
|
||||||
# found in the LICENSE file.
|
# 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
|
# 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
|
# version of Chrome as the corresponding locales are not supported by the
|
||||||
# operating system (but for simplicity, the corresponding .pak files are
|
# operating system (but for simplicity, the corresponding .pak files are
|
||||||
|
|
Загрузка…
Ссылка в новой задаче