<?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>103918</bug_id>
          
          <creation_ts>2012-12-03 12:42:41 -0800</creation_ts>
          <short_desc>[CMake] Enable building WebKit sources without Tools</short_desc>
          <delta_ts>2012-12-05 11:00:15 -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>Tools / Tests</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Gombos">laszlo.gombos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gyuyoung.kim</cc>
    
    <cc>kenneth</cc>
    
    <cc>mxie</cc>
    
    <cc>paroga</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>781782</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-12-03 12:42:41 -0800</bug_when>
    <thetext>This build configuration could be useful for:
 - downstream in a productization branch for package maintainers) where Tools directory might not be used/needed
 - building just WebKit sources without building Tools for faster build times
 - ENABLE_TOOLS cmake variable was always set to true, which made not much sense - we should allow it to be configurable</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>781787</commentid>
    <comment_count>1</comment_count>
      <attachid>177313</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-12-03 12:54:34 -0800</bug_when>
    <thetext>Created attachment 177313
proposed patch

Also moved a section of the code so that the TOOLS_DIR variable is initialized before it gets used.

As a test I create a directory with only CMakeLists.txt file and the Source directory in it and successfully built the EFL WebKit port from it by invoking cmake directly (instead of using the build-webkit script).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783360</commentid>
    <comment_count>2</comment_count>
      <attachid>177313</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-12-04 21:17:17 -0800</bug_when>
    <thetext>Comment on attachment 177313
proposed patch

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

Looks find on my side.

&gt; CMakeLists.txt:-14
&gt; -SET(ENABLE_WEBCORE ON)

Should we move existing place to here ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783373</commentid>
    <comment_count>3</comment_count>
      <attachid>177313</attachid>
    <who name="Gyuyoung Kim">gyuyoung.kim</who>
    <bug_when>2012-12-04 21:25:08 -0800</bug_when>
    <thetext>Comment on attachment 177313
proposed patch

typo : find -&gt; fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783905</commentid>
    <comment_count>4</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2012-12-05 10:54:31 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 177313 [details])
&gt; View in context: https://bugs.webkit.org/attachment.cgi?id=177313&amp;action=review
&gt; 
&gt; Looks find on my side.
&gt; 
&gt; &gt; CMakeLists.txt:-14
&gt; &gt; -SET(ENABLE_WEBCORE ON)
&gt; 
&gt; Should we move existing place to here ?

This should be done together with a bigger refactoring as a separate patch. I think this variable should not even be exposed at this level and should be moved under Source - see bug 104083.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783908</commentid>
    <comment_count>5</comment_count>
      <attachid>177313</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-05 11:00:10 -0800</bug_when>
    <thetext>Comment on attachment 177313
proposed patch

Clearing flags on attachment: 177313

Committed r136715: &lt;http://trac.webkit.org/changeset/136715&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>783909</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-12-05 11:00:15 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>177313</attachid>
            <date>2012-12-03 12:54:34 -0800</date>
            <delta_ts>2012-12-05 11:00:10 -0800</delta_ts>
            <desc>proposed patch</desc>
            <filename>103918.patch</filename>
            <type>text/plain</type>
            <size>1861</size>
            <attacher name="Laszlo Gombos">laszlo.gombos</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDEzNjQy
OCkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE4IEBACisyMDEyLTEy
LTAzICBMYXN6bG8gR29tYm9zICA8bC5nb21ib3NAc2Ftc3VuZy5jb20+CisKKyAgICAgICAgW0NN
YWtlXSBFbmFibGUgdG8gYnVpbGQgV2ViS2l0IHNvdXJjZXMgd2l0aG91dCBUb29scworICAgICAg
ICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTAzOTE4CisKKyAgICAg
ICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgVHVybiBvbiBidWlsZGlu
ZyBUb29scyBieSBkZWZhdWx0IG9ubHkgaWYgRU5BQkxFX1RPT0xTI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