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 = [ |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 ] | 92 ] |
93 } else { | 93 } else { |
94 locales += [ | 94 locales += [ |
95 "es-MX", | 95 "es-MX", |
96 "pt", | 96 "pt", |
97 ] | 97 ] |
98 | 98 |
99 ios_packed_locales = locales - ios_unsupported_locales | 99 ios_packed_locales = locales - ios_unsupported_locales |
100 } | 100 } |
101 | 101 |
| 102 locales_with_fake_bidi = locales + [ "fake-bidi" ] |
| 103 |
102 # Same as the locales list but in the format Mac expects for output files: | 104 # Same as the locales list but in the format Mac expects for output files: |
103 # it uses underscores instead of hyphens, and "en" instead of "en-US". | 105 # it uses underscores instead of hyphens, and "en" instead of "en-US". |
104 locales_as_mac_outputs = [ | 106 locales_as_mac_outputs = [ |
105 "am", | 107 "am", |
106 "ar", | 108 "ar", |
107 "bg", | 109 "bg", |
108 "bn", | 110 "bn", |
109 "ca", | 111 "ca", |
110 "cs", | 112 "cs", |
111 "da", | 113 "da", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 ] | 166 ] |
165 } else { | 167 } else { |
166 locales_as_mac_outputs += [ | 168 locales_as_mac_outputs += [ |
167 "es_MX", | 169 "es_MX", |
168 "pt", | 170 "pt", |
169 ] | 171 ] |
170 | 172 |
171 ios_packed_locales_as_mac_outputs = | 173 ios_packed_locales_as_mac_outputs = |
172 locales_as_mac_outputs - ios_unsupported_locales | 174 locales_as_mac_outputs - ios_unsupported_locales |
173 } | 175 } |
OLD | NEW |