<?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>181500</bug_id>
          
          <creation_ts>2018-01-10 15:16:18 -0800</creation_ts>
          <short_desc>[Win] WebKitLegacy should be a dll, not a static library.</short_desc>
          <delta_ts>2018-01-16 10:29:34 -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>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>achristensen</cc>
    
    <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1387894</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2018-01-10 15:16:18 -0800</bug_when>
    <thetext>Currently, WebKitLegacy is built as a static library.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387895</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-01-10 15:17:53 -0800</bug_when>
    <thetext>&lt;rdar://problem/36418479&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1387918</commentid>
    <comment_count>2</comment_count>
      <attachid>330981</attachid>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2018-01-10 15:51:27 -0800</bug_when>
    <thetext>Created attachment 330981
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388072</commentid>
    <comment_count>3</comment_count>
      <attachid>330981</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-10 20:57:55 -0800</bug_when>
    <thetext>Comment on attachment 330981
Patch

Clearing flags on attachment: 330981

Committed r226758: &lt;https://trac.webkit.org/changeset/226758&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388073</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-01-10 20:57:57 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1388229</commentid>
    <comment_count>5</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2018-01-11 07:52:40 -0800</bug_when>
    <thetext>Thanks for reviewing!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389587</commentid>
    <comment_count>6</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-01-16 10:01:23 -0800</bug_when>
    <thetext>I was going to say:

&quot;This isn&apos;t right, those are both the default library types for those libs now. I think this patch is a no-op, unless the Windows port is setting these types to undesired values somewhere else.&quot;

and then revert this patch.

But, is it possible that you&apos;re not running the toplevel CMakeLists.txt at all, for internal builds? That is where the default library types are defined. If so, how is that code supposed to get run? And how does OptionsWin get run instead?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389588</commentid>
    <comment_count>7</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-01-16 10:04:29 -0800</bug_when>
    <thetext>Note: I removed these from OptionsWin.cmake in r226266, when I changed the default library types, because they had become redundant, and it seemed clearer to set library types only for those libraries that deviate from the WebKit project defaults on a given port.

Or so I thought. Maybe the Apple ports need to be special, if they don&apos;t run the toplevel CMakeLists.txt.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389600</commentid>
    <comment_count>8</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2018-01-16 10:29:34 -0800</bug_when>
    <thetext>Only in the internal build, there is no top-level CMakeLists.txt.  There is only what is in Source/cmake and what is in the currently building directory, like what is in Source/JavaScriptCore for example.  This change did not fix anything on public bots because they use the top level CMakeLists.txt but it fixed the internal build.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>330981</attachid>
            <date>2018-01-10 15:51:27 -0800</date>
            <delta_ts>2018-01-10 20:57:55 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-181500-20180111005127.patch</filename>
            <type>text/plain</type>
            <size>1087</size>
            <attacher name="Per Arne Vollan">pvollan</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDIyNjc0
MSkKKysrIENoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDE4LTAx
LTEwICBQZXIgQXJuZSBWb2xsYW4gIDxwdm9sbGFuQGFwcGxlLmNvbT4KKworICAgICAgICBbV2lu
XSBXZWJLaXRMZWdhY3kgc2hvdWxkIGJlIGEgZGxsLCBub3QgYSBzdGF0aWMgbGlicmFyeS4KKyAg
ICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTE4MTUwMAorCisg
ICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFNldCBXZWJLaXRM
ZWdhY3kgbGlicmFyeSB0eXBlIHRvIHNoYXJlZC4KKworICAgICAgICAqIFNvdXJjZS9jbWFrZS9P
cHRpb25zV2luLmNtYWtlOgorCiAyMDE4LTAxLTA1ICBGdWppaSBIaXJvbm9yaSAgPEhpcm9ub3Jp
LkZ1amlpQHNvbnkuY29tPgogCiAgICAgICAgIFJFR1JFU1NJT04ocjIyNjMwNilbV2luXVtDTWFr
ZV0gVW5uZWNlc3NhcnkgcmVjb21waWxhdGlvbnMgdHJpZ2dlcmVkIGJ5IHVuY29uZGl0aW9uYWxs
eSBjb3BpZWQgaGVhZGVyIGZpbGVzIG9mIERlcml2ZWRTb3VyY2VzCkluZGV4OiBTb3VyY2UvY21h
a2UvT3B0aW9uc1dpbi5jbWFrZQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvY21ha2UvT3B0aW9uc1dp
bi5jbWFrZQkocmV2aXNpb24gMjI2NzIwKQorKysgU291cmNlL2NtYWtlL09wdGlvbnNXaW4uY21h
a2UJKHdvcmtpbmcgY29weSkKQEAgLTE0MSw1ICsxNDEsNyBAQCBlbmRpZiAoKQogc2V0KFBPUlQg
V2luKQogc2V0KEphdmFTY3JpcHRDb3JlX0xJQlJBUllfVFlQRSBTSEFSRUQpCiBzZXQoV1RGX0xJ
QlJBUllfVFlQRSBTSEFSRUQpCitzZXQoUEFMX0xJQlJBUllfVFlQRSBTVEFUSUMpCitzZXQoV2Vi
S2l0TGVnYWN5X0xJQlJBUllfVFlQRSBTSEFSRUQpCiAKIGZpbmRfcGFja2FnZShJQ1UgUkVRVUlS
RUQpCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>