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

Side by Side Diff: build/linux/unbundle/icu.gn

Issue 2282403003: Fix build with system ICU (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
(Empty)
1 # Copyright 2016 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 import("//build/config/linux/pkg_config.gni")
6 import("//build/shim_headers.gni")
7
8 group("icu") {
9 public_deps = [
10 ":icui18n",
11 ":icuuc",
12 ]
13 }
14
15 config("icu_config") {
16 defines = [ "USING_SYSTEM_ICU=1" ]
17 }
18
19 pkg_config("system_icui18n") {
20 packages = [ "icu-i18n" ]
21 }
22
23 pkg_config("system_icuuc") {
24 packages = [ "icu-uc" ]
25 }
26
27 source_set("icui18n") {
28 deps = [
29 ":icui18n_shim",
30 ]
31 public_configs = [
32 ":icu_config",
33 ":system_icui18n",
34 ]
35 }
36
37 source_set("icuuc") {
38 deps = [
39 ":icuuc_shim",
40 ]
41 public_configs = [
42 ":icu_config",
43 ":system_icuuc",
44 ]
45 }
46
47 shim_headers("icui18n_shim") {
48 root_path = "source/i18n"
49 headers = [
50 # This list can easily be updated using the command below:
51 # find third_party/icu/source/i18n/unicode \
52 # -iname '*.h' -printf '"%p",\n' | \
53 # sed -e 's|third_party/icu/i18n/common/||' | sort -u
54 "unicode/alphaindex.h",
55 "unicode/basictz.h",
56 "unicode/calendar.h",
57 "unicode/choicfmt.h",
58 "unicode/coleitr.h",
59 "unicode/coll.h",
60 "unicode/compactdecimalformat.h",
61 "unicode/curramt.h",
62 "unicode/currpinf.h",
63 "unicode/currunit.h",
64 "unicode/datefmt.h",
65 "unicode/dcfmtsym.h",
66 "unicode/decimfmt.h",
67 "unicode/dtfmtsym.h",
68 "unicode/dtitvfmt.h",
69 "unicode/dtitvinf.h",
70 "unicode/dtptngen.h",
71 "unicode/dtrule.h",
72 "unicode/fieldpos.h",
73 "unicode/fmtable.h",
74 "unicode/format.h",
75 "unicode/fpositer.h",
76 "unicode/gender.h",
77 "unicode/gregocal.h",
78 "unicode/locdspnm.h",
79 "unicode/measfmt.h",
80 "unicode/measunit.h",
81 "unicode/measure.h",
82 "unicode/msgfmt.h",
83 "unicode/numfmt.h",
84 "unicode/numsys.h",
85 "unicode/plurfmt.h",
86 "unicode/plurrule.h",
87 "unicode/rbnf.h",
88 "unicode/rbtz.h",
89 "unicode/regex.h",
90 "unicode/region.h",
91 "unicode/reldatefmt.h",
92 "unicode/scientificnumberformatter.h",
93 "unicode/search.h",
94 "unicode/selfmt.h",
95 "unicode/simpletz.h",
96 "unicode/smpdtfmt.h",
97 "unicode/sortkey.h",
98 "unicode/stsearch.h",
99 "unicode/tblcoll.h",
100 "unicode/timezone.h",
101 "unicode/tmunit.h",
102 "unicode/tmutamt.h",
103 "unicode/tmutfmt.h",
104 "unicode/translit.h",
105 "unicode/tzfmt.h",
106 "unicode/tznames.h",
107 "unicode/tzrule.h",
108 "unicode/tztrans.h",
109 "unicode/ucal.h",
110 "unicode/ucol.h",
111 "unicode/ucoleitr.h",
112 "unicode/ucsdet.h",
113 "unicode/ucurr.h",
114 "unicode/udat.h",
115 "unicode/udateintervalformat.h",
116 "unicode/udatpg.h",
117 "unicode/udisplaycontext.h",
118 "unicode/ufieldpositer.h",
119 "unicode/uformattable.h",
120 "unicode/ugender.h",
121 "unicode/uldnames.h",
122 "unicode/ulocdata.h",
123 "unicode/umsg.h",
124 "unicode/unirepl.h",
125 "unicode/unum.h",
126 "unicode/unumsys.h",
127 "unicode/upluralrules.h",
128 "unicode/uregex.h",
129 "unicode/uregion.h",
130 "unicode/usearch.h",
131 "unicode/uspoof.h",
132 "unicode/utmscale.h",
133 "unicode/utrans.h",
134 "unicode/vtzone.h",
135 ]
136 }
137
138 shim_headers("icuuc_shim") {
139 root_path = "source/common"
140 headers = [
141 # This list can easily be updated using the command below:
142 # find third_party/icu/source/common/unicode \
143 # -iname '*.h' -printf '"%p",\n' | \
144 # sed -e 's|third_party/icu/source/common/||' | sort -u
145 "unicode/appendable.h",
146 "unicode/brkiter.h",
147 "unicode/bytestream.h",
148 "unicode/bytestrie.h",
149 "unicode/bytestriebuilder.h",
150 "unicode/caniter.h",
151 "unicode/chariter.h",
152 "unicode/dbbi.h",
153 "unicode/docmain.h",
154 "unicode/dtintrv.h",
155 "unicode/enumset.h",
156 "unicode/errorcode.h",
157 "unicode/filteredbrk.h",
158 "unicode/icudataver.h",
159 "unicode/icuplug.h",
160 "unicode/idna.h",
161 "unicode/listformatter.h",
162 "unicode/localpointer.h",
163 "unicode/locid.h",
164 "unicode/messagepattern.h",
165 "unicode/normalizer2.h",
166 "unicode/normlzr.h",
167 "unicode/parseerr.h",
168 "unicode/parsepos.h",
169 "unicode/platform.h",
170 "unicode/ptypes.h",
171 "unicode/putil.h",
172 "unicode/rbbi.h",
173 "unicode/rep.h",
174 "unicode/resbund.h",
175 "unicode/schriter.h",
176 "unicode/std_string.h",
177 "unicode/strenum.h",
178 "unicode/stringpiece.h",
179 "unicode/stringtriebuilder.h",
180 "unicode/symtable.h",
181 "unicode/ubidi.h",
182 "unicode/ubrk.h",
183 "unicode/ucasemap.h",
184 "unicode/ucat.h",
185 "unicode/uchar.h",
186 "unicode/ucharstrie.h",
187 "unicode/ucharstriebuilder.h",
188 "unicode/uchriter.h",
189 "unicode/uclean.h",
190 "unicode/ucnv.h",
191 "unicode/ucnv_cb.h",
192 "unicode/ucnv_err.h",
193 "unicode/ucnvsel.h",
194 "unicode/uconfig.h",
195 "unicode/udata.h",
196 "unicode/uenum.h",
197 "unicode/uidna.h",
198 "unicode/uiter.h",
199 "unicode/ulistformatter.h",
200 "unicode/uloc.h",
201 "unicode/umachine.h",
202 "unicode/umisc.h",
203 "unicode/unifilt.h",
204 "unicode/unifunct.h",
205 "unicode/unimatch.h",
206 "unicode/uniset.h",
207 "unicode/unistr.h",
208 "unicode/unorm.h",
209 "unicode/unorm2.h",
210 "unicode/uobject.h",
211 "unicode/urename.h",
212 "unicode/urep.h",
213 "unicode/ures.h",
214 "unicode/uscript.h",
215 "unicode/uset.h",
216 "unicode/usetiter.h",
217 "unicode/ushape.h",
218 "unicode/usprep.h",
219 "unicode/ustring.h",
220 "unicode/ustringtrie.h",
221 "unicode/utext.h",
222 "unicode/utf.h",
223 "unicode/utf16.h",
224 "unicode/utf32.h",
225 "unicode/utf8.h",
226 "unicode/utf_old.h",
227 "unicode/utrace.h",
228 "unicode/utypes.h",
229 "unicode/uvernum.h",
230 "unicode/uversion.h",
231 ]
232 }
OLDNEW
« no previous file with comments | « no previous file | build/linux/unbundle/replace_gn_files.py » ('j') | components/spellcheck/renderer/spellcheck_worditerator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698