Title: [174310] trunk/Tools
Revision
174310
Author
[email protected]
Date
2014-10-04 00:46:42 -0700 (Sat, 04 Oct 2014)

Log Message

[GTK] Do not generate webkit2gtk-tests-resources.gresource unconditionally
https://bugs.webkit.org/show_bug.cgi?id=137391

Reviewed by Martin Robinson.

Add a custom command to only re-generate
webkit2gtk-tests-resources.gresource when any of its dependencies changes.

* TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (174309 => 174310)


--- trunk/Tools/ChangeLog	2014-10-04 07:35:47 UTC (rev 174309)
+++ trunk/Tools/ChangeLog	2014-10-04 07:46:42 UTC (rev 174310)
@@ -1,5 +1,17 @@
 2014-10-04  Carlos Garcia Campos  <[email protected]>
 
+        [GTK] Do not generate webkit2gtk-tests-resources.gresource unconditionally
+        https://bugs.webkit.org/show_bug.cgi?id=137391
+
+        Reviewed by Martin Robinson.
+
+        Add a custom command to only re-generate
+        webkit2gtk-tests-resources.gresource when any of its dependencies changes.
+
+        * TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt:
+
+2014-10-04  Carlos Garcia Campos  <[email protected]>
+
         [GTK] generate-gtkdoc crashes when generating HTML due to encoding issues
         https://bugs.webkit.org/show_bug.cgi?id=135502
 

Modified: trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt (174309 => 174310)


--- trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt	2014-10-04 07:35:47 UTC (rev 174309)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt	2014-10-04 07:46:42 UTC (rev 174310)
@@ -38,7 +38,8 @@
 )
 target_link_libraries(WebKit2APITestCore WebKit2)
 
-add_custom_target(test-gresource-bundle
+add_custom_command(
+    OUTPUT ${TEST_RESOURCES_DIR}/webkit2gtk-tests-resources.gresource
     DEPENDS resources/webkit2gtk-tests.gresource.xml
             resources/link-title.js
     COMMAND glib-compile-resources
@@ -47,6 +48,10 @@
             ${CMAKE_CURRENT_LIST_DIR}/resources/webkit2gtk-tests.gresource.xml
 )
 
+add_custom_target(test-gresource-bundle
+    DEPENDS ${TEST_RESOURCES_DIR}/webkit2gtk-tests-resources.gresource
+)
+
 macro(ADD_WK2_TEST_WEB_EXTENSION extension_name)
     add_library(${extension_name} MODULE ${ARGN})
     add_dependencies(${extension_name} WebKit2)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to