Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: ui/gl/gl.gyp

Issue 13985039: Rationalize linux vs x11 in ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review / try issues Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/pango_util.cc ('k') | ui/gl/gl_context_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl.gyp
diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp
index b1527cb3c8bd0672331c414f68fec52b683929f8..3f2b35586cd81322bc1768f33dfab76ec362e0dc 100644
--- a/ui/gl/gl.gyp
+++ b/ui/gl/gl.gyp
@@ -66,13 +66,13 @@
'gl_context.cc',
'gl_context.h',
'gl_context_android.cc',
- 'gl_context_linux.cc',
'gl_context_mac.mm',
'gl_context_osmesa.cc',
'gl_context_osmesa.h',
'gl_context_stub.cc',
'gl_context_stub.h',
'gl_context_win.cc',
+ 'gl_context_x11.cc',
'gl_export.h',
'gl_fence.cc',
'gl_fence.h',
@@ -81,17 +81,17 @@
'gl_image.cc',
'gl_image.h',
'gl_image_android.cc',
- 'gl_image_linux.cc',
'gl_image_mac.cc',
'gl_image_stub.cc',
'gl_image_stub.h',
'gl_image_win.cc',
+ 'gl_image_x11.cc',
'gl_implementation.cc',
'gl_implementation.h',
'gl_implementation_android.cc',
- 'gl_implementation_linux.cc',
'gl_implementation_mac.cc',
'gl_implementation_win.cc',
+ 'gl_implementation_x11.cc',
'gl_interface.cc',
'gl_interface.h',
'gl_osmesa_api_implementation.cc',
@@ -103,11 +103,11 @@
'gl_surface.cc',
'gl_surface.h',
'gl_surface_android.cc',
- 'gl_surface_linux.cc',
'gl_surface_mac.cc',
'gl_surface_stub.cc',
'gl_surface_stub.h',
'gl_surface_win.cc',
+ 'gl_surface_x11.cc',
'gl_surface_osmesa.cc',
'gl_surface_osmesa.h',
'gl_switches.cc',
@@ -188,7 +188,7 @@
},
],
'conditions': [
- ['OS != "mac"', {
+ ['OS in ("win", "android") or (OS == "linux" and use_x11 == 1)', {
'sources': [
'async_pixel_transfer_delegate_egl.cc',
'async_pixel_transfer_delegate_egl.h',
« no previous file with comments | « ui/gfx/pango_util.cc ('k') | ui/gl/gl_context_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698