Index: ui/snapshot/BUILD.gn |
diff --git a/ui/snapshot/BUILD.gn b/ui/snapshot/BUILD.gn |
index 11578dde29e47ce53374d602b9775367bda7f82c..d6ae901d8d34345f4a2e94b3e4e9cdc9f2ff1795 100644 |
--- a/ui/snapshot/BUILD.gn |
+++ b/ui/snapshot/BUILD.gn |
@@ -59,6 +59,13 @@ component("snapshot") { |
} else { |
sources -= [ "snapshot_aura.cc" ] |
} |
+ |
+ if (is_mac) { |
+ libs = [ |
+ "AppKit.framework", |
+ "CoreGraphics.framework", |
+ ] |
+ } |
} |
test("snapshot_unittests") { |