RESOLVED FIXED 136943
[GTK] generate-inspector-gresource-manifest.py should receive the list of files from the makefile
https://bugs.webkit.org/show_bug.cgi?id=136943
Summary [GTK] generate-inspector-gresource-manifest.py should receive the list of fil...
Carlos Garcia Campos
Reported 2014-09-19 01:51:57 PDT
We build a list of inspector files in the makefile, but then the script receives the base dirs that are scanned again.
Attachments
Patch (6.05 KB, patch)
2014-09-19 01:57 PDT, Carlos Garcia Campos
no flags
Try to make style checker happy (6.05 KB, patch)
2014-09-19 02:01 PDT, Carlos Garcia Campos
pnormand: review+
Carlos Garcia Campos
Comment 1 2014-09-19 01:57:05 PDT
WebKit Commit Bot
Comment 2 2014-09-19 01:59:18 PDT
Attachment 238359 [details] did not pass style-queue: ERROR: Tools/gtk/generate-inspector-gresource-manifest.py:25: expected 2 blank lines, found 1 [pep8/E302] [5] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Carlos Garcia Campos
Comment 3 2014-09-19 02:01:06 PDT
Created attachment 238361 [details] Try to make style checker happy
Philippe Normand
Comment 4 2014-09-19 02:14:47 PDT
Comment on attachment 238361 [details] Try to make style checker happy View in context: https://bugs.webkit.org/attachment.cgi?id=238361&action=review > Source/WebKit2/PlatformGTK.cmake:500 > + COMMAND ${TOOLS_DIR}/gtk/generate-inspector-gresource-manifest.py --output=${DERIVED_SOURCES_WEBKIT2GTK_DIR}/InspectorGResourceBundle.xml ${InspectorFiles} The new risk here is to exceed command line length limits, I suppose it's ok for now though.
Carlos Garcia Campos
Comment 5 2014-09-19 02:17:47 PDT
(In reply to comment #4) > (From update of attachment 238361 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=238361&action=review > > > Source/WebKit2/PlatformGTK.cmake:500 > > + COMMAND ${TOOLS_DIR}/gtk/generate-inspector-gresource-manifest.py --output=${DERIVED_SOURCES_WEBKIT2GTK_DIR}/InspectorGResourceBundle.xml ${InspectorFiles} > > The new risk here is to exceed command line length limits, I suppose it's ok for now though. Yes, a possible solution might be to pass the relative filenames directly to the script, but I have no idea how to do that with cmake.
Carlos Garcia Campos
Comment 6 2014-09-19 02:21:32 PDT
Note You need to log in before you can comment on or make changes to this bug.