Title: [108530] releases/WebKitGTK/webkit-1.8

Diff

Modified: releases/WebKitGTK/webkit-1.8/ChangeLog (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/ChangeLog	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/ChangeLog	2012-02-22 19:48:00 UTC (rev 108530)
@@ -1,3 +1,10 @@
+2012-02-22  Martin Robinson  <[email protected]>
+
+        [GTK] Clean build is broken when using make -j
+        https://bugs.webkit.org/show_bug.cgi?id=76388
+
+        * GNUmakefile.am: Add new global source list variables.
+
 2012-02-20  Martin Robinson  <[email protected]>
 
         [GTK] Turn on requestAnimationFrame for release builds

Modified: releases/WebKitGTK/webkit-1.8/GNUmakefile.am (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/GNUmakefile.am	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/GNUmakefile.am	2012-02-22 19:48:00 UTC (rev 108530)
@@ -80,7 +80,9 @@
 webkitgtk_gdom_built_sources :=
 webkitgtk_built_sources :=
 webkitgtk_built_nosources :=
+webkit2_sources :=
 webkit2_built_sources :=
+webkit2_plugin_process_sources :=
 webkit2_plugin_process_built_sources :=
 webkittestrunner_built_sources :=
 libwebcoreinternals_built_sources :=

Modified: releases/WebKitGTK/webkit-1.8/Source/WebCore/ChangeLog (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/Source/WebCore/ChangeLog	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/Source/WebCore/ChangeLog	2012-02-22 19:48:00 UTC (rev 108530)
@@ -1,3 +1,17 @@
+2012-02-22  Martin Robinson  <[email protected]>
+
+        [GTK] Clean build is broken when using make -j
+        https://bugs.webkit.org/show_bug.cgi?id=76388
+
+        No new tests. This is just a build fix.
+
+        Use order-only dependencies to ensure that built sources are built before
+        files that depend on them.
+
+        * GNUmakefile.am: Establish an order-only dependency on some built sources before starting
+        to build non-generated sources. Rename some temporary files and variables to be more consistent.
+        * bindings/gobject/GNUmakefile.am: Updated to reflect new variable names.
+
 2012-02-20  Martin Robinson  <[email protected]>
 
         [GTK] Web content oftens steals focus from other widgets

Modified: releases/WebKitGTK/webkit-1.8/Source/WebCore/GNUmakefile.am (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/Source/WebCore/GNUmakefile.am	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/Source/WebCore/GNUmakefile.am	2012-02-22 19:48:00 UTC (rev 108530)
@@ -783,24 +783,25 @@
 
 vpath %.idl $(IDL_PATH)
 
+supplemental_dependency_file = $(top_builddir)/DerivedSources/WebCore/idl_supplemental_dependencies
+idl_files_list = $(top_builddir)/DerivedSources/WebCore/idl_files_list
+idl_attributes_file = $(WebCore)/bindings/scripts/IDLAttributes.txt
+
+.SECONDARY:
+$(supplemental_dependency_file): $(SCRIPTS_FOR_RESOLVE_SUPPLEMENTAL) $(dom_binding_idls) $(idl_attributes_file)
+	$(AM_V_GEN)
+	$(AM_V_at)echo -n > $(idl_files_list)
+	$(AM_V_at)($(foreach idl, $(dom_binding_idls), echo $(idl) &&) echo -n) >> $(idl_files_list)
+	$(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/resolve-supplemental.pl --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --idlFilesList $(idl_files_list) --supplementalDependencyFile $@
+
 # This does not appear to work correctly with gnumake unless
 # it includes an empty command list (the semicolon).
 DerivedSources/WebCore/JS%.cpp: DerivedSources/WebCore/JS%.h;
 
-SUPPLEMENTAL_DEPENDENCY_FILE = $(top_builddir)/DerivedSources/WebCore/supplemental_dependency.tmp
-IDL_FILES_TMP = $(top_builddir)/DerivedSources/WebCore/idl_files.tmp
-
 .SECONDARY:
-$(SUPPLEMENTAL_DEPENDENCY_FILE): $(SCRIPTS_FOR_RESOLVE_SUPPLEMENTAL) $(dom_binding_idls)
-	$(AM_V_GEN)
-	$(AM_V_at)echo -n > $(IDL_FILES_TMP)
-	$(AM_V_at)($(foreach idl, $(dom_binding_idls), echo $(idl) &&) echo -n) >> $(IDL_FILES_TMP)
-	$(AM_V_at)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/resolve-supplemental.pl --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --idlFilesList $(IDL_FILES_TMP) --supplementalDependencyFile $@
+DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(supplemental_dependency_file)
+	$(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --generator JS --supplementalDependencyFile $(supplemental_dependency_file) $<
 
-.SECONDARY:
-DerivedSources/WebCore/JS%.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorJS.pm $(SUPPLEMENTAL_DEPENDENCY_FILE)
-	$(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl $(IDL_PATH:%=--include "%") --outputDir "$(GENSOURCES_WEBCORE)" --defines "LANGUAGE_JAVASCRIPT=1 $(FEATURE_DEFINES)" --generator JS --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
-
 noinst_LTLIBRARIES += \
 	libWebCore.la
 

Modified: releases/WebKitGTK/webkit-1.8/Source/WebCore/bindings/gobject/GNUmakefile.am (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/Source/WebCore/bindings/gobject/GNUmakefile.am	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/Source/WebCore/bindings/gobject/GNUmakefile.am	2012-02-22 19:48:00 UTC (rev 108530)
@@ -460,5 +460,5 @@
 
 # Filter out SVG and IndexedDB for now
 gdom_feature_defines := $(filter-out ENABLE_INDEXED_DATABASE=1, $(filter-out ENABLE_SVG%, $(FEATURE_DEFINES)))
-DerivedSources/webkit/WebKitDOM%.cpp DerivedSources/webkit/WebKitDOM%.h DerivedSources/webkit/WebKitDOM%Private.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorGObject.pm $(WebCore)/bindings/gobject/GNUmakefile.am $(SUPPLEMENTAL_DEPENDENCY_FILE)
-	$(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --include $(WebCore)/dom --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page --include $(WebCore)/xml --include $(WebCore)/svg --outputDir "$(GENSOURCES_WEBKIT)" --defines "LANGUAGE_GOBJECT=1 $(gdom_feature_defines)" --generator GObject --supplementalDependencyFile $(SUPPLEMENTAL_DEPENDENCY_FILE) $<
+DerivedSources/webkit/WebKitDOM%.cpp DerivedSources/webkit/WebKitDOM%.h DerivedSources/webkit/WebKitDOM%Private.h: %.idl $(SCRIPTS_FOR_GENERATE_BINDINGS) $(WebCore)/bindings/scripts/CodeGeneratorGObject.pm $(WebCore)/bindings/gobject/GNUmakefile.am $(supplemental_dependency_file)
+	$(AM_V_GEN)$(PERL) -I$(WebCore)/bindings/scripts $(WebCore)/bindings/scripts/generate-bindings.pl --include $(WebCore)/dom --include $(WebCore)/html --include $(WebCore)/css --include $(WebCore)/page --include $(WebCore)/xml --include $(WebCore)/svg --outputDir "$(GENSOURCES_WEBKIT)" --defines "LANGUAGE_GOBJECT=1 $(gdom_feature_defines)" --generator GObject --supplementalDependencyFile $(supplemental_dependency_file) $<

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit2/ChangeLog	2012-02-22 19:48:00 UTC (rev 108530)
@@ -1,3 +1,11 @@
+2012-02-22  Martin Robinson  <[email protected]>
+
+        [GTK] Clean build is broken when using make -j
+        https://bugs.webkit.org/show_bug.cgi?id=76388
+
+        * GNUmakefile.am: Add some WebKit2 sources to global sources lists
+        so that we can refer to them in separate GNUmakefiles.
+
 2012-02-20  Martin Robinson  <[email protected]>
 
         [UNIX] Plugin information fields are not interpreted as UTF-8

Modified: releases/WebKitGTK/webkit-1.8/Source/WebKit2/GNUmakefile.am (108529 => 108530)


--- releases/WebKitGTK/webkit-1.8/Source/WebKit2/GNUmakefile.am	2012-02-22 19:43:26 UTC (rev 108529)
+++ releases/WebKitGTK/webkit-1.8/Source/WebKit2/GNUmakefile.am	2012-02-22 19:48:00 UTC (rev 108530)
@@ -195,7 +195,7 @@
 nodist_libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
 	$(webkit2_built_sources)
 
-libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
+webkit2_sources += \
 	Source/WebKit2/config.h \
 	Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h \
 	Source/WebKit2/Platform/CoreIPC/ArgumentCoders.cpp \
@@ -959,6 +959,9 @@
 	Source/WebKit2/WebProcess/WebProcess.cpp \
 	Source/WebKit2/WebProcess/WebProcess.h
 
+libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_SOURCES = \
+	$(webkit2_sources)
+
 libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPFLAGS = \
 	-fno-strict-aliasing \
 	$(global_cppflags) \
@@ -1384,7 +1387,7 @@
 nodist_Programs_WebKitPluginProcess_SOURCES = $(webkit2_plugin_process_built_sources)
 BUILT_SOURCES += $(nodist_Programs_WebKitPluginProcess_SOURCES)
 
-Programs_WebKitPluginProcess_SOURCES = \
+webkit2_plugin_process_sources += \
 	Source/WebKit2/Platform/CoreIPC/ArgumentCoder.h \
 	Source/WebKit2/Platform/CoreIPC/ArgumentCoders.h \
 	Source/WebKit2/Platform/CoreIPC/ArgumentCoders.cpp \
@@ -1472,6 +1475,8 @@
 	Source/WebKit2/WebProcess/Plugins/Netscape/NetscapePluginStream.h \
 	Source/WebKit2/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp \
 	Source/WebKit2/gtk/PluginMainGtk.cpp
+Programs_WebKitPluginProcess_SOURCES = \
+	$(webkit2_plugin_process_sources)
 
 Programs_WebKitPluginProcess_LDADD = \
 	-lpthread \
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to