Index: gpu/command_buffer_service.gypi |
diff --git a/gpu/command_buffer_service.gypi b/gpu/command_buffer_service.gypi |
index 95a0aa2c4292e059ec58c9242f578111f1df78ca..953ddd24c4390e6a9fb7e3ef12895ca584919a79 100644 |
--- a/gpu/command_buffer_service.gypi |
+++ b/gpu/command_buffer_service.gypi |
@@ -142,6 +142,15 @@ |
'../third_party/khronos', |
], |
}], |
+ ['OS=="mac"', { |
+ # Required by gles2_cmd_decoder.cc on Mac. |
+ 'link_settings': { |
+ 'libraries': [ |
+ '$(SDKROOT)/System/Library/Frameworks/IOSurface.framework', |
+ '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', |
+ ], |
+ }, |
+ }], |
['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', { |
'sources': [ |
'command_buffer/service/async_pixel_transfer_manager_egl.cc', |