| Index: ui/gl/gl.gyp | 
| diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp | 
| index 702f4ccabd4e2942010ce61b18a32734c29eb6ff..527c5c4b63d20cb9a068d849b27ed26cc1661f63 100644 | 
| --- a/ui/gl/gl.gyp | 
| +++ b/ui/gl/gl.gyp | 
| @@ -84,8 +84,6 @@ | 
| 'gl_implementation.cc', | 
| 'gl_implementation.h', | 
| 'gl_implementation_android.cc', | 
| -        'gl_implementation_linux.cc', | 
| -        'gl_implementation_linux.h', | 
| 'gl_implementation_ozone.cc', | 
| 'gl_implementation_mac.cc', | 
| 'gl_implementation_win.cc', | 
| @@ -187,6 +185,12 @@ | 
| '<(DEPTH)/third_party/khronos', | 
| ], | 
| }], | 
| +        ['OS in ("android", "linux")', { | 
| +          'sources': [ | 
| +            'gl_implementation_osmesa.cc', | 
| +            'gl_implementation_osmesa.h', | 
| +          ], | 
| +        }], | 
| ['use_x11 == 1', { | 
| 'sources': [ | 
| 'gl_context_glx.cc', | 
| @@ -277,7 +281,6 @@ | 
| ], | 
| }, | 
| 'sources!': [ | 
| -            'gl_context_osmesa.cc', | 
| 'system_monitor_posix.cc', | 
| ], | 
| 'defines': [ | 
|  |