<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[152774] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/152774">152774</a></dd>
<dt>Author</dt> <dd>kbalazs@webkit.org</dd>
<dt>Date</dt> <dd>2013-07-17 01:37:03 -0700 (Wed, 17 Jul 2013)</dd>
</dl>

<h3>Log Message</h3>
<pre>[CMake] Undefined references should be detected at build time
https://bugs.webkit.org/show_bug.cgi?id=110236

Patch by Balazs Kelemen &lt;kbalazs@webkit.org&gt; on 2013-07-16
Reviewed by Christophe Dumez.

.:

Pass the --no-undefined argument to the linker on platforms where it is available.

* Source/cmake/OptionsCommon.cmake:

Source/WebKit:

Add library dependencies that were not defined explicitly before.

* CMakeLists.txt:
* PlatformEfl.cmake:

Source/WebKit2:

Add library dependencies that were not defined explicitly before.

* CMakeLists.txt:
* PlatformEfl.cmake:

Tools:

Add library dependencies that were not defined explicitly before.

* DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
* TestWebKitAPI/CMakeLists.txt:
* WebKitTestRunner/CMakeLists.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebKitCMakeListstxt">trunk/Source/WebKit/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitPlatformEflcmake">trunk/Source/WebKit/PlatformEfl.cmake</a></li>
<li><a href="#trunkSourceWebKit2CMakeListstxt">trunk/Source/WebKit2/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2PlatformEflcmake">trunk/Source/WebKit2/PlatformEfl.cmake</a></li>
<li><a href="#trunkSourcecmakeOptionsCommoncmake">trunk/Source/cmake/OptionsCommon.cmake</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreeTestNetscapePlugInCMakeListstxt">trunk/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt</a></li>
<li><a href="#trunkToolsTestWebKitAPICMakeListstxt">trunk/Tools/TestWebKitAPI/CMakeLists.txt</a></li>
<li><a href="#trunkToolsWebKitTestRunnerCMakeListstxt">trunk/Tools/WebKitTestRunner/CMakeLists.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/ChangeLog        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2013-07-16  Balazs Kelemen  &lt;kbalazs@webkit.org&gt;
+
+        [CMake] Undefined references should be detected at build time
+        https://bugs.webkit.org/show_bug.cgi?id=110236
+
+        Reviewed by Christophe Dumez.
+
+        Pass the --no-undefined argument to the linker on platforms where it is available.
+
+        * Source/cmake/OptionsCommon.cmake:
+
</ins><span class="cx"> 2013-07-16  Carlos Garcia Campos  &lt;cgarcia@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GTK] Remove compile warnings about GTK+ API deprecated after 3.6
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebCore/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -2959,6 +2959,12 @@
</span><span class="cx">     platform/mock/PlatformSpeechSynthesizerMock.cpp
</span><span class="cx"> )
</span><span class="cx"> 
</span><ins>+set(WebCoreTestSupport_LIBRARIES
+    JavaScriptCore
+    WTF
+    WebCore
+)
+
</ins><span class="cx"> # Modules that the bindings generator scripts may use
</span><span class="cx"> set(SCRIPTS_RESOLVE_SUPPLEMENTAL
</span><span class="cx">     ${WEBCORE_DIR}/bindings/scripts/IDLParser.pm
</span><span class="lines">@@ -3211,15 +3217,13 @@
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES})
</span><ins>+target_link_libraries(WebCoreTestSupport ${WebCoreTestSupport_LIBRARIES})
</ins><span class="cx"> set_target_properties(WebCoreTestSupport PROPERTIES FOLDER &quot;WebCore&quot;)
</span><span class="cx"> 
</span><span class="cx"> if (WebCoreTestSupport_OUTPUT_NAME)
</span><span class="cx">     set_target_properties(WebCoreTestSupport PROPERTIES OUTPUT_NAME ${WebCoreTestSupport_OUTPUT_NAME})
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><del>-add_dependencies(WebCore JavaScriptCore)
-add_dependencies(WebCoreTestSupport WebCore)
-
</del><span class="cx"> if (WTF_USE_LEVELDB)
</span><span class="cx">     add_library(leveldb STATIC ${LEVELDB_SOURCES})
</span><span class="cx">     target_link_libraries(leveldb ${CMAKE_THREAD_LIBS_INIT})
</span></span></pre></div>
<a id="trunkSourceWebKitCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -78,6 +78,8 @@
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> set(WebKit_LIBRARIES
</span><ins>+    JavaScriptCore
+    WTF
</ins><span class="cx">     WebCore
</span><span class="cx"> )
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit/ChangeLog        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2013-07-16  Balazs Kelemen  &lt;kbalazs@webkit.org&gt;
+
+        [CMake] Undefined references should be detected at build time
+        https://bugs.webkit.org/show_bug.cgi?id=110236
+
+        Reviewed by Christophe Dumez.
+
+        Add library dependencies that were not defined explicitly before.
+
+        * CMakeLists.txt:
+        * PlatformEfl.cmake:
+
</ins><span class="cx"> 2013-07-11  Timothy Hatcher  &lt;timothy@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Revert r152267 and soft link WebInspectorUI.framework again.
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformEflcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/PlatformEfl.cmake (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/PlatformEfl.cmake        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit/PlatformEfl.cmake        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -154,6 +154,8 @@
</span><span class="cx"> list(APPEND WebKit_LIBRARIES
</span><span class="cx">     ${CAIRO_LIBRARIES}
</span><span class="cx">     ${ECORE_LIBRARIES}
</span><ins>+    ${EDJE_LIBRARIES}
+    ${EINA_LIBRARIES}
</ins><span class="cx">     ${ECORE_EVAS_LIBRARIES}
</span><span class="cx">     ${ECORE_INPUT_LIBRARIES}
</span><span class="cx">     ${EFREET_LIBRARIES}
</span><span class="lines">@@ -172,6 +174,12 @@
</span><span class="cx">     ${LIBSOUP_LIBRARIES}
</span><span class="cx"> )
</span><span class="cx"> 
</span><ins>+if (ENABLE_ECORE_X)
+    list(APPEND WebKit_LIBRARIES
+        ${ECORE_X_LIBRARIES}
+    )
+endif ()
+
</ins><span class="cx"> if (SHARED_CORE)
</span><span class="cx">     set(LIBS_PRIVATE &quot;-l${WTF_OUTPUT_NAME} -l${JavaScriptCore_OUTPUT_NAME} -l${WebCore_OUTPUT_NAME}&quot;)
</span><span class="cx"> else ()
</span></span></pre></div>
<a id="trunkSourceWebKit2CMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit2/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -603,10 +603,17 @@
</span><span class="cx"> )
</span><span class="cx"> 
</span><span class="cx"> set(WebKit2_LIBRARIES
</span><ins>+    JavaScriptCore
</ins><span class="cx">     WTF
</span><span class="cx">     WebCore
</span><span class="cx"> )
</span><span class="cx"> 
</span><ins>+# librt is needed for shm_open on Linux.
+find_library(LIBRT_LIBRARIES NAMES rt)
+if (LIBRT_LIBRARIES)
+    list(APPEND WebKit2_LIBRARIES ${LIBRT_LIBRARIES})
+endif ()
+
</ins><span class="cx"> WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
</span><span class="cx"> 
</span><span class="cx"> # Create JavaScript C++ code given an IDL input
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit2/ChangeLog        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -1,3 +1,15 @@
</span><ins>+2013-07-16  Balazs Kelemen  &lt;kbalazs@webkit.org&gt;
+
+        [CMake] Undefined references should be detected at build time
+        https://bugs.webkit.org/show_bug.cgi?id=110236
+
+        Reviewed by Christophe Dumez.
+
+        Add library dependencies that were not defined explicitly before.
+
+        * CMakeLists.txt:
+        * PlatformEfl.cmake:
+
</ins><span class="cx"> 2013-07-17  Dong-Gwan Kim  &lt;donggwan.kim@samsung.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [EFL][WK2] EWK2WindowFeaturesTest should be defined by inheriting from EWK2UnitTestBase.
</span></span></pre></div>
<a id="trunkSourceWebKit2PlatformEflcmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/PlatformEfl.cmake (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/PlatformEfl.cmake        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/WebKit2/PlatformEfl.cmake        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -228,6 +228,7 @@
</span><span class="cx">     ${CAIRO_LIBRARIES}
</span><span class="cx">     ${ECORE_LIBRARIES}
</span><span class="cx">     ${ECORE_EVAS_LIBRARIES}
</span><ins>+    ${ECORE_IMF_EVAS_LIBRARIES}
</ins><span class="cx">     ${EDJE_LIBRARIES}
</span><span class="cx">     ${EFREET_LIBRARIES}
</span><span class="cx">     ${EINA_LIBRARIES}
</span><span class="lines">@@ -283,7 +284,11 @@
</span><span class="cx"> if (ENABLE_ECORE_X)
</span><span class="cx">     list(APPEND WebProcess_LIBRARIES
</span><span class="cx">         ${ECORE_X_LIBRARIES}
</span><del>-        ${X11_Xext_LIB})
</del><ins>+        ${X11_Xext_LIB}
+    )
+    list(APPEND WebKit2_LIBRARIES
+        ${ECORE_X_LIBRARIES}
+    )
</ins><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> add_custom_target(forwarding-headerEfl
</span><span class="lines">@@ -357,6 +362,12 @@
</span><span class="cx">         WebKit2
</span><span class="cx">     )
</span><span class="cx"> 
</span><ins>+    if (ENABLE_ECORE_X)
+        list(APPEND PluginProcess_LIBRARIES
+            ${ECORE_X_LIBRARIES}
+        )
+    endif ()
+
</ins><span class="cx">     add_executable(PluginProcess ${PluginProcess_SOURCES})
</span><span class="cx">     target_link_libraries(PluginProcess ${PluginProcess_LIBRARIES})
</span><span class="cx">     install(TARGETS PluginProcess DESTINATION &quot;${EXEC_INSTALL_DIR}&quot;)
</span></span></pre></div>
<a id="trunkSourcecmakeOptionsCommoncmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/OptionsCommon.cmake (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/OptionsCommon.cmake        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Source/cmake/OptionsCommon.cmake        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -31,6 +31,10 @@
</span><span class="cx">     set(CMAKE_SHARED_LINKER_FLAGS_DEBUG &quot;-Wl,--no-keep-memory ${CMAKE_SHARED_LINKER_FLAGS_DEBUG}&quot;)
</span><span class="cx"> endif ()
</span><span class="cx"> 
</span><ins>+if (UNIX AND NOT APPLE)
+    set(CMAKE_SHARED_LINKER_FLAGS &quot;-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}&quot;)
+endif ()
+
</ins><span class="cx"> set(LIB_SUFFIX &quot;&quot; CACHE STRING &quot;Define suffix of directory name (32/64)&quot;)
</span><span class="cx"> 
</span><span class="cx"> set(LIB_INSTALL_DIR &quot;lib${LIB_SUFFIX}&quot; CACHE PATH &quot;Where to install libraries (lib${LIB_SUFFIX})&quot;)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Tools/ChangeLog        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2013-07-16  Balazs Kelemen  &lt;kbalazs@webkit.org&gt;
+
+        [CMake] Undefined references should be detected at build time
+        https://bugs.webkit.org/show_bug.cgi?id=110236
+
+        Reviewed by Christophe Dumez.
+
+        Add library dependencies that were not defined explicitly before.
+
+        * DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt:
+        * TestWebKitAPI/CMakeLists.txt:
+        * WebKitTestRunner/CMakeLists.txt:
+
</ins><span class="cx"> 2013-07-16  Kwang Yul Seo  &lt;skyul@company100.net&gt;
</span><span class="cx"> 
</span><span class="cx">         check-webkit-style: &quot;using namespace foo;&quot; should be flagged as an error only in headers
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreeTestNetscapePlugInCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -37,4 +37,9 @@
</span><span class="cx"> 
</span><span class="cx"> include_directories(${WebKitTestNetscapePlugin_INCLUDE_DIRECTORIES})
</span><span class="cx"> 
</span><ins>+set(WebKitTestNetscapePlugin_LIBRARIES
+    ${X11_LIBRARIES}
+)
+
</ins><span class="cx"> add_library(TestNetscapePlugin SHARED ${WebKitTestNetscapePlugin_SOURCES})
</span><ins>+target_link_libraries(TestNetscapePlugin ${WebKitTestNetscapePlugin_LIBRARIES})
</ins></span></pre></div>
<a id="trunkToolsTestWebKitAPICMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestWebKitAPI/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Tools/TestWebKitAPI/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -55,9 +55,14 @@
</span><span class="cx">     ${TESTWEBKITAPI_DIR}/Tests/WebKit2/WillSendSubmitEvent_Bundle.cpp
</span><span class="cx"> )
</span><span class="cx"> 
</span><del>-target_link_libraries(TestWebKitAPIInjectedBundle WTF)
-add_dependencies(TestWebKitAPIInjectedBundle WebKit2 ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME})
</del><ins>+set(TestWebKitAPI_LIBRARIES
+    WTF
+    WebKit2
+)
</ins><span class="cx"> 
</span><ins>+target_link_libraries(TestWebKitAPIInjectedBundle ${TestWebKitAPI_LIBRARIES})
+add_dependencies(TestWebKitAPIInjectedBundle ${ForwardingHeadersForTestWebKitAPI_NAME} ${ForwardingNetworkHeadersForTestWebKitAPI_NAME})
+
</ins><span class="cx"> get_property(TestWebKitAPIInjectedBundle_PATH TARGET TestWebKitAPIInjectedBundle PROPERTY LOCATION)
</span><span class="cx"> 
</span><span class="cx"> add_definitions(-DGTEST_LINKED_AS_SHARED_LIBRARY=1
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/CMakeLists.txt (152773 => 152774)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/CMakeLists.txt        2013-07-17 07:27:41 UTC (rev 152773)
+++ trunk/Tools/WebKitTestRunner/CMakeLists.txt        2013-07-17 08:37:03 UTC (rev 152774)
</span><span class="lines">@@ -79,6 +79,16 @@
</span><span class="cx">     &quot;${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings/TextInputController.idl&quot;
</span><span class="cx"> )
</span><span class="cx"> 
</span><ins>+set(WebKitTestRunnerInjectedBundle_LIBRARIES
+    ${WebKitTestRunner_LIBRARIES}
+    ${ATK_LIBRARIES}
+    ${ECORE_LIBRARIES}
+    ${ECORE_FILE_LIBRARIES}
+    ${FONTCONFIG_LIBRARIES}
+    ${GLIB_LIBRARIES}
+    ${GLIB_GOBJECT_LIBRARIES}
+)
+
</ins><span class="cx"> GENERATE_BINDINGS(WebKitTestRunnerInjectedBundle_SOURCES
</span><span class="cx">     &quot;${WebKitTestRunnerInjectedBundle_IDL_FILES}&quot;
</span><span class="cx">     &quot;${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/Bindings&quot;
</span><span class="lines">@@ -92,7 +102,7 @@
</span><span class="cx"> include_directories(${WebKitTestRunner_INCLUDE_DIRECTORIES})
</span><span class="cx"> 
</span><span class="cx"> add_library(TestRunnerInjectedBundle SHARED ${WebKitTestRunnerInjectedBundle_SOURCES})
</span><del>-target_link_libraries(TestRunnerInjectedBundle ${WebKitTestRunner_LIBRARIES})
</del><ins>+target_link_libraries(TestRunnerInjectedBundle ${WebKitTestRunnerInjectedBundle_LIBRARIES})
</ins><span class="cx"> 
</span><span class="cx"> add_executable(WebKitTestRunner ${WebKitTestRunner_SOURCES})
</span><span class="cx"> target_link_libraries(WebKitTestRunner ${WebKitTestRunner_LIBRARIES})
</span></span></pre>
</div>
</div>

</body>
</html>