Index: ui/surface/BUILD.gn |
diff --git a/ui/surface/BUILD.gn b/ui/surface/BUILD.gn |
index 6e262a4fc2f4b757d20d5400158901b268cb60b5..96130c44d8e67ac6614858b2396114c54c46d5db 100644 |
--- a/ui/surface/BUILD.gn |
+++ b/ui/surface/BUILD.gn |
@@ -27,4 +27,12 @@ component("surface") { |
"//ui/gfx/geometry", |
"//ui/gl", |
] |
+ |
+ if (is_mac) { |
+ # Required by accelerated_surface_mac.cc. |
+ libs = [ |
+ "IOSurface.framework", |
+ "OpenGL.framework", |
+ ] |
+ } |
} |