summaryrefslogtreecommitdiffstats
path: root/sax/Library_expwrap.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-11-14 17:13:41 +0100
committerLuboš Luňák <l.lunak@collabora.com>2014-11-14 17:20:00 +0100
commit82d08580e368afbc9d73da3613845a36a89b0a8c (patch)
treeef353fcfd8d7b427a0ecf2281eb7c0264f6fc9a6 /sax/Library_expwrap.mk
parentvcl: Stop-gap solution to start the gen / kde / kde4 plugins again. (diff)
downloadcore-82d08580e368afbc9d73da3613845a36a89b0a8c.tar.gz
core-82d08580e368afbc9d73da3613845a36a89b0a8c.zip
switch saxparser from expat to libxml2
Using SAX2 interface provides element/attribute names split into prefix/name, and provides namespaces/urls, so FastSaxParserImpl::callbackStartElement() does not have to figure out these on its own (and additionally libxml2 spends a noticeable portion in xmlStrdup() when not in SAX2 mode). The switch saves about 5-10% time. Change-Id: Idd424d7cc9b30c248179a5bad8ec79dbfc62e765
Diffstat (limited to 'sax/Library_expwrap.mk')
-rw-r--r--sax/Library_expwrap.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk
index ef749a201a51..0c44d308c51c 100644
--- a/sax/Library_expwrap.mk
+++ b/sax/Library_expwrap.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_Library_use_sdk_api,expwrap))
$(eval $(call gb_Library_use_externals,expwrap,\
boost_headers \
+ libxml2 \
expat \
zlib \
))