summaryrefslogtreecommitdiff
path: root/chromium/webkit
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-10-30 14:27:28 +0100
committerAndras Becsi <andras.becsi@digia.com>2014-06-04 18:07:05 +0200
commit290ea863c512c5d418d9cd5aacf76b3a838af37e (patch)
treea9388a31c5e3802cb5a002549ddecbc64e4d5403 /chromium/webkit
parent20b77b6954b72436cf555fedddef2d42a10447d8 (diff)
downloadqtwebengine-chromium-290ea863c512c5d418d9cd5aacf76b3a838af37e.tar.gz
<chromium> 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: I82ae8a5a62f7d968375b971757b2126670a02461 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'chromium/webkit')
-rw-r--r--chromium/webkit/common/gpu/webkit_gpu.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/webkit/common/gpu/webkit_gpu.gyp b/chromium/webkit/common/gpu/webkit_gpu.gyp
index a28e4e851a4..1a0190ccdaa 100644
--- a/chromium/webkit/common/gpu/webkit_gpu.gyp
+++ b/chromium/webkit/common/gpu/webkit_gpu.gyp
@@ -28,6 +28,9 @@
'<(DEPTH)/ui/gl/gl.gyp:gl',
'<(DEPTH)/ui/gfx/gfx.gyp:gfx',
],
+ 'export_dependent_settings': [
+ '<(DEPTH)/gpu/gpu.gyp:gles2_implementation',
+ ],
'sources': [
# This list contains all .h and .cc in gpu except for test code.
'context_provider_in_process.cc',