OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 'icu.gypi', | 7 'icu.gypi', |
8 ], | 8 ], |
9 'variables': { | 9 'variables': { |
10 'use_system_icu%': 0, | 10 'use_system_icu%': 0, |
11 'icu_use_data_file_flag%': 0, | 11 'icu_use_data_file_flag%': 0, |
12 'want_separate_host_toolset%': 1, | 12 'want_separate_host_toolset%': 1, |
13 }, | 13 }, |
14 'target_defaults': { | 14 'target_defaults': { |
15 'direct_dependent_settings': { | 15 'direct_dependent_settings': { |
16 'defines': [ | 16 'defines': [ |
17 # Tell ICU to not insert |using namespace icu;| into its headers, | 17 # Tell ICU to not insert |using namespace icu;| into its headers, |
18 # so that chrome's source explicitly has to use |icu::|. | 18 # so that chrome's source explicitly has to use |icu::|. |
19 'U_USING_ICU_NAMESPACE=0', | 19 'U_USING_ICU_NAMESPACE=0', |
20 ], | 20 ], |
21 }, | 21 }, |
22 'defines': [ | 22 'defines': [ |
23 'U_USING_ICU_NAMESPACE=0', | 23 'U_USING_ICU_NAMESPACE=0', |
| 24 'HAVE_DLOPEN=0', |
24 ], | 25 ], |
25 'conditions': [ | 26 'conditions': [ |
26 ['component=="static_library"', { | 27 ['component=="static_library"', { |
27 'defines': [ | 28 'defines': [ |
28 'U_STATIC_IMPLEMENTATION', | 29 'U_STATIC_IMPLEMENTATION', |
29 ], | 30 ], |
30 }], | 31 }], |
31 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ | 32 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ |
32 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ | 33 or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \ |
33 (target_arch=="arm" or target_arch=="ia32" or \ | 34 (target_arch=="arm" or target_arch=="ia32" or \ |
(...skipping 20 matching lines...) Expand all Loading... |
54 ['use_system_icu==0 or want_separate_host_toolset==1', { | 55 ['use_system_icu==0 or want_separate_host_toolset==1', { |
55 'targets': [ | 56 'targets': [ |
56 { | 57 { |
57 'target_name': 'icudata', | 58 'target_name': 'icudata', |
58 'type': 'static_library', | 59 'type': 'static_library', |
59 'defines': [ | 60 'defines': [ |
60 'U_HIDE_DATA_SYMBOL', | 61 'U_HIDE_DATA_SYMBOL', |
61 ], | 62 ], |
62 'sources': [ | 63 'sources': [ |
63 # These are hand-generated, but will do for now. The linux | 64 # These are hand-generated, but will do for now. The linux |
64 # version is an identical copy of the (mac) icudt46l_dat.S file, | 65 # version is an identical copy of the (mac) icudt52l_dat.S file, |
65 # modulo removal of the .private_extern and .const directives and | 66 # modulo removal of the .private_extern and .const directives and |
66 # with no leading underscore on the icudt46_dat symbol. | 67 # with no leading underscore on the icudt52_dat symbol. |
67 'android/icudt46l_dat.S', | 68 'android/icudt52l_dat.S', |
68 'linux/icudt46l_dat.S', | 69 'linux/icudt52l_dat.S', |
69 'mac/icudt46l_dat.S', | 70 'mac/icudt52l_dat.S', |
70 ], | 71 ], |
71 'conditions': [ | 72 'conditions': [ |
72 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 73 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
73 'toolsets': ['host'], | 74 'toolsets': ['host'], |
74 }], | 75 }], |
75 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 76 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
76 'toolsets': ['host', 'target'], | 77 'toolsets': ['host', 'target'], |
77 }], | 78 }], |
78 [ 'use_system_icu==0 and want_separate_host_toolset==0', { | 79 [ 'use_system_icu==0 and want_separate_host_toolset==0', { |
79 'toolsets': ['target'], | 80 'toolsets': ['target'], |
80 }], | 81 }], |
81 [ 'OS == "win" and icu_use_data_file_flag==0', { | 82 [ 'OS == "win" and icu_use_data_file_flag==0', { |
82 'type': 'none', | 83 'type': 'none', |
83 'copies': [ | 84 'copies': [ |
84 { | 85 { |
85 'destination': '<(PRODUCT_DIR)', | 86 'destination': '<(PRODUCT_DIR)', |
86 'files': [ | 87 'files': [ |
87 'windows/icudt.dll', | 88 'windows/icudt.dll', |
88 ], | 89 ], |
89 }, | 90 }, |
90 ], | 91 ], |
91 }], | 92 }], |
92 [ 'icu_use_data_file_flag==1', { | 93 [ 'icu_use_data_file_flag==1', { |
93 # Remove any assembly data file. | 94 # Remove any assembly data file. |
94 'sources/': [['exclude', 'icudt46l_dat']], | 95 'sources/': [['exclude', 'icudt52l_dat']], |
95 # Compile in the stub data symbol. | 96 # Compile in the stub data symbol. |
96 'sources': ['source/stubdata/stubdata.c'], | 97 'sources': ['source/stubdata/stubdata.c'], |
97 | 98 |
98 # Make sure any binary depending on this gets the data file. | 99 # Make sure any binary depending on this gets the data file. |
99 'conditions': [ | 100 'conditions': [ |
100 ['OS != "ios"', { | 101 ['OS != "ios"', { |
101 'copies': [{ | 102 'copies': [{ |
102 'destination': '<(PRODUCT_DIR)', | 103 'destination': '<(PRODUCT_DIR)', |
103 'conditions': [ | 104 'conditions': [ |
104 ['OS == "android"', { | 105 ['OS == "android"', { |
(...skipping 14 matching lines...) Expand all Loading... |
119 ], | 120 ], |
120 }, | 121 }, |
121 }], # OS!=ios | 122 }], # OS!=ios |
122 ], # conditions | 123 ], # conditions |
123 }], # icu_use_data_file_flag | 124 }], # icu_use_data_file_flag |
124 ], # conditions | 125 ], # conditions |
125 'target_conditions': [ | 126 'target_conditions': [ |
126 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' | 127 [ 'OS == "win" or OS == "mac" or OS == "ios" or ' |
127 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' | 128 '(OS == "android" and (_toolset != "host" or host_os != "linux"))
or ' |
128 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { | 129 '(OS == "qnx" and (_toolset == "host" and host_os != "linux"))', { |
129 'sources!': ['linux/icudt46l_dat.S'], | 130 'sources!': ['linux/icudt52l_dat.S'], |
130 }], | 131 }], |
131 [ 'OS != "android" or _toolset == "host"', { | 132 [ 'OS != "android" or _toolset == "host"', { |
132 'sources!': ['android/icudt46l_dat.S'], | 133 'sources!': ['android/icudt52l_dat.S'], |
133 }], | 134 }], |
134 [ 'OS != "mac" and OS != "ios" and ' | 135 [ 'OS != "mac" and OS != "ios" and ' |
135 '((OS != "android" and OS != "qnx") or ' | 136 '((OS != "android" and OS != "qnx") or ' |
136 '_toolset != "host" or host_os != "mac")', { | 137 '_toolset != "host" or host_os != "mac")', { |
137 'sources!': ['mac/icudt46l_dat.S'], | 138 'sources!': ['mac/icudt52l_dat.S'], |
138 }], | 139 }], |
139 ], # target_conditions | 140 ], # target_conditions |
140 }, | 141 }, |
141 { | 142 { |
142 'target_name': 'icui18n', | 143 'target_name': 'icui18n', |
143 'type': '<(component)', | 144 'type': '<(component)', |
144 'sources': [ | 145 'sources': [ |
145 '<@(icui18n_sources)', | 146 '<@(icui18n_sources)', |
146 ], | 147 ], |
147 'defines': [ | 148 'defines': [ |
148 'U_I18N_IMPLEMENTATION', | 149 'U_I18N_IMPLEMENTATION', |
149 ], | 150 ], |
150 'dependencies': [ | 151 'dependencies': [ |
151 'icuuc', | 152 'icuuc', |
152 ], | 153 ], |
153 'direct_dependent_settings': { | 154 'direct_dependent_settings': { |
154 'include_dirs': [ | 155 'include_dirs': [ |
155 'source/i18n', | 156 'source/i18n', |
156 ], | 157 ], |
157 }, | 158 }, |
| 159 # Since ICU wants to internally use its own deprecated APIs, don't |
| 160 # complain about it. |
| 161 'cflags': [ |
| 162 '-Wno-deprecated-declarations', |
| 163 ], |
| 164 'cflags_cc': [ |
| 165 '-frtti', |
| 166 ], |
| 167 'xcode_settings': { |
| 168 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti |
| 169 }, |
| 170 'msvs_settings': { |
| 171 'VCCLCompilerTool': { |
| 172 'RuntimeTypeInfo': 'true', |
| 173 }, |
| 174 }, |
158 'conditions': [ | 175 'conditions': [ |
159 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 176 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
160 'toolsets': ['host'], | 177 'toolsets': ['host'], |
161 }], | 178 }], |
162 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 179 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
163 'toolsets': ['host', 'target'], | 180 'toolsets': ['host', 'target'], |
164 }], | 181 }], |
165 [ 'use_system_icu==0 and want_separate_host_toolset==0', { | 182 [ 'use_system_icu==0 and want_separate_host_toolset==0', { |
166 'toolsets': ['target'], | 183 'toolsets': ['target'], |
167 }], | 184 }], |
168 [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { | |
169 # Since ICU wants to internally use its own deprecated APIs, don't | |
170 # complain about it. | |
171 'cflags': [ | |
172 '-Wno-deprecated-declarations', | |
173 ], | |
174 'cflags_cc': [ | |
175 '-frtti', | |
176 ], | |
177 }], | |
178 ['OS == "mac" or OS == "ios"', { | |
179 'xcode_settings': { | |
180 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti | |
181 }, | |
182 }], | |
183 ['OS == "win"', { | |
184 'msvs_settings': { | |
185 'VCCLCompilerTool': { | |
186 'RuntimeTypeInfo': 'true', | |
187 }, | |
188 } | |
189 }], | |
190 ['clang==1', { | 185 ['clang==1', { |
191 'xcode_settings': { | 186 'xcode_settings': { |
192 'WARNING_CFLAGS': [ | 187 'WARNING_CFLAGS': [ |
193 # ICU uses its own deprecated functions. | 188 # ICU uses its own deprecated functions. |
194 '-Wno-deprecated-declarations', | 189 '-Wno-deprecated-declarations', |
195 # ICU prefers `a && b || c` over `(a && b) || c`. | 190 # ICU prefers `a && b || c` over `(a && b) || c`. |
196 '-Wno-logical-op-parentheses', | 191 '-Wno-logical-op-parentheses', |
197 # ICU has some `unsigned < 0` checks. | 192 # ICU has some `unsigned < 0` checks. |
198 '-Wno-tautological-compare', | 193 '-Wno-tautological-compare', |
199 # uspoof.h has a U_NAMESPACE_USE macro. That's a bug, | |
200 # the header should use U_NAMESPACE_BEGIN instead. | |
201 # http://bugs.icu-project.org/trac/ticket/9054 | |
202 '-Wno-header-hygiene', | |
203 # Looks like a real issue, see http://crbug.com/114660 | 194 # Looks like a real issue, see http://crbug.com/114660 |
204 '-Wno-return-type-c-linkage', | 195 '-Wno-return-type-c-linkage', |
205 ], | 196 ], |
206 }, | 197 }, |
207 'cflags': [ | 198 'cflags': [ |
208 '-Wno-deprecated-declarations', | 199 '-Wno-deprecated-declarations', |
209 '-Wno-logical-op-parentheses', | 200 '-Wno-logical-op-parentheses', |
210 '-Wno-tautological-compare', | 201 '-Wno-tautological-compare', |
211 '-Wno-header-hygiene', | |
212 '-Wno-return-type-c-linkage', | 202 '-Wno-return-type-c-linkage', |
213 ], | 203 ], |
214 }], | 204 }], |
215 ['OS == "android" and clang==0', { | 205 ['OS == "android" and clang==0', { |
216 # Disable sincos() optimization to avoid a linker error since | 206 # Disable sincos() optimization to avoid a linker error since |
217 # Android's math library doesn't have sincos(). Either | 207 # Android's math library doesn't have sincos(). Either |
218 # -fno-builtin-sin or -fno-builtin-cos works. | 208 # -fno-builtin-sin or -fno-builtin-cos works. |
219 'cflags': [ | 209 'cflags': [ |
220 '-fno-builtin-sin', | 210 '-fno-builtin-sin', |
221 ], | 211 ], |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 'source/common', | 245 'source/common', |
256 ], | 246 ], |
257 'conditions': [ | 247 'conditions': [ |
258 [ 'component=="static_library"', { | 248 [ 'component=="static_library"', { |
259 'defines': [ | 249 'defines': [ |
260 'U_STATIC_IMPLEMENTATION', | 250 'U_STATIC_IMPLEMENTATION', |
261 ], | 251 ], |
262 }], | 252 }], |
263 ], | 253 ], |
264 }, | 254 }, |
| 255 'cflags': [ |
| 256 # Since ICU wants to internally use its own deprecated APIs, |
| 257 # don't complain about it. |
| 258 '-Wno-deprecated-declarations', |
| 259 '-Wno-unused-function', |
| 260 ], |
| 261 'cflags_cc': [ |
| 262 '-frtti', |
| 263 ], |
| 264 'xcode_settings': { |
| 265 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti |
| 266 }, |
| 267 'msvs_settings': { |
| 268 'VCCLCompilerTool': { |
| 269 'RuntimeTypeInfo': 'true', |
| 270 }, |
| 271 }, |
265 'conditions': [ | 272 'conditions': [ |
266 [ 'use_system_icu==1 and want_separate_host_toolset==1', { | 273 [ 'use_system_icu==1 and want_separate_host_toolset==1', { |
267 'toolsets': ['host'], | 274 'toolsets': ['host'], |
268 }], | 275 }], |
269 [ 'use_system_icu==0 and want_separate_host_toolset==1', { | 276 [ 'use_system_icu==0 and want_separate_host_toolset==1', { |
270 'toolsets': ['host', 'target'], | 277 'toolsets': ['host', 'target'], |
271 }], | 278 }], |
272 [ 'use_system_icu==0 and want_separate_host_toolset==0', { | 279 [ 'use_system_icu==0 and want_separate_host_toolset==0', { |
273 'toolsets': ['target'], | 280 'toolsets': ['target'], |
274 }], | 281 }], |
275 [ 'OS == "win"', { | 282 [ 'OS == "win"', { |
276 'sources': [ | 283 'sources': [ |
277 'source/stubdata/stubdata.c', | 284 'source/stubdata/stubdata.c', |
278 ], | 285 ], |
279 }], | 286 }], |
280 [ 'os_posix == 1 and OS != "mac" and OS != "ios"', { | |
281 'cflags': [ | |
282 # Since ICU wants to internally use its own deprecated APIs, | |
283 # don't complain about it. | |
284 '-Wno-deprecated-declarations', | |
285 '-Wno-unused-function', | |
286 ], | |
287 'cflags_cc': [ | |
288 '-frtti', | |
289 ], | |
290 }], | |
291 ['OS == "mac" or OS == "ios"', { | |
292 'xcode_settings': { | |
293 'GCC_ENABLE_CPP_RTTI': 'YES', # -frtti | |
294 }, | |
295 }], | |
296 ['OS == "win"', { | |
297 'msvs_settings': { | |
298 'VCCLCompilerTool': { | |
299 'RuntimeTypeInfo': 'true', | |
300 }, | |
301 }, | |
302 }], | |
303 ['OS == "android" and use_system_stlport == 1', { | 287 ['OS == "android" and use_system_stlport == 1', { |
304 'target_conditions': [ | 288 'target_conditions': [ |
305 ['_toolset == "target"', { | 289 ['_toolset == "target"', { |
306 # ICU requires RTTI, which is not present in the system's | 290 # ICU requires RTTI, which is not present in the system's |
307 # stlport, so we have to include gabi++. | 291 # stlport, so we have to include gabi++. |
308 'include_dirs': [ | 292 'include_dirs': [ |
309 '<(android_src)/abi/cpp/include', | 293 '<(android_src)/abi/cpp/include', |
310 ], | 294 ], |
311 'link_settings': { | 295 'link_settings': { |
312 'libraries': [ | 296 'libraries': [ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 'type': 'none', | 380 'type': 'none', |
397 'dependencies': ['system_icu'], | 381 'dependencies': ['system_icu'], |
398 'export_dependent_settings': ['system_icu'], | 382 'export_dependent_settings': ['system_icu'], |
399 'variables': { | 383 'variables': { |
400 'headers_root_path': 'source/i18n', | 384 'headers_root_path': 'source/i18n', |
401 'header_filenames': [ | 385 'header_filenames': [ |
402 # This list can easily be updated using the command below: | 386 # This list can easily be updated using the command below: |
403 # find third_party/icu/source/i18n/unicode -iname '*.h' \ | 387 # find third_party/icu/source/i18n/unicode -iname '*.h' \ |
404 # -printf "'%p',\n" | \ | 388 # -printf "'%p',\n" | \ |
405 # sed -e 's|third_party/icu/source/i18n/||' | sort -u | 389 # sed -e 's|third_party/icu/source/i18n/||' | sort -u |
| 390 'unicode/alphaindex.h', |
406 'unicode/basictz.h', | 391 'unicode/basictz.h', |
407 'unicode/bmsearch.h', | |
408 'unicode/bms.h', | |
409 'unicode/calendar.h', | 392 'unicode/calendar.h', |
410 'unicode/choicfmt.h', | 393 'unicode/choicfmt.h', |
411 'unicode/coleitr.h', | 394 'unicode/coleitr.h', |
412 'unicode/colldata.h', | |
413 'unicode/coll.h', | 395 'unicode/coll.h', |
| 396 'unicode/compactdecimalformat.h', |
414 'unicode/curramt.h', | 397 'unicode/curramt.h', |
415 'unicode/currpinf.h', | 398 'unicode/currpinf.h', |
416 'unicode/currunit.h', | 399 'unicode/currunit.h', |
417 'unicode/datefmt.h', | 400 'unicode/datefmt.h', |
418 'unicode/dcfmtsym.h', | 401 'unicode/dcfmtsym.h', |
419 'unicode/decimfmt.h', | 402 'unicode/decimfmt.h', |
420 'unicode/dtfmtsym.h', | 403 'unicode/dtfmtsym.h', |
421 'unicode/dtitvfmt.h', | 404 'unicode/dtitvfmt.h', |
422 'unicode/dtitvinf.h', | 405 'unicode/dtitvinf.h', |
423 'unicode/dtptngen.h', | 406 'unicode/dtptngen.h', |
424 'unicode/dtrule.h', | 407 'unicode/dtrule.h', |
425 'unicode/fieldpos.h', | 408 'unicode/fieldpos.h', |
426 'unicode/fmtable.h', | 409 'unicode/fmtable.h', |
427 'unicode/format.h', | 410 'unicode/format.h', |
428 'unicode/fpositer.h', | 411 'unicode/fpositer.h', |
| 412 'unicode/gender.h', |
429 'unicode/gregocal.h', | 413 'unicode/gregocal.h', |
430 'unicode/locdspnm.h', | 414 'unicode/locdspnm.h', |
431 'unicode/measfmt.h', | 415 'unicode/measfmt.h', |
432 'unicode/measunit.h', | 416 'unicode/measunit.h', |
433 'unicode/measure.h', | 417 'unicode/measure.h', |
434 'unicode/msgfmt.h', | 418 'unicode/msgfmt.h', |
435 'unicode/numfmt.h', | 419 'unicode/numfmt.h', |
436 'unicode/numsys.h', | 420 'unicode/numsys.h', |
437 'unicode/plurfmt.h', | 421 'unicode/plurfmt.h', |
438 'unicode/plurrule.h', | 422 'unicode/plurrule.h', |
439 'unicode/rbnf.h', | 423 'unicode/rbnf.h', |
440 'unicode/rbtz.h', | 424 'unicode/rbtz.h', |
441 'unicode/regex.h', | 425 'unicode/regex.h', |
| 426 'unicode/region.h', |
442 'unicode/search.h', | 427 'unicode/search.h', |
443 'unicode/selfmt.h', | 428 'unicode/selfmt.h', |
444 'unicode/simpletz.h', | 429 'unicode/simpletz.h', |
445 'unicode/smpdtfmt.h', | 430 'unicode/smpdtfmt.h', |
446 'unicode/sortkey.h', | 431 'unicode/sortkey.h', |
447 'unicode/stsearch.h', | 432 'unicode/stsearch.h', |
448 'unicode/tblcoll.h', | 433 'unicode/tblcoll.h', |
449 'unicode/timezone.h', | 434 'unicode/timezone.h', |
450 'unicode/tmunit.h', | 435 'unicode/tmunit.h', |
451 'unicode/tmutamt.h', | 436 'unicode/tmutamt.h', |
452 'unicode/tmutfmt.h', | 437 'unicode/tmutfmt.h', |
453 'unicode/translit.h', | 438 'unicode/translit.h', |
| 439 'unicode/tzfmt.h', |
| 440 'unicode/tznames.h', |
454 'unicode/tzrule.h', | 441 'unicode/tzrule.h', |
455 'unicode/tztrans.h', | 442 'unicode/tztrans.h', |
456 'unicode/ucal.h', | 443 'unicode/ucal.h', |
457 'unicode/ucoleitr.h', | 444 'unicode/ucoleitr.h', |
458 'unicode/ucol.h', | 445 'unicode/ucol.h', |
459 'unicode/ucsdet.h', | 446 'unicode/ucsdet.h', |
460 'unicode/ucurr.h', | 447 'unicode/ucurr.h', |
| 448 'unicode/udateintervalformat.h', |
461 'unicode/udat.h', | 449 'unicode/udat.h', |
462 'unicode/udatpg.h', | 450 'unicode/udatpg.h', |
| 451 'unicode/udisplaycontext.h', |
| 452 'unicode/uformattable.h', |
| 453 'unicode/ugender.h', |
463 'unicode/uldnames.h', | 454 'unicode/uldnames.h', |
464 'unicode/ulocdata.h', | 455 'unicode/ulocdata.h', |
465 'unicode/umsg.h', | 456 'unicode/umsg.h', |
466 'unicode/unirepl.h', | 457 'unicode/unirepl.h', |
467 'unicode/unum.h', | 458 'unicode/unum.h', |
| 459 'unicode/unumsys.h', |
| 460 'unicode/upluralrules.h', |
468 'unicode/uregex.h', | 461 'unicode/uregex.h', |
| 462 'unicode/uregion.h', |
469 'unicode/usearch.h', | 463 'unicode/usearch.h', |
470 'unicode/uspoof.h', | 464 'unicode/uspoof.h', |
471 'unicode/utmscale.h', | 465 'unicode/utmscale.h', |
472 'unicode/utrans.h', | 466 'unicode/utrans.h', |
473 'unicode/vtzone.h', | 467 'unicode/vtzone.h', |
474 ], | 468 ], |
475 }, | 469 }, |
476 'includes': [ | 470 'includes': [ |
477 '../../build/shim_headers.gypi', | 471 '../../build/shim_headers.gypi', |
478 ], | 472 ], |
479 'toolsets': ['target'], | 473 'toolsets': ['target'], |
480 }, | 474 }, |
481 { | 475 { |
482 'target_name': 'icuuc', | 476 'target_name': 'icuuc', |
483 'type': 'none', | 477 'type': 'none', |
484 'dependencies': ['system_icu'], | 478 'dependencies': ['system_icu'], |
485 'export_dependent_settings': ['system_icu'], | 479 'export_dependent_settings': ['system_icu'], |
486 'variables': { | 480 'variables': { |
487 'headers_root_path': 'source/common', | 481 'headers_root_path': 'source/common', |
488 'header_filenames': [ | 482 'header_filenames': [ |
489 # This list can easily be updated using the command below: | 483 # This list can easily be updated using the command below: |
490 # find third_party/icu/source/common/unicode -iname '*.h' \ | 484 # find third_party/icu/source/common/unicode -iname '*.h' \ |
491 # -printf "'%p',\n" | \ | 485 # -printf "'%p',\n" | \ |
492 # sed -e 's|third_party/icu/source/common/||' | sort -u | 486 # sed -e 's|third_party/icu/source/common/||' | sort -u |
| 487 'unicode/appendable.h', |
493 'unicode/brkiter.h', | 488 'unicode/brkiter.h', |
494 'unicode/bytestream.h', | 489 'unicode/bytestream.h', |
| 490 'unicode/bytestriebuilder.h', |
| 491 'unicode/bytestrie.h', |
495 'unicode/caniter.h', | 492 'unicode/caniter.h', |
496 'unicode/chariter.h', | 493 'unicode/chariter.h', |
497 'unicode/dbbi.h', | 494 'unicode/dbbi.h', |
498 'unicode/docmain.h', | 495 'unicode/docmain.h', |
499 'unicode/dtintrv.h', | 496 'unicode/dtintrv.h', |
| 497 'unicode/enumset.h', |
500 'unicode/errorcode.h', | 498 'unicode/errorcode.h', |
501 'unicode/icudataver.h', | 499 'unicode/icudataver.h', |
502 'unicode/icuplug.h', | 500 'unicode/icuplug.h', |
503 'unicode/idna.h', | 501 'unicode/idna.h', |
| 502 'unicode/listformatter.h', |
504 'unicode/localpointer.h', | 503 'unicode/localpointer.h', |
505 'unicode/locid.h', | 504 'unicode/locid.h', |
| 505 'unicode/messagepattern.h', |
506 'unicode/normalizer2.h', | 506 'unicode/normalizer2.h', |
507 'unicode/normlzr.h', | 507 'unicode/normlzr.h', |
508 'unicode/pandroid.h', | |
509 'unicode/parseerr.h', | 508 'unicode/parseerr.h', |
510 'unicode/parsepos.h', | 509 'unicode/parsepos.h', |
511 'unicode/pfreebsd.h', | 510 'unicode/platform.h', |
512 'unicode/plinux.h', | |
513 'unicode/pmac.h', | |
514 'unicode/popenbsd.h', | |
515 'unicode/ppalmos.h', | |
516 'unicode/ptypes.h', | 511 'unicode/ptypes.h', |
517 'unicode/putil.h', | 512 'unicode/putil.h', |
518 'unicode/pwin32.h', | |
519 'unicode/rbbi.h', | 513 'unicode/rbbi.h', |
520 'unicode/rep.h', | 514 'unicode/rep.h', |
521 'unicode/resbund.h', | 515 'unicode/resbund.h', |
522 'unicode/schriter.h', | 516 'unicode/schriter.h', |
523 'unicode/std_string.h', | 517 'unicode/std_string.h', |
524 'unicode/strenum.h', | 518 'unicode/strenum.h', |
525 'unicode/stringpiece.h', | 519 'unicode/stringpiece.h', |
| 520 'unicode/stringtriebuilder.h', |
526 'unicode/symtable.h', | 521 'unicode/symtable.h', |
527 'unicode/ubidi.h', | 522 'unicode/ubidi.h', |
528 'unicode/ubrk.h', | 523 'unicode/ubrk.h', |
529 'unicode/ucasemap.h', | 524 'unicode/ucasemap.h', |
530 'unicode/ucat.h', | 525 'unicode/ucat.h', |
531 'unicode/uchar.h', | 526 'unicode/uchar.h', |
| 527 'unicode/ucharstriebuilder.h', |
| 528 'unicode/ucharstrie.h', |
532 'unicode/uchriter.h', | 529 'unicode/uchriter.h', |
533 'unicode/uclean.h', | 530 'unicode/uclean.h', |
534 'unicode/ucnv_cb.h', | 531 'unicode/ucnv_cb.h', |
535 'unicode/ucnv_err.h', | 532 'unicode/ucnv_err.h', |
536 'unicode/ucnv.h', | 533 'unicode/ucnv.h', |
537 'unicode/ucnvsel.h', | 534 'unicode/ucnvsel.h', |
538 'unicode/uconfig.h', | 535 'unicode/uconfig.h', |
539 'unicode/udata.h', | 536 'unicode/udata.h', |
540 'unicode/udeprctd.h', | |
541 'unicode/udraft.h', | |
542 'unicode/uenum.h', | 537 'unicode/uenum.h', |
543 'unicode/uidna.h', | 538 'unicode/uidna.h', |
544 'unicode/uintrnal.h', | |
545 'unicode/uiter.h', | 539 'unicode/uiter.h', |
546 'unicode/uloc.h', | 540 'unicode/uloc.h', |
547 'unicode/umachine.h', | 541 'unicode/umachine.h', |
548 'unicode/umisc.h', | 542 'unicode/umisc.h', |
549 'unicode/unifilt.h', | 543 'unicode/unifilt.h', |
550 'unicode/unifunct.h', | 544 'unicode/unifunct.h', |
551 'unicode/unimatch.h', | 545 'unicode/unimatch.h', |
552 'unicode/uniset.h', | 546 'unicode/uniset.h', |
553 'unicode/unistr.h', | 547 'unicode/unistr.h', |
554 'unicode/unorm2.h', | 548 'unicode/unorm2.h', |
555 'unicode/unorm.h', | 549 'unicode/unorm.h', |
556 'unicode/uobject.h', | 550 'unicode/uobject.h', |
557 'unicode/uobslete.h', | |
558 'unicode/urename.h', | 551 'unicode/urename.h', |
559 'unicode/urep.h', | 552 'unicode/urep.h', |
560 'unicode/ures.h', | 553 'unicode/ures.h', |
561 'unicode/uscript.h', | 554 'unicode/uscript.h', |
562 'unicode/uset.h', | 555 'unicode/uset.h', |
563 'unicode/usetiter.h', | 556 'unicode/usetiter.h', |
564 'unicode/ushape.h', | 557 'unicode/ushape.h', |
565 'unicode/usprep.h', | 558 'unicode/usprep.h', |
566 'unicode/ustring.h', | 559 'unicode/ustring.h', |
567 'unicode/usystem.h', | 560 'unicode/ustringtrie.h', |
568 'unicode/utext.h', | 561 'unicode/utext.h', |
569 'unicode/utf16.h', | 562 'unicode/utf16.h', |
570 'unicode/utf32.h', | 563 'unicode/utf32.h', |
571 'unicode/utf8.h', | 564 'unicode/utf8.h', |
572 'unicode/utf.h', | 565 'unicode/utf.h', |
573 'unicode/utf_old.h', | 566 'unicode/utf_old.h', |
574 'unicode/utrace.h', | 567 'unicode/utrace.h', |
575 'unicode/utypeinfo.h', | |
576 'unicode/utypes.h', | 568 'unicode/utypes.h', |
577 'unicode/uvernum.h', | 569 'unicode/uvernum.h', |
578 'unicode/uversion.h', | 570 'unicode/uversion.h', |
579 ], | 571 ], |
580 }, | 572 }, |
581 'includes': [ | 573 'includes': [ |
582 '../../build/shim_headers.gypi', | 574 '../../build/shim_headers.gypi', |
583 ], | 575 ], |
584 'toolsets': ['target'], | 576 'toolsets': ['target'], |
585 }, | 577 }, |
586 ], # targets | 578 ], # targets |
587 }], | 579 }], |
588 ], # conditions | 580 ], # conditions |
589 } | 581 } |
OLD | NEW |