Bug 49400

Summary: [GTK] Changing any GNUmakefile.am in the source tree forces a rebuld of the DOM bindings and WebKit API
Product: WebKit Reporter: Martin Robinson <mrobinson>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, ravi.kasibhatla, xan.lopez
Priority: P3 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch for this issue gustavo: review+

Description Martin Robinson 2010-11-11 12:38:15 PST
webkitenums.cpp has a dependency on the final generated GNUmakefile, so modifying any GNUmakefile.am , forces the WebKit layer and the DOM bindings to rebuild. This make modifying something like WebCore/GNUmakefile a more expensive operation than it needs to be.
Comment 1 Martin Robinson 2010-11-11 12:54:58 PST
Created attachment 73640 [details]
Patch for this issue
Comment 2 Gustavo Noronha (kov) 2010-11-17 12:20:19 PST
Comment on attachment 73640 [details]
Patch for this issue

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

> GNUmakefile.am:-29
> -	--enable-introspection	\

Just remember to undo this change! The rest looks fine =)
Comment 3 Martin Robinson 2010-11-17 22:33:13 PST
Committed r72275: <http://trac.webkit.org/changeset/72275>
Comment 4 Ravi Phaneendra Kasibhatla 2010-11-18 06:37:07 PST
Robinson,
Just an after thought. Wouldn't it be better to even move the libJavaScriptCore_la changes to JavaScriptCore/GNUmakefile.am? 

It makes the root GNUmakefile.am completely independent of any target specific changes and retains only the global flags and variables which are applicable for all the individual targets.
Comment 5 Martin Robinson 2010-11-18 08:30:48 PST
(In reply to comment #4)
> Robinson,
> Just an after thought. Wouldn't it be better to even move the libJavaScriptCore_la changes to JavaScriptCore/GNUmakefile.am? 
> 
> It makes the root GNUmakefile.am completely independent of any target specific changes and retains only the global flags and variables which are applicable for all the individual targets.

Yep! I had planned to do that in a later patch.