Index: skia/BUILD.gn |
diff --git a/skia/BUILD.gn b/skia/BUILD.gn |
index c226044ff187071b93a8b68a361a50e52aadfd42..994b89f01006504d7cc3ee32c80646669a1c3839 100644 |
--- a/skia/BUILD.gn |
+++ b/skia/BUILD.gn |
@@ -242,12 +242,14 @@ config("skia_library_config") { |
] |
} |
- if (is_ios) { |
+ if (is_ios || is_mac) { |
cflags = [ |
# Skia uses routines deprecated in iOS 7 and above |
"-Wno-deprecated-declarations", |
] |
+ } |
+ if (is_ios) { |
libs = [ "ImageIO.framework" ] |
} |
} |