Index: gpu/command_buffer/service/BUILD.gn |
diff --git a/gpu/command_buffer/service/BUILD.gn b/gpu/command_buffer/service/BUILD.gn |
index 8045a03cb9a2ed6c139865069a2804c1c23e86cd..4d71c7128b1c3d72a22ef164a5fcd16f6d3ce6e4 100644 |
--- a/gpu/command_buffer/service/BUILD.gn |
+++ b/gpu/command_buffer/service/BUILD.gn |
@@ -165,6 +165,14 @@ source_set("service_sources") { |
] |
} |
+ if (is_mac) { |
+ # Required by gles2_cmd_decoder.cc on Mac. |
+ libs = [ |
+ "IOSurface.framework", |
+ "OpenGL.framework", |
+ ] |
+ } |
+ |
if (is_android && !is_debug) { |
# On Android optimize more since this component can be a bottleneck. |
configs -= [ "//build/config/compiler:optimize" ] |