RESOLVED INVALID 135123
[CMake] Source/ThirdParty/ANGLE/include/ directory not listed in WebKit2_INCLUDE_DIRECTORIES
https://bugs.webkit.org/show_bug.cgi?id=135123
Summary [CMake] Source/ThirdParty/ANGLE/include/ directory not listed in WebKit2_INCL...
Zan Dobersek
Reported 2014-07-21 11:42:46 PDT
[CMake] Source/ThirdParty/ANGLE/include/ directory not listed in WebKit2_INCLUDE_DIRECTORIES
Attachments
Patch (1.22 KB, patch)
2014-07-21 11:45 PDT, Zan Dobersek
mrobinson: review-
Zan Dobersek
Comment 1 2014-07-21 11:45:16 PDT
Martin Robinson
Comment 2 2014-07-21 11:52:04 PDT
Comment on attachment 235233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235233&action=review > Source/WebKit2/ChangeLog:9 > + * CMakeLists.txt: List the ANGLE/include/ directory in WebKit2_INCLUDE_DIRECTORIES. Spotted > + missing when LayerTreeHostGtk was caught including system-provided OpenGLES2 and EGL headers. I think this is correct actually. We don't use the ANGLE implementation of OpenGL or EGL.
Darin Adler
Comment 3 2014-07-21 17:00:41 PDT
Comment on attachment 235233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=235233&action=review >> Source/WebKit2/ChangeLog:9 >> + missing when LayerTreeHostGtk was caught including system-provided OpenGLES2 and EGL headers. > > I think this is correct actually. We don't use the ANGLE implementation of OpenGL or EGL. Martin, is there a reason you didn’t do a review- when you added this comment?
Martin Robinson
Comment 4 2014-07-21 17:05:59 PDT
Yes. I'm fairly certain that we do not want the ANGLE headers to override the system ones, but Zan has been working closer with this issue than me. I didn't want to flip the flag outright since he might have some reason I had not thought of for this behavior.
Martin Robinson
Comment 5 2014-07-21 17:06:28 PDT
Comment on attachment 235233 [details] Patch That said, I'm almost certain if we use the system OpenGL at runtime we want to compile against the system OpenGL headers.
Zan Dobersek
Comment 6 2014-07-22 11:31:35 PDT
The WebCore_INCLUDE_DIRECTORIES list includes this directory, so this patch tried to do the same for WebKit2_INCLUDE_DIRECTORIES. But I agree with Martin that we should be using the system's headers.
Note You need to log in before you can comment on or make changes to this bug.