diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-10-30 14:27:28 +0100 |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2013-11-01 11:20:41 +0100 |
commit | edc469353a41710cf12a78211b9bc88adc4be9fe (patch) | |
tree | ea73fc3d6376a86ecc05c98e3a11f3fd3de61e81 /chromium/third_party/khronos | |
parent | eca36f26ad3765fdaf954735bd5744e2a16154f1 (diff) | |
download | qtwebengine-chromium-edc469353a41710cf12a78211b9bc88adc4be9fe.tar.gz |
Fix the build with a GL ES2 configured Qt.
GLES/gl2.h is included through Qt public headers and the copy of
Chromium is used since its include path comes before /usr/include.
The problem is that this header is incompatible for some reasons,
one of them being that it converts all GL function symbols from
gl* to GLES2*.
Qt layer code should always need to go through GL directly,
so make sure that only GYP targets that depend directly on gpu.gyp,
khronos.gyp or webkit_gpu.gyp will have an include path
pointing to those headers.
Replace all_dependent_settings with direct_dependent_settings and
control which target inherits this include_dirs from its dependencies
by using export_dependent_settings.
Change-Id: Id4d98fe22ef8b778b5ba8da300dad28e69507732
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
Diffstat (limited to 'chromium/third_party/khronos')
-rw-r--r-- | chromium/third_party/khronos/khronos.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/khronos/khronos.gyp b/chromium/third_party/khronos/khronos.gyp index 8a855728d52..88130d26b9d 100644 --- a/chromium/third_party/khronos/khronos.gyp +++ b/chromium/third_party/khronos/khronos.gyp @@ -7,7 +7,7 @@ { 'target_name': 'khronos_headers', 'type': 'none', - 'all_dependent_settings': { + 'direct_dependent_settings': { 'include_dirs': [ '.', '../../gpu', # Contains GLES2/gl2chromium.h |