REGRESSION(r165704): [GTK] Inspector resources not correctly generated
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Apr 2014 15:38:40 +0000 (15:38 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Apr 2014 15:38:40 +0000 (15:38 +0000)
commita2f8cb22e36ba8ab109f85ae0141053d8a7092f4
treeec93a6c8052a566bae94379816a783f91426da70
parent7fc98abc20d364ebc9fa7f2b208e73b9e8ed70f1
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
CMakeLists.txt
ChangeLog
Source/JavaScriptCore/CMakeLists.txt
Source/JavaScriptCore/ChangeLog
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebKit2/ChangeLog
Source/WebKit2/PlatformGTK.cmake
Source/cmake/WebKitFS.cmake
Tools/ChangeLog
Tools/gtk/generate-inspector-gresource-manifest.py