<!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>[195635] trunk/Source</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/195635">195635</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2016-01-26 16:29:42 -0800 (Tue, 26 Jan 2016)</dd>
</dl>

<h3>Log Message</h3>
<pre>WebKitAdditions should be able to modify derived source rules
https://bugs.webkit.org/show_bug.cgi?id=153514

Reviewed by Tim Horton.

Source/WebCore:

* DerivedSources.make:
Include WebCoreDerivedSourcesAdditions.make.

* WebCore.xcodeproj/project.pbxproj:
Pass our WebKitAdditions paths as include paths to make.

Source/WebKit2:

* Configurations/BaseTarget.xcconfig:
* Configurations/WebKit.xcconfig:
Set WEBKITADDITIONS_HEADER_SEARCH_PATHS.

* DerivedSources.make:
Move the path computation earlier and include WebKitDerivedSourcesAdditions.make.

* WebKit2.xcodeproj/project.pbxproj:
Pass our WebKitAdditions paths as include paths to make.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreDerivedSourcesmake">trunk/Source/WebCore/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebCoreWebCorexcodeprojprojectpbxproj">trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsBaseTargetxcconfig">trunk/Source/WebKit2/Configurations/BaseTarget.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2ConfigurationsWebKitxcconfig">trunk/Source/WebKit2/Configurations/WebKit.xcconfig</a></li>
<li><a href="#trunkSourceWebKit2DerivedSourcesmake">trunk/Source/WebKit2/DerivedSources.make</a></li>
<li><a href="#trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj">trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebCore/ChangeLog        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -1,3 +1,16 @@
</span><ins>+2016-01-26  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        WebKitAdditions should be able to modify derived source rules
+        https://bugs.webkit.org/show_bug.cgi?id=153514
+
+        Reviewed by Tim Horton.
+
+        * DerivedSources.make:
+        Include WebCoreDerivedSourcesAdditions.make.
+
+        * WebCore.xcodeproj/project.pbxproj:
+        Pass our WebKitAdditions paths as include paths to make.
+
</ins><span class="cx"> 2016-01-26  Chris Dumez  &lt;cdumez@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         document.open() / write() should be prevented in beforeunload event handlers
</span></span></pre></div>
<a id="trunkSourceWebCoreDerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/DerivedSources.make (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/DerivedSources.make        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebCore/DerivedSources.make        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -763,6 +763,8 @@
</span><span class="cx"> endif
</span><span class="cx"> endif # IOS
</span><span class="cx"> 
</span><ins>+-include WebCoreDerivedSourcesAdditions.make
+
</ins><span class="cx"> NON_SVG_BINDING_IDLS += $(ADDITIONAL_BINDING_IDLS)
</span><span class="cx"> 
</span><span class="cx"> all : $(ADDITIONAL_BINDING_IDLS:%.idl=JS%.h)
</span></span></pre></div>
<a id="trunkSourceWebCoreWebCorexcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -28574,7 +28574,7 @@
</span><span class="cx">                         );
</span><span class="cx">                         runOnlyForDeploymentPostprocessing = 0;
</span><span class="cx">                         shellPath = /bin/sh;
</span><del>-                        shellScript = &quot;mkdir -p \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\&quot;\ncd \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\&quot;\n\n/bin/ln -sfh \&quot;${SRCROOT}\&quot; WebCore\nexport WebCore=\&quot;WebCore\&quot;\n/bin/ln -sfh \&quot;${JAVASCRIPTCORE_PRIVATE_HEADERS_DIR}\&quot; JavaScriptCorePrivateHeaders\nexport JavaScriptCore_SCRIPTS_DIR=\&quot;JavaScriptCorePrivateHeaders\&quot;\n\nif [ ! $CC ]; then\n    export CC=\&quot;`xcrun -find clang`\&quot;\nfi\n\nif [ ! $GPERF ]; then\n    export GPERF=\&quot;`xcrun -find gperf`\&quot;\nfi\n\nif [ \&quot;${ACTION}\&quot; = \&quot;build\&quot; -o \&quot;${ACTION}\&quot; = \&quot;install\&quot; -o \&quot;${ACTION}\&quot; = \&quot;installhdrs\&quot; ]; then\n    make  --no-builtin-rules -f \&quot;WebCore/DerivedSources.make\&quot; -j `/usr/sbin/sysctl -n hw.activecpu` SDKROOT=\&quot;${SDKROOT}\&quot;\nfi\n&quot;;
</del><ins>+                        shellScript = &quot;mkdir -p \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\&quot;\ncd \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore\&quot;\n\n/bin/ln -sfh \&quot;${SRCROOT}\&quot; WebCore\nexport WebCore=\&quot;WebCore\&quot;\n/bin/ln -sfh \&quot;${JAVASCRIPTCORE_PRIVATE_HEADERS_DIR}\&quot; JavaScriptCorePrivateHeaders\nexport JavaScriptCore_SCRIPTS_DIR=\&quot;JavaScriptCorePrivateHeaders\&quot;\n\nif [ ! $CC ]; then\n    export CC=\&quot;`xcrun -find clang`\&quot;\nfi\n\nif [ ! $GPERF ]; then\n    export GPERF=\&quot;`xcrun -find gperf`\&quot;\nfi\n\nMAKEFILE_INCLUDE_FLAGS=$(echo \&quot;${WEBKITADDITIONS_HEADER_SEARCH_PATHS}\&quot; | perl -e 'print \&quot;-I\&quot; . join(\&quot; -I\&quot;, split(\&quot; \&quot;, &lt;&gt;));')\n\nif [ \&quot;${ACTION}\&quot; = \&quot;build\&quot; -o \&quot;${ACTION}\&quot; = \&quot;install\&quot; -o \&quot;${ACTION}\&quot; = \&quot;installhdrs\&quot; ]; then\nmake --no-builtin-rules ${MAKEFILE_INCLUDE_FLAGS} -f \&q
 uot;WebCore/DerivedSources.make\&quot; -j `/usr/sbin/sysctl -n hw.activecpu` SDKROOT=\&quot;${SDKROOT}\&quot;\nfi\n&quot;;
