Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Side by Side Diff: build/config/locales.gni

Issue 2023703002: Beginning work on GN build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Really add //build. Add dart_bootstrap rule. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « build/config/linux/pkg_config.gni ('k') | build/config/mac/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
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
7 # operating system (but for simplicity, the corresponding .pak files are
8 # still generated).
9 if (is_ios) {
10 ios_unsupported_locales = [
11 "am",
12 "bg",
13 "bn",
14 "et",
15 "fa",
16 "fil",
17 "gu",
18 "kn",
19 "lt",
20 "lv",
21 "ml",
22 "mr",
23 "sl",
24 "sr",
25 "sw",
26 "ta",
27 "te",
28 ]
29 }
30
31 # Note: keep in sync with below.
32 locales = [
33 "am",
34 "ar",
35 "bg",
36 "bn",
37 "ca",
38 "cs",
39 "da",
40 "de",
41 "el",
42 "en-GB",
43 "en-US",
44 "es",
45 "et",
46 "fa",
47 "fi",
48 "fil",
49 "fr",
50 "gu",
51 "he",
52 "hi",
53 "hr",
54 "hu",
55 "id",
56 "it",
57 "ja",
58 "kn",
59 "ko",
60 "lt",
61 "lv",
62 "ml",
63 "mr",
64 "ms",
65 "nb",
66 "nl",
67 "pl",
68 "pt-PT",
69 "ro",
70 "ru",
71 "sk",
72 "sl",
73 "sr",
74 "sv",
75 "sw",
76 "ta",
77 "te",
78 "th",
79 "tr",
80 "uk",
81 "vi",
82 "zh-CN",
83 "zh-TW",
84 ]
85
86 # Chrome on iOS uses different names for "es-419" and "pt-BR" (called
87 # respectively "es-MX" and "pt" on iOS).
88 if (!is_ios) {
89 locales += [
90 "es-419",
91 "pt-BR",
92 ]
93 } else {
94 locales += [
95 "es-MX",
96 "pt",
97 ]
98
99 ios_packed_locales = locales - ios_unsupported_locales
100 }
101
102 locales_with_fake_bidi = locales + [ "fake-bidi" ]
103
104 # Same as the locales list but in the format Mac expects for output files:
105 # it uses underscores instead of hyphens, and "en" instead of "en-US".
106 locales_as_mac_outputs = [
107 "am",
108 "ar",
109 "bg",
110 "bn",
111 "ca",
112 "cs",
113 "da",
114 "de",
115 "el",
116 "en_GB",
117 "en",
118 "es",
119 "et",
120 "fa",
121 "fi",
122 "fil",
123 "fr",
124 "gu",
125 "he",
126 "hi",
127 "hr",
128 "hu",
129 "id",
130 "it",
131 "ja",
132 "kn",
133 "ko",
134 "lt",
135 "lv",
136 "ml",
137 "mr",
138 "ms",
139 "nb",
140 "nl",
141 "pl",
142 "pt_PT",
143 "ro",
144 "ru",
145 "sk",
146 "sl",
147 "sr",
148 "sv",
149 "sw",
150 "ta",
151 "te",
152 "th",
153 "tr",
154 "uk",
155 "vi",
156 "zh_CN",
157 "zh_TW",
158 ]
159
160 # Chrome on iOS uses different names for "es-419" and "pt-BR" (called
161 # respectively "es-MX" and "pt" on iOS).
162 if (!is_ios) {
163 locales_as_mac_outputs += [
164 "es_419",
165 "pt_BR",
166 ]
167 } else {
168 locales_as_mac_outputs += [
169 "es_MX",
170 "pt",
171 ]
172
173 ios_packed_locales_as_mac_outputs =
174 locales_as_mac_outputs - ios_unsupported_locales
175 }
OLDNEW
« no previous file with comments | « build/config/linux/pkg_config.gni ('k') | build/config/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698