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

Unified Diff: gpu/gles2_conform_support/gles2_conform_support.gyp

Issue 8423038: Move GL headers from gpu to third_party/khronos (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed mac_rel build failure Created 9 years, 1 month 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 | « gpu/gles2_conform_support/egl/native/EGL/eglplatform.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/gles2_conform_support/gles2_conform_support.gyp
diff --git a/gpu/gles2_conform_support/gles2_conform_support.gyp b/gpu/gles2_conform_support/gles2_conform_support.gyp
index d75462b027d30838569044d9db7c7d0934a938cd..c9881d7858542f5e424f7a85712d21df04b3ca71 100644
--- a/gpu/gles2_conform_support/gles2_conform_support.gyp
+++ b/gpu/gles2_conform_support/gles2_conform_support.gyp
@@ -33,7 +33,7 @@
'<(DEPTH)/base/base.gyp:base',
'<(DEPTH)/gpu/gpu.gyp:command_buffer_service',
],
- 'include_dirs': ['egl/native'],
+ 'include_dirs': ['<(DEPTH)/third_party/khronos'],
'sources': [
'egl/config.cc',
'egl/config.h',
@@ -44,8 +44,12 @@
'egl/surface.h',
],
'direct_dependent_settings': {
- 'include_dirs': ['egl/native'],
+ 'include_dirs': ['<(DEPTH)/third_party/khronos'],
},
+ 'defines': [
+ 'EGLAPI=',
+ 'EGLAPIENTRY=',
+ ],
},
{
'target_name': 'egl_main_native',
@@ -58,14 +62,18 @@
'dependencies': ['../../build/linux/system.gyp:gtk'],
}],
],
- 'include_dirs': ['egl/native'],
+ 'include_dirs': ['<(DEPTH)/third_party/khronos'],
'sources': [
'<@(bootstrap_sources_native)',
],
'direct_dependent_settings': {
- 'include_dirs': ['egl/native'],
+ 'include_dirs': ['<(DEPTH)/third_party/khronos'],
},
- 'defines': ['GTF_GLES20'],
+ 'defines': [
+ 'GTF_GLES20',
+ 'EGLAPI=',
+ 'EGLAPIENTRY=',
+ ],
},
{
'target_name': 'gles2_conform_support',
@@ -84,6 +92,8 @@
'defines': [
'GLES2_CONFORM_SUPPORT_ONLY',
'GTF_GLES20',
+ 'EGLAPI=',
+ 'EGLAPIENTRY=',
],
'sources': [
'<@(bootstrap_sources_native)',
« no previous file with comments | « gpu/gles2_conform_support/egl/native/EGL/eglplatform.h ('k') | gpu/gpu.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698