Changeset 161063 in webkit


Ignore:
Timestamp:
Dec 25, 2013 1:53:04 AM (10 years ago)
Author:
Carlos Garcia Campos
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:
Location:
trunk/Source/WebKit2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r161053 r161063  
     12013-12-25  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [GTK] Missing introspection information for WebExtensions
     4        https://bugs.webkit.org/show_bug.cgi?id=122407
     5
     6        Reviewed by Philippe Normand.
     7
     8        Generate WebKit2WebExtension-3.0.gir with the WebExtensions API
     9        and move the DOM bindings API from WebKit2-3.0.gir to
     10        WebKit2WebExtension-3.0.gir.
     11
     12        * GNUmakefile.am:
     13
    1142013-12-24  Ryosuke Niwa  <rniwa@webkit.org>
    215
  • trunk/Source/WebKit2/GNUmakefile.am

    r160989 r161063  
    319319             -I$(WebKit2) \
    320320             -I$(GENSOURCES) \
    321              -I$(GENSOURCES_WEBKITDOM) \
    322321             -I$(GENSOURCES_WEBKIT2) \
    323322             -I$(top_builddir)/Source/WebKit2/UIProcess/API/gtk \
     
    330329             $(GENSOURCES_WEBKIT2)/webkit2gtk/webkit2/WebKitEnumTypes.h \
    331330             $(webkit2gtk_h_api) \
    332              $(webkitgtk_gdom_built_h_api) \
    333331             $(WebKit2)/UIProcess/API/gtk/*.cpp
    334332
     
    338336gir_DATA += WebKit2-@WEBKITGTK_API_VERSION@.gir
    339337typelibs_DATA += WebKit2-@WEBKITGTK_API_VERSION@.typelib
    340 
    341338CLEANFILES += WebKit2-@WEBKITGTK_API_VERSION@.gir WebKit2-@WEBKITGTK_API_VERSION@.typelib
     339
     340WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir: $(G_IR_SCANNER) WebKit2-@WEBKITGTK_API_VERSION@.gir
     341        $(AM_V_GEN) \
     342             CC="$(CC)" \
     343             CFLAGS="$(CFLAGS) -Wno-deprecated-declarations" \
     344             $(G_IR_SCANNER) \
     345             --quiet \
     346             --warn-all \
     347             --symbol-prefix=webkit \
     348             --identifier-prefix=WebKit \
     349             --namespace=WebKit2WebExtension \
     350             --nsversion=@WEBKITGTK_API_VERSION@ \
     351             --include=GObject-2.0 \
     352             --include=Gtk-3.0 \
     353             --include=JavaScriptCore-@WEBKITGTK_API_VERSION@ \
     354             --include=WebKit2-@WEBKITGTK_API_VERSION@ \
     355             --library=webkit2gtk-@WEBKITGTK_API_VERSION@ \
     356             --library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ \
     357             --libtool="$(LIBTOOL)" \
     358             --pkg=gobject-2.0 \
     359             --pkg=gtk+-@GTK_API_VERSION@ \
     360             --pkg=libsoup-2.4 \
     361             --pkg-export=webkit2gtk-@WEBKITGTK_API_VERSION@ \
     362             --output=$@ \
     363             --add-include-path=$(WebKit2) \
     364             --add-include-path=$(top_builddir) \
     365             --c-include="webkit2/webkit-web-extension.h" \
     366             -I$(srcdir)/Source \
     367             -I$(WebKit2) \
     368             -I$(GENSOURCES) \
     369             -I$(GENSOURCES_WEBKITDOM) \
     370             -I$(GENSOURCES_WEBKIT2) \
     371             -I$(top_builddir)/Source/WebKit2/WebProcess/InjectedBundle/API/gtk \
     372             -I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
     373             -I$(top_srcdir) \
     374             -I$(GENSOURCES_WEBKIT2)/webkit2gtk/include \
     375             -I$(GENSOURCES_WEBKIT2)/webkit2extension/include \
     376             -I$(GENSOURCES_WEBKIT2)/webkit2gtk \
     377             -DBUILDING_WEBKIT \
     378             -DWEBKIT2_COMPILATION \
     379             $(webkit2_web_extension_h_api) \
     380             $(webkitgtk_gdom_built_h_api) \
     381             $(WebKit2)/WebProcess/InjectedBundle/API/gtk/*.cpp
     382
     383WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib: WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir $(G_IR_COMPILER)
     384        $(AM_V_GEN)$(G_IR_COMPILER) --includedir $(WebKit2) --includedir $(top_builddir) $< -o $@
     385
     386gir_DATA += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir
     387typelibs_DATA += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib
     388CLEANFILES += WebKit2WebExtension-@WEBKITGTK_API_VERSION@.gir WebKit2WebExtension-@WEBKITGTK_API_VERSION@.typelib
    342389
    343390endif
Note: See TracChangeset for help on using the changeset viewer.