Title: [161063] trunk/Source/WebKit2
Revision
161063
Author
[email protected]
Date
2013-12-25 01:53:04 -0800 (Wed, 25 Dec 2013)

Log Message

[GTK] Missing introspection information for WebExtensions
https://bugs.webkit.org/show_bug.cgi?id=122407

Reviewed by Philippe Normand.

Generate WebKit2WebExtension-3.0.gir with the WebExtensions API
and move the DOM bindings API from WebKit2-3.0.gir to
WebKit2WebExtension-3.0.gir.

* GNUmakefile.am:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (161062 => 161063)


--- trunk/Source/WebKit2/ChangeLog	2013-12-25 09:13:47 UTC (rev 161062)
+++ trunk/Source/WebKit2/ChangeLog	2013-12-25 09:53:04 UTC (rev 161063)
@@ -1,3 +1,16 @@
+2013-12-25  Carlos Garcia Campos  <[email protected]>
+
+        [GTK] Missing introspection information for WebExtensions
+        https://bugs.webkit.org/show_bug.cgi?id=122407
+
+        Reviewed by Philippe Normand.
+
+        Generate WebKit2WebExtension-3.0.gir with the WebExtensions API
+        and move the DOM bindings API from WebKit2-3.0.gir to
+        WebKit2WebExtension-3.0.gir.
+
+        * GNUmakefile.am:
+
 2013-12-24  Ryosuke Niwa  <[email protected]>
 
         32-bit Mac build fix attempt after r161045.

Modified: trunk/Source/WebKit2/GNUmakefile.am (161062 => 161063)


--- trunk/Source/WebKit2/GNUmakefile.am	2013-12-25 09:13:47 UTC (rev 161062)
+++ trunk/Source/WebKit2/GNUmakefile.am	2013-12-25 09:53:04 UTC (rev 161063)
@@ -318,7 +318,6 @@
 	     -I$(srcdir)/Source \
 	     -I$(WebKit2) \
 	     -I$(GENSOURCES) \
-	     -I$(GENSOURCES_WEBKITDOM) \
 	     -I$(GENSOURCES_WEBKIT2) \
 	     -I$(top_builddir)/Source/WebKit2/UIProcess/API/gtk \
 	     -I$(top_srcdir)/Source/_javascript_Core/ForwardingHeaders \
@@ -329,7 +328,6 @@
 	     -DWEBKIT2_COMPILATION \
 	     $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.h \
 	     $(webkit2gtk_h_api) \
-	     $(webkitgtk_gdom_built_h_api) \
 	     $(WebKit2)/UIProcess/API/gtk/*.cpp
 
 WebKit2-@[email protected]: WebKit2-@[email protected] $(G_IR_COMPILER)
@@ -337,9 +335,58 @@
 
 gir_DATA += WebKit2-@[email protected]
 typelibs_DATA += WebKit2-@[email protected]
-
 CLEANFILES += WebKit2-@[email protected] WebKit2-@[email protected]
 
+WebKit2WebExtension-@[email protected]: $(G_IR_SCANNER) WebKit2-@[email protected]
+	$(AM_V_GEN) \
+	     CC="$(CC)" \
+	     CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
+	     $(G_IR_SCANNER) \
+	     --quiet \
+	     --warn-all \
+	     --symbol-prefix=webkit \
+	     --identifier-prefix=WebKit \
+	     --namespace=WebKit2WebExtension \
+	     --nsversion=@WEBKITGTK_API_VERSION@ \
+	     --include=GObject-2.0 \
+	     --include=Gtk-3.0 \
+	     --include=_javascript_Core-@WEBKITGTK_API_VERSION@ \
+	     --include=WebKit2-@WEBKITGTK_API_VERSION@ \
+	     --library=webkit2gtk-@WEBKITGTK_API_VERSION@ \
+	     --library=_javascript_coregtk-@WEBKITGTK_API_VERSION@ \
+	     --libtool="$(LIBTOOL)" \
+	     --pkg=gobject-2.0 \
+	     --pkg=gtk+-@GTK_API_VERSION@ \
+	     --pkg=libsoup-2.4 \
+	     --pkg-export=webkit2gtk-@WEBKITGTK_API_VERSION@ \
+	     --output=$@ \
+	     --add-include-path=$(WebKit2) \
+	     --add-include-path=$(top_builddir) \
+	     --c-include="webkit2/webkit-web-extension.h" \
+	     -I$(srcdir)/Source \
+	     -I$(WebKit2) \
+	     -I$(GENSOURCES) \
+	     -I$(GENSOURCES_WEBKITDOM) \
+	     -I$(GENSOURCES_WEBKIT2) \
+	     -I$(top_builddir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \
+	     -I$(top_srcdir)/Source/_javascript_Core/ForwardingHeaders \
+	     -I$(top_srcdir) \
+	     -I$(GENSOURCES_WEBKIT2)/webkit2gtk/include \
+	     -I$(GENSOURCES_WEBKIT2)/webkit2extension/include \
+	     -I$(GENSOURCES_WEBKIT2)/webkit2gtk \
+	     -DBUILDING_WEBKIT \
+	     -DWEBKIT2_COMPILATION \
+	     $(webkit2_web_extension_h_api) \
+	     $(webkitgtk_gdom_built_h_api) \
+	     $(WebKit2)/WebProcess/InjectedBundle/API/gtk/*.cpp
+
+WebKit2WebExtension-@[email protected]: WebKit2WebExtension-@[email protected] $(G_IR_COMPILER)
+	$(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit2) --includedir $(top_builddir) $< -o $@
+
+gir_DATA += WebKit2WebExtension-@[email protected]
+typelibs_DATA += WebKit2WebExtension-@[email protected]
+CLEANFILES += WebKit2WebExtension-@[email protected] WebKit2WebExtension-@[email protected]
+
 endif
 endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to