REGRESSION(r165704): [GTK] Inspector resources not correctly generated
https://bugs.webkit.org/show_bug.cgi?id=130343
Patch by Martin Robinson <mrobinson@igalia.com> on 2014-04-02
Reviewed by Gustavo Noronha Silva.
.:
* CMakeLists.txt: Add a variable which points to the directory to store WebInspectorUI
derived sources.
* Source/cmake/WebKitFS.cmake: Generate WebInspectorUI derived sources directories.
Source/JavaScriptCore:
* CMakeLists.txt: We generate the inspector JavaScript file into a directory like the one
in which it should be distributed. This allows us to more easily package it for GTK+.
Source/WebCore:
* CMakeLists.txt: Generate the web inspector JS file into the new WebInspectorUI derived sources
directory.
Source/WebKit2:
* PlatformGTK.cmake: Pass all appropriate directories to the
GResources XML generation script.
Tools:
* gtk/generate-inspector-gresource-manifest.py: Instead of hard-coding the file list, accept a list
of directories on the command line and look for all appropriate files in those directories for the
GResource archive. Also make archive paths relative to those directories.
(find_all_files_in_directory): This helper looks for all the appropriate files in a given directory.
(find_all_files_in_directory.select_file): Whether or not to add the file to the archive.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@166648
268f45cc-cd09-0410-ab3c-
d52691b4dbfc