| License File: src/Copyright |
| - Add helper classes in chromium/libxml_utils.cc and |
| chromium/include/libxml/libxml_utils.h. |
| - Import https://git.gnome.org/browse/libxml2/commit/?id=7580ce0a7f53891de520fed2c0e360266c286da6 |
| - Self-assignment removed https://bugzilla.gnome.org/show_bug.cgi?id=751679. |
| - Include fix for runtime blowups on larger xpath expressions, https://bugzilla.gnome.org/show_bug.cgi?id=760325 |
| To import a new snapshot: |
| On Linux, get the latest tar, untar, and replace src/ with libxml2-X.Y.Z/. |
| Generate config.h, include/libxml/xmlversion.h, and xml2-config: |
| ../src/configure --without-iconv --with-icu --without-ftp --without-http |
| Patch config.h to not define HAVE_RAND_R since we use this file on Android |
| On a Mac, do the same in the mac/ subdir for config.h and |
| include/libxml/xmlversion.h and copy those to the Linux box in mac/ |
| cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no |
| Then copy config.h and include/libxml/xmlversion.h to win32/ on Linux. |
| Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc. |