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.
5 import("//tools/grit/grit_rule.gni")
7 # GYP version: chrome/chrome_resources.gyp:chrome_strings
8 # (generate_locale_settings action)
9 grit("locale_settings") {
10 source = "locale_settings.grd"
11 output_dir = "$root_gen_dir/chrome"
12 use_qualified_include = true
14 "grit/locale_settings.h",
15 "locale_settings_am.pak",
16 "locale_settings_ar.pak",
17 "locale_settings_bg.pak",
18 "locale_settings_bn.pak",
19 "locale_settings_ca.pak",
20 "locale_settings_cs.pak",
21 "locale_settings_da.pak",
22 "locale_settings_de.pak",
23 "locale_settings_el.pak",
24 "locale_settings_en-GB.pak",
25 "locale_settings_en-US.pak",
26 "locale_settings_es.pak",
27 "locale_settings_es-419.pak",
28 "locale_settings_et.pak",
29 "locale_settings_fa.pak",
30 "locale_settings_fake-bidi.pak",
31 "locale_settings_fi.pak",
32 "locale_settings_fil.pak",
33 "locale_settings_fr.pak",
34 "locale_settings_gu.pak",
35 "locale_settings_he.pak",
36 "locale_settings_hi.pak",
37 "locale_settings_hr.pak",
38 "locale_settings_hu.pak",
39 "locale_settings_id.pak",
40 "locale_settings_it.pak",
41 "locale_settings_ja.pak",
42 "locale_settings_kn.pak",
43 "locale_settings_ko.pak",
44 "locale_settings_lt.pak",
45 "locale_settings_lv.pak",
46 "locale_settings_ml.pak",
47 "locale_settings_mr.pak",
48 "locale_settings_ms.pak",
49 "locale_settings_nl.pak",
50 "locale_settings_nb.pak",
51 "locale_settings_pl.pak",
52 "locale_settings_pt-BR.pak",
53 "locale_settings_pt-PT.pak",
54 "locale_settings_ro.pak",
55 "locale_settings_ru.pak",
56 "locale_settings_sk.pak",
57 "locale_settings_sl.pak",
58 "locale_settings_sr.pak",
59 "locale_settings_sv.pak",
60 "locale_settings_sw.pak",
61 "locale_settings_ta.pak",
62 "locale_settings_te.pak",
63 "locale_settings_th.pak",
64 "locale_settings_tr.pak",
65 "locale_settings_uk.pak",
66 "locale_settings_vi.pak",
67 "locale_settings_zh-CN.pak",
68 "locale_settings_zh-TW.pak",
72 # GYP version: chrome/chrome_resources.gyp:platform_locale_settings
73 grit("platform_locale_settings") {
75 source = "locale_settings_win.grd"
76 } else if (is_mac || is_ios) {
77 source = "locale_settings_mac.grd"
78 } else if (is_chromeos) {
79 if (is_chrome_branded) {
80 source = "locale_settings_google_chromeos.grd"
82 source = "locale_settings_chromiumos.grd"
84 } else if (is_posix) {
85 # All other posix systems just use the Linux one.
86 source = "locale_settings_linux.grd"
90 "grit/platform_locale_settings.h",
91 "platform_locale_settings_am.pak",
92 "platform_locale_settings_ar.pak",
93 "platform_locale_settings_bg.pak",
94 "platform_locale_settings_bn.pak",
95 "platform_locale_settings_ca.pak",
96 "platform_locale_settings_cs.pak",
97 "platform_locale_settings_da.pak",
98 "platform_locale_settings_de.pak",
99 "platform_locale_settings_el.pak",
100 "platform_locale_settings_en-GB.pak",
101 "platform_locale_settings_en-US.pak",
102 "platform_locale_settings_es.pak",
103 "platform_locale_settings_es-419.pak",
104 "platform_locale_settings_et.pak",
105 "platform_locale_settings_fa.pak",
106 "platform_locale_settings_fake-bidi.pak",
107 "platform_locale_settings_fi.pak",
108 "platform_locale_settings_fil.pak",
109 "platform_locale_settings_fr.pak",
110 "platform_locale_settings_gu.pak",
111 "platform_locale_settings_he.pak",
112 "platform_locale_settings_hi.pak",
113 "platform_locale_settings_hr.pak",
114 "platform_locale_settings_hu.pak",
115 "platform_locale_settings_id.pak",
116 "platform_locale_settings_it.pak",
117 "platform_locale_settings_ja.pak",
118 "platform_locale_settings_kn.pak",
119 "platform_locale_settings_ko.pak",
120 "platform_locale_settings_lt.pak",
121 "platform_locale_settings_lv.pak",
122 "platform_locale_settings_ml.pak",
123 "platform_locale_settings_mr.pak",
124 "platform_locale_settings_ms.pak",
125 "platform_locale_settings_nl.pak",
126 "platform_locale_settings_nb.pak",
127 "platform_locale_settings_pl.pak",
128 "platform_locale_settings_pt-BR.pak",
129 "platform_locale_settings_pt-PT.pak",
130 "platform_locale_settings_ro.pak",
131 "platform_locale_settings_ru.pak",
132 "platform_locale_settings_sk.pak",
133 "platform_locale_settings_sl.pak",
134 "platform_locale_settings_sr.pak",
135 "platform_locale_settings_sv.pak",
136 "platform_locale_settings_sw.pak",
137 "platform_locale_settings_ta.pak",
138 "platform_locale_settings_te.pak",
139 "platform_locale_settings_th.pak",
140 "platform_locale_settings_tr.pak",
141 "platform_locale_settings_uk.pak",
142 "platform_locale_settings_vi.pak",
143 "platform_locale_settings_zh-CN.pak",
144 "platform_locale_settings_zh-TW.pak",