|
93 | 93 | { |
94 | 94 | 'target_name': 'icui18n', |
95 | 95 | 'type': '<(library)', |
96 | | - 'toolsets': [ 'host', 'target' ], |
| 96 | + 'toolsets': [ 'target' ], |
97 | 97 | 'sources': [ |
98 | 98 | '<@(icu_src_i18n)' |
99 | 99 | ], |
|
111 | 111 | }, |
112 | 112 | 'export_dependent_settings': [ 'icuucx' ], |
113 | 113 | }, |
114 | | - # this library is only built for derb.. |
115 | | - { |
116 | | - 'target_name': 'icuio', |
117 | | - 'type': '<(library)', |
118 | | - 'toolsets': [ 'host' ], |
119 | | - 'sources': [ |
120 | | - '<@(icu_src_io)' |
121 | | - ], |
122 | | - 'include_dirs': [ |
123 | | - '../../deps/icu/source/io', |
124 | | - ], |
125 | | - 'defines': [ |
126 | | - 'U_IO_IMPLEMENTATION=1', |
127 | | - ], |
128 | | - 'dependencies': [ 'icuucx', 'icui18n', 'icu_implementation', 'icu_uconfig' ], |
129 | | - 'direct_dependent_settings': { |
130 | | - 'include_dirs': [ |
131 | | - '../../deps/icu/source/io', |
132 | | - ], |
133 | | - }, |
134 | | - 'export_dependent_settings': [ 'icuucx', 'icui18n' ], |
135 | | - }, |
136 | 114 | # This exports actual ICU data |
137 | 115 | { |
138 | 116 | 'target_name': 'icudata', |
|
291 | 269 | { |
292 | 270 | 'target_name': 'icustubdata', |
293 | 271 | 'type': '<(library)', |
294 | | - 'toolsets': [ 'host', 'target' ], |
| 272 | + 'toolsets': [ 'target' ], |
295 | 273 | 'dependencies': [ 'icu_implementation' ], |
296 | 274 | 'sources': [ |
297 | 275 | '<@(icu_src_stubdata)' |
|
316 | 294 | 'target_name': 'icuucx', |
317 | 295 | 'type': '<(library)', |
318 | 296 | 'dependencies': [ 'icu_implementation', 'icu_uconfig' ], |
319 | | - 'toolsets': [ 'host', 'target' ], |
| 297 | + 'toolsets': [ 'target' ], |
320 | 298 | 'sources': [ |
321 | 299 | '<@(icu_src_common)' |
322 | 300 | ], |
|
345 | 323 | 'target_name': 'icutools', |
346 | 324 | 'type': '<(library)', |
347 | 325 | 'toolsets': [ 'host' ], |
348 | | - 'dependencies': [ 'icuucx', 'icui18n', 'icustubdata' ], |
| 326 | + 'dependencies': [ 'icu_implementation', 'icu_uconfig' ], |
349 | 327 | 'sources': [ |
350 | | - '<@(icu_src_tools)' |
| 328 | + '<@(icu_src_tools)', |
| 329 | + '<@(icu_src_common)', |
| 330 | + '<@(icu_src_i18n)', |
| 331 | + '<@(icu_src_io)', |
| 332 | + '<@(icu_src_stubdata)', |
351 | 333 | ], |
352 | 334 | 'include_dirs': [ |
| 335 | + '../../deps/icu/source/common', |
| 336 | + '../../deps/icu/source/i18n', |
| 337 | + '../../deps/icu/source/io', |
353 | 338 | '../../deps/icu/source/tools/toolutil', |
354 | 339 | ], |
355 | 340 | 'defines': [ |
| 341 | + 'U_COMMON_IMPLEMENTATION=1', |
| 342 | + 'U_I18N_IMPLEMENTATION=1', |
| 343 | + 'U_IO_IMPLEMENTATION=1', |
356 | 344 | 'U_TOOLUTIL_IMPLEMENTATION=1', |
357 | 345 | #'DEBUG=0', # http://bugs.icu-project.org/trac/ticket/10977 |
358 | 346 | ], |
359 | 347 | 'direct_dependent_settings': { |
360 | 348 | 'include_dirs': [ |
| 349 | + '../../deps/icu/source/common', |
| 350 | + '../../deps/icu/source/i18n', |
| 351 | + '../../deps/icu/source/io', |
361 | 352 | '../../deps/icu/source/tools/toolutil', |
362 | 353 | ], |
| 354 | + 'conditions': [ |
| 355 | + [ 'OS=="win"', { |
| 356 | + 'link_settings': { |
| 357 | + 'libraries': [ '-lAdvAPI32.Lib', '-lUser32.lib' ], |
| 358 | + }, |
| 359 | + }], |
| 360 | + ], |
363 | 361 | }, |
364 | | - 'export_dependent_settings': [ 'icuucx', 'icui18n', 'icustubdata' ], |
| 362 | + 'export_dependent_settings': [ 'icu_implementation', 'icu_uconfig' ], |
365 | 363 | }, |
366 | 364 | # This tool is needed to rebuild .res files from .txt, |
367 | 365 | # or to build index (res_index.txt) files for small-icu |
368 | 366 | { |
369 | 367 | 'target_name': 'genrb', |
370 | 368 | 'type': 'executable', |
371 | 369 | 'toolsets': [ 'host' ], |
372 | | - 'dependencies': [ 'icutools', 'icuucx', 'icui18n' ], |
| 370 | + 'dependencies': [ 'icutools' ], |
373 | 371 | 'sources': [ |
374 | 372 | '<@(icu_src_genrb)' |
375 | 373 | ], |
|
385 | 383 | 'target_name': 'iculslocs', |
386 | 384 | 'toolsets': [ 'host' ], |
387 | 385 | 'type': 'executable', |
388 | | - 'dependencies': [ 'icutools', 'icuucx', 'icui18n', 'icuio' ], |
| 386 | + 'dependencies': [ 'icutools' ], |
389 | 387 | 'sources': [ |
390 | 388 | 'iculslocs.cc', |
391 | 389 | 'no-op.cc', |
|
397 | 395 | 'target_name': 'icupkg', |
398 | 396 | 'toolsets': [ 'host' ], |
399 | 397 | 'type': 'executable', |
400 | | - 'dependencies': [ 'icutools', 'icuucx', 'icui18n' ], |
| 398 | + 'dependencies': [ 'icutools' ], |
401 | 399 | 'sources': [ |
402 | 400 | '<@(icu_src_icupkg)', |
403 | 401 | 'no-op.cc', |
|
408 | 406 | 'target_name': 'genccode', |
409 | 407 | 'toolsets': [ 'host' ], |
410 | 408 | 'type': 'executable', |
411 | | - 'dependencies': [ 'icutools', 'icuucx', 'icui18n' ], |
| 409 | + 'dependencies': [ 'icutools' ], |
412 | 410 | 'sources': [ |
413 | 411 | '<@(icu_src_genccode)', |
414 | 412 | 'no-op.cc', |
|
0 commit comments