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

Unified Diff: third_party/khronos/khronos.gyp

Issue 11693007: Linux: use generated shim headers for system mesa. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move parts to gyp Created 7 years, 11 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
Index: third_party/khronos/khronos.gyp
diff --git a/third_party/khronos/khronos.gyp b/third_party/khronos/khronos.gyp
index a7eb31a2e4b62714a626ebd8617325b11f37ce5f..ad7cb15ea01dcf379128d1a422368b22b125b5cc 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': [
+ '--additional-headers-root', '.',
+ '--use-include-next',
+ ],
+ },
+ 'includes': [
+ '../../build/shim_headers.gypi',
+ ],
'all_dependent_settings': {
'include_dirs': [
'../../gpu', # Contains GLES2/gl2chromium.h

Powered by Google App Engine
This is Rietveld 408576698