OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
| 5 # Android doesn't ship all locales in order to save space (but webview does). |
| 6 # http://crbug.com/369218 |
| 7 if (is_android) { |
| 8 android_chrome_omitted_locales = [ |
| 9 "bn", |
| 10 "et", |
| 11 "gu", |
| 12 "kn", |
| 13 "ml", |
| 14 "mr", |
| 15 "ms", |
| 16 "ta", |
| 17 "te", |
| 18 ] |
| 19 } |
| 20 |
5 # Chrome on iOS only ships with a subset of the locales supported by other | 21 # Chrome on iOS only ships with a subset of the locales supported by other |
6 # version of Chrome as the corresponding locales are not supported by the | 22 # version of Chrome as the corresponding locales are not supported by the |
7 # operating system (but for simplicity, the corresponding .pak files are | 23 # operating system (but for simplicity, the corresponding .pak files are |
8 # still generated). | 24 # still generated). |
9 if (is_ios) { | 25 if (is_ios) { |
10 ios_unsupported_locales = [ | 26 ios_unsupported_locales = [ |
11 "am", | 27 "am", |
12 "bn", | 28 "bn", |
13 "et", | 29 "et", |
14 "fil", | 30 "fil", |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 ] | 178 ] |
163 } else { | 179 } else { |
164 locales_as_mac_outputs += [ | 180 locales_as_mac_outputs += [ |
165 "es_MX", | 181 "es_MX", |
166 "pt", | 182 "pt", |
167 ] | 183 ] |
168 | 184 |
169 ios_packed_locales_as_mac_outputs = | 185 ios_packed_locales_as_mac_outputs = |
170 locales_as_mac_outputs - ios_unsupported_locales | 186 locales_as_mac_outputs - ios_unsupported_locales |
171 } | 187 } |
OLD | NEW |