Bug 181500

Summary: [Win] WebKitLegacy should be a dll, not a static library.
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, bfulgham, commit-queue, mcatanzaro, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Per Arne Vollan
Reported 2018-01-10 15:16:18 PST
Currently, WebKitLegacy is built as a static library.
Attachments
Patch (1.06 KB, patch)
2018-01-10 15:51 PST, Per Arne Vollan
no flags
Radar WebKit Bug Importer
Comment 1 2018-01-10 15:17:53 PST
Per Arne Vollan
Comment 2 2018-01-10 15:51:27 PST
WebKit Commit Bot
Comment 3 2018-01-10 20:57:55 PST
Comment on attachment 330981 [details] Patch Clearing flags on attachment: 330981 Committed r226758: <https://trac.webkit.org/changeset/226758>
WebKit Commit Bot
Comment 4 2018-01-10 20:57:57 PST
All reviewed patches have been landed. Closing bug.
Per Arne Vollan
Comment 5 2018-01-11 07:52:40 PST
Thanks for reviewing!
Michael Catanzaro
Comment 6 2018-01-16 10:01:23 PST
I was going to say: "This isn'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." and then revert this patch. But, is it possible that you'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?
Michael Catanzaro
Comment 7 2018-01-16 10:04:29 PST
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't run the toplevel CMakeLists.txt.
Alex Christensen
Comment 8 2018-01-16 10:29:34 PST
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.
Note You need to log in before you can comment on or make changes to this bug.