| 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)',
|
| ],
|
| },
|
|
|