Changeset 145395 in webkit


Ignore:
Timestamp:
Mar 11, 2013 1:22:24 PM (11 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] WebKit2-only build fails
https://bugs.webkit.org/show_bug.cgi?id=112033

Reviewed by Gustavo Noronha Silva.

Source/WebKit2:

  • GNUmakefile.am: Introduce the artifical dependency of libwebkit2gtk on libwebkitgtk only

if building WebKit1 as well. Similarly with the WebKitPluginProcess, depend on libwebkitgtk
only if building WebKit1, the dependency is otherwise not necessary.

Tools:

  • GNUmakefile.am: Split the list of files the docs-build.stamp target depends on into the

generic part, WebKit1-specific part and WebKit2-specific part.

  • TestWebKitAPI/GNUmakefile.am: The TestGtk executable should not link agains libwebkitgtk

as it is not WebKit1-specific, but should rather link to libWebCore.la and libWebCoreGtk.la
directly.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r145390 r145395  
     12013-03-11  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] WebKit2-only build fails
     4        https://bugs.webkit.org/show_bug.cgi?id=112033
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * GNUmakefile.am: Introduce the artifical dependency of libwebkit2gtk on libwebkitgtk only
     9        if building WebKit1 as well. Similarly with the WebKitPluginProcess, depend on libwebkitgtk
     10        only if building WebKit1, the dependency is otherwise not necessary.
     11
    1122013-03-11  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebKit2/GNUmakefile.am

    r145084 r145395  
    152152# The variable creation is to avoid having automake override the entire rule instead of adding the
    153153# dependency.
     154if ENABLE_WEBKIT1
    154155webkit2gtk_lib_for_dep = libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
    155156$(webkit2gtk_lib_for_dep): libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
     157endif
    156158
    157159libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_ladir = \
     
    514516# Serialize linking of the plugin process with both webkit libraries.
    515517plugin_process_for_dep = Programs/WebKitPluginProcess
    516 $(plugin_process_for_dep): libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
     518plugin_process_for_dep_list = libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
     519if ENABLE_WEBKIT1
     520plugin_process_for_dep_list += \
     521        libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la
     522endif
     523$(plugin_process_for_dep): $(plugin_process_for_dep_list)
    517524
    518525Programs_WebKitPluginProcess_CPPFLAGS = \
  • trunk/Tools/ChangeLog

    r145388 r145395  
     12013-03-11  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        [GTK] WebKit2-only build fails
     4        https://bugs.webkit.org/show_bug.cgi?id=112033
     5
     6        Reviewed by Gustavo Noronha Silva.
     7
     8        * GNUmakefile.am: Split the list of files the docs-build.stamp target depends on into the
     9        generic part, WebKit1-specific part and WebKit2-specific part.
     10        * TestWebKitAPI/GNUmakefile.am: The TestGtk executable should not link agains libwebkitgtk
     11        as it is not WebKit1-specific, but should rather link to libWebCore.la and libWebCoreGtk.la
     12        directly.
     13
    1142013-03-11  Dima Gorbik  <dgorbik@apple.com>
    215
  • trunk/Tools/GNUmakefile.am

    r144765 r145395  
    317317DISTCLEANFILES += docs-build.stamp
    318318
     319docs_build_stamp_list = \
     320        Source/WebKit/gtk/docs/webkitenvironment.xml
     321
     322if ENABLE_WEBKIT1
     323docs_build_stamp_list += \
     324        libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
     325        Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
     326        Source/WebKit/gtk/docs/webkitgtk-sections.txt
     327endif
     328
    319329if ENABLE_WEBKIT2
    320 docs-build.stamp: \
    321         Source/WebKit/gtk/docs/webkitenvironment.xml \
    322         Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
    323         Source/WebKit/gtk/docs/webkitgtk-sections.txt \
    324         libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
     330docs_build_stamp_list += \
    325331        libwebkit2gtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
    326332        Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-docs.sgml \
    327333        Source/WebKit2/UIProcess/API/gtk/docs/webkit2gtk-sections.txt
     334endif
     335
     336docs-build.stamp: $(doc_build_stamp_list)
    328337        CC=$(CC) $(srcdir)/Tools/gtk/generate-gtkdoc
    329338        @touch docs-build.stamp
    330 else
    331 docs-build.stamp: \
    332         libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
    333         Source/WebKit/gtk/docs/webkitenvironment.xml \
    334         Source/WebKit/gtk/docs/webkitgtk-docs.sgml \
    335         Source/WebKit/gtk/docs/webkitgtk-sections.txt
    336         CC=$(CC) $(srcdir)/Tools/gtk/generate-gtkdoc
    337         @touch docs-build.stamp
    338 endif
    339339
    340340clean-local: doc-clean-local
  • trunk/Tools/TestWebKitAPI/GNUmakefile.am

    r144552 r145395  
    8484        Libraries/libgtest.la \
    8585        libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
    86         libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
     86        libWebCore.la \
     87        libWebCoreGtk.la \
    8788        $(FREETYPE_LIBS) \
    8889        $(GLIB_LIBS) \
Note: See TracChangeset for help on using the changeset viewer.