<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>135123</bug_id>
          
          <creation_ts>2014-07-21 11:42:46 -0700</creation_ts>
          <short_desc>[CMake] Source/ThirdParty/ANGLE/include/ directory not listed in WebKit2_INCLUDE_DIRECTORIES</short_desc>
          <delta_ts>2014-07-22 11:31:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Zan Dobersek">zan</reporter>
          <assigned_to name="Zan Dobersek">zan</assigned_to>
          <cc>bunhere</cc>
    
    <cc>cdumez</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>mrobinson</cc>
    
    <cc>rakuco</cc>
    
    <cc>sergio</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1023731</commentid>
    <comment_count>0</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-07-21 11:42:46 -0700</bug_when>
    <thetext>[CMake] Source/ThirdParty/ANGLE/include/ directory not listed in WebKit2_INCLUDE_DIRECTORIES</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023733</commentid>
    <comment_count>1</comment_count>
      <attachid>235233</attachid>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-07-21 11:45:16 -0700</bug_when>
    <thetext>Created attachment 235233
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023737</commentid>
    <comment_count>2</comment_count>
      <attachid>235233</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-07-21 11:52:04 -0700</bug_when>
    <thetext>Comment on attachment 235233
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=235233&amp;action=review

&gt; Source/WebKit2/ChangeLog:9
&gt; +        * CMakeLists.txt: List the ANGLE/include/ directory in WebKit2_INCLUDE_DIRECTORIES. Spotted
&gt; +        missing when LayerTreeHostGtk was caught including system-provided OpenGLES2 and EGL headers.

I think this is correct actually. We don&apos;t use the ANGLE implementation of OpenGL or EGL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023808</commentid>
    <comment_count>3</comment_count>
      <attachid>235233</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2014-07-21 17:00:41 -0700</bug_when>
    <thetext>Comment on attachment 235233
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=235233&amp;action=review

&gt;&gt; Source/WebKit2/ChangeLog:9
&gt;&gt; +        missing when LayerTreeHostGtk was caught including system-provided OpenGLES2 and EGL headers.
&gt; 
&gt; I think this is correct actually. We don&apos;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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023812</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-07-21 17:05:59 -0700</bug_when>
    <thetext>Yes. I&apos;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&apos;t want to flip the flag outright since he might have some reason I had not thought of for this behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1023814</commentid>
    <comment_count>5</comment_count>
      <attachid>235233</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2014-07-21 17:06:28 -0700</bug_when>
    <thetext>Comment on attachment 235233
Patch

That said, I&apos;m almost certain if we use the system OpenGL at runtime we want to compile against the system OpenGL headers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1024008</commentid>
    <comment_count>6</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2014-07-22 11:31:35 -0700</bug_when>
    <thetext>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&apos;s headers.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>235233</attachid>
            <date>2014-07-21 11:45:16 -0700</date>
            <delta_ts>2014-07-21 17:06:27 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-135123-20140721114500.patch</filename>
            <type>text/plain</type>
            <size>1251</size>
            <attacher name="Zan Dobersek">zan</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
S2l0Mi9DaGFuZ2VMb2cJKHJldmlzaW9uIDE3MTMwOSkKKysrIFNvdXJjZS9XZWJLaXQyL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDEzIEBACisyMDE0LTA3LTIxICBaYW4gRG9i
ZXJzZWsgIDx6ZG9iZXJzZWtAaWdhbGlhLmNvbT4KKworICAgICAgICBbQ01ha2VdIFNvdXJjZS9U
aGlyZFBhcnR5L0FOR0xFL2luY2x1ZGUvIGRpcmVjdG9yeSBub3QgbGlzdGVkIGluIFdlYktpdDJf
SU5DTFVERV9ESVJFQ1RPUklFUworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5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RFBBUlRZX0RJUn0vQU5HTEUvaW5jbHVkZS9HTFNMQU5HIgogICAgICkK
</data>
<flag name="review"
          id="259788"
          type_id="1"
          status="-"
          setter="mrobinson"
    />
          </attachment>
      

    </bug>

</bugzilla>