<?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>48224</bug_id>
          
          <creation_ts>2010-10-25 00:31:18 -0700</creation_ts>
          <short_desc>build-webkit: add support for --meter-tag switch</short_desc>
          <delta_ts>2010-10-27 10:04:05 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Yael">yael</assigned_to>
          <cc>aroben</cc>
    
    <cc>bfulgham</cc>
    
    <cc>ddkilzer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>298746</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-10-25 00:31:18 -0700</bug_when>
    <thetext>This feature is missing. ( revealed by https://bugs.webkit.org/show_bug.cgi?id=48185 )

Yael, could you fix it? Please make sure not to 
break any port with this new default value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298801</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-25 05:16:55 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; This feature is missing. ( revealed by https://bugs.webkit.org/show_bug.cgi?id=48185 )
&gt; 
&gt; Yael, could you fix it? Please make sure not to 
&gt; break any port with this new default value.

Do all ports have this enabled by default, or only some?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298805</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-25 05:25:03 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Do all ports have this enabled by default, or only some?

It looks like GTK disables it in WebCore/GNUmakefile.am, but Qt, Chrome and Apple (Mac) have it enabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>298811</commentid>
    <comment_count>3</comment_count>
      <attachid>71740</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-25 05:31:57 -0700</bug_when>
    <thetext>Created attachment 71740
Patch v1

Let the EWS bots check this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299482</commentid>
    <comment_count>4</comment_count>
      <attachid>71740</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-10-26 08:36:02 -0700</bug_when>
    <thetext>Comment on attachment 71740
Patch v1

All EWS&apos; are green, except Win-EWS. (It is stucked.)

I checked build systems, but it seems that meter tag 
is disabled on Windows too, because it is missing from 
FeatureDefines.vsprops. Otherwise LGTM, r=me if you set
correct default value for Windows.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299483</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-10-26 08:36:40 -0700</bug_when>
    <thetext>I&apos;m going to file a new bug to fix FeatureDefines.vsprops .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299518</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-26 09:30:09 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (From update of attachment 71740 [details])
&gt; All EWS&apos; are green, except Win-EWS. (It is stucked.)
&gt; 
&gt; I checked build systems, but it seems that meter tag 
&gt; is disabled on Windows too, because it is missing from 
&gt; FeatureDefines.vsprops. Otherwise LGTM, r=me if you set
&gt; correct default value for Windows.

Okay.  Which ports use the vcproj files?  Or should I use:

!isGtk() &amp;&amp; !(isWindows() || isCygwin())</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299525</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-10-26 09:43:14 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; Which ports use the vcproj files?

Apple&apos;s Windows port, the Cairo/CFLite/libcurl Windows port, and the WinCE port (I think).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299540</commentid>
    <comment_count>8</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-10-26 10:03:08 -0700</bug_when>
    <thetext>&gt; !isGtk() &amp;&amp; !(isWindows() || isCygwin())
maybe: isQt() || !isGtk() &amp;&amp; !(isWindows() || isCygwin()) ,
because METER_TAG is enabled on Qt, but Qt port has Windows build.

But ... it is soooo ugly ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299544</commentid>
    <comment_count>9</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-10-26 10:04:36 -0700</bug_when>
    <thetext>(In reply to comment #8)
&gt; &gt; !isGtk() &amp;&amp; !(isWindows() || isCygwin())
&gt; maybe: isQt() || !isGtk() &amp;&amp; !(isWindows() || isCygwin()) ,
&gt; because METER_TAG is enabled on Qt, but Qt port has Windows build.
&gt; 
&gt; But ... it is soooo ugly ...

!isGtk() &amp;&amp; !isAppleWinWebKit() should work, assuming GTK and Apple-Win are the only ports where it is disabled.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299552</commentid>
    <comment_count>10</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-10-26 10:19:08 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; !isGtk() &amp;&amp; !isAppleWinWebKit() should work, assuming GTK and Apple-Win are the only ports where it is disabled.

OK, I hope we won&apos;t break any other ports. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299832</commentid>
    <comment_count>11</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-26 15:10:36 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; (In reply to comment #9)
&gt; &gt; !isGtk() &amp;&amp; !isAppleWinWebKit() should work, assuming GTK and Apple-Win are the only ports where it is disabled.
&gt; 
&gt; OK, I hope we won&apos;t break any other ports. :)

The Qt Windows ports build with ENABLE_METER_TAG=1, so Adam&apos;s suggestion should work.

The only port I&apos;m not sure about is WinCairo because I can&apos;t find a recent-ish buildbot log for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299961</commentid>
    <comment_count>12</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-26 21:07:10 -0700</bug_when>
    <thetext>Committed r70606: &lt;http://trac.webkit.org/changeset/70606&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>299962</commentid>
    <comment_count>13</comment_count>
      <attachid>71740</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-10-26 21:07:53 -0700</bug_when>
    <thetext>Comment on attachment 71740
Patch v1

Clearing flags.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>300308</commentid>
    <comment_count>14</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2010-10-27 10:04:05 -0700</bug_when>
    <thetext>For historical completeness, I just wanted to comment that this change should be fine for the WinCairo port.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>71740</attachid>
            <date>2010-10-25 05:31:57 -0700</date>
            <delta_ts>2010-10-26 21:07:52 -0700</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-48224-20101025053155.patch</filename>
            <type>text/plain</type>
            <size>1586</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdFRvb2xzL0NoYW5nZUxvZyBiL1dlYktpdFRvb2xzL0NoYW5nZUxv
ZwppbmRleCA3M2JjOTdlNzE0YjliNzAyNmM0MTY1ZTk5MTUyNTA5ODQxNGNmMTE2Li5lOTQwMWEz
Y2U5YjAzNmQ2Y2MzNmE5Y2VkZGNiMDcwYjQwMmVmY2MwIDEwMDY0NAotLS0gYS9XZWJLaXRUb29s
cy9DaGFuZ2VMb2cKKysrIGIvV2ViS2l0VG9vbHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTIgQEAK
KzIwMTAtMTAtMjUgIERhdmlkIEtpbHplciAgPGRka2lsemVyQGFwcGxlLmNvbT4KKworICAgICAg
ICA8aHR0cDovL3dlYmtpdC5vcmcvYi80ODIyND4gYnVpbGQtd2Via2l0OiBhZGQgc3VwcG9ydCBm
b3IgLS1tZXRlci10YWcgc3dpdGNoCisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BT
ISkuCisKKyAgICAgICAgKiBTY3JpcHRzL2J1aWxkLXdlYmtpdDogQWRkZWQgc3VwcG9ydCBmb3Ig
LS1tZXRlci10YWcgc3dpdGNoLgorICAgICAgICBJdCBzaG91bGQgaGF2ZSBiZWVuIGFkZGVkIHdp
dGggcjYwODIwLgorCiAyMDEwLTEwLTI1ICBHYWJvciBSYXBjc2FueWkgIDxyZ2Fib3JAaW5mLnUt
c3plZ2VkLmh1PgogCiAgICAgICAgIFJldmlld2VkIGJ5IE9qYW4gVmFmYWkuCmRpZmYgLS1naXQg
YS9XZWJLaXRUb29scy9TY3JpcHRzL2J1aWxkLXdlYmtpdCBiL1dlYktpdFRvb2xzL1NjcmlwdHMv
YnVpbGQtd2Via2l0CmluZGV4IGNlOWVkNzViOTk1YTYxYzhlNmFkODgwZDYxMmE5MTd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