Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: tools/gn/secondary/third_party/libxml/BUILD.gn

Issue 239543013: Work on Mac GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix line endings Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 = [

Powered by Google App Engine
This is Rietveld 408576698