| 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 # Chrome on iOS only ships with a subset of the locales supported by other | 5 # 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 | 6 # version of Chrome as the corresponding locales are not supported by the |
| 7 # operating system (but for simplicity, the corresponding .pak files are | 7 # operating system (but for simplicity, the corresponding .pak files are |
| 8 # still generated). | 8 # still generated). |
| 9 if (is_ios) { | 9 if (is_ios) { |
| 10 ios_unsupported_locales = [ | 10 ios_unsupported_locales = [ |
| 11 "am", | 11 "am", |
| 12 "bg", | |
| 13 "bn", | 12 "bn", |
| 14 "et", | 13 "et", |
| 15 "fa", | |
| 16 "fil", | 14 "fil", |
| 17 "gu", | 15 "gu", |
| 18 "kn", | 16 "kn", |
| 19 "lt", | |
| 20 "lv", | 17 "lv", |
| 21 "ml", | 18 "ml", |
| 22 "mr", | 19 "mr", |
| 23 "sl", | 20 "sl", |
| 24 "sr", | |
| 25 "sw", | 21 "sw", |
| 26 "ta", | 22 "ta", |
| 27 "te", | 23 "te", |
| 28 ] | 24 ] |
| 29 } | 25 } |
| 30 | 26 |
| 31 # Note: keep in sync with below. | 27 # Note: keep in sync with below. |
| 32 locales = [ | 28 locales = [ |
| 33 "am", | 29 "am", |
| 34 "ar", | 30 "ar", |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 ] | 162 ] |
| 167 } else { | 163 } else { |
| 168 locales_as_mac_outputs += [ | 164 locales_as_mac_outputs += [ |
| 169 "es_MX", | 165 "es_MX", |
| 170 "pt", | 166 "pt", |
| 171 ] | 167 ] |
| 172 | 168 |
| 173 ios_packed_locales_as_mac_outputs = | 169 ios_packed_locales_as_mac_outputs = |
| 174 locales_as_mac_outputs - ios_unsupported_locales | 170 locales_as_mac_outputs - ios_unsupported_locales |
| 175 } | 171 } |
| OLD | NEW |