<!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>[187022] 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/187022">187022</a></dd>
<dt>Author</dt> <dd>achristensen@apple.com</dd>
<dt>Date</dt> <dd>2015-07-20 08:55:03 -0700 (Mon, 20 Jul 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Resurrect CMake build on Windows.
https://bugs.webkit.org/show_bug.cgi?id=147083

Reviewed by Gyuyoung Kim.

.:

* Source/cmake/OptionsCommon.cmake:
* Source/cmake/OptionsWindows.cmake:
Change features to get it to compile.  Still not a complete feature set.

Source/WebCore:

* CMakeLists.txt:
* PlatformWin.cmake:
* dom/Document.cpp:
(WebCore::Document::~Document):
* dom/Range.cpp:
* dom/Text.cpp:
* editing/CompositeEditCommand.cpp:
* platform/graphics/texmap/BitmapTexturePool.cpp:
(WebCore::BitmapTexturePool::createTexture):
* platform/win/WindowsTouch.h:
* rendering/RenderThemeWin.h:
Fixed some including and compiling quirks needed for different configurations.

Source/WebKit:

* PlatformWin.cmake: Added.
Based on original work by Patrick Gansterer and Mark Salisbury
in https://bugs.webkit.org/show_bug.cgi?id=72816

Source/WTF:

* wtf/PlatformWin.cmake:

Tools:

* DumpRenderTree/CMakeLists.txt:
* DumpRenderTree/PlatformWin.cmake: Added.
* WinLauncher/CMakeLists.txt:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfPlatformWincmake">trunk/Source/WTF/wtf/PlatformWin.cmake</a></li>
<li><a href="#trunkSourceWebCoreCMakeListstxt">trunk/Source/WebCore/CMakeLists.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorePlatformWincmake">trunk/Source/WebCore/PlatformWin.cmake</a></li>
<li><a href="#trunkSourceWebCoredomDocumentcpp">trunk/Source/WebCore/dom/Document.cpp</a></li>
<li><a href="#trunkSourceWebCoredomRangecpp">trunk/Source/WebCore/dom/Range.cpp</a></li>
<li><a href="#trunkSourceWebCoredomTextcpp">trunk/Source/WebCore/dom/Text.cpp</a></li>
<li><a href="#trunkSourceWebCoreeditingCompositeEditCommandcpp">trunk/Source/WebCore/editing/CompositeEditCommand.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicstexmapBitmapTexturePoolcpp">trunk/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformwinWindowsTouchh">trunk/Source/WebCore/platform/win/WindowsTouch.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderThemeWinh">trunk/Source/WebCore/rendering/RenderThemeWin.h</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourcecmakeOptionsCommoncmake">trunk/Source/cmake/OptionsCommon.cmake</a></li>
<li><a href="#trunkSourcecmakeOptionsWindowscmake">trunk/Source/cmake/OptionsWindows.cmake</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreeCMakeListstxt">trunk/Tools/DumpRenderTree/CMakeLists.txt</a></li>
<li><a href="#trunkToolsWinLauncherCMakeListstxt">trunk/Tools/WinLauncher/CMakeLists.txt</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebKitPlatformWincmake">trunk/Source/WebKit/PlatformWin.cmake</a></li>
<li><a href="#trunkToolsDumpRenderTreePlatformWincmake">trunk/Tools/DumpRenderTree/PlatformWin.cmake</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/ChangeLog        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-07-20  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Resurrect CMake build on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=147083
+
+        Reviewed by Gyuyoung Kim.
+
+        * Source/cmake/OptionsCommon.cmake:
+        * Source/cmake/OptionsWindows.cmake:
+        Change features to get it to compile.  Still not a complete feature set.
+
</ins><span class="cx"> 2015-07-19  Michael Catanzaro  &lt;mcatanzaro@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GTK] Add seccomp filters support
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WTF/ChangeLog        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-07-20  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Resurrect CMake build on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=147083
+
+        Reviewed by Gyuyoung Kim.
+
+        * wtf/PlatformWin.cmake:
+
</ins><span class="cx"> 2015-07-20  Per Arne Vollan  &lt;peavo@outlook.com&gt;
</span><span class="cx"> 
</span><span class="cx">         JavaScriptCore performance is very bad on Windows
</span></span></pre></div>
<a id="trunkSourceWTFwtfPlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/PlatformWin.cmake (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/PlatformWin.cmake        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WTF/wtf/PlatformWin.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -4,8 +4,6 @@
</span><span class="cx">     text/cf/StringImplCF.cpp
</span><span class="cx">     text/cf/StringViewCF.cpp
</span><span class="cx"> 
</span><del>-    threads/win/BinarySemaphoreWin.cpp
-
</del><span class="cx">     win/MainThreadWin.cpp
</span><span class="cx">     win/RunLoopWin.cpp
</span><span class="cx">     win/WTFDLL.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoreCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/CMakeLists.txt (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/CMakeLists.txt        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/CMakeLists.txt        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -3513,6 +3513,7 @@
</span><span class="cx"> 
</span><span class="cx"> GENERATE_EVENT_FACTORY(${WEBCORE_DIR}/dom/EventTargetFactory.in EventTargetInterfaces.h)
</span><span class="cx"> ADD_SOURCE_WEBCORE_DERIVED_DEPENDENCIES(${WEBCORE_DIR}/dom/EventNames.cpp EventTargetInterfaces.h)
</span><ins>+list(APPEND WebCore_SOURCES ${DERIVED_SOURCES_WEBCORE_DIR}/EventTargetInterfaces.h)
</ins><span class="cx"> 
</span><span class="cx"> 
</span><span class="cx"> GENERATE_EXCEPTION_CODE_DESCRIPTION(${WEBCORE_DIR}/dom/DOMExceptions.in ExceptionCodeDescription.cpp)
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/ChangeLog        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2015-07-20  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Resurrect CMake build on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=147083
+
+        Reviewed by Gyuyoung Kim.
+
+        * CMakeLists.txt:
+        * PlatformWin.cmake:
+        * dom/Document.cpp:
+        (WebCore::Document::~Document):
+        * dom/Range.cpp:
+        * dom/Text.cpp:
+        * editing/CompositeEditCommand.cpp:
+        * platform/graphics/texmap/BitmapTexturePool.cpp:
+        (WebCore::BitmapTexturePool::createTexture):
+        * platform/win/WindowsTouch.h:
+        * rendering/RenderThemeWin.h:
+        Fixed some including and compiling quirks needed for different configurations.
+
</ins><span class="cx"> 2015-07-20  Per Arne Vollan  &lt;peavo@outlook.com&gt;
</span><span class="cx"> 
</span><span class="cx">         JavaScriptCore performance is very bad on Windows
</span></span></pre></div>
<a id="trunkSourceWebCorePlatformWincmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/PlatformWin.cmake (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/PlatformWin.cmake        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/PlatformWin.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -21,7 +21,10 @@
</span><span class="cx">     platform/Cursor.cpp
</span><span class="cx">     platform/LocalizedStrings.cpp
</span><span class="cx">     platform/PlatformStrategies.cpp
</span><ins>+    platform/VNodeTracker.cpp
</ins><span class="cx"> 
</span><ins>+    platform/audio/PlatformMediaSessionManager.cpp
+
</ins><span class="cx">     platform/graphics/opentype/OpenTypeUtilities.cpp
</span><span class="cx"> 
</span><span class="cx">     platform/graphics/win/DIBPixelData.cpp
</span><span class="lines">@@ -48,6 +51,7 @@
</span><span class="cx">     platform/win/LanguageWin.cpp
</span><span class="cx">     platform/win/LocalizedStringsWin.cpp
</span><span class="cx">     platform/win/LoggingWin.cpp
</span><ins>+    platform/win/MemoryPressureHandlerWin.cpp
</ins><span class="cx">     platform/win/MIMETypeRegistryWin.cpp
</span><span class="cx">     platform/win/PasteboardWin.cpp
</span><span class="cx">     platform/win/PlatformMouseEventWin.cpp
</span></span></pre></div>
<a id="trunkSourceWebCoredomDocumentcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Document.cpp (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Document.cpp        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/dom/Document.cpp        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -633,7 +633,9 @@
</span><span class="cx">     if (m_cachedResourceLoader-&gt;document() == this)
</span><span class="cx">         m_cachedResourceLoader-&gt;setDocument(nullptr);
</span><span class="cx"> 
</span><ins>+#if ENABLE(VIDEO)
</ins><span class="cx">     PlatformMediaSessionManager::sharedManager().stopAllMediaPlaybackForDocument(this);
</span><ins>+#endif
</ins><span class="cx">     
</span><span class="cx">     // We must call clearRareData() here since a Document class inherits TreeScope
</span><span class="cx">     // as well as Node. See a comment on TreeScope.h for the reason.
</span></span></pre></div>
<a id="trunkSourceWebCoredomRangecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Range.cpp (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Range.cpp        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/dom/Range.cpp        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -28,6 +28,7 @@
</span><span class="cx"> #include &quot;ClientRect.h&quot;
</span><span class="cx"> #include &quot;ClientRectList.h&quot;
</span><span class="cx"> #include &quot;DocumentFragment.h&quot;
</span><ins>+#include &quot;Event.h&quot;
</ins><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;FrameView.h&quot;
</span><span class="cx"> #include &quot;HTMLElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoredomTextcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/dom/Text.cpp (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/dom/Text.cpp        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/dom/Text.cpp        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -22,6 +22,7 @@
</span><span class="cx"> #include &quot;config.h&quot;
</span><span class="cx"> #include &quot;Text.h&quot;
</span><span class="cx"> 
</span><ins>+#include &quot;Event.h&quot;
</ins><span class="cx"> #include &quot;RenderCombineText.h&quot;
</span><span class="cx"> #include &quot;RenderSVGInlineText.h&quot;
</span><span class="cx"> #include &quot;RenderText.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreeditingCompositeEditCommandcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/editing/CompositeEditCommand.cpp (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/editing/CompositeEditCommand.cpp        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/editing/CompositeEditCommand.cpp        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -37,6 +37,7 @@
</span><span class="cx"> #include &quot;Editor.h&quot;
</span><span class="cx"> #include &quot;EditorInsertAction.h&quot;
</span><span class="cx"> #include &quot;ElementTraversal.h&quot;
</span><ins>+#include &quot;Event.h&quot;
</ins><span class="cx"> #include &quot;ExceptionCodePlaceholder.h&quot;
</span><span class="cx"> #include &quot;Frame.h&quot;
</span><span class="cx"> #include &quot;HTMLDivElement.h&quot;
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicstexmapBitmapTexturePoolcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -104,6 +104,8 @@
</span><span class="cx"> #if USE(TEXTURE_MAPPER_GL)
</span><span class="cx">     BitmapTextureGL* texture = new BitmapTextureGL(m_context3D);
</span><span class="cx">     return adoptRef(texture);
</span><ins>+#else
+    return nullptr;
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformwinWindowsTouchh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/win/WindowsTouch.h (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/win/WindowsTouch.h        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/platform/win/WindowsTouch.h        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -71,42 +71,4 @@
</span><span class="cx"> #define GC_PRESSANDTAP 0x00000001
</span><span class="cx"> #define GC_ROLLOVER GC_PRESSANDTAP
</span><span class="cx"> 
</span><del>-// GESTUREINFO struct definition
-typedef struct tagGESTUREINFO {
-    UINT cbSize;                    // size, in bytes, of this structure (including variable length Args field)
-    DWORD dwFlags;                  // see GF_* flags
-    DWORD dwID;                     // gesture ID, see GID_* defines
-    HWND hwndTarget;                // handle to window targeted by this gesture
-    POINTS ptsLocation;             // current location of this gesture
-    DWORD dwInstanceID;             // internally used
-    DWORD dwSequenceID;             // internally used
-    ULONGLONG ullArguments;         // arguments for gestures whose arguments fit in 8 BYTES
-    UINT cbExtraArgs;               // size, in bytes, of extra arguments, if any, that accompany this gesture
-} GESTUREINFO, *PGESTUREINFO;
-typedef GESTUREINFO const * PCGESTUREINFO;
-
-// GESTURECONFIG struct defintion
-typedef struct tagGESTURECONFIG {
-    DWORD dwID;                     // gesture ID
-    DWORD dwWant;                   // settings related to gesture ID that are to be turned on
-    DWORD dwBlock;                  // settings related to gesture ID that are to be turned off
-} GESTURECONFIG, *PGESTURECONFIG;
-
-/*
- * Gesture notification structure
- *   - The WM_GESTURENOTIFY message lParam contains a pointer to this structure.
- *   - The WM_GESTURENOTIFY message notifies a window that gesture recognition is
- *     in progress and a gesture will be generated if one is recognized under the
- *     current gesture settings.
- */
-typedef struct tagGESTURENOTIFYSTRUCT {
-    UINT cbSize;                    // size, in bytes, of this structure
-    DWORD dwFlags;                  // unused
-    HWND hwndTarget;                // handle to window targeted by the gesture
-    POINTS ptsLocation;             // starting location
-    DWORD dwInstanceID;             // internally used
-} GESTURENOTIFYSTRUCT, *PGESTURENOTIFYSTRUCT;
-
-DECLARE_HANDLE(HGESTUREINFO);
-
</del><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderThemeWinh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderThemeWin.h (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderThemeWin.h        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebCore/rendering/RenderThemeWin.h        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -26,7 +26,7 @@
</span><span class="cx"> 
</span><span class="cx"> #include &quot;RenderTheme.h&quot;
</span><span class="cx"> 
</span><del>-#if WIN32
</del><ins>+#ifdef WIN32
</ins><span class="cx"> typedef void* HANDLE;
</span><span class="cx"> typedef struct HINSTANCE__* HINSTANCE;
</span><span class="cx"> typedef HINSTANCE HMODULE;
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/WebKit/ChangeLog        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-07-20  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Resurrect CMake build on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=147083
+
+        Reviewed by Gyuyoung Kim.
+
+        * PlatformWin.cmake: Added.
+        Based on original work by Patrick Gansterer and Mark Salisbury
+        in https://bugs.webkit.org/show_bug.cgi?id=72816
+
</ins><span class="cx"> 2015-07-16  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] Unreviewed gardening.
</span></span></pre></div>
<a id="trunkSourceWebKitPlatformWincmake"></a>
<div class="addfile"><h4>Added: trunk/Source/WebKit/PlatformWin.cmake (0 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/PlatformWin.cmake                                (rev 0)
+++ trunk/Source/WebKit/PlatformWin.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -0,0 +1,423 @@
</span><ins>+if (${WTF_PLATFORM_WIN_CAIRO})
+    add_definitions(-DUSE_CAIRO=1 -DUSE_CURL=1 -DWEBKIT_EXPORTS=1)
+    list(APPEND WebKit_INCLUDE_DIRECTORIES
+        &quot;$ENV{WEBKIT_LIBRARIES}/include&quot;
+        &quot;$ENV{WEBKIT_LIBRARIES}/include/cairo&quot;
+        &quot;$ENV{WEBKIT_LIBRARIES}/include/sqlite&quot;
+        &quot;${WEBCORE_DIR}/platform/graphics/cairo&quot;
+    )
+    list(APPEND WebKit_SOURCES_Classes
+        win/WebDownloadCURL.cpp
+        win/WebURLAuthenticationChallengeSenderCURL.cpp
+    )
+    list(APPEND WebKit_LIBRARIES
+        libeay32.lib
+        ssleay32.lib
+    )
+endif ()
+
+list(APPEND WebKit_INCLUDE_DIRECTORIES
+    Storage
+    win
+    win/plugins
+    win/WebCoreSupport
+    WebCoreSupport
+    WebKit.vcxproj/WebKit
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/include&quot;
+    &quot;${CMAKE_SOURCE_DIR}/Source&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/include/WebCore&quot;
+    &quot;${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}&quot;
+    &quot;${DERIVED_SOURCES_WEBCORE_DIR}&quot;
+    &quot;${DERIVED_SOURCES_DIR}&quot;
+    &quot;${JAVASCRIPTCORE_DIR}/dfg&quot;
+    &quot;${WEBCORE_DIR}/style&quot;
+    &quot;${WEBCORE_DIR}/loader/archive&quot;
+    &quot;${WEBCORE_DIR}/loader/archive/cf&quot;
+    &quot;${WEBCORE_DIR}/page/scrolling&quot;
+    &quot;${WEBCORE_DIR}/platform/cf&quot;
+    &quot;${WEBCORE_DIR}/platform/graphics/win&quot;
+    &quot;${WEBCORE_DIR}/platform/graphics/filters&quot;
+    &quot;${WEBCORE_DIR}/platform/audio&quot;
+    &quot;${WEBCORE_DIR}/platform/win&quot;
+    &quot;${WEBCORE_DIR}/rendering/line&quot;
+    &quot;${WEBCORE_DIR}/html/shadow&quot;
+    &quot;${WEBCORE_DIR}/modules/websockets&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces&quot;
+    &quot;${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}/inspector&quot;
+)
+
+list(APPEND WebKit_INCLUDES
+    win/CFDictionaryPropertyBag.h
+    win/COMEnumVariant.h
+    win/COMPropertyBag.h
+    win/COMVariantSetter.h
+    win/CodeAnalysisConfig.h
+    win/DOMCSSClasses.h
+    win/DOMCoreClasses.h
+    win/DOMEventsClasses.h
+    win/DOMHTMLClasses.h
+    win/DefaultDownloadDelegate.h
+    win/DefaultPolicyDelegate.h
+    win/ForEachCoClass.h
+    win/FullscreenVideoController.h
+    win/MarshallingHelpers.h
+    win/MemoryStream.h
+    win/ProgIDMacros.h
+    win/WebActionPropertyBag.h
+    win/WebArchive.h
+    win/WebBackForwardList.h
+    win/WebCache.h
+    win/WebCachedFramePlatformData.h
+    win/WebCoreStatistics.h
+    win/WebDataSource.h
+    win/WebDatabaseManager.h
+    win/WebDocumentLoader.h
+    win/WebDownload.h
+    win/WebDropSource.h
+    win/WebElementPropertyBag.h
+    win/WebError.h
+    win/WebFrame.h
+    win/WebFramePolicyListener.h
+    win/WebGeolocationPolicyListener.h
+    win/WebGeolocationPosition.h
+    win/WebHTMLRepresentation.h
+    win/WebHistory.h
+    win/WebHistoryItem.h
+    win/WebIconDatabase.h
+    win/WebJavaScriptCollector.h
+    win/WebKitCOMAPI.h
+    win/WebKitClassFactory.h
+    win/WebKitDLL.h
+    win/WebKitGraphics.h
+    win/WebKitLogging.h
+    win/WebKitStatistics.h
+    win/WebKitStatisticsPrivate.h
+    win/WebKitSystemBits.h
+    win/WebLocalizableStrings.h
+    win/WebMutableURLRequest.h
+    win/WebNavigationData.h
+    win/WebNotification.h
+    win/WebNotificationCenter.h
+    win/WebPreferenceKeysPrivate.h
+    win/WebPreferences.h
+    win/WebResource.h
+    win/WebScriptObject.h
+    win/WebScriptWorld.h
+    win/WebSecurityOrigin.h
+    win/WebSerializedJSValue.h
+    win/WebTextRenderer.h
+    win/WebURLAuthenticationChallenge.h
+    win/WebURLAuthenticationChallengeSender.h
+    win/WebURLCredential.h
+    win/WebURLProtectionSpace.h
+    win/WebURLResponse.h
+    win/WebUserContentURLPattern.h
+    win/WebView.h
+    win/WebWorkersPrivate.h
+)
+
+list(APPEND WebKit_SOURCES_Classes
+    Storage/StorageAreaImpl.cpp
+    Storage/StorageAreaSync.cpp
+    Storage/StorageNamespaceImpl.cpp
+    Storage/StorageSyncManager.cpp
+    Storage/StorageThread.cpp
+    Storage/StorageTracker.cpp
+    Storage/WebDatabaseProvider.cpp
+    Storage/WebStorageNamespaceProvider.cpp
+
+    cf/WebCoreSupport/WebInspectorClientCF.cpp
+
+    win/AccessibleBase.cpp
+    win/AccessibleDocument.cpp
+    win/AccessibleImage.cpp
+    win/AccessibleTextImpl.cpp
+    win/CFDictionaryPropertyBag.cpp
+    win/DOMCSSClasses.cpp
+    win/DOMCoreClasses.cpp
+    win/DOMEventsClasses.cpp
+    win/DOMHTMLClasses.cpp
+    win/DefaultDownloadDelegate.cpp
+    win/DefaultPolicyDelegate.cpp
+    win/ForEachCoClass.cpp
+    win/FullscreenVideoController.cpp
+    win/MarshallingHelpers.cpp
+    win/MemoryStream.cpp
+    win/WebActionPropertyBag.cpp
+    win/WebArchive.cpp
+    win/WebBackForwardList.cpp
+    win/WebCache.cpp
+    win/WebCoreStatistics.cpp
+    win/WebDataSource.cpp
+    win/WebDatabaseManager.cpp
+    win/WebDocumentLoader.cpp
+    win/WebDownload.cpp
+    win/WebDropSource.cpp
+    win/WebElementPropertyBag.cpp
+    win/WebError.cpp
+    win/WebFrame.cpp
+    win/WebFramePolicyListener.cpp
+    win/WebGeolocationPolicyListener.cpp
+    win/WebGeolocationPosition.cpp
+    win/WebHTMLRepresentation.cpp
+    win/WebHistory.cpp
+    win/WebHistoryItem.cpp
+    win/WebIconDatabase.cpp
+    win/WebInspector.cpp
+    win/WebJavaScriptCollector.cpp
+    win/WebKitCOMAPI.cpp
+    win/WebKitClassFactory.cpp
+    win/WebKitDLL.cpp
+    win/WebKitLogging.cpp
+    win/WebKitMessageLoop.cpp
+    win/WebKitStatistics.cpp
+    win/WebKitSystemBits.cpp
+    win/WebLocalizableStrings.cpp
+    win/WebMutableURLRequest.cpp
+    win/WebNavigationData.cpp
+    win/WebNodeHighlight.cpp
+    win/WebNotification.cpp
+    win/WebNotificationCenter.cpp
+    win/WebPreferences.cpp
+    win/WebResource.cpp
+    win/WebScriptObject.cpp
+    win/WebScriptWorld.cpp
+    win/WebSecurityOrigin.cpp
+    win/WebSerializedJSValue.cpp
+    win/WebTextRenderer.cpp
+    win/WebURLAuthenticationChallenge.cpp
+    win/WebURLAuthenticationChallengeSender.cpp
+    win/WebURLCredential.cpp
+    win/WebURLProtectionSpace.cpp
+    win/WebURLResponse.cpp
+    win/WebUserContentURLPattern.cpp
+    win/WebView.cpp
+    win/WebWorkersPrivate.cpp
+
+    win/plugins/PluginDatabase.cpp
+    win/plugins/PluginDatabaseWin.cpp
+    win/plugins/PluginDebug.cpp
+    win/plugins/PluginMainThreadScheduler.cpp
+    win/plugins/PluginMessageThrottlerWin.cpp
+    win/plugins/PluginPackage.cpp
+    win/plugins/PluginPackageWin.cpp
+    win/plugins/PluginStream.cpp
+    win/plugins/PluginView.cpp
+    win/plugins/PluginViewWin.cpp
+    win/plugins/npapi.cpp
+)
+
+list(APPEND WebKit_SOURCES_WebCoreSupport
+    WebCoreSupport/WebViewGroup.cpp
+    WebCoreSupport/WebViewGroup.h
+
+    win/WebCoreSupport/EmbeddedWidget.cpp
+    win/WebCoreSupport/EmbeddedWidget.h
+    win/WebCoreSupport/WebChromeClient.cpp
+    win/WebCoreSupport/WebChromeClient.h
+    win/WebCoreSupport/WebContextMenuClient.cpp
+    win/WebCoreSupport/WebContextMenuClient.h
+    win/WebCoreSupport/WebDesktopNotificationsDelegate.cpp
+    win/WebCoreSupport/WebDesktopNotificationsDelegate.h
+    win/WebCoreSupport/WebDragClient.cpp
+    win/WebCoreSupport/WebDragClient.h
+    win/WebCoreSupport/WebEditorClient.cpp
+    win/WebCoreSupport/WebEditorClient.h
+    win/WebCoreSupport/WebFrameLoaderClient.cpp
+    win/WebCoreSupport/WebFrameLoaderClient.h
+    win/WebCoreSupport/WebFrameNetworkingContext.cpp
+    win/WebCoreSupport/WebFrameNetworkingContext.h
+    win/WebCoreSupport/WebGeolocationClient.cpp
+    win/WebCoreSupport/WebGeolocationClient.h
+    win/WebCoreSupport/WebInspectorClient.cpp
+    win/WebCoreSupport/WebInspectorClient.h
+    win/WebCoreSupport/WebInspectorDelegate.cpp
+    win/WebCoreSupport/WebInspectorDelegate.h
+    win/WebCoreSupport/WebPlatformStrategies.cpp
+    win/WebCoreSupport/WebPlatformStrategies.h
+    win/WebCoreSupport/WebVisitedLinkStore.cpp
+    win/WebCoreSupport/WebVisitedLinkStore.h
+)
+
+list(APPEND WebKit_SOURCES ${WebKit_INCLUDES} ${WebKit_SOURCES_Classes} ${WebKit_SOURCES_WebCoreSupport})
+
+source_group(Includes FILES ${WebKit_INCLUDES})
+source_group(Classes FILES ${WebKit_SOURCES_Classes})
+source_group(WebCoreSupport FILES ${WebKit_SOURCES_WebCoreSupport})
+
+# Build the COM interface:
+macro(GENERATE_INTERFACE _infile _defines _depends)
+    get_filename_component(_filewe ${_infile} NAME_WE)
+    add_custom_command(
+        OUTPUT  ${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/${_filewe}.h
+        MAIN_DEPENDENCY ${_infile}
+        DEPENDS ${_depends}
+        COMMAND midl.exe /I &quot;${CMAKE_CURRENT_SOURCE_DIR}/win/Interfaces&quot; /I &quot;${CMAKE_CURRENT_SOURCE_DIR}/win/Interfaces/Accessible2&quot; /I &quot;${DERIVED_SOURCES_WEBKIT_DIR}/include&quot; /I &quot;${CMAKE_CURRENT_SOURCE_DIR}/win&quot; /WX /char signed /env win32 /tlb &quot;${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${_filewe}.tlb&quot; /out &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces&quot; /h &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/${_filewe}.h&quot; /iid &quot;${_filewe}_i.c&quot; ${_defines} &quot;${CMAKE_CURRENT_SOURCE_DIR}/${_infile}&quot;
+        VERBATIM)
+    set_source_files_properties(${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/${_filewe}.h PROPERTIES GENERATED TRUE)
+    set_source_files_properties(${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/${_filewe}_i.c PROPERTIES GENERATED TRUE)
+endmacro()
+
+set(MIDL_DEFINES /D\ \&quot;__PRODUCTION__=01\&quot;)
+
+set(WEBKIT_IDL_DEPENDENCIES
+    win/Interfaces/AccessibleComparable.idl
+    win/Interfaces/DOMCSS.idl
+    win/Interfaces/DOMCore.idl
+    win/Interfaces/DOMEvents.idl
+    win/Interfaces/DOMExtensions.idl
+    win/Interfaces/DOMHTML.idl
+    win/Interfaces/DOMPrivate.idl
+    win/Interfaces/DOMRange.idl
+    win/Interfaces/DOMWindow.idl
+    win/Interfaces/IGEN_DOMObject.idl
+    win/Interfaces/IWebArchive.idl
+    win/Interfaces/IWebBackForwardList.idl
+    win/Interfaces/IWebBackForwardListPrivate.idl
+    win/Interfaces/IWebCache.idl
+    win/Interfaces/IWebCookieManager.idl
+    win/Interfaces/IWebCoreStatistics.idl
+    win/Interfaces/IWebDataSource.idl
+    win/Interfaces/IWebDatabaseManager.idl
+    win/Interfaces/IWebDesktopNotificationsDelegate.idl
+    win/Interfaces/IWebDocument.idl
+    win/Interfaces/IWebDownload.idl
+    win/Interfaces/IWebEditingDelegate.idl
+    win/Interfaces/IWebEmbeddedView.idl
+    win/Interfaces/IWebError.idl
+    win/Interfaces/IWebErrorPrivate.idl
+    win/Interfaces/IWebFormDelegate.idl
+    win/Interfaces/IWebFrame.idl
+    win/Interfaces/IWebFrameLoadDelegate.idl
+    win/Interfaces/IWebFrameLoadDelegatePrivate.idl
+    win/Interfaces/IWebFrameLoadDelegatePrivate2.idl
+    win/Interfaces/IWebFramePrivate.idl
+    win/Interfaces/IWebFrameView.idl
+    win/Interfaces/IWebGeolocationPolicyListener.idl
+    win/Interfaces/IWebGeolocationPosition.idl
+    win/Interfaces/IWebGeolocationProvider.idl
+    win/Interfaces/IWebHTMLRepresentation.idl
+    win/Interfaces/IWebHTTPURLResponse.idl
+    win/Interfaces/IWebHistory.idl
+    win/Interfaces/IWebHistoryDelegate.idl
+    win/Interfaces/IWebHistoryItem.idl
+    win/Interfaces/IWebHistoryItemPrivate.idl
+    win/Interfaces/IWebHistoryPrivate.idl
+    win/Interfaces/IWebIconDatabase.idl
+    win/Interfaces/IWebInspector.idl
+    win/Interfaces/IWebInspectorPrivate.idl
+    win/Interfaces/IWebJavaScriptCollector.idl
+    win/Interfaces/IWebKitStatistics.idl
+    win/Interfaces/IWebMutableURLRequest.idl
+    win/Interfaces/IWebMutableURLRequestPrivate.idl
+    win/Interfaces/IWebNavigationData.idl
+    win/Interfaces/IWebNetworkConfiguration.idl
+    win/Interfaces/IWebNotification.idl
+    win/Interfaces/IWebNotificationCenter.idl
+    win/Interfaces/IWebNotificationObserver.idl
+    win/Interfaces/IWebPolicyDelegate.idl
+    win/Interfaces/IWebPolicyDelegatePrivate.idl
+    win/Interfaces/IWebPreferences.idl
+    win/Interfaces/IWebPreferencesPrivate.idl
+    win/Interfaces/IWebResource.idl
+    win/Interfaces/IWebResourceLoadDelegate.idl
+    win/Interfaces/IWebResourceLoadDelegatePrivate.idl
+    win/Interfaces/IWebResourceLoadDelegatePrivate2.idl
+    win/Interfaces/IWebScriptObject.idl
+    win/Interfaces/IWebScriptWorld.idl
+    win/Interfaces/IWebScrollBarDelegatePrivate.idl
+    win/Interfaces/IWebScrollBarPrivate.idl
+    win/Interfaces/IWebSecurityOrigin.idl
+    win/Interfaces/IWebSerializedJSValue.idl
+    win/Interfaces/IWebSerializedJSValuePrivate.idl
+    win/Interfaces/IWebTextRenderer.idl
+    win/Interfaces/IWebUIDelegate.idl
+    win/Interfaces/IWebUIDelegate2.idl
+    win/Interfaces/IWebUIDelegatePrivate.idl
+    win/Interfaces/IWebURLAuthenticationChallenge.idl
+    win/Interfaces/IWebURLRequest.idl
+    win/Interfaces/IWebURLResponse.idl
+    win/Interfaces/IWebURLResponsePrivate.idl
+    win/Interfaces/IWebUndoManager.idl
+    win/Interfaces/IWebUndoTarget.idl
+    win/Interfaces/IWebUserContentURLPattern.idl
+    win/Interfaces/IWebView.idl
+    win/Interfaces/IWebViewPrivate.idl
+    win/Interfaces/IWebWorkersPrivate.idl
+    win/Interfaces/JavaScriptCoreAPITypes.idl
+    win/Interfaces/WebKit.idl
+    win/Interfaces/WebScrollbarTypes.idl
+
+    win/Interfaces/Accessible2/Accessible2.idl
+    win/Interfaces/Accessible2/Accessible2_2.idl
+    win/Interfaces/Accessible2/AccessibleApplication.idl
+    win/Interfaces/Accessible2/AccessibleEditableText.idl
+    win/Interfaces/Accessible2/AccessibleRelation.idl
+    win/Interfaces/Accessible2/AccessibleStates.idl
+    win/Interfaces/Accessible2/AccessibleText.idl
+    win/Interfaces/Accessible2/AccessibleText2.idl
+    win/Interfaces/Accessible2/IA2CommonTypes.idl
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/autoversion.h&quot;
+)
+
+add_custom_command(
+    OUTPUT ${DERIVED_SOURCES_WEBKIT_DIR}/autoversion.h
+    WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+    COMMAND ${PERL_EXECUTABLE} ${CMAKE_SOURCE_DIR}/WebKitLibraries/win/tools/scripts/auto-version.pl ${DERIVED_SOURCES_WEBKIT_DIR}
+    VERBATIM)
+
+GENERATE_INTERFACE(win/Interfaces/WebKit.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleApplication.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/Accessible2.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/Accessible2_2.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleRelation.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleStates.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/IA2CommonTypes.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleEditableText.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleText.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+GENERATE_INTERFACE(win/Interfaces/Accessible2/AccessibleText2.idl ${MIDL_DEFINES} &quot;${WEBKIT_IDL_DEPENDENCIES}&quot;)
+
+add_library(WebKitGUID STATIC
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/WebKit.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleApplication.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/Accessible2.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/Accessible2_2.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleRelation.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleStates.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/IA2CommonTypes.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleEditableText.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleText.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleText2.h&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/WebKit_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleApplication_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/Accessible2_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/Accessible2_2_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleRelation_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleEditableText_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleText_i.c&quot;
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/AccessibleText2_i.c&quot;
+)
+set_target_properties(WebKitGUID PROPERTIES FOLDER &quot;WebKit&quot;)
+
+list(APPEND WebKit_LIBRARIES
+    WebKitGUID
+    comsupp.lib
+)
+
+# We need the webkit libraries to come before the system default libraries to prevent symbol conflicts with uuid.lib.
+# To do this we add system default libs as webkit libs and zero out system default libs.
+string(REPLACE &quot; &quot; &quot;\;&quot; CXX_LIBS ${CMAKE_CXX_STANDARD_LIBRARIES})
+list(APPEND WebKit_LIBRARIES ${CXX_LIBS})
+set(CMAKE_CXX_STANDARD_LIBRARIES &quot;&quot;)
+
+# If this directory isn't created before midl runs and attempts to output WebKit.tlb,
+# It fails with an unusual error - midl failed - failed to save all changes
+file(MAKE_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
+
+set(WebKit_FORWARDING_HEADERS
+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces/WebKit.h&quot;
+    &quot;${CMAKE_CURRENT_SOURCE_DIR}/win/WebKitCOMAPI.h&quot;
+    &quot;win/CFDictionaryPropertyBag.h&quot;
+)
+
+WEBKIT_CREATE_FORWARDING_HEADERS(WebKit FILES ${WebKit_FORWARDING_HEADERS})
</ins></span></pre></div>
<a id="trunkSourcecmakeOptionsCommoncmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/OptionsCommon.cmake (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/OptionsCommon.cmake        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/cmake/OptionsCommon.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -105,7 +105,9 @@
</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><del>-string(REGEX MATCHALL &quot;-fsanitize=[^ ]*&quot; ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
</del><ins>+if (NOT MSVC)
+    string(REGEX MATCHALL &quot;-fsanitize=[^ ]*&quot; ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS})
+endif ()
</ins><span class="cx"> 
</span><span class="cx"> if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS)
</span><span class="cx">     set(CMAKE_SHARED_LINKER_FLAGS &quot;-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}&quot;)
</span></span></pre></div>
<a id="trunkSourcecmakeOptionsWindowscmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/cmake/OptionsWindows.cmake (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/OptionsWindows.cmake        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Source/cmake/OptionsWindows.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -5,9 +5,9 @@
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DRAG_SUPPORT PUBLIC ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GEOLOCATION PUBLIC ON)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LEGACY_VENDOR_PREFIXES PUBLIC OFF)
</span><del>-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PICTURE_SIZES PUBLIC ON)
-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PROMISES PUBLIC OFF)
-WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_STREAM_API PUBLIC OFF)
</del><ins>+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PROMISES PUBLIC ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_PICTURE_SIZES PUBLIC OFF)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_STREAMS_API PUBLIC ON)
</ins><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIEW_MODE_CSS_MEDIA PUBLIC OFF)
</span><span class="cx"> WEBKIT_OPTION_DEFAULT_PORT_VALUE(USE_SYSTEM_MALLOC PUBLIC ON)
</span><span class="cx"> WEBKIT_OPTION_END()
</span><span class="lines">@@ -21,9 +21,6 @@
</span><span class="cx">         /wd4706 /wd4800 /wd4819 /wd4951 /wd4952 /wd4996 /wd6011 /wd6031 /wd6211 /wd6246 /wd6255 /wd6387
</span><span class="cx">         /MP
</span><span class="cx">     )
</span><del>-
-    string(REGEX REPLACE &quot;/EH[a-z]+&quot; &quot;&quot; CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # Disable C++ exceptions
-    string(REGEX REPLACE &quot;/GR&quot; &quot;&quot; CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}) # Disable RTTI
</del><span class="cx"> endif ()
</span><span class="cx"> 
</span><span class="cx"> set(PORT Win)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Tools/ChangeLog        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -1,3 +1,14 @@
</span><ins>+2015-07-20  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        Resurrect CMake build on Windows.
+        https://bugs.webkit.org/show_bug.cgi?id=147083
+
+        Reviewed by Gyuyoung Kim.
+
+        * DumpRenderTree/CMakeLists.txt:
+        * DumpRenderTree/PlatformWin.cmake: Added.
+        * WinLauncher/CMakeLists.txt:
+
</ins><span class="cx"> 2015-07-19  Michael Catanzaro  &lt;mcatanzaro@igalia.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [GTK] Enable seccomp filter API tests
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreeCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/CMakeLists.txt (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/CMakeLists.txt        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Tools/DumpRenderTree/CMakeLists.txt        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -58,11 +58,13 @@
</span><span class="cx">     ${JAVASCRIPTCORE_DIR}/profiler
</span><span class="cx">     ${JAVASCRIPTCORE_DIR}/runtime
</span><span class="cx">     ${JAVASCRIPTCORE_DIR}/ForwardingHeaders
</span><ins>+    ${DERIVED_SOURCES_DIR}/ForwardingHeaders
</ins><span class="cx">     ${DERIVED_SOURCES_JAVASCRIPTCORE_DIR}
</span><span class="cx">     ${TOOLS_DIR}/DumpRenderTree
</span><span class="cx">     ${WTF_DIR}
</span><span class="cx">     ${CMAKE_SOURCE_DIR}/Source
</span><span class="cx">     ${CMAKE_BINARY_DIR}
</span><ins>+    ${DERIVED_SOURCES_DIR}
</ins><span class="cx">     ${DERIVED_SOURCES_WEBCORE_DIR}
</span><span class="cx">     ${WEBCORE_DIR}/bindings/js
</span><span class="cx">     ${WEBCORE_DIR}/testing/js
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreePlatformWincmake"></a>
<div class="addfile"><h4>Added: trunk/Tools/DumpRenderTree/PlatformWin.cmake (0 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/PlatformWin.cmake                                (rev 0)
+++ trunk/Tools/DumpRenderTree/PlatformWin.cmake        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES
+    win
+)
+
+list(APPEND DumpRenderTree_SOURCES
+    win/AccessibilityControllerWin.cpp
+    win/AccessibilityUIElementWin.cpp
+    win/GCControllerWin.cpp
+    win/PixelDumpSupportWin.cpp
+    win/TestRunnerWin.cpp
+    win/WorkQueueItemWin.cpp
+)
+
+if (${WTF_PLATFORM_WIN_CAIRO})
+    list(APPEND DumpRenderTree_INCLUDE_DIRECTORIES
+        cairo
+        &quot;$ENV{WEBKIT_LIBRARIES}/include/cairo&quot;
+    )
+    list(APPEND DumpRenderTree_SOURCES
+        cairo/PixelDumpSupportCairo.cpp
+    )
+endif ()
</ins></span></pre></div>
<a id="trunkToolsWinLauncherCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WinLauncher/CMakeLists.txt (187021 => 187022)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WinLauncher/CMakeLists.txt        2015-07-20 12:04:20 UTC (rev 187021)
+++ trunk/Tools/WinLauncher/CMakeLists.txt        2015-07-20 15:55:03 UTC (rev 187022)
</span><span class="lines">@@ -3,6 +3,7 @@
</span><span class="cx">     &quot;${DERIVED_SOURCES_DIR}/ForwardingHeaders&quot;
</span><span class="cx">     &quot;${DERIVED_SOURCES_DIR}/ForwardingHeaders/WebKit&quot;
</span><span class="cx">     &quot;${DERIVED_SOURCES_DIR}&quot;
</span><ins>+    &quot;${DERIVED_SOURCES_WEBKIT_DIR}/Interfaces&quot;
</ins><span class="cx">     &quot;${WTF_DIR}&quot;
</span><span class="cx">     &quot;${CMAKE_SOURCE_DIR}&quot;
</span><span class="cx">     &quot;${CMAKE_SOURCE_DIR}/Source&quot;
</span><span class="lines">@@ -14,6 +15,7 @@
</span><span class="cx">     PageLoadTestClient.cpp
</span><span class="cx">     PrintWebUIDelegate.cpp
</span><span class="cx">     ResourceLoadDelegate.cpp
</span><ins>+    WebDownloadDelegate.cpp
</ins><span class="cx">     WinLauncher.cpp
</span><span class="cx">     WinLauncherWebHost.cpp
</span><span class="cx">     WinMain.cpp
</span></span></pre>
</div>
</div>

</body>
</html>