<?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>153778</bug_id>
          
          <creation_ts>2016-02-01 16:22:55 -0800</creation_ts>
          <short_desc>[CMake] Remove meaningless conditional statements in CMakeLists.txt</short_desc>
          <delta_ts>2016-02-18 00:28:48 -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>WebKit Misc.</component>
          <version>WebKit 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>0</everconfirmed>
          <reporter name="Joonghun Park">jh718.park</reporter>
          <assigned_to name="Joonghun Park">jh718.park</assigned_to>
          <cc>achristensen</cc>
    
    <cc>commit-queue</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1161112</commentid>
    <comment_count>0</comment_count>
    <who name="Joonghun Park">jh718.park</who>
    <bug_when>2016-02-01 16:22:55 -0800</bug_when>
    <thetext>Use CMAKE_FOO_OUTPUT_DIRECTORY located in CMakeLists.txt as default value.
And remove conditional statements which has enclosed these one because they don&apos;t have meaning anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161114</commentid>
    <comment_count>1</comment_count>
      <attachid>270449</attachid>
    <who name="Joonghun Park">jh718.park</who>
    <bug_when>2016-02-01 16:28:40 -0800</bug_when>
    <thetext>Created attachment 270449
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161115</commentid>
    <comment_count>2</comment_count>
      <attachid>270449</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-02-01 16:31:28 -0800</bug_when>
    <thetext>Comment on attachment 270449
Patch

This needs to be like this.
See http://trac.webkit.org/changeset/195478</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161122</commentid>
    <comment_count>3</comment_count>
    <who name="Joonghun Park">jh718.park</who>
    <bug_when>2016-02-01 16:38:55 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; Comment on attachment 270449 [details]
&gt; Patch
&gt; 
&gt; This needs to be like this.
&gt; See http://trac.webkit.org/changeset/195478

Hmm, doesn&apos;t those things be overwritten by OptionsWin.cmake?
Because now those things are precede to include(OptionsCommon) by https://bugs.webkit.org/show_bug.cgi?id=153373.

They don&apos;t follow the include(OptionsCommon) in order, so it seems that they don&apos;t need any conditionals there.

But if I missed something, please let me know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161125</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-02-01 16:40:23 -0800</bug_when>
    <thetext>The internal Windows build builds each directory (WTF, JavaScriptCore, WebCore, and WebKit) without the other directories where they are.  This causes problems with that setup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161133</commentid>
    <comment_count>5</comment_count>
    <who name="Joonghun Park">jh718.park</who>
    <bug_when>2016-02-01 16:48:01 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; The internal Windows build builds each directory (WTF, JavaScriptCore,
&gt; WebCore, and WebKit) without the other directories where they are.  This
&gt; causes problems with that setup.

Ah, I see. Thank you for letting me know about it</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161165</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-02-01 18:09:18 -0800</bug_when>
    <thetext>Alex, now that include(WebKitCommon) has been moved, surely those conditionals will never be hit anymore? I think Joonghun&apos;s patch is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1161365</commentid>
    <comment_count>7</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2016-02-02 12:43:13 -0800</bug_when>
    <thetext>I wasn&apos;t aware they had moved.  We&apos;re still in the process of verifying the internal AppleWin build works, so I&apos;d rather not touch this right now unless this is blocking something.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1165822</commentid>
    <comment_count>8</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2016-02-17 17:28:45 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; I wasn&apos;t aware they had moved.  We&apos;re still in the process of verifying the
&gt; internal AppleWin build works, so I&apos;d rather not touch this right now unless
&gt; this is blocking something.

Any progress on this?

I&apos;d still like to r+ this, but don&apos;t mind delaying if that&apos;s convenient for you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1165949</commentid>
    <comment_count>9</comment_count>
      <attachid>270449</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2016-02-17 23:38:48 -0800</bug_when>
    <thetext>Comment on attachment 270449
Patch

&gt; The internal Windows build builds each directory (WTF, JavaScriptCore, WebCore, and WebKit) without the other directories where they are.  This causes problems with that setup.

So it is a dead code, out-of-tree use case isn&apos;t a good reason to keep dead code.
But I&apos;d be happy to add it back once there is a public use-case in trunk.
(I know this strict policy since bug154323 from Filip Pizlo.)

Let&apos;s go ahead and remove it, r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1165958</commentid>
    <comment_count>10</comment_count>
      <attachid>270449</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-18 00:28:44 -0800</bug_when>
    <thetext>Comment on attachment 270449
Patch

Clearing flags on attachment: 270449

Committed r196748: &lt;http://trac.webkit.org/changeset/196748&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1165959</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-02-18 00:28:48 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>270449</attachid>
            <date>2016-02-01 16:28:40 -0800</date>
            <delta_ts>2016-02-18 00:28:44 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-153778-20160202092814.patch</filename>
            <type>text/plain</type>
            <size>2025</size>
            <attacher name="Joonghun Park">jh718.park</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTk1OTg2CmRpZmYgLS1naXQgYS9DTWFrZUxpc3RzLnR4dCBi
L0NNYWtlTGlzdHMudHh0CmluZGV4IGQ1ODMyMTU4YTY4M2RhOTk5NjRkNjRmODI3NGVlMzE4ZjA5
YWNlZTUuLjBlMGVhMjMwOTliMjcyNWRiZDdhOThlY2EzNjU5ZGRmMjJjODdhZGUgMTAwNjQ0Ci0t
LSBhL0NNYWtlTGlzdHMudHh0CisrKyBiL0NNYWtlTGlzdHMudHh0CkBAIC0xMDUsMTcgKzEwNSwx
MSBAQCBzZXQoV2ViQ29yZVRlc3RTdXBwb3J0X0xJQlJBUllfVFlQRSBTVEFUSUMpCiBvcHRpb24o
U0hPVUxEX0lOU1RBTExfSlNfU0hFTEwgImdlbmVyYXRlIGFuIGluc3RhbGxhdGlvbiBydWxlIHRv
IGluc3RhbGwgdGhlIGJ1aWx0IEphdmFTY3JpcHQgc2hlbGwiKQogCiAjIC0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tCi0jIE91dHB1dCBkaXJlY3RvcmllcworIyBEZWZhdWx0IG91dHB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