Bug 72882

Summary: [Qt] Speed up debug builds
Product: WebKit Reporter: Simon Hausmann <hausmann>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: vestbo, webkit.review.bot, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
[Qt] Speed up debug builds. vestbo: review+

Description Simon Hausmann 2011-11-21 07:21:40 PST
One aspect that makes working with debug builds very annoying is that after touching a file in for example WebKit2, the WebKit2 static library needs to be re-linked and then the final QtWebKit shared library. This can take a long time.

We should introduce a special build mode that will build all the convenience libraries (jsc, wc, wk2) as shared libraries (with all symbols exported), so that touching a file in say WebKit2 results in only one short relinking of the WebKit2 library.
Comment 1 Simon Hausmann 2011-11-21 07:38:07 PST
Created attachment 116083 [details]
[Qt] Speed up debug builds.
Comment 2 Simon Hausmann 2011-11-21 07:39:37 PST
This isn't quite perfect yet. We can also keep it here for a while, so don't hesitate to r- until the load() thing is cleaned up.
Comment 3 Tor Arne Vestbø 2011-11-21 08:19:08 PST
Comment on attachment 116083 [details]
[Qt] Speed up debug builds.

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

let's land it like this, as it improves productivity for working with debug builds. we can always tweak it if there are better ways to do it :)

> Tools/qmake/mkspecs/features/force_static_libs_as_shared.prf:10
> +        CONFIG -= hide_symbols

style
Comment 4 Simon Hausmann 2011-11-21 13:19:59 PST
Committed r100952: <http://trac.webkit.org/changeset/100952>