<!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>[190617] 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/190617">190617</a></dd>
<dt>Author</dt> <dd>dbates@webkit.org</dd>
<dt>Date</dt> <dd>2015-10-06 09:33:21 -0700 (Tue, 06 Oct 2015)</dd>
</dl>

<h3>Log Message</h3>
<pre>Enable XSLT when building WebKit for iOS using the public iOS SDK
https://bugs.webkit.org/show_bug.cgi?id=149827

Patch by Daniel Bates &lt;dbates@webkit.org&gt; on 2015-10-06
Reviewed by Alexey Proskuryakov.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Source/WTF:

* wtf/FeatureDefines.h:

Tools:

Teach script configure-xcode-for-ios-development to copy the OS X XSLT headers to the iPhoneOS
and iPhoneSimulator SDKs so as to support building WebKit for iOS with XSLT. A person must
run this script before building WebKit for iOS or the build will fail because one or more XSLT
headers cannot be found.

* Scripts/configure-xcode-for-ios-development:
(copyMissingXSLTHeadersToSDKIfNeeded): Added.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceJavaScriptCoreChangeLog">trunk/Source/JavaScriptCore/ChangeLog</a></li>
<li><a href="#trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfFeatureDefinesh">trunk/Source/WTF/wtf/FeatureDefines.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig">trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig">trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsScriptsconfigurexcodeforiosdevelopment">trunk/Tools/Scripts/configure-xcode-for-ios-development</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceJavaScriptCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/JavaScriptCore/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-10-05  Commit Queue  &lt;commit-queue@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed, rolling out r190599.
</span></span></pre></div>
<a id="trunkSourceJavaScriptCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -215,11 +215,7 @@
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101100 = ENABLE_WEB_TIMING;
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101200 = ENABLE_WEB_TIMING;
</span><span class="cx"> 
</span><del>-// FIXME: Remove the USE_INTERNAL_SDK condition once we support XSLT when building for iOS with the
-// public SDK. We will also need to update FeatureDefines.h.
-ENABLE_XSLT[sdk=macosx*] = ENABLE_XSLT;
-ENABLE_XSLT[sdk=iphone*] = $(ENABLE_XSLT_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
-ENABLE_XSLT_ios_WITH_INTERNAL_SDK_YES = ENABLE_XSLT;
</del><ins>+ENABLE_XSLT = ENABLE_XSLT;
</ins><span class="cx"> 
</span><span class="cx"> ENABLE_FTL_JIT[sdk=macosx*] = ENABLE_FTL_JIT;
</span><span class="cx"> ENABLE_FTL_JIT[sdk=iphoneos*] = ENABLE_FTL_JIT;
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WTF/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        * wtf/FeatureDefines.h:
+
</ins><span class="cx"> 2015-10-04  Filip Pizlo  &lt;fpizlo@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Inline cache repatching should be throttled if it happens a lot
</span></span></pre></div>
<a id="trunkSourceWTFwtfFeatureDefinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/FeatureDefines.h (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/FeatureDefines.h        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WTF/wtf/FeatureDefines.h        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -168,12 +168,6 @@
</span><span class="cx"> #define ENABLE_WEBGL 1
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-/* FIXME: Remove this logic and always enable XSLT once we support XSLT when building against
-the public iOS SDK. We will also need to update the FeatureDefines.xcconfig files. */
-#if !defined(ENABLE_XSLT) &amp;&amp; !USE(APPLE_INTERNAL_SDK)
-#define ENABLE_XSLT 0
-#endif
-
</del><span class="cx"> #if !defined(ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC)
</span><span class="cx"> #define ENABLE_PRIMARY_SNAPSHOTTED_PLUGIN_HEURISTIC 1
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebCore/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-10-06  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Win] Correct positioning error introduced in r190235
</span></span></pre></div>
<a id="trunkSourceWebCoreConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -215,11 +215,7 @@
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101100 = ENABLE_WEB_TIMING;
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101200 = ENABLE_WEB_TIMING;
</span><span class="cx"> 
</span><del>-// FIXME: Remove the USE_INTERNAL_SDK condition once we support XSLT when building for iOS with the
-// public SDK. We will also need to update FeatureDefines.h.
-ENABLE_XSLT[sdk=macosx*] = ENABLE_XSLT;
-ENABLE_XSLT[sdk=iphone*] = $(ENABLE_XSLT_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
-ENABLE_XSLT_ios_WITH_INTERNAL_SDK_YES = ENABLE_XSLT;
</del><ins>+ENABLE_XSLT = ENABLE_XSLT;
</ins><span class="cx"> 
</span><span class="cx"> ENABLE_FTL_JIT[sdk=macosx*] = ENABLE_FTL_JIT;
</span><span class="cx"> ENABLE_FTL_JIT[sdk=iphoneos*] = ENABLE_FTL_JIT;
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebKit/mac/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-10-06  Alex Christensen  &lt;achristensen@webkit.org&gt;
</span><span class="cx"> 
</span><span class="cx">         Report error when main resource is blocked by content blocker
</span></span></pre></div>
<a id="trunkSourceWebKitmacConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -215,11 +215,7 @@
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101100 = ENABLE_WEB_TIMING;
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101200 = ENABLE_WEB_TIMING;
</span><span class="cx"> 
</span><del>-// FIXME: Remove the USE_INTERNAL_SDK condition once we support XSLT when building for iOS with the
-// public SDK. We will also need to update FeatureDefines.h.
-ENABLE_XSLT[sdk=macosx*] = ENABLE_XSLT;
-ENABLE_XSLT[sdk=iphone*] = $(ENABLE_XSLT_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
-ENABLE_XSLT_ios_WITH_INTERNAL_SDK_YES = ENABLE_XSLT;
</del><ins>+ENABLE_XSLT = ENABLE_XSLT;
</ins><span class="cx"> 
</span><span class="cx"> ENABLE_FTL_JIT[sdk=macosx*] = ENABLE_FTL_JIT;
</span><span class="cx"> ENABLE_FTL_JIT[sdk=iphoneos*] = ENABLE_FTL_JIT;
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebKit2/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,12 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Configurations/FeatureDefines.xcconfig:
+
</ins><span class="cx"> 2015-10-06  Emanuele Aina  &lt;emanuele.aina@collabora.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Fix ENABLE_OPENGL=OFF builds
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsFeatureDefinesxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -215,11 +215,7 @@
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101100 = ENABLE_WEB_TIMING;
</span><span class="cx"> ENABLE_WEB_TIMING_macosx_101200 = ENABLE_WEB_TIMING;
</span><span class="cx"> 
</span><del>-// FIXME: Remove the USE_INTERNAL_SDK condition once we support XSLT when building for iOS with the
-// public SDK. We will also need to update FeatureDefines.h.
-ENABLE_XSLT[sdk=macosx*] = ENABLE_XSLT;
-ENABLE_XSLT[sdk=iphone*] = $(ENABLE_XSLT_ios_WITH_INTERNAL_SDK_$(USE_INTERNAL_SDK));
-ENABLE_XSLT_ios_WITH_INTERNAL_SDK_YES = ENABLE_XSLT;
</del><ins>+ENABLE_XSLT = ENABLE_XSLT;
</ins><span class="cx"> 
</span><span class="cx"> ENABLE_FTL_JIT[sdk=macosx*] = ENABLE_FTL_JIT;
</span><span class="cx"> ENABLE_FTL_JIT[sdk=iphoneos*] = ENABLE_FTL_JIT;
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Tools/ChangeLog        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -1,3 +1,18 @@
</span><ins>+2015-10-06  Daniel Bates  &lt;dbates@webkit.org&gt;
+
+        Enable XSLT when building WebKit for iOS using the public iOS SDK
+        https://bugs.webkit.org/show_bug.cgi?id=149827
+
+        Reviewed by Alexey Proskuryakov.
+
+        Teach script configure-xcode-for-ios-development to copy the OS X XSLT headers to the iPhoneOS
+        and iPhoneSimulator SDKs so as to support building WebKit for iOS with XSLT. A person must
+        run this script before building WebKit for iOS or the build will fail because one or more XSLT
+        headers cannot be found.
+
+        * Scripts/configure-xcode-for-ios-development:
+        (copyMissingXSLTHeadersToSDKIfNeeded): Added.
+
</ins><span class="cx"> 2015-10-05  Myles C. Maxfield  &lt;mmaxfield@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         REGRESSION(189668?): http/tests/notifications/events.html flakily asserts or times out
</span></span></pre></div>
<a id="trunkToolsScriptsconfigurexcodeforiosdevelopment"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/configure-xcode-for-ios-development (190616 => 190617)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/configure-xcode-for-ios-development        2015-10-06 16:28:38 UTC (rev 190616)
+++ trunk/Tools/Scripts/configure-xcode-for-ios-development        2015-10-06 16:33:21 UTC (rev 190617)
</span><span class="lines">@@ -41,6 +41,7 @@
</span><span class="cx"> use webkitdirs;
</span><span class="cx"> 
</span><span class="cx"> sub copyMissingHeadersToIPhoneOSSDKIfNeeded();
</span><ins>+sub copyMissingXSLTHeadersToSDKIfNeeded($);
</ins><span class="cx"> sub createLegacyXcodeSpecificationFilesForSDKIfNeeded($);
</span><span class="cx"> sub mergeXcodeSpecificationWithSpecificationAndId($$$);
</span><span class="cx"> sub readXcodeSpecificationById($$);
</span><span class="lines">@@ -64,6 +65,7 @@
</span><span class="cx"> 
</span><span class="cx"> for my $sdk (qw(iphoneos iphonesimulator)) {
</span><span class="cx">     updateXcodeSpecificationFilesForSDKIfNeeded($sdk);
</span><ins>+    copyMissingXSLTHeadersToSDKIfNeeded($sdk);
</ins><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> copyMissingHeadersToIPhoneOSSDKIfNeeded();
</span><span class="lines">@@ -100,6 +102,18 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+sub copyMissingXSLTHeadersToSDKIfNeeded($)
+{
+    my ($sdkName) = @_;
+    my $sdkXSLTHeaderDirectory = File::Spec-&gt;canonpath(File::Spec-&gt;catdir(sdkDirectory($sdkName), &quot;usr&quot;, &quot;include&quot;, &quot;libxslt&quot;));
+    return if -d $sdkXSLTHeaderDirectory;
+
+    my $macosxXSLTHeaderDirectory = File::Spec-&gt;canonpath(File::Spec-&gt;catdir(sdkDirectory(&quot;macosx&quot;), &quot;usr&quot;, &quot;include&quot;, &quot;libxslt&quot;));
+    system(&quot;/usr/bin/ditto&quot;, $macosxXSLTHeaderDirectory, $sdkXSLTHeaderDirectory);
+    die &quot;Could not copy $macosxXSLTHeaderDirectory to $sdkXSLTHeaderDirectory: $!&quot; if exitStatus($?);
+    print &quot;Successfully copied $macosxXSLTHeaderDirectory to $sdkXSLTHeaderDirectory.\n&quot;;
+}
+
</ins><span class="cx"> sub updateXcodeSpecificationFilesForSDKIfNeeded($)
</span><span class="cx"> {
</span><span class="cx">     my ($sdkName) = @_;
</span></span></pre>
</div>
</div>

</body>
</html>