Chromium Code Reviews| Index: ui/gfx/gl/gl.gyp |
| diff --git a/ui/gfx/gl/gl.gyp b/ui/gfx/gl/gl.gyp |
| index 22e40b9ac641dc84fd4813a2a95b60bc41f31c8d..95871eb2971da08c7448e157a61f1458d827c211 100644 |
| --- a/ui/gfx/gl/gl.gyp |
| +++ b/ui/gfx/gl/gl.gyp |
| @@ -41,7 +41,7 @@ |
| 'gl_context.cc', |
| 'gl_context.h', |
| 'gl_context_linux.cc', |
| - 'gl_context_mac.cc', |
| + 'gl_context_mac.mm', |
| 'gl_context_osmesa.cc', |
| 'gl_context_osmesa.h', |
| 'gl_context_stub.cc', |
| @@ -172,6 +172,14 @@ |
| ], |
| }, |
| }], |
| + ['OS=="mac" and use_webkit_compositor == 1', { |
| + 'sources': [ |
| + 'gl_context_nsview.mm', |
| + 'gl_context_nsview.h', |
| + 'gl_surface_nsview.mm', |
| + 'gl_surface_nsview.h', |
| + ], |
| + }], |
| ], |
| }, |
| ], |