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

Unified Diff: ui/gl/gl.gyp

Issue 11693007: Linux: use generated shim headers for system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« ui/gl/generate_bindings.py ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | 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 d6ac05d3ed77ea1e82b5c19372ec33cec1f8fb2b..1a43cdabcf88e2a742381a4da06f288e84487633 100644
--- a/ui/gl/gl.gyp
+++ b/ui/gl/gl.gyp
@@ -116,14 +116,12 @@
'actions': [
{
'action_name': 'generate_gl_bindings',
+ 'variables': {
+ 'generator_path': '<(DEPTH)/ui/gl/generate_bindings.py',
+ },
'inputs': [
- 'generate_bindings.py',
- '<(DEPTH)/third_party/khronos/GLES2/gl2ext.h',
- '<(DEPTH)/third_party/khronos/EGL/eglext.h',
- '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glext.h',
- '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glx.h',
- '<(DEPTH)/third_party/mesa/MesaLib/include/GL/glxext.h',
- '<(DEPTH)/third_party/mesa/MesaLib/include/GL/wglext.h',
+ '<(generator_path)',
+ '<!@(<(generator_path) --use-system-mesa=<(use_system_mesa) --inputs)',
],
'outputs': [
'<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc',
@@ -155,7 +153,8 @@
],
'action': [
'python',
- 'generate_bindings.py',
+ '<(generator_path)',
+ '--use-system-mesa=<(use_system_mesa)',
'<(gl_binding_output_dir)',
],
},
« ui/gl/generate_bindings.py ('K') | « ui/gl/generate_bindings.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698