Index: tools/gn/secondary/third_party/libxml/BUILD.gn |
diff --git a/tools/gn/secondary/third_party/libxml/BUILD.gn b/tools/gn/secondary/third_party/libxml/BUILD.gn |
index 16fe1b356ace61a7cfdc81c108dee6836b89e3d1..e3f26a16a0aab64d6ef74f31ae241b202b9e78d1 100644 |
--- a/tools/gn/secondary/third_party/libxml/BUILD.gn |
+++ b/tools/gn/secondary/third_party/libxml/BUILD.gn |
@@ -175,6 +175,13 @@ static_library("libxml") { |
# See http://crbug.com/138571#c8 |
"-Wno-ignored-attributes", |
] |
+ if (is_mac) { |
+ # Mac Clang warnings. |
+ cflags += [ |
+ # debugXML.c compares array 'arg' to NULL. |
+ "-Wno-tautological-pointer-compare", |
+ ] |
+ } |
} |
include_dirs = [ |