</ins><span class="cx">                 };
</span><span class="cx"> /* End PBXShellScriptBuildPhase section */
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebKit2/ChangeLog        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -1,5 +1,22 @@
</span><span class="cx"> 2016-01-26  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        WebKitAdditions should be able to modify derived source rules
+        https://bugs.webkit.org/show_bug.cgi?id=153514
+
+        Reviewed by Tim Horton.
+
+        * Configurations/BaseTarget.xcconfig:
+        * Configurations/WebKit.xcconfig:
+        Set WEBKITADDITIONS_HEADER_SEARCH_PATHS.
+
+        * DerivedSources.make:
+        Move the path computation earlier and include WebKitDerivedSourcesAdditions.make.
+
+        * WebKit2.xcodeproj/project.pbxproj:
+        Pass our WebKitAdditions paths as include paths to make.
+
+2016-01-26  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         Add a private WKUIDelegate method for getting a presenting view controller for a WKWebView on iOS
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=153510
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsBaseTargetxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/BaseTarget.xcconfig (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/BaseTarget.xcconfig        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebKit2/Configurations/BaseTarget.xcconfig        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -30,7 +30,8 @@
</span><span class="cx"> 
</span><span class="cx"> GCC_PREFIX_HEADER = WebKit2Prefix.h;
</span><span class="cx"> GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(FEATURE_DEFINES) $(WK_MANUAL_SANDBOXING_DEFINES) FRAMEWORK_NAME=WebKit
</span><del>-HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include &quot;$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders&quot; &quot;$(WEBCORE_PRIVATE_HEADERS_DIR)/icu&quot; $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2 $(HEADER_SEARCH_PATHS);
</del><ins>+WEBKITADDITIONS_HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include/WebKitAdditions $(SDKROOT)/usr/local/include/WebKitAdditions;
+HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include &quot;$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders&quot; &quot;$(WEBCORE_PRIVATE_HEADERS_DIR)/icu&quot; $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2 $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) $(HEADER_SEARCH_PATHS);
</ins><span class="cx"> 
</span><span class="cx"> OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
</span><span class="cx"> OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS);
</span></span></pre></div>
<a id="trunkSourceWebKit2ConfigurationsWebKitxcconfig"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/Configurations/WebKit.xcconfig (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/Configurations/WebKit.xcconfig        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebKit2/Configurations/WebKit.xcconfig        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -33,7 +33,7 @@
</span><span class="cx"> INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR);
</span><span class="cx"> DYLIB_INSTALL_NAME_BASE = $(NORMAL_WEBKIT_FRAMEWORKS_DIR);
</span><span class="cx"> 
</span><del>-FRAMEWORK_AND_LIBRARY_LDFLAGS_BASE_ios = -lobjc -framework AssertionServices -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CorePDF -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework UIKit -framework OpenGLES -framework MobileCoreServices -lMobileGestalt;
</del><ins>+FRAMEWORK_AND_LIBRARY_LDFLAGS_BASE_ios = -lobjc -framework AssertionServices -framework CFNetwork -framework CoreFoundation -framework CoreGraphics -framework CorePDF -framework CoreText -framework Foundation -framework GraphicsServices -framework ImageIO -framework PassKit -framework UIKit -framework OpenGLES -framework MobileCoreServices -lMobileGestalt;
</ins><span class="cx"> FRAMEWORK_AND_LIBRARY_LDFLAGS[sdk=iphoneos*] = $(FRAMEWORK_AND_LIBRARY_LDFLAGS_BASE_ios) -framework IOSurface;
</span><span class="cx"> FRAMEWORK_AND_LIBRARY_LDFLAGS[sdk=iphonesimulator*] = $(FRAMEWORK_AND_LIBRARY_LDFLAGS_BASE_ios);
</span><span class="cx"> FRAMEWORK_AND_LIBRARY_LDFLAGS[sdk=macosx*] = -framework ApplicationServices -framework Carbon -framework Cocoa -framework CoreServices -framework IOKit -framework CoreAudio -framework IOSurface -framework OpenGL;
</span></span></pre></div>
<a id="trunkSourceWebKit2DerivedSourcesmake"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/DerivedSources.make (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/DerivedSources.make        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebKit2/DerivedSources.make        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -147,6 +147,11 @@
</span><span class="cx">     $(WebKit2)/Scripts/webkit/parser.py \
</span><span class="cx"> #
</span><span class="cx"> 
</span><ins>+FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print &quot;-F &quot; . join(&quot; -F &quot;, split(&quot; &quot;, &lt;&gt;));')
+HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print &quot;-I&quot; . join(&quot; -I&quot;, split(&quot; &quot;, &lt;&gt;));')
+
+-include WebKitDerivedSourcesAdditions.make
+
</ins><span class="cx"> .PHONY : all
</span><span class="cx"> 
</span><span class="cx"> all : \
</span><span class="lines">@@ -163,9 +168,6 @@
</span><span class="cx">         @python $(WebKit2)/Scripts/generate-messages-header.py $&lt; &gt; $@
</span><span class="cx"> 
</span><span class="cx"> 
</span><del>-FRAMEWORK_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(FRAMEWORK_SEARCH_PATHS) | perl -e 'print &quot;-F &quot; . join(&quot; -F &quot;, split(&quot; &quot;, &lt;&gt;));')
-HEADER_FLAGS = $(shell echo $(BUILT_PRODUCTS_DIR) $(HEADER_SEARCH_PATHS) | perl -e 'print &quot;-I&quot; . join(&quot; -I&quot;, split(&quot; &quot;, &lt;&gt;));')
-
</del><span class="cx"> # Some versions of clang incorrectly strip out // comments in c89 code.
</span><span class="cx"> # Use -traditional as a workaround, but only when needed since that causes
</span><span class="cx"> # other problems with later versions of clang.
</span></span></pre></div>
<a id="trunkSourceWebKit2WebKit2xcodeprojprojectpbxproj"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj (195634 => 195635)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2016-01-27 00:08:12 UTC (rev 195634)
+++ trunk/Source/WebKit2/WebKit2.xcodeproj/project.pbxproj        2016-01-27 00:29:42 UTC (rev 195635)
</span><span class="lines">@@ -9266,7 +9266,7 @@
</span><span class="cx">                         );
</span><span class="cx">                         runOnlyForDeploymentPostprocessing = 0;
</span><span class="cx">                         shellPath = /bin/sh;
</span><del>-                        shellScript = &quot;mkdir -p \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit2\&quot;\ncd \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit2\&quot;\n\nexport WebKit2=\&quot;${SRCROOT}\&quot;\n\nif [ ! $CC ]; then\n    export CC=\&quot;`xcrun -find clang`\&quot;\nfi\n\nif [ \&quot;${ACTION}\&quot; = \&quot;build\&quot; -o \&quot;${ACTION}\&quot; = \&quot;install\&quot; -o \&quot;${ACTION}\&quot; = \&quot;installhdrs\&quot; ]; then\n    make --no-builtin-rules -f \&quot;${WebKit2}/DerivedSources.make\&quot; -j `/usr/sbin/sysctl -n hw.activecpu` SDKROOT=${SDKROOT}\nfi\n&quot;;
</del><ins>+                        shellScript = &quot;mkdir -p \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit2\&quot;\ncd \&quot;${BUILT_PRODUCTS_DIR}/DerivedSources/WebKit2\&quot;\n\nexport WebKit2=\&quot;${SRCROOT}\&quot;\n\nif [ ! $CC ]; then\n    export CC=\&quot;`xcrun -find clang`\&quot;\nfi\n\nMAKEFILE_INCLUDE_FLAGS=$(echo \&quot;${WEBKITADDITIONS_HEADER_SEARCH_PATHS}\&quot; | perl -e 'print \&quot;-I\&quot; . join(\&quot; -I\&quot;, split(\&quot; \&quot;, &lt;&gt;));')\n\nif [ \&quot;${ACTION}\&quot; = \&quot;build\&quot; -o \&quot;${ACTION}\&quot; = \&quot;install\&quot; -o \&quot;${ACTION}\&quot; = \&quot;installhdrs\&quot; ]; then\n    make --no-builtin-rules ${MAKEFILE_INCLUDE_FLAGS} -d -f \&quot;${WebKit2}/DerivedSources.make\&quot; -j `/usr/sbin/sysctl -n hw.activecpu` SDKROOT=${SDKROOT}\nfi\n&quot;;
</ins><span class="cx">                 };
</span><span class="cx"> /* End PBXShellScriptBuildPhase section */
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>