Index: third_party/libxml/BUILD.gn |
diff --git a/third_party/libxml/BUILD.gn b/third_party/libxml/BUILD.gn |
index 28ac4d034e65e6285dba25e8ceedb2f3a816bd9c..430a46e35003b94ea9ef617d88eeecfebc66f4ed 100644 |
--- a/third_party/libxml/BUILD.gn |
+++ b/third_party/libxml/BUILD.gn |
@@ -4,7 +4,7 @@ |
# Define an "os_include" variable that points at the OS-specific generated |
# headers. These were generated by running the configure script offline. |
-if (is_linux || is_android || is_nacl) { |
+if (is_linux || is_android || is_nacl || is_fuchsia) { |
os_include = "linux" |
} else if (is_mac || is_ios) { |
os_include = "mac" |
@@ -71,6 +71,7 @@ config("libxml_warnings") { |
static_library("libxml") { |
output_name = "libxml2" |
+ |
# Commented out sources are libxml2 files we do not want to include. They are |
# here to make it easy to identify files which are new. |
sources = [ |
@@ -80,16 +81,20 @@ static_library("libxml") { |
"linux/include/libxml/xmlversion.h", |
"mac/config.h", |
"mac/include/libxml/xmlversion.h", |
+ |
#"src/DOCBparser.c", |
"src/HTMLparser.c", |
"src/HTMLtree.c", |
+ |
#"src/SAX.c", |
"src/SAX2.c", |
"src/buf.c", |
"src/buf.h", |
+ |
#"src/c14n.c", |
#"src/catalog.c", |
"src/chvalid.c", |
+ |
#"src/debugXML.c", |
"src/dict.c", |
"src/elfgcchack.h", |
@@ -147,20 +152,24 @@ static_library("libxml") { |
"src/include/libxml/xpointer.h", |
"src/include/win32config.h", |
"src/include/wsockcompat.h", |
+ |
#"src/legacy.c", |
"src/libxml.h", |
"src/list.c", |
"src/parser.c", |
"src/parserInternals.c", |
"src/pattern.c", |
+ |
#"src/relaxng.c", |
"src/save.h", |
+ |
#"src/schematron.c", |
"src/threads.c", |
"src/timsort.h", |
"src/tree.c", |
"src/triodef.h", |
"src/trionan.h", |
+ |
#"src/trio.c", |
#"src/trio.h", |
#"src/triodef.h", |
@@ -171,20 +180,25 @@ static_library("libxml") { |
#"src/triostr.h", |
"src/uri.c", |
"src/valid.c", |
+ |
#"src/xinclude.c", |
#"src/xlink.c", |
"src/xmlIO.c", |
"src/xmlmemory.c", |
+ |
#"src/xmlmodule.c", |
"src/xmlreader.c", |
+ |
#"src/xmlregexp.c", |
"src/xmlsave.c", |
+ |
#"src/xmlschemas.c", |
#"src/xmlschemastypes.c", |
"src/xmlstring.c", |
"src/xmlunicode.c", |
"src/xmlwriter.c", |
"src/xpath.c", |
+ |
#"src/xpointer.c", |
#"src/xzlib.c", |
"src/xzlib.h", |