mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
7ea2fc8cc4
Refs: https://github.com/nodejs/build/issues/2998 Small icu seems broken from 14.x since it uses python2. Although main no longer supports python2 landing and backporting this change to the 14.x line would allow us to simplify future backports as currently the files are the same across lines. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/46263 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
current_ver.dep | ||
icu_small.json | ||
icu_versions.json | ||
icu-generic.gyp | ||
icu-system.gyp | ||
iculslocs.cc | ||
icutrim.py | ||
no-op.cc | ||
README.md | ||
shrink-icu-src.py |
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 toicutrim.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 thepkg-config
located ICU.iculslocs.cc
is source for theiculslocs
utility, invoked byicutrim.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
andiculslocs.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 replacingicutrim.py
with the ICU data slicer.
See Also
-
docs/guides/maintaining-icu.md for information on maintaining ICU in Node.js
-
docs/api/intl.md for information on the internationalization-related APIs in Node.js