Index: third_party/khronos/khronos.gyp |
diff --git a/third_party/khronos/khronos.gyp b/third_party/khronos/khronos.gyp |
index a7eb31a2e4b62714a626ebd8617325b11f37ce5f..0abcfa335b1d8e98df836ed92c5a77cfba8b402c 100644 |
--- a/third_party/khronos/khronos.gyp |
+++ b/third_party/khronos/khronos.gyp |
@@ -25,6 +25,20 @@ |
{ |
'target_name': 'khronos_headers', |
'type': 'none', |
+ 'variables': { |
+ 'headers_root_path': '../..', |
+ 'header_filenames': [ |
+ 'GLES2/gl2.h;<GLES2/gl2chromium.h>;', |
+ 'GLES2/gl2ext.h;<GLES2/gl2chromium.h>;<GLES2/gl2extchromium.h>', |
+ ], |
+ 'shim_generator_additional_args': [ |
+ '--headers-root', '.', |
+ '--use-include-next', |
+ ], |
+ }, |
+ 'includes': [ |
+ '../../build/shim_headers.gypi', |
+ ], |
'all_dependent_settings': { |
'include_dirs': [ |
'../../gpu', # Contains GLES2/gl2chromium.h |