<!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>[190253] 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/190253">190253</a></dd>
<dt>Author</dt> <dd>achristensen@apple.com</dd>
<dt>Date</dt> <dd>2015-09-25 14:50:48 -0700 (Fri, 25 Sep 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>[Win] Switch to CMake
https://bugs.webkit.org/show_bug.cgi?id=148111

Reviewed by Brent Fulgham.

.:

* Source/cmake/WinTools.make: Added.
* Source/cmake/tools: Added.
* Source/cmake/tools/scripts: Copied from WebKitLibraries/win/tools/scripts.
* Source/cmake/tools/scripts/auto-version.pl: Copied from WebKitLibraries/win/tools/scripts/auto-version.pl.

Source/JavaScriptCore:

* JavaScriptCore.vcxproj/JavaScriptCore.proj:

Source/WebCore:

* WebCore.vcxproj/WebCore.proj:

Source/WebKit:

* WebKit.vcxproj/WebKit.proj:

Source/WTF:

* WTF.vcxproj/WTF.proj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkChangeLog">trunk/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreJavaScriptCorevcxprojJavaScriptCoreproj">trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.proj</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFWTFvcxprojWTFproj">trunk/Source/WTF/WTF.vcxproj/WTF.proj</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreWebCorevcxprojWebCoreproj">trunk/Source/WebCore/WebCore.vcxproj/WebCore.proj</a></li>
<li><a href="#trunkSourceWebKitChangeLog">trunk/Source/WebKit/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitWebKitvcxprojWebKitproj">trunk/Source/WebKit/WebKit.vcxproj/WebKit.proj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourcecmakeWinToolsmake">trunk/Source/cmake/WinTools.make</a></li>
<li>trunk/Source/cmake/tools/</li>
<li>trunk/Source/cmake/tools/scripts/</li>
<li><a href="#trunkSourcecmaketoolsscriptsautoversionpl">trunk/Source/cmake/tools/scripts/auto-version.pl</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourcecmaketoolsscriptsautoversionpl">trunk/Source/cmake/tools/scripts/auto-version.pl</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/ChangeLog (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/ChangeLog        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/ChangeLog        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,5 +1,17 @@
</span><span class="cx"> 2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><ins>+        [Win] Switch to CMake
+        https://bugs.webkit.org/show_bug.cgi?id=148111
+
+        Reviewed by Brent Fulgham.
+
+        * Source/cmake/WinTools.make: Added.
+        * Source/cmake/tools: Added.
+        * Source/cmake/tools/scripts: Copied from WebKitLibraries/win/tools/scripts.
+        * Source/cmake/tools/scripts/auto-version.pl: Copied from WebKitLibraries/win/tools/scripts/auto-version.pl.
+
+2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
</ins><span class="cx">         Prepare internal AppleWin build for CMake
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=149570
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        [Win] Switch to CMake
+        https://bugs.webkit.org/show_bug.cgi?id=148111
+
+        Reviewed by Brent Fulgham.
+
+        * JavaScriptCore.vcxproj/JavaScriptCore.proj:
+
</ins><span class="cx"> 2015-09-24  Mark Lam  &lt;mark.lam@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Remove the use of &quot;Immediate&quot; in JIT function names.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreJavaScriptCorevcxprojJavaScriptCoreproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.proj (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.proj        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.proj        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -3,19 +3,20 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- normalize configuration case --&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Release'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;Production&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Release&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Debug'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;DebugSuffix&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Debug&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;_debug&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;-DDEBUG_SUFFIX=_debug&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Wrapper to build JavaScriptCore for both win32 and x64. --&gt;
</span><span class="cx">   &lt;PropertyGroup&gt;
</span><span class="cx">     &lt;OFFICIAL_BUILD&gt;1&lt;/OFFICIAL_BUILD&gt;
</span><span class="cx">     &lt;WebKit_Libraries&gt;$(SRCROOT)\AppleInternal&lt;/WebKit_Libraries&gt;
</span><del>-    &lt;WebKit_OutputDir&gt;$(OBJROOT)&lt;/WebKit_OutputDir&gt;
</del><span class="cx">     &lt;AppleInternal&gt;$(DSTROOT)\AppleInternal&lt;/AppleInternal&gt;
</span><span class="cx">     &lt;AppleInternalLib32&gt;$(AppleInternal)\lib32&lt;/AppleInternalLib32&gt;
</span><span class="cx">     &lt;AppleInternalLib64&gt;$(AppleInternal)\lib64&lt;/AppleInternalLib64&gt;
</span><span class="lines">@@ -27,23 +28,16 @@
</span><span class="cx">     &lt;ProgramFilesAAS64&gt;Program Files\Common Files\Apple\Apple Application Support&lt;/ProgramFilesAAS64&gt;
</span><span class="cx">     &lt;ConfigurationBuildDir&gt;$(OBJROOT)\$(CONFIG)&lt;/ConfigurationBuildDir&gt;  
</span><span class="cx">     &lt;OutputDirectory&gt;$(DSTROOT)&lt;/OutputDirectory&gt;
</span><ins>+        &lt;CMakeCommandCommon&gt;cmake $(SRCROOT)/JavaScriptCore -DPORT=AppleWin $(DebugSuffixDefinition) -DWEBKIT_LIBRARIES_DIR=$(WebKit_Libraries.Replace('\','/')) -DCMAKE_MODULE_PATH=$(SRCROOT.Replace('\','/'))/AppleInternal/tools/cmake -DCMAKE_BINARY_DIR=$(OBJROOT.Replace('\','/'))/$(CONFIG) -DJAVASCRIPTCORE_DIR=$(SRCROOT.Replace('\','/'))/JavaScriptCore&lt;/CMakeCommandCommon&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><del>-
-  &lt;ItemGroup&gt;
-    &lt;JavaScriptCore Include=&quot;JavaScriptCore.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=Win32;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/JavaScriptCore&gt;
-    &lt;JavaScriptCore Include=&quot;JavaScriptCore.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=x64;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/JavaScriptCore&gt;
-  &lt;/ItemGroup&gt;
</del><span class="cx">  
</span><span class="cx">   &lt;!-- Prepare for build --&gt;
</span><span class="cx">   &lt;Target Name=&quot;PreBuild&quot; BeforeTargets=&quot;Build&quot;&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;OBJROOT property or environment variable must be defined.&quot; Condition=&quot;'$(OBJROOT)' == ''&quot; /&gt;
</span><ins>+    &lt;Error Text=&quot;Use /p:Configuration=Debug or /p:Configuration=Release&quot; Condition=&quot;'$(CONFIG)' == ''&quot; /&gt;
</ins><span class="cx">     &lt;Message Text=&quot;Copying necessary headers to $(ConfigurationBuildDir)&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(ConfigurationBuildDir)\include\private&quot; /&gt;
</del><ins>+    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(OBJROOT)/$(CONFIG);$(ConfigurationBuildDir)\include\private;$(OBJROOT)/$(CONFIG)/build32;$(OBJROOT)/$(CONFIG)/build64&quot; /&gt;
</ins><span class="cx">  
</span><span class="cx">     &lt;CreateItem Include=&quot;$(WebKit_Libraries)\include\private\**\*.*&quot;&gt;
</span><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;PrivateIncFiles&quot; /&gt;
</span><span class="lines">@@ -54,15 +48,16 @@
</span><span class="cx">     &lt;Message Text=&quot;Final output -&gt; $(DSTROOT)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(AppleInternalLib32);$(AppleInternalLib64);$(AppleInternalBin32);$(AppleInternalBin64);$(AppleInternal32Symbols);$(AppleInternal64Symbols);$(AppleInternal)\include;$(DSTROOT)\$(ProgramFilesAAS32);$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(DSTROOT)\$(ProgramFilesAAS32)\JavaScriptCore.resources;$(DSTROOT)\$(ProgramFilesAAS64)\JavaScriptCore.resources&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT)\AppleInternal\Sources32\JavaScriptCore;$(DSTROOT)\AppleInternal\Sources64\JavaScriptCore&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Build JavaScriptCore Software --&gt;
</span><span class="cx">   &lt;Target Name=&quot;Build&quot; AfterTargets=&quot;PreBuild&quot;&gt;
</span><span class="cx">     &lt;Message Text=&quot;Building $(CONFIGURATION) Solution&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><del>-    &lt;Message Text=&quot;Output=$(WebKit_OutputDir)&quot; /&gt;
-    &lt;MSBuild Projects=&quot;@(JavaScriptCore)&quot; Properties=&quot;Configuration=$(CONFIG)&quot; Targets=&quot;Build&quot; /&gt;
</del><ins>+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -DWTF_CPU_X86=1 -G &amp;quot;Visual Studio 14 2015&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -DWTF_CPU_X86_64=1 -G &amp;quot;Visual Studio 14 2015 Win64&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
</ins><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;Target Name=&quot;PostBuild&quot; AfterTargets=&quot;Build&quot;&gt;
</span><span class="lines">@@ -70,53 +65,47 @@
</span><span class="cx">     &lt;Message Text=&quot;Moving $(CONFIG) build results to $(DSTROOT)&quot; /&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;!-- Identify the files to copy over --&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\include\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\DerivedSources\ForwardingHeaders\JavaScriptCore\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;IncFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\JavaScriptCore$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\JavaScriptCore$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\JavaScriptCore$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\JavaScriptCore$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.resources&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*.resources&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32ResourceFolders&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.resources&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.resources&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64ResourceFolders&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\JavaScriptCore.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\JavaScriptCore.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\JavaScriptCore.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\JavaScriptCore.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\lib32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\lib64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj32\JavaScriptCore\DerivedSources\**\*.*&quot;&gt;
-      &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived32Sources&quot; /&gt;
-    &lt;/CreateItem&gt;
-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj64\JavaScriptCore\DerivedSources\**\*.*&quot;&gt;
-      &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived64Sources&quot; /&gt;
-    &lt;/CreateItem&gt;
</del><span class="cx"> 
</span><del>-    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><ins>+    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\private\JavaScriptCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</ins><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib32Files)&quot; DestinationFolder=&quot;$(AppleInternalLib32)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib64Files)&quot; DestinationFolder=&quot;$(AppleInternalLib64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin32Files)&quot; DestinationFolder=&quot;$(AppleInternalBin32)&quot; /&gt;
</span><span class="lines">@@ -129,8 +118,6 @@
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64ResourceFolders)&quot; DestinationFolder=&quot;$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64SymbolFiles)&quot; DestinationFolder=&quot;$(AppleInternal64Symbols)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64Resources)&quot; DestinationFiles=&quot;@(Bin64Resources-&gt;'$(DSTROOT)\$(ProgramFilesAAS64)\JavaScriptCore.resources\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</span><del>-    &lt;Copy SourceFiles=&quot;@(Derived32Sources)&quot; DestinationFiles=&quot;@(Derived32Sources-&gt;'$(DSTROOT)\AppleInternal\Sources32\JavaScriptCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
-    &lt;Copy SourceFiles=&quot;@(Derived64Sources)&quot; DestinationFiles=&quot;@(Derived64Sources-&gt;'$(DSTROOT)\AppleInternal\Sources64\JavaScriptCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/Project&gt;
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WTF/ChangeLog        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        [Win] Switch to CMake
+        https://bugs.webkit.org/show_bug.cgi?id=148111
+
+        Reviewed by Brent Fulgham.
+
+        * WTF.vcxproj/WTF.proj:
+
</ins><span class="cx"> 2015-09-25  Joseph Pecoraro  &lt;pecoraro@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Simplify Stopwatch::elapsedTime
</span></span></pre></div>
<a id="trunkSourceWTFWTFvcxprojWTFproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/WTF.vcxproj/WTF.proj (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/WTF.vcxproj/WTF.proj        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WTF/WTF.vcxproj/WTF.proj        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -3,19 +3,20 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- normalize configuration case --&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Release'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;Production&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Release&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Debug'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;DebugSuffix&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Debug&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;_debug&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;-DDEBUG_SUFFIX=_debug&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Wrapper to build WTF for both win32 and x64. --&gt;
</span><span class="cx">   &lt;PropertyGroup&gt;
</span><span class="cx">     &lt;OFFICIAL_BUILD&gt;1&lt;/OFFICIAL_BUILD&gt;
</span><span class="cx">     &lt;WebKit_Libraries&gt;$(SRCROOT)\AppleInternal&lt;/WebKit_Libraries&gt;
</span><del>-    &lt;WebKit_OutputDir&gt;$(OBJROOT)&lt;/WebKit_OutputDir&gt;
</del><span class="cx">     &lt;AppleInternal&gt;$(DSTROOT)\AppleInternal&lt;/AppleInternal&gt;
</span><span class="cx">     &lt;AppleInternalLib32&gt;$(AppleInternal)\lib32&lt;/AppleInternalLib32&gt;
</span><span class="cx">     &lt;AppleInternalLib64&gt;$(AppleInternal)\lib64&lt;/AppleInternalLib64&gt;
</span><span class="lines">@@ -25,24 +26,17 @@
</span><span class="cx">     &lt;AppleInternal64Symbols&gt;$(AppleInternal)\public64\sym&lt;/AppleInternal64Symbols&gt;
</span><span class="cx">     &lt;ProgramFilesAAS32&gt;Program Files (x86)\Common Files\Apple\Apple Application Support&lt;/ProgramFilesAAS32&gt;
</span><span class="cx">     &lt;ProgramFilesAAS64&gt;Program Files\Common Files\Apple\Apple Application Support&lt;/ProgramFilesAAS64&gt;
</span><del>-    &lt;ConfigurationBuildDir&gt;$(OBJROOT)\$(CONFIG)&lt;/ConfigurationBuildDir&gt;  
</del><ins>+    &lt;ConfigurationBuildDir&gt;$(OBJROOT)\$(CONFIG)&lt;/ConfigurationBuildDir&gt;
</ins><span class="cx">     &lt;OutputDirectory&gt;$(DSTROOT)&lt;/OutputDirectory&gt;
</span><ins>+        &lt;CMakeCommandCommon&gt;cmake $(SRCROOT)/WTF -DPORT=AppleWin $(DebugSuffixDefinition) -DWEBKIT_LIBRARIES_DIR=$(WebKit_Libraries.Replace('\','/')) -DCMAKE_MODULE_PATH=$(SRCROOT.Replace('\','/'))/AppleInternal/tools/cmake -DCMAKE_BINARY_DIR=$(OBJROOT.Replace('\','/'))/$(CONFIG) -DWTF_DIR=$(SRCROOT.Replace('\','/'))/WTF&lt;/CMakeCommandCommon&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx"> 
</span><del>-  &lt;ItemGroup&gt;
-    &lt;WTF Include=&quot;WTF.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=Win32;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/WTF&gt;
-    &lt;WTF Include=&quot;WTF.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=x64;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/WTF&gt;
-  &lt;/ItemGroup&gt;
-
</del><span class="cx">   &lt;!-- Prepare for build --&gt;
</span><span class="cx">   &lt;Target Name=&quot;PreBuild&quot; BeforeTargets=&quot;Build&quot;&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;OBJROOT property or environment variable must be defined.&quot; Condition=&quot;'$(OBJROOT)' == ''&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT)&quot; /&gt;
</del><ins>+    &lt;Error Text=&quot;Use /p:Configuration=Debug or /p:Configuration=Release&quot; Condition=&quot;'$(CONFIG)' == ''&quot; /&gt;
+    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(OBJROOT)/$(CONFIG);$(OBJROOT)/$(CONFIG)/build32;$(OBJROOT)/$(CONFIG)/build64&quot; /&gt;
</ins><span class="cx">     &lt;Message Text=&quot;Build output -&gt; $(OBJROOT)&quot; /&gt;
</span><span class="cx">     &lt;Message Text=&quot;Final output -&gt; $(DSTROOT)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(AppleInternalLib32);$(AppleInternalLib64);$(AppleInternalBin32);$(AppleInternalBin64);$(AppleInternal32Symbols);$(AppleInternal64Symbols);$(AppleInternal)\include;$(DSTROOT)\$(ProgramFilesAAS32);$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="lines">@@ -52,8 +46,10 @@
</span><span class="cx">   &lt;Target Name=&quot;Build&quot; AfterTargets=&quot;PreBuild&quot;&gt;
</span><span class="cx">     &lt;Message Text=&quot;Building $(CONFIGURATION) Solution&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><del>-    &lt;Message Text=&quot;Output=$(WebKit_OutputDir)&quot; /&gt;
-    &lt;MSBuild Projects=&quot;@(WTF)&quot; Properties=&quot;Configuration=$(CONFIG)&quot; Targets=&quot;ReBuild&quot; /&gt;
</del><ins>+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015 Win64&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
</ins><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;Target Name=&quot;PostBuild&quot; AfterTargets=&quot;Build&quot;&gt;
</span><span class="lines">@@ -61,35 +57,35 @@
</span><span class="cx">     &lt;Message Text=&quot;Moving $(CONFIG) build results to $(DSTROOT)&quot; /&gt;
</span><span class="cx">  
</span><span class="cx">     &lt;!-- Identify the files to copy over --&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\include\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\DerivedSources\ForwardingHeaders\WTF\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;IncFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\WTF$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\WTF$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\WTF$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\WTF$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*.pdb&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.pdb&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\lib32\*&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\lib64\*&quot;&gt;
</ins><span class="cx">        &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><span class="cx">  
</span><del>-    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><ins>+    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\private\wtf\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</ins><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib32Files)&quot; DestinationFolder=&quot;$(AppleInternalLib32)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib64Files)&quot; DestinationFolder=&quot;$(AppleInternalLib64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin32Files)&quot; DestinationFolder=&quot;$(AppleInternalBin32)&quot; /&gt;
</span><span class="lines">@@ -101,4 +97,3 @@
</span><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/Project&gt;
</span><del>-
</del></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WebCore/ChangeLog        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        [Win] Switch to CMake
+        https://bugs.webkit.org/show_bug.cgi?id=148111
+
+        Reviewed by Brent Fulgham.
+
+        * WebCore.vcxproj/WebCore.proj:
+
</ins><span class="cx"> 2015-09-25  Beth Dakin  &lt;bdakin@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Clicking on a data detected item inside a form control always pops up a map 
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorevcxprojWebCoreproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.proj (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.proj        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.proj        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -3,18 +3,20 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- normalize configuration case --&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Release'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;Production&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Release&lt;/CONFIG&gt;
+    &lt;DebugSuffix&gt;&lt;/DebugSuffix&gt;
+    &lt;DebugSuffixDefinition&gt;&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Debug'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;DebugSuffix&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Debug&lt;/CONFIG&gt;
+    &lt;DebugSuffix&gt;_debug&lt;/DebugSuffix&gt;
+    &lt;DebugSuffixDefinition&gt;-DDEBUG_SUFFIX=_debug&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Wrapper to build WebCore for both win32 and x64. --&gt;
</span><span class="cx">   &lt;PropertyGroup&gt;
</span><span class="cx">     &lt;OFFICIAL_BUILD&gt;1&lt;/OFFICIAL_BUILD&gt;
</span><del>-    &lt;DXSDK_DIR&gt;C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\&lt;/DXSDK_DIR&gt;
</del><span class="cx">     &lt;WebKit_Libraries&gt;$(SRCROOT)\AppleInternal&lt;/WebKit_Libraries&gt;
</span><del>-    &lt;WebKit_OutputDir&gt;$(OBJROOT)&lt;/WebKit_OutputDir&gt;
</del><span class="cx">     &lt;AppleInternal&gt;$(DSTROOT)\AppleInternal&lt;/AppleInternal&gt;
</span><span class="cx">     &lt;AppleInternalLib32&gt;$(AppleInternal)\lib32&lt;/AppleInternalLib32&gt;
</span><span class="cx">     &lt;AppleInternalLib64&gt;$(AppleInternal)\lib64&lt;/AppleInternalLib64&gt;
</span><span class="lines">@@ -26,23 +28,16 @@
</span><span class="cx">     &lt;ProgramFilesAAS64&gt;Program Files\Common Files\Apple\Apple Application Support&lt;/ProgramFilesAAS64&gt;
</span><span class="cx">     &lt;ConfigurationBuildDir&gt;$(OBJROOT)\$(CONFIG)&lt;/ConfigurationBuildDir&gt;  
</span><span class="cx">     &lt;OutputDirectory&gt;$(DSTROOT)&lt;/OutputDirectory&gt;
</span><ins>+        &lt;CMakeCommandCommon&gt;cmake $(SRCROOT)/WebCore -DPORT=AppleWin $(DebugSuffixDefinition) -DINTERNAL_BUILD=1 -DWEBKIT_LIBRARIES_DIR=$(WebKit_Libraries.Replace('\','/')) -DCMAKE_MODULE_PATH=$(SRCROOT.Replace('\','/'))/AppleInternal/tools/cmake -DCMAKE_BINARY_DIR=$(OBJROOT.Replace('\','/'))/$(CONFIG) -DWEBCORE_DIR=$(SRCROOT.Replace('\','/'))/WebCore&lt;/CMakeCommandCommon&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><del>-
-  &lt;ItemGroup&gt;
-    &lt;WebCore Include=&quot;WebCore.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=Win32;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD);DXSDK_DIR=$(DXSDK_DIR)&lt;/AdditionalProperties&gt;
-    &lt;/WebCore&gt;
-    &lt;WebCore Include=&quot;WebCore.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=x64;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD);DXSDK_DIR=$(DXSDK_DIR)&lt;/AdditionalProperties&gt;
-    &lt;/WebCore&gt;
-  &lt;/ItemGroup&gt;
</del><span class="cx">  
</span><span class="cx">   &lt;!-- Prepare for build --&gt;
</span><span class="cx">   &lt;Target Name=&quot;PreBuild&quot; BeforeTargets=&quot;Build&quot;&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;OBJROOT property or environment variable must be defined.&quot; Condition=&quot;'$(OBJROOT)' == ''&quot; /&gt;
</span><ins>+    &lt;Error Text=&quot;Use /p:Configuration=Debug or /p:Configuration=Release&quot; Condition=&quot;'$(CONFIG)' == ''&quot; /&gt;
</ins><span class="cx">     &lt;Message Text=&quot;Copying necessary headers to $(ConfigurationBuildDir)&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(ConfigurationBuildDir)\include\private&quot; /&gt;
</del><ins>+    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(OBJROOT)/$(CONFIG);$(ConfigurationBuildDir)\include\private;$(OBJROOT)/$(CONFIG)/build32;$(OBJROOT)/$(CONFIG)/build64&quot; /&gt;
</ins><span class="cx">  
</span><span class="cx">     &lt;CreateItem Include=&quot;$(WebKit_Libraries)\include\private\**\*.*&quot;&gt;
</span><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;PrivateIncFiles&quot; /&gt;
</span><span class="lines">@@ -53,15 +48,16 @@
</span><span class="cx">     &lt;Message Text=&quot;Final output -&gt; $(DSTROOT)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(AppleInternalLib32);$(AppleInternalLib64);$(AppleInternalBin32);$(AppleInternalBin64);$(AppleInternal32Symbols);$(AppleInternal64Symbols);$(AppleInternal)\include;$(DSTROOT)\$(ProgramFilesAAS32);$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(DSTROOT)\$(ProgramFilesAAS32)\WebKit.resources;$(DSTROOT)\$(ProgramFilesAAS64)\WebKit.resources&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT)\AppleInternal\Sources32\WebCore;$(DSTROOT)\AppleInternal\Sources64\WebCore&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Build WebCore Software --&gt;
</span><span class="cx">   &lt;Target Name=&quot;Build&quot; AfterTargets=&quot;PreBuild&quot;&gt;
</span><span class="cx">     &lt;Message Text=&quot;Building $(CONFIGURATION) Solution&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><del>-    &lt;Message Text=&quot;Output=$(WebKit_OutputDir)&quot; /&gt;
-    &lt;MSBuild Projects=&quot;@(WebCore)&quot; Properties=&quot;Configuration=$(CONFIG)&quot; Targets=&quot;ReBuild&quot; /&gt;
</del><ins>+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015 Win64&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
</ins><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;Target Name=&quot;PostBuild&quot; AfterTargets=&quot;Build&quot;&gt;
</span><span class="lines">@@ -69,41 +65,35 @@
</span><span class="cx">     &lt;Message Text=&quot;Moving $(CONFIG) build results to $(DSTROOT)&quot; /&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;!-- Identify the files to copy over --&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\include\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\DerivedSources\ForwardingHeaders\WebCore\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;IncFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\WebKit.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\WebKit.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\WebKit.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\WebKit.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\lib32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\lib64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj32\WebCore\DerivedSources\**\*.*&quot;&gt;
-      &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived32Sources&quot; /&gt;
-    &lt;/CreateItem&gt;
-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj64\WebCore\DerivedSources\**\*.*&quot;&gt;
-      &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived64Sources&quot; /&gt;
-    &lt;/CreateItem&gt;
</del><span class="cx"> 
</span><del>-    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><ins>+    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\private\WebCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</ins><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib32Files)&quot; DestinationFolder=&quot;$(AppleInternalLib32)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib64Files)&quot; DestinationFolder=&quot;$(AppleInternalLib64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin32Files)&quot; DestinationFolder=&quot;$(AppleInternalBin32)&quot; /&gt;
</span><span class="lines">@@ -112,8 +102,6 @@
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64Files)&quot; DestinationFolder=&quot;$(AppleInternalBin64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64SymbolFiles)&quot; DestinationFolder=&quot;$(AppleInternal64Symbols)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64Resources)&quot; DestinationFiles=&quot;@(Bin64Resources-&gt;'$(DSTROOT)\$(ProgramFilesAAS64)\WebKit.resources\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</span><del>-    &lt;Copy SourceFiles=&quot;@(Derived32Sources)&quot; DestinationFiles=&quot;@(Derived32Sources-&gt;'$(DSTROOT)\AppleInternal\Sources32\WebCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
-    &lt;Copy SourceFiles=&quot;@(Derived64Sources)&quot; DestinationFiles=&quot;@(Derived64Sources-&gt;'$(DSTROOT)\AppleInternal\Sources64\WebCore\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/Project&gt;
</span></span></pre></div>
<a id="trunkSourceWebKitChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/ChangeLog (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/ChangeLog        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WebKit/ChangeLog        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-09-25  Alex Christensen  &lt;achristensen@webkit.org&gt;
+
+        [Win] Switch to CMake
+        https://bugs.webkit.org/show_bug.cgi?id=148111
+
+        Reviewed by Brent Fulgham.
+
+        * WebKit.vcxproj/WebKit.proj:
+
</ins><span class="cx"> 2015-09-24  Ryosuke Niwa  &lt;rniwa@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Ran sort-Xcode-project-file.
</span></span></pre></div>
<a id="trunkSourceWebKitWebKitvcxprojWebKitproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/WebKit.vcxproj/WebKit.proj (190252 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/WebKit.vcxproj/WebKit.proj        2015-09-25 21:35:11 UTC (rev 190252)
+++ trunk/Source/WebKit/WebKit.vcxproj/WebKit.proj        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -3,19 +3,20 @@
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- normalize configuration case --&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Release'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;Production&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Release&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;-DDEBUG_SUFFIX=_debug&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(CONFIGURATION)'=='Debug'&quot;&gt;
</span><del>-        &lt;CONFIG&gt;DebugSuffix&lt;/CONFIG&gt;
</del><ins>+        &lt;CONFIG&gt;Debug&lt;/CONFIG&gt;
</ins><span class="cx">     &lt;DebugSuffix&gt;_debug&lt;/DebugSuffix&gt;
</span><ins>+    &lt;DebugSuffixDefinition&gt;-DDEBUG_SUFFIX=_debug&lt;/DebugSuffixDefinition&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Wrapper to build WebKit for both win32 and x64. --&gt;
</span><span class="cx">   &lt;PropertyGroup&gt;
</span><span class="cx">     &lt;OFFICIAL_BUILD&gt;1&lt;/OFFICIAL_BUILD&gt;
</span><span class="cx">     &lt;WebKit_Libraries&gt;$(SRCROOT)\AppleInternal&lt;/WebKit_Libraries&gt;
</span><del>-    &lt;WebKit_OutputDir&gt;$(OBJROOT)&lt;/WebKit_OutputDir&gt;
</del><span class="cx">     &lt;AppleInternal&gt;$(DSTROOT)\AppleInternal&lt;/AppleInternal&gt;
</span><span class="cx">     &lt;AppleInternalLib32&gt;$(AppleInternal)\lib32&lt;/AppleInternalLib32&gt;
</span><span class="cx">     &lt;AppleInternalLib64&gt;$(AppleInternal)\lib64&lt;/AppleInternalLib64&gt;
</span><span class="lines">@@ -27,24 +28,17 @@
</span><span class="cx">     &lt;ProgramFilesAAS64&gt;Program Files\Common Files\Apple\Apple Application Support&lt;/ProgramFilesAAS64&gt;
</span><span class="cx">     &lt;ConfigurationBuildDir&gt;$(OBJROOT)\$(CONFIG)&lt;/ConfigurationBuildDir&gt;  
</span><span class="cx">     &lt;OutputDirectory&gt;$(DSTROOT)&lt;/OutputDirectory&gt;
</span><ins>+        &lt;CMakeCommandCommon&gt;cmake $(SRCROOT)/WebKit -DPORT=AppleWin $(DebugSuffixDefinition) -DWEBKIT_LIBRARIES_DIR=$(WebKit_Libraries.Replace('\','/')) -DCMAKE_MODULE_PATH=$(SRCROOT.Replace('\','/'))/AppleInternal/tools/cmake -DCMAKE_BINARY_DIR=$(OBJROOT.Replace('\','/'))/$(CONFIG) -DWEBKIT_DIR=$(SRCROOT.Replace('\','/'))/WebKit&lt;/CMakeCommandCommon&gt;
</ins><span class="cx">   &lt;/PropertyGroup&gt;
</span><del>-
-  &lt;ItemGroup&gt;
-    &lt;WebKit Include=&quot;WebKit.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=Win32;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/WebKit&gt;
-    &lt;WebKit Include=&quot;WebKit.submit.sln&quot;&gt;
-      &lt;AdditionalProperties&gt;Platform=x64;WEBKIT_OUTPUTDIR=$(WebKit_OutputDir);WEBKIT_LIBRARIES=$(WebKit_Libraries);OFFICIAL_BUILD=$(OFFICIAL_BUILD)&lt;/AdditionalProperties&gt;
-    &lt;/WebKit&gt;
-  &lt;/ItemGroup&gt;
</del><span class="cx">  
</span><span class="cx">   &lt;!-- Prepare for build --&gt;
</span><span class="cx">   &lt;Target Name=&quot;PreBuild&quot; BeforeTargets=&quot;Build&quot;&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;OBJROOT property or environment variable must be defined.&quot; Condition=&quot;'$(OBJROOT)' == ''&quot; /&gt;
</span><ins>+    &lt;Error Text=&quot;Use /p:Configuration=Debug or /p:Configuration=Release&quot; Condition=&quot;'$(CONFIG)' == ''&quot; /&gt;
</ins><span class="cx">     &lt;Message Text=&quot;Copying necessary headers to $(ConfigurationBuildDir)&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(ConfigurationBuildDir)\include\private&quot; /&gt;

</del><ins>+    &lt;MakeDir Directories=&quot;$(DSTROOT);$(OBJROOT);$(OBJROOT)/$(CONFIG);$(ConfigurationBuildDir)\include\private;$(OBJROOT)/$(CONFIG)/build32;$(OBJROOT)/$(CONFIG)/build64&quot; /&gt;
+
</ins><span class="cx">     &lt;CreateItem Include=&quot;$(WebKit_Libraries)\include\private\**\*.*&quot;&gt;
</span><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;PrivateIncFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><span class="lines">@@ -54,15 +48,16 @@
</span><span class="cx">     &lt;Message Text=&quot;Final output -&gt; $(DSTROOT)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(AppleInternalLib32);$(AppleInternalLib64);$(AppleInternalBin32);$(AppleInternalBin64);$(AppleInternal32Symbols);$(AppleInternal64Symbols);$(AppleInternal)\include;$(DSTROOT)\$(ProgramFilesAAS32);$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="cx">     &lt;MakeDir Directories=&quot;$(DSTROOT)\$(ProgramFilesAAS32)\WebKit.resources;$(DSTROOT)\$(ProgramFilesAAS64)\WebKit.resources&quot; /&gt;
</span><del>-    &lt;MakeDir Directories=&quot;$(DSTROOT)\AppleInternal\Sources32\WebKit;$(DSTROOT)\AppleInternal\Sources64\WebKit&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;!-- Build WebKit Software --&gt;
</span><span class="cx">   &lt;Target Name=&quot;Build&quot; AfterTargets=&quot;PreBuild&quot;&gt;
</span><span class="cx">     &lt;Message Text=&quot;Building $(CONFIGURATION) Solution&quot; /&gt;
</span><span class="cx">     &lt;Error Text=&quot;DSTROOT property or environment variable must be defined.&quot; Condition=&quot;'$(DSTROOT)' == ''&quot; /&gt;
</span><del>-    &lt;Message Text=&quot;Output=$(WebKit_OutputDir)&quot; /&gt;
-    &lt;MSBuild Projects=&quot;@(WebKit)&quot; Properties=&quot;Configuration=$(CONFIG)&quot; Targets=&quot;ReBuild&quot; /&gt;
</del><ins>+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build32&quot;/&gt;
+        &lt;Exec Command=&quot;$(CMakeCommandCommon) -G &amp;quot;Visual Studio 14 2015 Win64&amp;quot;&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
+        &lt;Exec Command=&quot;msbuild Project.sln&quot; WorkingDirectory=&quot;$(OBJROOT)/$(CONFIG)/build64&quot;/&gt;
</ins><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;Target Name=&quot;PostBuild&quot; AfterTargets=&quot;Build&quot;&gt;
</span><span class="lines">@@ -70,53 +65,53 @@
</span><span class="cx">     &lt;Message Text=&quot;Moving $(CONFIG) build results to $(DSTROOT)&quot; /&gt;
</span><span class="cx"> 
</span><span class="cx">     &lt;!-- Identify the files to copy over --&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\include\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\DerivedSources\ForwardingHeaders\WebKit\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;IncFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\WebKit$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\WebKit$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\WebKit$(DebugSuffix).dll&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\WebKit$(DebugSuffix).dll&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64DLLFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.resources&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin32\*.resources&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32ResourceFolders&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.resources&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.resources&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64ResourceFolders&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\*.pdb&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\*.pdb&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64SymbolFiles&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin32\WebKit.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\bin32\WebKit.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin32Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\bin64\WebKit.resources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\bin64\WebKit.resources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Bin64Resources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib32\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\lib32\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib32Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\lib64\*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\lib64\*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Lib64Files&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj32\WebKit\DerivedSources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build64\obj32\WebKit\DerivedSources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived32Sources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><del>-    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\obj64\WebKit\DerivedSources\**\*.*&quot;&gt;
</del><ins>+    &lt;CreateItem Include=&quot;$(ConfigurationBuildDir)\build32\obj64\WebKit\DerivedSources\**\*.*&quot;&gt;
</ins><span class="cx">       &lt;Output TaskParameter=&quot;Include&quot; ItemName=&quot;Derived64Sources&quot; /&gt;
</span><span class="cx">     &lt;/CreateItem&gt;
</span><span class="cx"> 
</span><del>-    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><ins>+    &lt;Copy SourceFiles=&quot;@(IncFiles)&quot; DestinationFiles=&quot;@(IncFiles-&gt;'$(DSTROOT)\AppleInternal\include\WebKit\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</ins><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib32Files)&quot; DestinationFolder=&quot;$(AppleInternalLib32)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Lib64Files)&quot; DestinationFolder=&quot;$(AppleInternalLib64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin32Files)&quot; DestinationFolder=&quot;$(AppleInternalBin32)&quot; /&gt;
</span><span class="lines">@@ -129,8 +124,6 @@
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64ResourceFolders)&quot; DestinationFolder=&quot;$(DSTROOT)\$(ProgramFilesAAS64)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64SymbolFiles)&quot; DestinationFolder=&quot;$(AppleInternal64Symbols)&quot; /&gt;
</span><span class="cx">     &lt;Copy SourceFiles=&quot;@(Bin64Resources)&quot; DestinationFiles=&quot;@(Bin64Resources-&gt;'$(DSTROOT)\$(ProgramFilesAAS64)\WebKit.resources\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</span><del>-    &lt;Copy SourceFiles=&quot;@(Derived32Sources)&quot; DestinationFiles=&quot;@(Derived32Sources-&gt;'$(DSTROOT)\AppleInternal\Sources32\WebKit\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
-    &lt;Copy SourceFiles=&quot;@(Derived64Sources)&quot; DestinationFiles=&quot;@(Derived64Sources-&gt;'$(DSTROOT)\AppleInternal\Sources64\WebKit\%(RecursiveDir)%(Filename)%(Extension)')&quot; /&gt;
</del><span class="cx">   &lt;/Target&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/Project&gt;
</span></span></pre></div>
<a id="trunkSourcecmakeWinToolsmake"></a>
<div class="addfile"><h4>Added: trunk/Source/cmake/WinTools.make (0 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/WinTools.make                                (rev 0)
+++ trunk/Source/cmake/WinTools.make        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+install:
+    xcopy &quot;$(SRCROOT)\*.cmake&quot; &quot;$(DSTROOT)\AppleInternal\tools\cmake&quot; /e/v/i/h/y
+    xcopy &quot;$(SRCROOT)\tools\scripts\*&quot; &quot;$(DSTROOT)\AppleInternal\tools\scripts&quot; /e/v/i/h/y
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourcecmaketoolsscriptsautoversionpl"></a>
<div class="delfile"><h4>Deleted: trunk/Source/cmake/tools/scripts/auto-version.pl (190248 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/WebKitLibraries/win/tools/scripts/auto-version.pl        2015-09-25 17:52:08 UTC (rev 190248)
+++ trunk/Source/cmake/tools/scripts/auto-version.pl        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -1,170 +0,0 @@
</span><del>-#!/usr/bin/perl -w
-
-use strict;
-use File::Path qw(make_path);
-use File::Spec;
-use File::Basename;
-use Cwd 'abs_path';
-use Win32;
-
-# Copyright (C) 2007, 2009, 2014 Apple Inc.  All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-#    notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#    notice, this list of conditions and the following disclaimer in the
-#    documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
-# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
-# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
-# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
-# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
-# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
-
-sub splitVersion($);
-
-die &quot;You must supply an output path as the argument.\n&quot; if ($#ARGV &lt; 0);
-
-my $thisDirectory = dirname(abs_path($0));
-
-my $FALLBACK_VERSION_PATH = File::Spec-&gt;catfile($thisDirectory, 'VERSION');
-open(FALLBACK_VERSION_FILE, '&lt;', $FALLBACK_VERSION_PATH) or die &quot;Unable to open $FALLBACK_VERSION_PATH: $!&quot;;
-my $FALLBACK_VERSION = &lt;FALLBACK_VERSION_FILE&gt;;
-close FALLBACK_VERSION_FILE;
-chomp($FALLBACK_VERSION);
-
-my $COPYRIGHT_END_YEAR_PATH = File::Spec-&gt;catfile($thisDirectory, 'COPYRIGHT-END-YEAR');
-open(COPYRIGHT_END_YEAR_FILE, '&lt;', $COPYRIGHT_END_YEAR_PATH) or die &quot;Unable to open $COPYRIGHT_END_YEAR_PATH: $!&quot;;
-my $COPYRIGHT_END_YEAR = &lt;COPYRIGHT_END_YEAR_FILE&gt;;
-close COPYRIGHT_END_YEAR_FILE;
-chomp($COPYRIGHT_END_YEAR);
-
-# Make sure we don't have any leading or trailing quote
-$ARGV[0] =~ s/^\&quot;//;
-$ARGV[0] =~ s/\&quot;$//;
-
-my $OUTPUT_DIR = File::Spec-&gt;catdir(File::Spec-&gt;canonpath($ARGV[0]), 'include');
-unless (-d $OUTPUT_DIR) {
-    make_path($OUTPUT_DIR) or die &quot;Couldn't create $OUTPUT_DIR: $!&quot;;
-}
-
-my $OUTPUT_FILE = File::Spec-&gt;catfile($OUTPUT_DIR, 'autoversion.h');
-
-# Take the initial version number from RC_ProjectSourceVersion if it
-# exists, otherwise fall back to the version number stored in the source.
-my $ENVIRONMENT_VERSION = $ENV{'RC_ProjectSourceVersion'} || $ENV{'RC_PROJECTSOURCEVERSION'};
-my $PROPOSED_VERSION = $ENVIRONMENT_VERSION || $FALLBACK_VERSION;
-chomp($PROPOSED_VERSION);
-
-my ($BUILD_MAJOR_VERSION, $BUILD_MINOR_VERSION, $BUILD_TINY_VERSION, $BUILD_VARIANT_VERSION, $ADJUSTED_PROPOSED_VERSION, $FULL_BUILD_MAJOR_VERSION) = splitVersion($PROPOSED_VERSION);
-
-my $TINY_VERSION = $BUILD_TINY_VERSION;
-my $VERSION_TEXT = $ADJUSTED_PROPOSED_VERSION;
-my $VERSION_TEXT_SHORT = $VERSION_TEXT;
-
-my $SVN_REVISION = '';
-if (!$ENVIRONMENT_VERSION) {
-    # If we didn't pull the version number from the environment then we're doing
-    # an engineering build and we'll stamp the build with some more information.
-
-    my $BUILD_DATE = localtime(time);
-    my $SVN_REVISION = `svn info`;
-    $SVN_REVISION =~ m/Revision: (\d+)/;
-    $SVN_REVISION= $1;
-
-    chomp($BUILD_DATE);
-    chomp($SVN_REVISION);
-
-    $VERSION_TEXT_SHORT .= &quot;+&quot;;
-    my $USER = Win32::LoginName;
-    $VERSION_TEXT = &quot;$VERSION_TEXT_SHORT $USER - $BUILD_DATE - r$SVN_REVISION&quot;;
-}
-
-open(OUTPUT_FILE, '&gt;', $OUTPUT_FILE) or die &quot;Couldn't open $OUTPUT_FILE: $!&quot;;
-print OUTPUT_FILE &lt;&lt;EOF;
-#define __VERSION_TEXT__ &quot;$VERSION_TEXT&quot;
-#define __BUILD_NUMBER__ &quot;$VERSION_TEXT&quot;
-#define __BUILD_NUMBER_SHORT__ &quot;$VERSION_TEXT_SHORT&quot;
-#define __VERSION_MAJOR__ $BUILD_MAJOR_VERSION
-#define __VERSION_MINOR__ $BUILD_MINOR_VERSION
-#define __VERSION_TINY__ $BUILD_TINY_VERSION
-#define __VERSION_BUILD__ $BUILD_VARIANT_VERSION
-#define __BUILD_NUMBER_MAJOR__ $BUILD_MAJOR_VERSION
-#define __BUILD_NUMBER_MINOR__ $BUILD_MINOR_VERSION
-#define __BUILD_NUMBER_VARIANT__ $BUILD_TINY_VERSION
-#define __SVN_REVISION__ $SVN_REVISION
-#define __FULL_BUILD_MAJOR_VERSION__  $FULL_BUILD_MAJOR_VERSION
-EOF
-
-if (defined $COPYRIGHT_END_YEAR) {
-    print OUTPUT_FILE &quot;#define __COPYRIGHT_YEAR_END_TEXT__ \&quot;$COPYRIGHT_END_YEAR\&quot;\n&quot;;
-}
-close(OUTPUT_FILE);
-
-sub packTwoValues($$)
-{
-    my $first = shift;
-    my $second = shift;
-
-    die &quot;First version component ($first) is too large. Must be between 0 and 99&quot; if ($first &gt; 99);
-    die &quot;Second version component ($second) is too large. Must be between 0 and 999&quot; if ($second &gt; 999);
-
-    return $first * 1000 + $second;
-}
-
-sub splitVersion($)
-{
-    my $PROPOSED_VERSION = shift;
-
-    $PROPOSED_VERSION =~ s/^\s+//g; # Get rid of any leading whitespace
-    $PROPOSED_VERSION =~ s/\s+$//g; # Get rid of any trailing whitespace
-
-    # Split out the components of the dotted version number.
-    my @components = split(/\./, $PROPOSED_VERSION) or die &quot;Couldn't parse $PROPOSED_VERSION&quot;;
-    my $componentCount = scalar(@components);
-
-    my $BUILD_MAJOR_VERSION = $components[0];
-
-    # Have the minor and tiny components default to zero if not present.
-    my $BUILD_MINOR_VERSION = 0;
-    my $BUILD_TINY_VERSION = 0;
-    my $BUILD_MICRO_VERSION = 0;
-    my $BUILD_NANO_VERSION = 0;
-    if ($componentCount &gt; 1) {
-        $BUILD_MINOR_VERSION = $components[1];
-    }
-    if ($componentCount &gt; 2) {
-        $BUILD_TINY_VERSION = $components[2];
-    }
-    if ($componentCount &gt; 3) {
-        $BUILD_MICRO_VERSION = $components[3];
-    }
-
-    my $RETURN_NANO_VERSION = $ENV{'RC_ProjectBuildVersion'} || $ENV{'RC_PROJECTBUILDVERSION'} || $BUILD_MICRO_VERSION;
-    if ($componentCount &gt; 4) {
-        $BUILD_NANO_VERSION = $components[4];
-        $RETURN_NANO_VERSION = $BUILD_NANO_VERSION;
-    }
-
-    # Cut the major component down to three characters by dropping any
-    # extra leading digits, then adjust the major version portion of the
-    # version string to match.
-    my $originalLength = length($BUILD_MAJOR_VERSION);
-    my $FULL_BUILD_MAJOR_VERSION = $BUILD_MAJOR_VERSION;
-    $BUILD_MAJOR_VERSION =~ s/^.*(\d\d\d)$/$1/;
-
-    my $charactersToRemove = $originalLength - length($BUILD_MAJOR_VERSION);
-
-    $PROPOSED_VERSION = substr($PROPOSED_VERSION, $charactersToRemove);
-
-    return ($BUILD_MAJOR_VERSION, packTwoValues($BUILD_MINOR_VERSION, $BUILD_TINY_VERSION), packTwoValues($BUILD_MICRO_VERSION, $BUILD_NANO_VERSION), $RETURN_NANO_VERSION, $PROPOSED_VERSION, $FULL_BUILD_MAJOR_VERSION);
-}
</del></span></pre></div>
<a id="trunkSourcecmaketoolsscriptsautoversionplfromrev190251trunkWebKitLibrarieswintoolsscriptsautoversionpl"></a>
<div class="copfile"><h4>Copied: trunk/Source/cmake/tools/scripts/auto-version.pl (from rev 190251, trunk/WebKitLibraries/win/tools/scripts/auto-version.pl) (0 => 190253)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/cmake/tools/scripts/auto-version.pl                                (rev 0)
+++ trunk/Source/cmake/tools/scripts/auto-version.pl        2015-09-25 21:50:48 UTC (rev 190253)
</span><span class="lines">@@ -0,0 +1,176 @@
</span><ins>+#!/usr/bin/perl -w
+
+use strict;
+use File::Path qw(make_path);
+use File::Spec;
+use File::Basename;
+use Cwd 'abs_path';
+use Win32;
+
+# Copyright (C) 2007, 2009, 2014 Apple Inc.  All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
+sub splitVersion($);
+
+die &quot;You must supply an output path as the argument.\n&quot; if ($#ARGV &lt; 0);
+
+my $thisDirectory;
+my $WEBKIT_LIBRARIES = $ENV{'WEBKIT_LIBRARIES'};
+if (defined $WEBKIT_LIBRARIES) {
+    $thisDirectory = File::Spec-&gt;catfile($WEBKIT_LIBRARIES, 'tools', 'scripts');
+} else {
+    $thisDirectory = dirname(abs_path($0));
+}
+
+my $FALLBACK_VERSION_PATH = File::Spec-&gt;catfile($thisDirectory, 'VERSION');
+open(FALLBACK_VERSION_FILE, '&lt;', $FALLBACK_VERSION_PATH) or die &quot;Unable to open $FALLBACK_VERSION_PATH: $!&quot;;
+my $FALLBACK_VERSION = &lt;FALLBACK_VERSION_FILE&gt;;
+close FALLBACK_VERSION_FILE;
+chomp($FALLBACK_VERSION);
+
+my $COPYRIGHT_END_YEAR_PATH = File::Spec-&gt;catfile($thisDirectory, 'COPYRIGHT-END-YEAR');
+open(COPYRIGHT_END_YEAR_FILE, '&lt;', $COPYRIGHT_END_YEAR_PATH) or die &quot;Unable to open $COPYRIGHT_END_YEAR_PATH: $!&quot;;
+my $COPYRIGHT_END_YEAR = &lt;COPYRIGHT_END_YEAR_FILE&gt;;
+close COPYRIGHT_END_YEAR_FILE;
+chomp($COPYRIGHT_END_YEAR);
+
+# Make sure we don't have any leading or trailing quote
+$ARGV[0] =~ s/^\&quot;//;
+$ARGV[0] =~ s/\&quot;$//;
+
+my $OUTPUT_DIR = File::Spec-&gt;catdir(File::Spec-&gt;canonpath($ARGV[0]), 'include');
+unless (-d $OUTPUT_DIR) {
+    make_path($OUTPUT_DIR) or die &quot;Couldn't create $OUTPUT_DIR: $!&quot;;
+}
+
+my $OUTPUT_FILE = File::Spec-&gt;catfile($OUTPUT_DIR, 'autoversion.h');
+
+# Take the initial version number from RC_ProjectSourceVersion if it
+# exists, otherwise fall back to the version number stored in the source.
+my $ENVIRONMENT_VERSION = $ENV{'RC_ProjectSourceVersion'} || $ENV{'RC_PROJECTSOURCEVERSION'};
+my $PROPOSED_VERSION = $ENVIRONMENT_VERSION || $FALLBACK_VERSION;
+chomp($PROPOSED_VERSION);
+
+my ($BUILD_MAJOR_VERSION, $BUILD_MINOR_VERSION, $BUILD_TINY_VERSION, $BUILD_VARIANT_VERSION, $ADJUSTED_PROPOSED_VERSION, $FULL_BUILD_MAJOR_VERSION) = splitVersion($PROPOSED_VERSION);
+
+my $TINY_VERSION = $BUILD_TINY_VERSION;
+my $VERSION_TEXT = $ADJUSTED_PROPOSED_VERSION;
+my $VERSION_TEXT_SHORT = $VERSION_TEXT;
+
+my $SVN_REVISION = '';
+if (!$ENVIRONMENT_VERSION) {
+    # If we didn't pull the version number from the environment then we're doing
+    # an engineering build and we'll stamp the build with some more information.
+
+    my $BUILD_DATE = localtime(time);
+    my $SVN_REVISION = `svn info`;
+    $SVN_REVISION =~ m/Revision: (\d+)/;
+    $SVN_REVISION= $1;
+
+    chomp($BUILD_DATE);
+    chomp($SVN_REVISION);
+
+    $VERSION_TEXT_SHORT .= &quot;+&quot;;
+    my $USER = Win32::LoginName;
+    $VERSION_TEXT = &quot;$VERSION_TEXT_SHORT $USER - $BUILD_DATE - r$SVN_REVISION&quot;;
+}
+
+open(OUTPUT_FILE, '&gt;', $OUTPUT_FILE) or die &quot;Couldn't open $OUTPUT_FILE: $!&quot;;
+print OUTPUT_FILE &lt;&lt;EOF;
+#define __VERSION_TEXT__ &quot;$VERSION_TEXT&quot;
+#define __BUILD_NUMBER__ &quot;$VERSION_TEXT&quot;
+#define __BUILD_NUMBER_SHORT__ &quot;$VERSION_TEXT_SHORT&quot;
+#define __VERSION_MAJOR__ $BUILD_MAJOR_VERSION
+#define __VERSION_MINOR__ $BUILD_MINOR_VERSION
+#define __VERSION_TINY__ $BUILD_TINY_VERSION
+#define __VERSION_BUILD__ $BUILD_VARIANT_VERSION
+#define __BUILD_NUMBER_MAJOR__ $BUILD_MAJOR_VERSION
+#define __BUILD_NUMBER_MINOR__ $BUILD_MINOR_VERSION
+#define __BUILD_NUMBER_VARIANT__ $BUILD_TINY_VERSION
+#define __SVN_REVISION__ $SVN_REVISION
+#define __FULL_BUILD_MAJOR_VERSION__  $FULL_BUILD_MAJOR_VERSION
+EOF
+
+if (defined $COPYRIGHT_END_YEAR) {
+    print OUTPUT_FILE &quot;#define __COPYRIGHT_YEAR_END_TEXT__ \&quot;$COPYRIGHT_END_YEAR\&quot;\n&quot;;
+}
+close(OUTPUT_FILE);
+
+sub packTwoValues($$)
+{
+    my $first = shift;
+    my $second = shift;
+
+    die &quot;First version component ($first) is too large. Must be between 0 and 99&quot; if ($first &gt; 99);
+    die &quot;Second version component ($second) is too large. Must be between 0 and 999&quot; if ($second &gt; 999);
+
+    return $first * 1000 + $second;
+}
+
+sub splitVersion($)
+{
+    my $PROPOSED_VERSION = shift;
+
+    $PROPOSED_VERSION =~ s/^\s+//g; # Get rid of any leading whitespace
+    $PROPOSED_VERSION =~ s/\s+$//g; # Get rid of any trailing whitespace
+
+    # Split out the components of the dotted version number.
+    my @components = split(/\./, $PROPOSED_VERSION) or die &quot;Couldn't parse $PROPOSED_VERSION&quot;;
+    my $componentCount = scalar(@components);
+
+    my $BUILD_MAJOR_VERSION = $components[0];
+
+    # Have the minor and tiny components default to zero if not present.
+    my $BUILD_MINOR_VERSION = 0;
+    my $BUILD_TINY_VERSION = 0;
+    my $BUILD_MICRO_VERSION = 0;
+    my $BUILD_NANO_VERSION = 0;
+    if ($componentCount &gt; 1) {
+        $BUILD_MINOR_VERSION = $components[1];
+    }
+    if ($componentCount &gt; 2) {
+        $BUILD_TINY_VERSION = $components[2];
+    }
+    if ($componentCount &gt; 3) {
+        $BUILD_MICRO_VERSION = $components[3];
+    }
+
+    my $RETURN_NANO_VERSION = $ENV{'RC_ProjectBuildVersion'} || $ENV{'RC_PROJECTBUILDVERSION'} || $BUILD_MICRO_VERSION;
+    if ($componentCount &gt; 4) {
+        $BUILD_NANO_VERSION = $components[4];
+        $RETURN_NANO_VERSION = $BUILD_NANO_VERSION;
+    }
+
+    # Cut the major component down to three characters by dropping any
+    # extra leading digits, then adjust the major version portion of the
+    # version string to match.
+    my $originalLength = length($BUILD_MAJOR_VERSION);
+    my $FULL_BUILD_MAJOR_VERSION = $BUILD_MAJOR_VERSION;
+    $BUILD_MAJOR_VERSION =~ s/^.*(\d\d\d)$/$1/;
+
+    my $charactersToRemove = $originalLength - length($BUILD_MAJOR_VERSION);
+
+    $PROPOSED_VERSION = substr($PROPOSED_VERSION, $charactersToRemove);
+
+    return ($BUILD_MAJOR_VERSION, packTwoValues($BUILD_MINOR_VERSION, $BUILD_TINY_VERSION), packTwoValues($BUILD_MICRO_VERSION, $BUILD_NANO_VERSION), $RETURN_NANO_VERSION, $PROPOSED_VERSION, $FULL_BUILD_MAJOR_VERSION);
+}
</ins></span></pre>
</div>
</div>

</body>
</html>