[Webkit-unassigned] [Bug 138134] [GTK] Expand wildcards inside generate-inspector-gresource-manifest.py
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 29 00:16:08 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=138134
--- Comment #3 from Milan Crha <mcrha at redhat.com> ---
Hmm, I see, the build also failed:
> ninja: error: '../../Source/WebInspectorUI/UserInterface/*.html', needed by
> 'DerivedSources/webkit2gtk/InspectorGResourceBundle.xml', missing and no
> known rule to make it
What do you suggest, have two variables, one for dependencies, one for passing to the .py script?
Something like:
--------------------------------------------------------------------------
set(InspectorFiles
${CMAKE_SOURCE_DIR}/Source/WebInspectorUI/UserInterface/*.html
....
)
file(GLOB InspectorFilesDeps
${InspectorFiles}
)
add_custom_command(
OUTPUT ${DERIVED_SOURCES_WEBKIT2GTK_DIR}/InspectorGResourceBundle.xml
DEPENDS ${InspectorFilesDeps}
${TOOLS_DIR}/gtk/generate-inspector-gresource-manifest.py
COMMAND ${TOOLS_DIR}/gtk/generate-inspector-gresource-manifest.py --output=${DERIVED_SOURCES_WEBKIT2GTK_DIR}/InspectorGResourceBundle.xml ${InspectorFiles}
VERBATIM
)
--------------------------------------------------------------------------
I think this might work, though might look awkward in the .cmake file.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141029/d06e1d1d/attachment-0002.html>
More information about the webkit-unassigned
mailing list