summaryrefslogtreecommitdiff
path: root/tools/icu
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2016-06-21 14:03:05 -0700
committerJames M Snell <jasnell@gmail.com>2016-06-29 17:10:53 -0700
commit7de59ef9258ede7684ff0882a7964db8f0226533 (patch)
treef390b42ff094be020e89dd7e2aa66c5ca5f47482 /tools/icu
parent3d6a01ed3ed17256c14eaf46b4d5d17becdc148b (diff)
downloadandroid-node-v8-7de59ef9258ede7684ff0882a7964db8f0226533.tar.gz
android-node-v8-7de59ef9258ede7684ff0882a7964db8f0226533.tar.bz2
android-node-v8-7de59ef9258ede7684ff0882a7964db8f0226533.zip
net: use icu's punycode implementation
ICU has a punycode implementation built in. Use it instead of the javascript implementation because it's much faster. PR-URL: https://github.com/nodejs/node/pull/7355 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools/icu')
-rw-r--r--tools/icu/icu-generic.gyp9
-rw-r--r--tools/icu/icu_small.json3
2 files changed, 2 insertions, 10 deletions
diff --git a/tools/icu/icu-generic.gyp b/tools/icu/icu-generic.gyp
index a61b294141..9d466ac392 100644
--- a/tools/icu/icu-generic.gyp
+++ b/tools/icu/icu-generic.gyp
@@ -37,8 +37,7 @@
'defines': [
# ICU cannot swap the initial data without this.
# http://bugs.icu-project.org/trac/ticket/11046
- 'UCONFIG_NO_LEGACY_CONVERSION=1',
- 'UCONFIG_NO_IDNA=1',
+ 'UCONFIG_NO_LEGACY_CONVERSION=1'
],
}],
],
@@ -428,9 +427,6 @@
#'<(icu_path)/source/common/ubidi_props_data.h',
# and the callers
'<(icu_path)/source/common/ushape.cpp',
- '<(icu_path)/source/common/usprep.cpp',
- '<(icu_path)/source/common/uts46.cpp',
- '<(icu_path)/source/common/uidna.cpp',
]}],
[ 'icu_ver_major == 57', { 'sources!': [
# work around http://bugs.icu-project.org/trac/ticket/12451
@@ -447,9 +443,6 @@
#'<(icu_path)/source/common/ubidi_props_data.h',
# and the callers
'<(icu_path)/source/common/ushape.cpp',
- '<(icu_path)/source/common/usprep.cpp',
- '<(icu_path)/source/common/uts46.cpp',
- '<(icu_path)/source/common/uidna.cpp',
]}],
[ 'OS == "solaris"', { 'defines': [
'_XOPEN_SOURCE_EXTENDED=0',
diff --git a/tools/icu/icu_small.json b/tools/icu/icu_small.json
index e434794e91..de26e2cbb1 100644
--- a/tools/icu/icu_small.json
+++ b/tools/icu/icu_small.json
@@ -24,7 +24,7 @@
"region": "none",
"zone": "locales",
"converters": "none",
- "stringprep": "none",
+ "stringprep": "locales",
"translit": "none",
"brkfiles": "none",
"brkdict": "none",
@@ -34,7 +34,6 @@
"remove": [
"cnvalias.icu",
"postalCodeData.res",
- "uts46.nrm",
"genderList.res",
"brkitr/root.res",
"unames.icu"