<?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>76147</bug_id>
          
          <creation_ts>2012-01-11 21:47:28 -0800</creation_ts>
          <short_desc>[Chromium] JSExportMacros.h should be visible.</short_desc>
          <delta_ts>2012-01-12 21:13:54 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>72855</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Hajime Morrita">morrita</reporter>
          <assigned_to name="Hajime Morrita">morrita</assigned_to>
          <cc>abarth</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>534564</commentid>
    <comment_count>0</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-11 21:47:28 -0800</bug_when>
    <thetext>JSExportMacros.h is hidden from Chromium port by the USE(JSC) gaurd.
But WebCore uses Yarr which is a part of JSC and it includes JSExportMacros.h indirectly. 
So Chromium should be able to see it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534570</commentid>
    <comment_count>1</comment_count>
      <attachid>122171</attachid>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-11 22:18:59 -0800</bug_when>
    <thetext>Created attachment 122171
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534577</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-01-11 22:47:01 -0800</bug_when>
    <thetext>Ah, Yarr.  /me hopes Tony will review this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534609</commentid>
    <comment_count>3</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-12 00:08:14 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Ah, Yarr.  /me hopes Tony will review this patch.
OK, thanks for taking a look!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>534930</commentid>
    <comment_count>4</comment_count>
      <attachid>122171</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-01-12 10:03:57 -0800</bug_when>
    <thetext>Comment on attachment 122171
Patch

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

&gt; Source/JavaScriptCore/config.h:37
&gt; +// Chromium doesn&apos;t have runtime/ in its include paths.
&gt; +#include &quot;runtime/JSExportMacros.h&quot;

Should we add runtime/ to the include path for yarr?  Actually, it looks like it&apos;s already there for the yarr target.  Should we add it to direct_dependent_settings?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535391</commentid>
    <comment_count>5</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-12 19:35:06 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 122171 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=122171&amp;action=review
&gt; 
&gt; &gt; Source/JavaScriptCore/config.h:37
&gt; &gt; +// Chromium doesn&apos;t have runtime/ in its include paths.
&gt; &gt; +#include &quot;runtime/JSExportMacros.h&quot;
&gt; 
&gt; Should we add runtime/ to the include path for yarr?  Actually, it looks like it&apos;s already there for the yarr Whoa, I didn&apos;t know about direct_dependent_settings. I&apos;ll try it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535400</commentid>
    <comment_count>6</comment_count>
    <who name="Hajime Morrita">morrita</who>
    <bug_when>2012-01-12 20:01:31 -0800</bug_when>
    <thetext>&gt; &gt; Should we add runtime/ to the include path for yarr?  Actually, it looks like it&apos;s already there for the yarr Whoa, I didn&apos;t know about direct_dependent_settings. I&apos;ll try it.

I just tried direct_dependent_settings but noticed that JavaScriptCore/config.h is included from
not only direct_dependent but also some more (like Webkit APi layer). 
Including runtime/ everywhere looks a bit too much polluting for me
so I&apos;ll land this as is.

Anyway, thanks for pointing it out. I hope I could find some cleaner way for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535425</commentid>
    <comment_count>7</comment_count>
      <attachid>122171</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-12 21:13:49 -0800</bug_when>
    <thetext>Comment on attachment 122171
Patch

Clearing flags on attachment: 122171

Committed r104897: &lt;http://trac.webkit.org/changeset/104897&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>535426</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-01-12 21:13:54 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>122171</attachid>
            <date>2012-01-11 22:18:59 -0800</date>
            <delta_ts>2012-01-12 21:13:49 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-76147-20120112151857.patch</filename>
            <type>text/plain</type>
            <size>2242</size>
            <attacher name="Hajime Morrita">morrita</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTA0Nzc3CmRpZmYgLS1naXQgYS9Tb3VyY2UvSmF2YVNjcmlw
dENvcmUvQ2hhbmdlTG9nIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwppbmRleCAw
OWMzYzljNDVhNmViMzQ3YjY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