Bug 72882

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

Description From 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 From 2011-11-21 07:38:07 PST -------
Created an attachment (id=116083) [details]
[Qt] Speed up debug builds.
------- Comment #2 From 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 From 2011-11-21 08:19:08 PST -------
(From update of attachment 116083 [details])
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

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