Title: [246825] trunk/Source/ThirdParty/ANGLE
Revision
246825
Author
d...@apple.com
Date
2019-06-25 18:44:53 -0700 (Tue, 25 Jun 2019)

Log Message

Script which adjusts include paths in ANGLE's copied headers breaks incremental builds
https://bugs.webkit.org/show_bug.cgi?id=199212

Patch by Kenneth Russell <k...@chromium.org> on 2019-06-25
Reviewed by Darin Adler.

Maintain and test a timestamp in adjust-angle-include-paths.sh
in order to avoid touching the headers during each build.

	* adjust-angle-include-paths.sh:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (246824 => 246825)


--- trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-06-26 01:40:52 UTC (rev 246824)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog	2019-06-26 01:44:53 UTC (rev 246825)
@@ -1,3 +1,15 @@
+2019-06-25  Kenneth Russell  <k...@chromium.org>
+
+        Script which adjusts include paths in ANGLE's copied headers breaks incremental builds
+        https://bugs.webkit.org/show_bug.cgi?id=199212
+
+        Reviewed by Darin Adler.
+
+        Maintain and test a timestamp in adjust-angle-include-paths.sh
+        in order to avoid touching the headers during each build.
+
+	* adjust-angle-include-paths.sh:
+
 2019-06-18  Kenneth Russell  <k...@chromium.org>
 
         Add preliminary ANGLE backend to WebCore

Modified: trunk/Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh (246824 => 246825)


--- trunk/Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh	2019-06-26 01:40:52 UTC (rev 246824)
+++ trunk/Source/ThirdParty/ANGLE/adjust-angle-include-paths.sh	2019-06-26 01:44:53 UTC (rev 246825)
@@ -28,7 +28,8 @@
 fi
 
 for i in $output_dir/*.h ; do
-    sed -e '
+    if [ ! -f $output_dir/angle.timestamp ] || [ $i -nt $output_dir/angle.timestamp ] ; then
+        sed -e '
 s/^#include <EGL\/\(.*\)>/#include <ANGLE\/\1>/
 s/^#include <GLES2\/\(.*\)>/#include <ANGLE\/\1>/
 s/^#include <GLES3\/\(.*\)>/#include <ANGLE\/\1>/
@@ -36,4 +37,8 @@
 s/^#include <export.h>/#include <ANGLE\/export.h>/
 s/^#include "\(eglext_angle\|gl2ext_angle\|ShaderVars\).h"/#include <ANGLE\/\1.h>/
 ' -i "" $i
+        echo Postprocessed ANGLE header $i
+    fi
 done
+
+touch $output_dir/angle.timestamp
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to