[Webkit-unassigned] [Bug 112576] [Qt] An incremental build bug appeared after r145712.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 2 07:27:44 PDT 2013


Jocelyn Turcotte <jocelyn.turcotte at digia.com> changed:

           What    |Removed                     |Added
 Attachment #195744|review?                     |review+
               Flag|                            |

--- Comment #8 from Jocelyn Turcotte <jocelyn.turcotte at digia.com>  2013-07-02 07:29:42 PST ---
(From update of attachment 195744)
View in context: https://bugs.webkit.org/attachment.cgi?id=195744&action=review

>>> Source/WebCore/DerivedSources.pri:813
>>> +inspectorBackendCommands.depends = $$INSPECTOR_JSON
>> I'm not sure what this should fix, Inspector.json isn't a dependency of InspectorBackendCommands.qrc
> I agree, it is incorrect. But adding InspectorBackendCommands.js as dependency
> can be a good workaround, because touching InspectorBackendCommands.js must
> force the regeneration of qrc_InspectorBackendCommands.cpp.

I see, InspectorBackendCommands.js is generated from Inspector.json, and triggering a copy of the qrc in this case will work around the bug in qmake.

The patch looks fine to me after all, this is quite hackish though so it would be nice to have a comment explaining how INSPECTOR_JSON is connected to InspectorBackendCommands.qrc and why we do this.
r=me if you add such comment.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list