<!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>[166962] trunk/Source/WebInspectorUI</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/166962">166962</a></dd>
<dt>Author</dt> <dd>bfulgham@apple.com</dd>
<dt>Date</dt> <dd>2014-04-08 14:29:09 -0700 (Tue, 08 Apr 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[Windows] Generate Optimized WebInspectorUI in Release Build
https://bugs.webkit.org/show_bug.cgi?id=120120

Reviewed by Timothy Hatcher.

* Scripts/copy-user-interface-resources.pl: Copied from Scripts/copy-user-interface-resources.sh.
* Scripts/copy-user-interface-resources.sh: Removed.
* Scripts/remove-console-asserts.pl:
* WebInspectorUI.vcxproj/WebInspectorUI.make: Added.
* WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Switch to Makefile style.
* WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters: Ditto.
* WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: More work should
be done in the new build-webinspectorui.sh file.
* WebInspectorUI.vcxproj/build-webinspectorui.sh: Added.
* WebInspectorUI.xcodeproj/project.pbxproj:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIChangeLog">trunk/Source/WebInspectorUI/ChangeLog</a></li>
<li><a href="#trunkSourceWebInspectorUIScriptsremoveconsoleassertspl">trunk/Source/WebInspectorUI/Scripts/remove-console-asserts.pl</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIvcxproj">trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIvcxprojfilters">trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIxcodeprojprojectpbxproj">trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcespl">trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUImake">trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.make</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIvcxprojbuildwebinspectoruish">trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.sh</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcessh">trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.sh</a></li>
<li><a href="#trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIPostBuildcmd">trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebInspectorUIChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/ChangeLog (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/ChangeLog        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/ChangeLog        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2014-04-08  Brent Fulgham  &lt;bfulgham@apple.com&gt;
+
+        [Windows] Generate Optimized WebInspectorUI in Release Build
+        https://bugs.webkit.org/show_bug.cgi?id=120120
+
+        Reviewed by Timothy Hatcher.
+
+        * Scripts/copy-user-interface-resources.pl: Copied from Scripts/copy-user-interface-resources.sh.
+        * Scripts/copy-user-interface-resources.sh: Removed.
+        * Scripts/remove-console-asserts.pl:
+        * WebInspectorUI.vcxproj/WebInspectorUI.make: Added.
+        * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Switch to Makefile style.
+        * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters: Ditto.
+        * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: More work should
+        be done in the new build-webinspectorui.sh file.
+        * WebInspectorUI.vcxproj/build-webinspectorui.sh: Added.
+        * WebInspectorUI.xcodeproj/project.pbxproj:
+
</ins><span class="cx"> 2014-04-08  Timothy Hatcher  &lt;timothy@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix corrupt APPLE_IMAGES_LICENSE.rtf after r165676.
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcesplfromrev166893trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcessh"></a>
<div class="copfile"><h4>Copied: trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl (from rev 166893, trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.sh) (0 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl                                (rev 0)
+++ trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -0,0 +1,163 @@
</span><ins>+#!/usr/bin/perl -w
+
+use File::Copy qw(copy);
+use File::Path qw(make_path);
+use File::Spec;
+
+my $useDirCopy = 0;
+
+# Not all systems (e.g., OS X) include File::Copy::Recursive. Only
+# use it if we have it installed.
+eval &quot;use File::Copy::Recursive&quot;;
+unless ($@) {
+    $useDirCopy = 1;
+    File::Copy::Recursive-&gt;import();
+}
+
+sub ditto($$)
+{
+    my ($source, $destination) = @_;
+
+    if ($useDirCopy) {
+        File::Copy::Recursive::dircopy($source, $destination) or die &quot;Unable to copy directory $source to $destination: $!&quot;;
+    } elsif ($^O eq 'darwin') {
+        system('ditto', $source, $destination);
+    } else {
+        die &quot;Please install the PEP module File::Copy::Recursive&quot;;
+    }
+}
+
+sub seedFile($$)
+{
+    my ($targetFile, $seedText) = @_;
+
+    if (open(TARGET_FILE, '&gt;', $targetFile)) {
+        print TARGET_FILE $seedText;
+        close(TARGET_FILE);
+    }
+}
+
+my $LICENSE = &lt;&lt;'EOF';
+/*
+ * Copyright (C) 2007-2014 Apple Inc. All rights reserved.
+ * Copyright (C) 2009-2011 Google Inc. All rights reserved.
+ * Copyright (C) 2009-2010 Joseph Pecoraro. All rights reserved.
+ * Copyright (C) 2008 Matt Lilek. All rights reserved.
+ * Copyright (C) 2008-2009 Anthony Ricaud &lt;rik@webkit.org&gt;
+ * Copyright (C) 2009 280 North Inc. All Rights Reserved.
+ * Copyright (C) 2010 Nikita Vasilyev. All rights reserved.
+ * Copyright (C) 2011 Brian Grinstead All rights reserved.
+ * Copyright (C) 2013 Matt Holden &lt;jftholden@yahoo.com&gt;
+ * Copyright (C) 2013 Samsung Electronics. All rights reserved.
+ * Copyright (C) 2013 Seokju Kwon (seokju.kwon@gmail.com)
+ * Copyright (C) 2013 Adobe Systems Inc. All rights reserved.
+ * Copyright (C) 2013 University of Washington. 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. AND ITS CONTRIBUTORS ``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 ITS 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.
+ */
+EOF
+
+my $derivedSourcesDir = $ENV{'DERIVED_SOURCES_DIR'};
+my $scriptsRoot = File::Spec-&gt;catdir($ENV{'SRCROOT'}, 'Scripts');
+my $uiRoot = File::Spec-&gt;catdir($ENV{'SRCROOT'}, 'UserInterface');
+my $targetResourcePath = File::Spec-&gt;catdir($ENV{'TARGET_BUILD_DIR'}, $ENV{'UNLOCALIZED_RESOURCES_FOLDER_PATH'});
+my $protocolDir = File::Spec-&gt;catdir($targetResourcePath, 'Protocol');
+my $codeMirrorPath = File::Spec-&gt;catdir($uiRoot, 'External', 'CodeMirror');
+
+my $codeMirrorLicenseFile = File::Spec-&gt;catfile($codeMirrorPath, 'LICENSE');
+open(CMLFILE, '&lt;', $codeMirrorLicenseFile) or die &quot;Unable to open $codeMirrorLicenseFile: $!&quot;;
+my $CODE_MIRROR_LICENSE = &quot;/*\n&quot;;
+while (&lt;CMLFILE&gt;) {
+    $CODE_MIRROR_LICENSE .= ' * ' . $_;
+}
+close(CMLFILE);
+$CODE_MIRROR_LICENSE .= &quot; */\n&quot;;
+
+make_path($protocolDir, $targetResourcePath);
+
+# Copy over dynamically loaded files from other frameworks, even if we aren't combining resources.
+copy(File::Spec-&gt;catfile($ENV{'JAVASCRIPTCORE_PRIVATE_HEADERS_DIR'}, 'InspectorJSBackendCommands.js'), File::Spec-&gt;catfile($protocolDir, 'InspectorJSBackendCommands.js')) or die &quot;Copy of InspectorJSBackendCommands.js failed: $!&quot;;
+copy(File::Spec-&gt;catfile($ENV{'WEBCORE_PRIVATE_HEADERS_DIR'}, 'InspectorWebBackendCommands.js'), File::Spec-&gt;catfile($protocolDir, 'InspectorWebBackendCommands.js')) or die &quot;Copy of InspectorWebBackendCommands.js failed: $!&quot;;
+
+if (defined $ENV{'COMBINE_INSPECTOR_RESOURCES'} &amp;&amp; ($ENV{'COMBINE_INSPECTOR_RESOURCES'} eq 'YES')) {
+    my $combineResourcesCmd = File::Spec-&gt;catfile($scriptsRoot, 'combine-resources.pl');
+
+    # Combine the JavaScript and CSS files in Production builds into single files (Main.js and Main.css).
+    system($combineResourcesCmd, '--input-html', File::Spec-&gt;catfile($uiRoot, 'Main.html'), '--derived-sources-dir', $derivedSourcesDir, '--output-dir', $derivedSourcesDir, '--output-script-name', 'Main.js', '--output-style-name', 'Main.css');
+
+    # Combine the CodeMirror JavaScript and CSS files in Production builds into single files (CodeMirror.js and CodeMirror.css).
+    my $derivedSourcesMainHTML = File::Spec-&gt;catfile($derivedSourcesDir, 'Main.html');
+    system($combineResourcesCmd, '--input-dir', 'External/CodeMirror', '--input-html', $derivedSourcesMainHTML, '--input-html-dir', $uiRoot, '--derived-sources-dir', $derivedSourcesDir, '--output-dir', $derivedSourcesDir, '--output-script-name', 'CodeMirror.js', '--output-style-name', 'CodeMirror.css');
+
+    # Remove console.assert calls from the Main.js file.
+    my $derivedSourcesMainJS = File::Spec-&gt;catfile($derivedSourcesDir, 'Main.js');
+    system(File::Spec-&gt;catfile($scriptsRoot, 'remove-console-asserts.pl'), '--input-script', $derivedSourcesMainJS, '--output-script', $derivedSourcesMainJS);
+
+    # Fix Image URLs in the Main.css file by removing the &quot;../&quot;.
+    my $derivedSourcesMainCSS = File::Spec-&gt;catfile($derivedSourcesDir, 'Main.css');
+    if (open(INPUT_MAIN, '&lt;', $derivedSourcesMainCSS)) {
+        local $/;
+        my $cssContents = &lt;INPUT_MAIN&gt;;
+        close(INPUT_MAIN);
+        open(OUTPUT_MAIN, '&gt;', $derivedSourcesMainCSS);
+        $cssContents =~ s/\.\.\/Images/Images/g;
+        print OUTPUT_MAIN $cssContents;
+        close(OUTPUT_MAIN);
+    }
+
+    # Export the license into Main.js.
+    my $targetMainJS = File::Spec-&gt;catfile($targetResourcePath, 'Main.js');
+    seedFile($targetMainJS, $LICENSE);
+
+    my $targetMainCSS = File::Spec-&gt;catfile($targetResourcePath, 'Main.css');
+    seedFile($targetMainCSS, $LICENSE);
+
+    # Export the license into CodeMirror.js and CodeMirror.css.
+    my $targetCodeMirrorJS = File::Spec-&gt;catfile($targetResourcePath, 'CodeMirror.js');
+    seedFile($targetCodeMirrorJS, $LICENSE);
+
+    my $targetCodeMirrorCSS = File::Spec-&gt;catfile($targetResourcePath, 'CodeMirror.css');
+    seedFile($targetCodeMirrorCSS, $LICENSE);
+
+    # Minify the Main.js and Main.css files, with Main.js appending to the license that was exported above.
+    my $jsMinScript = File::Spec-&gt;catfile($scriptsRoot, 'jsmin.py');
+    my $cssMinScript = File::Spec-&gt;catfile($scriptsRoot, 'cssmin.py');
+    system(qq(python &quot;$jsMinScript&quot; &lt; &quot;$derivedSourcesMainJS&quot; &gt;&gt; &quot;$targetMainJS&quot;)) and die &quot;Failed to minify $derivedSourcesMainJS: $!&quot;;
+    system(qq(python &quot;$cssMinScript&quot; &lt; &quot;$derivedSourcesMainCSS&quot; &gt;&gt; &quot;$targetMainCSS&quot;)) and die &quot;Failed to minify $derivedSourcesMainCSS: $!&quot;;
+
+    # Minify the CodeMirror.js and CodeMirror.css files, appending to the license that was exported above.
+    my $derivedSouressCodeMirrorJS = File::Spec-&gt;catfile($derivedSourcesDir, 'CodeMirror.js');
+    my $derivedSourcesCodeMirrorCSS = File::Spec-&gt;catfile($derivedSourcesDir, 'CodeMirror.css');
+    system(qq(python &quot;$jsMinScript&quot; &lt; &quot;$derivedSouressCodeMirrorJS&quot; &gt;&gt; &quot;$targetCodeMirrorJS&quot;)) and die &quot;Failed to minify $derivedSouressCodeMirrorJS: $!&quot;;
+    system(qq(python &quot;$cssMinScript&quot; &lt; &quot;$derivedSourcesCodeMirrorCSS&quot; &gt;&gt; &quot;$targetCodeMirrorCSS&quot;)) and die &quot;Failed to minify $derivedSourcesCodeMirrorCSS: $!&quot;;
+
+    # Copy over Main.html and the Images directory.
+    copy($derivedSourcesMainHTML, File::Spec-&gt;catfile($targetResourcePath, 'Main.html'));
+
+    ditto(File::Spec-&gt;catdir($uiRoot, 'Images'), File::Spec-&gt;catdir($targetResourcePath, 'Images'));
+
+    # Copy the Legacy directory.
+    ditto(File::Spec-&gt;catfile($uiRoot, 'Protocol', 'Legacy'), File::Spec-&gt;catfile($protocolDir, 'Legacy'));
+} else {
+    # Keep the files separate for engineering builds.
+    ditto($uiRoot, $targetResourcePath);
+}
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIScriptscopyuserinterfaceresourcessh"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.sh (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.sh        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/Scripts/copy-user-interface-resources.sh        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -1,86 +0,0 @@
</span><del>-#!/bin/sh
-
-LICENSE=$(cat &lt;&lt;EOF
-/*
- * Copyright (C) 2007-2014 Apple Inc. All rights reserved.
- * Copyright (C) 2009-2011 Google Inc. All rights reserved.
- * Copyright (C) 2009-2010 Joseph Pecoraro. All rights reserved.
- * Copyright (C) 2008 Matt Lilek. All rights reserved.
- * Copyright (C) 2008-2009 Anthony Ricaud &lt;rik@webkit.org&gt;
- * Copyright (C) 2009 280 North Inc. All Rights Reserved.
- * Copyright (C) 2010 Nikita Vasilyev. All rights reserved.
- * Copyright (C) 2011 Brian Grinstead All rights reserved.
- * Copyright (C) 2013 Matt Holden &lt;jftholden@yahoo.com&gt;
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
- * Copyright (C) 2013 Seokju Kwon (seokju.kwon@gmail.com)
- * Copyright (C) 2013 Adobe Systems Inc. All rights reserved.
- * Copyright (C) 2013 University of Washington. 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. AND ITS CONTRIBUTORS ``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 ITS 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.
- */
-EOF
-)
-
-CODE_MIRROR_LICENSE=$(echo &quot;/*&quot; &amp;&amp; sed 's/^/ * /' &quot;${SRCROOT}/UserInterface/External/CodeMirror/LICENSE&quot; &amp;&amp; echo &quot; */&quot;)
-
-# Copy over dynamically loaded files from other frameworks, even if we aren't combining resources.
-ditto &quot;${JAVASCRIPTCORE_PRIVATE_HEADERS_DIR}/InspectorJSBackendCommands.js&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Protocol/InspectorJSBackendCommands.js&quot;
-ditto &quot;${WEBCORE_PRIVATE_HEADERS_DIR}/InspectorWebBackendCommands.js&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Protocol/InspectorWebBackendCommands.js&quot;
-
-if [[ ${COMBINE_INSPECTOR_RESOURCES:=YES} == &quot;YES&quot; ]]; then
-    # Combine the JavaScript and CSS files in Production builds into single files (Main.js and Main.css).
-    &quot;${SRCROOT}/Scripts/combine-resources.pl&quot; --input-html &quot;${SRCROOT}/UserInterface/Main.html&quot; --derived-sources-dir &quot;${DERIVED_SOURCES_DIR}&quot; --output-dir &quot;${DERIVED_SOURCES_DIR}&quot; --output-script-name &quot;Main.js&quot; --output-style-name &quot;Main.css&quot;
-
-    # Combine the CodeMirror JavaScript and CSS files in Production builds into single files (CodeMirror.js and CodeMirror.css).
-    &quot;${SRCROOT}/Scripts/combine-resources.pl&quot; --input-dir &quot;External/CodeMirror&quot; --input-html &quot;${DERIVED_SOURCES_DIR}/Main.html&quot; --input-html-dir &quot;${SRCROOT}/UserInterface&quot; --derived-sources-dir &quot;${DERIVED_SOURCES_DIR}&quot; --output-dir &quot;${DERIVED_SOURCES_DIR}&quot; --output-script-name &quot;CodeMirror.js&quot; --output-style-name &quot;CodeMirror.css&quot;
-
-    # Remove console.assert calls from the Main.js file.
-    &quot;${SRCROOT}/Scripts/remove-console-asserts.pl&quot; --input-script &quot;${DERIVED_SOURCES_DIR}/Main.js&quot; --output-script &quot;${DERIVED_SOURCES_DIR}/Main.js&quot;
-
-    # Fix Image URLs in the Main.css file by removing the &quot;../&quot;.
-    sed -i &quot;&quot; -e &quot;s/\.\.\/Images/Images/g&quot; &quot;${DERIVED_SOURCES_DIR}/Main.css&quot;
-
-    # Export the license into Main.js.
-    echo &quot;${LICENSE}&quot; &gt; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Main.js&quot;
-
-    # Export the license into CodeMirror.js and CodeMirror.css.
-    echo &quot;${CODE_MIRROR_LICENSE}&quot; &gt; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CodeMirror.js&quot;
-    echo &quot;${CODE_MIRROR_LICENSE}&quot; &gt; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CodeMirror.css&quot;
-
-    # Minify the Main.js and Main.css files, with Main.js appending to the license that was exported above.
-    python &quot;${SRCROOT}/Scripts/jsmin.py&quot; &lt;&quot;${DERIVED_SOURCES_DIR}/Main.js&quot; &gt;&gt;&quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Main.js&quot;
-    python &quot;${SRCROOT}/Scripts/cssmin.py&quot; &lt;&quot;${DERIVED_SOURCES_DIR}/Main.css&quot; &gt;&quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Main.css&quot;
-
-    # Minify the CodeMirror.js and CodeMirror.css files, appending to the license that was exported above.
-    python &quot;${SRCROOT}/Scripts/jsmin.py&quot; &lt;&quot;${DERIVED_SOURCES_DIR}/CodeMirror.js&quot; &gt;&gt;&quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CodeMirror.js&quot;
-    python &quot;${SRCROOT}/Scripts/cssmin.py&quot; &lt;&quot;${DERIVED_SOURCES_DIR}/CodeMirror.css&quot; &gt;&gt;&quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/CodeMirror.css&quot;
-
-    # Copy over Main.html and the Images directory.
-    ditto &quot;${DERIVED_SOURCES_DIR}/Main.html&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Main.html&quot;
-    ditto &quot;${SRCROOT}/UserInterface/Images&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Images&quot;
-
-    # Copy the Legacy directory.
-    ditto &quot;${SRCROOT}/UserInterface/Protocol/Legacy&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/Protocol/Legacy&quot;
-else
-    # Keep the files separate for engineering builds.
-    ditto &quot;${SRCROOT}/UserInterface&quot; &quot;${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}&quot;
-fi
</del></span></pre></div>
<a id="trunkSourceWebInspectorUIScriptsremoveconsoleassertspl"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/Scripts/remove-console-asserts.pl (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/Scripts/remove-console-asserts.pl        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/Scripts/remove-console-asserts.pl        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx">     exit;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-open IN, $inputScriptFilename or die;
</del><ins>+open IN, $inputScriptFilename or die &quot;Couldn't open $inputScriptFilename: $!&quot;;
</ins><span class="cx"> our ($out, $tempFilename) = tempfile(UNLINK =&gt; 0) or die;
</span><span class="cx"> 
</span><span class="cx"> our $previousLine = &quot;&quot;;
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUImake"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.make (0 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.make                                (rev 0)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.make        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+make:
+        bash build-webinspectorui.sh &quot;%ConfigurationBuildDir%&quot; &quot;%WebKit_Libraries%&quot; windows &quot;%PlatformArchitecture%&quot;
+        if errorlevel 1 exit 1
+
+        xcopy /y /e &quot;..\Localizations\en.lproj\*&quot; &quot;%ConfigurationBuildDir%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot;
+        if errorlevel 1 exit 1
+
+        if exist &quot;%CONFIGURATIONBUILDDIR%\buildfailed&quot; del &quot;%CONFIGURATIONBUILDDIR%\buildfailed&quot;
+
+clean:
+        if exist &quot;%ConfigurationBuildDir%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot; del /s /q &quot;%ConfigurationBuildDir%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot;
</ins></span></pre></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIvcxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -48,67 +48,67 @@
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;Import Project=&quot;$(VCTargetsPath)\Microsoft.Cpp.Default.props&quot; /&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;true&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|Win32'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;MultiByte&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|Win32'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|x64'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;true&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release|x64'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Production|x64'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release_WinCairo|x64'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;WholeProgramOptimization&gt;true&lt;/WholeProgramOptimization&gt;
</span><span class="cx">     &lt;CharacterSet&gt;MultiByte&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="cx">   &lt;/PropertyGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug_WinCairo|x64'&quot; Label=&quot;Configuration&quot;&gt;
</span><del>-    &lt;ConfigurationType&gt;Application&lt;/ConfigurationType&gt;
</del><ins>+    &lt;ConfigurationType&gt;Makefile&lt;/ConfigurationType&gt;
</ins><span class="cx">     &lt;UseDebugLibraries&gt;false&lt;/UseDebugLibraries&gt;
</span><span class="cx">     &lt;CharacterSet&gt;Unicode&lt;/CharacterSet&gt;
</span><span class="cx">     &lt;PlatformToolset&gt;v120_xp&lt;/PlatformToolset&gt;
</span><span class="lines">@@ -167,7 +167,8 @@
</span><span class="cx">     &lt;Import Project=&quot;$(WebKit_Libraries)\tools\vsprops\debug.props&quot; /&gt;
</span><span class="cx">   &lt;/ImportGroup&gt;
</span><span class="cx">   &lt;PropertyGroup Label=&quot;UserMacros&quot; /&gt;
</span><del>-  &lt;PropertyGroup /&gt;
</del><ins>+  &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Release|Win32'&quot; /&gt;
+  &lt;PropertyGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Production|Win32'&quot; /&gt;
</ins><span class="cx">   &lt;ItemDefinitionGroup Condition=&quot;'$(Configuration)|$(Platform)'=='Debug|Win32'&quot;&gt;
</span><span class="cx">     &lt;ClCompile&gt;
</span><span class="cx">       &lt;WarningLevel&gt;Level3&lt;/WarningLevel&gt;
</span><span class="lines">@@ -218,7 +219,7 @@
</span><span class="cx">     &lt;None Include=&quot;..\Info.plist&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Localizations\en.lproj\localizedStrings.js&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\combine-resources.pl&quot; /&gt;
</span><del>-    &lt;None Include=&quot;..\Scripts\copy-user-interface-resources.sh&quot; /&gt;
</del><ins>+    &lt;None Include=&quot;..\Scripts\copy-user-interface-resources.pl&quot; /&gt;
</ins><span class="cx">     &lt;None Include=&quot;..\Scripts\cssmin.py&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\jsmin.py&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\remove-console-asserts.pl&quot; /&gt;
</span><span class="lines">@@ -777,9 +778,10 @@
</span><span class="cx">     &lt;None Include=&quot;..\UserInterface\TreeOutline.js&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\UserInterface\Utilities.js&quot; /&gt;
</span><span class="cx">     &lt;None Include=&quot;..\UserInterface\WebInspector.js&quot; /&gt;
</span><del>-    &lt;None Include=&quot;WebInspectorUIPostBuild.cmd&quot; /&gt;
</del><ins>+    &lt;None Include=&quot;build-webinspectorui.sh&quot; /&gt;
+    &lt;None Include=&quot;WebInspectorUI.make&quot; /&gt;
</ins><span class="cx">   &lt;/ItemGroup&gt;
</span><span class="cx">   &lt;Import Project=&quot;$(VCTargetsPath)\Microsoft.Cpp.targets&quot; /&gt;
</span><span class="cx">   &lt;ImportGroup Label=&quot;ExtensionTargets&quot;&gt;
</span><span class="cx">   &lt;/ImportGroup&gt;
</span><del>-&lt;/Project&gt;
</del><ins>+&lt;/Project&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIvcxprojfilters"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -1701,7 +1701,7 @@
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\combine-resources.pl&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Scripts&lt;/Filter&gt;
</span><span class="cx">     &lt;/None&gt;
</span><del>-    &lt;None Include=&quot;..\Scripts\copy-user-interface-resources.sh&quot;&gt;
</del><ins>+    &lt;None Include=&quot;..\Scripts\copy-user-interface-resources.pl&quot;&gt;
</ins><span class="cx">       &lt;Filter&gt;Scripts&lt;/Filter&gt;
</span><span class="cx">     &lt;/None&gt;
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\cssmin.py&quot;&gt;
</span><span class="lines">@@ -1719,6 +1719,7 @@
</span><span class="cx">     &lt;None Include=&quot;..\Scripts\update-pretty-printer.rb&quot;&gt;
</span><span class="cx">       &lt;Filter&gt;Scripts&lt;/Filter&gt;
</span><span class="cx">     &lt;/None&gt;
</span><del>-    &lt;None Include=&quot;WebInspectorUIPostBuild.cmd&quot; /&gt;
</del><ins>+    &lt;None Include=&quot;WebInspectorUI.make&quot; /&gt;
+    &lt;None Include=&quot;build-webinspectorui.sh&quot; /&gt;
</ins><span class="cx">   &lt;/ItemGroup&gt;
</span><del>-&lt;/Project&gt;
</del><ins>+&lt;/Project&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIvcxprojWebInspectorUIPostBuildcmd"></a>
<div class="delfile"><h4>Deleted: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-mkdir 2&gt;NUL &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot;
-xcopy /y /e &quot;%PROJECTDIR%..\UserInterface\*&quot; &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot;
-xcopy /y /d &quot;%PROJECTDIR%..\Localizations\en.lproj\*&quot; &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI&quot;
-mkdir 2&gt;NUL &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI\Protocol&quot;
-xcopy /y /d &quot;%CONFIGURATIONBUILDDIR%\obj%PlatformArchitecture%\JavaScriptCore\DerivedSources\InspectorJSBackendCommands.js&quot; &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI\Protocol&quot;
-xcopy /y /d &quot;%CONFIGURATIONBUILDDIR%\obj%PlatformArchitecture%\WebCore\DerivedSources\InspectorWebBackendCommands.js&quot; &quot;%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\WebKit.resources\WebInspectorUI\Protocol&quot;
-if exist &quot;%CONFIGURATIONBUILDDIR%\buildfailed&quot; del &quot;%CONFIGURATIONBUILDDIR%\buildfailed&quot;
</del></span></pre></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIvcxprojbuildwebinspectoruish"></a>
<div class="addfile"><h4>Added: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.sh (0 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.sh                                (rev 0)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.sh        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+#!/usr/bin/bash
+
+# Copyright (C) 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. 
+# 3.  Neither the name of Apple puter, Inc. (&quot;Apple&quot;) nor the names of
+#     its contributors may be used to endorse or promote products derived
+#     from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS &quot;AS IS&quot; 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 OR ITS 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.
+
+XSRCROOT=&quot;`pwd`/..&quot;
+XSRCROOT=`realpath &quot;$XSRCROOT&quot;`
+export XSRCROOT
+export SRCROOT=$XSRCROOT
+
+XDSTROOT=&quot;$1&quot;
+export XDSTROOT
+
+export TARGET_BUILD_DIR=&quot;$XDSTROOT/bin${4}/WebKit.resources&quot;
+export JAVASCRIPTCORE_PRIVATE_HEADERS_DIR=&quot;$XDSTROOT/obj${4}/JavaScriptCore/DerivedSources&quot;
+export WEBCORE_PRIVATE_HEADERS_DIR=&quot;$XDSTROOT/obj${4}/WebCore/DerivedSources&quot;
+export DERIVED_SOURCES_DIR=&quot;$XDSTROOT/obj${4}/WebInspectorUI/DerivedSources&quot;
+
+export UNLOCALIZED_RESOURCES_FOLDER_PATH=&quot;WebInspectorUI&quot;
+
+if [[ ${TARGET_BUILD_DIR} =~ &quot;Release&quot; ]] || [[ ${TARGET_BUILD_DIR} =~ &quot;Production&quot; ]]; then
+    export COMBINE_INSPECTOR_RESOURCES=&quot;YES&quot;;
+fi
+
+perl &quot;${SRCROOT}/Scripts/copy-user-interface-resources.pl&quot;
</ins><span class="cx">Property changes on: trunk/Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.sh
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="trunkSourceWebInspectorUIWebInspectorUIxcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj (166961 => 166962)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj        2014-04-08 21:22:35 UTC (rev 166961)
+++ trunk/Source/WebInspectorUI/WebInspectorUI.xcodeproj/project.pbxproj        2014-04-08 21:29:09 UTC (rev 166962)
</span><span class="lines">@@ -22,7 +22,7 @@
</span><span class="cx">                 1C60FF1414E6E35D006CD77D /* en */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.javascript; name = en; path = Localizations/en.lproj/localizedStrings.js; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1C60FF1914E73C64006CD77D /* combine-resources.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = &quot;combine-resources.pl&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1C60FF1A14E73DCA006CD77D /* remove-console-asserts.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = &quot;remove-console-asserts.pl&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><del>-                1C60FFE114E79B0F006CD77D /* copy-user-interface-resources.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = &quot;copy-user-interface-resources.sh&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</del><ins>+                1C60FFE114E79B0F006CD77D /* copy-user-interface-resources.pl */ = {isa = PBXFileReference; lastKnownFileType = text.script.perl; path = &quot;copy-user-interface-resources.pl&quot;; sourceTree = &quot;&lt;group&gt;&quot;; };
</ins><span class="cx">                 1C78EE131760E115002F6AA5 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 1C78EE1617611340002F6AA5 /* WebInspectorUI.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = WebInspectorUI.c; sourceTree = &quot;&lt;group&gt;&quot;; };
</span><span class="cx">                 996231EB18D1811700C03FDA /* WebCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = WebCore.framework; sourceTree = BUILT_PRODUCTS_DIR; };
</span><span class="lines">@@ -55,7 +55,7 @@
</span><span class="cx">                         isa = PBXGroup;
</span><span class="cx">                         children = (
</span><span class="cx">                                 1C60FF1914E73C64006CD77D /* combine-resources.pl */,
</span><del>-                                1C60FFE114E79B0F006CD77D /* copy-user-interface-resources.sh */,
</del><ins>+                                1C60FFE114E79B0F006CD77D /* copy-user-interface-resources.pl */,
</ins><span class="cx">                                 1C435CAC14E7B287004E10EA /* cssmin.py */,
</span><span class="cx">                                 1C435CAD14E7B287004E10EA /* jsmin.py */,
</span><span class="cx">                                 1C60FF1A14E73DCA006CD77D /* remove-console-asserts.pl */,
</span><span class="lines">@@ -157,7 +157,7 @@
</span><span class="cx">                         name = &quot;Copy User Interface Resources&quot;;
</span><span class="cx">                         runOnlyForDeploymentPostprocessing = 0;
</span><span class="cx">                         shellPath = /bin/sh;
</span><del>-                        shellScript = &quot;sh \&quot;${SRCROOT}/Scripts/copy-user-interface-resources.sh\&quot;&quot;;
</del><ins>+                        shellScript = &quot;/usr/bin/perl \&quot;${SRCROOT}/Scripts/copy-user-interface-resources.pl\&quot;&quot;;
</ins><span class="cx">                 };
</span><span class="cx"> /* End PBXShellScriptBuildPhase section */
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>