node/tools/icu
Michaël Zasso b1a0efacf2
deps: bump minimum icu version to 67
Bump minimum version of ICU needed to build node to 67.

Refs: 611e412768

PR-URL: https://github.com/nodejs/node/pull/33579
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
2020-07-13 14:42:43 +02:00
..
patches/64/source
current_ver.dep deps: update to ICU 67.1 2020-05-12 08:19:43 +02:00
icu_small.json
icu_versions.json deps: bump minimum icu version to 67 2020-07-13 14:42:43 +02:00
icu-generic.gyp build,win: add support for MSVC cross-compilation 2020-05-19 19:30:40 +01:00
icu-system.gyp
iculslocs.cc
icutrim.py tools: fixup icutrim.py use of string and bytes objects 2020-03-18 16:18:27 -07:00
no-op.cc
README.md doc: add angle brackets around implicit links 2020-04-23 21:48:17 -07:00
shrink-icu-src.py deps: minor ICU fixes: maint docs/tool, downloader 2020-03-20 17:21:50 -07:00

Notes about the tools/icu subdirectory

This directory contains tools and information about the International Components for Unicode (ICU) integration. Both V8 and Node.js use ICU to provide internationalization functionality.

  • patches/ are one-off patches, actually entire source file replacements, organized by ICU version number.
  • icu_small.json controls the "small" (English only) ICU. It is input to icutrim.py
  • icu-generic.gyp is the build file used for most ICU builds within ICU.
  • icu-system.gyp is an alternate build file used when --with-intl=system-icu is invoked. It builds against the pkg-config located ICU.
  • iculslocs.cc is source for the iculslocs utility, invoked by icutrim.py as part of repackaging. Not used separately. See source for more details.
  • no-op.cc contains an empty function to convince gyp to use a C++ compiler.
  • shrink-icu-src.py is used during upgrade (see guide below).

Note:

The files in this directory were written for the Node.js v0.12 effort. The original intent was to merge the tools such as icutrim.py and iculslocs.cc back into ICU. ICU has gained its own “data slicer” tool. There is an issue open, https://github.com/nodejs/node/issues/25136 for replacing icutrim.py with the ICU data slicer.

See Also