Title: [222810] trunk/Source/WebCore
Revision
222810
Author
[email protected]
Date
2017-10-03 14:12:38 -0700 (Tue, 03 Oct 2017)

Log Message

Include a few widespread WTF headers in WebCorePrefix.h
https://bugs.webkit.org/show_bug.cgi?id=173481

Reviewed by Alex Christensen.

* WebCorePrefix.h:
These are four of the headers that contribute the most pre-processed
source to the WebCore build. They (and their dependents) change infrequently
enough that a world rebuild of WebCore when they change seems like an
acceptable tradeoff for the ~9% reduction in WebCore build time that I
measure from this change.

We can't do this on macOS 10.12 because of https://bugs.llvm.org/show_bug.cgi?id=33520.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (222809 => 222810)


--- trunk/Source/WebCore/ChangeLog	2017-10-03 21:10:49 UTC (rev 222809)
+++ trunk/Source/WebCore/ChangeLog	2017-10-03 21:12:38 UTC (rev 222810)
@@ -1,3 +1,19 @@
+2017-10-03  Tim Horton  <[email protected]>
+
+        Include a few widespread WTF headers in WebCorePrefix.h
+        https://bugs.webkit.org/show_bug.cgi?id=173481
+
+        Reviewed by Alex Christensen.
+
+        * WebCorePrefix.h:
+        These are four of the headers that contribute the most pre-processed
+        source to the WebCore build. They (and their dependents) change infrequently
+        enough that a world rebuild of WebCore when they change seems like an
+        acceptable tradeoff for the ~9% reduction in WebCore build time that I
+        measure from this change.
+
+        We can't do this on macOS 10.12 because of https://bugs.llvm.org/show_bug.cgi?id=33520.
+
 2017-10-03  Daniel Bates  <[email protected]>
 
         XMLHttpRequest.setRequestHeader() should allow Content-Transfer-Encoding header; remove

Modified: trunk/Source/WebCore/WebCorePrefix.h (222809 => 222810)


--- trunk/Source/WebCore/WebCorePrefix.h	2017-10-03 21:10:49 UTC (rev 222809)
+++ trunk/Source/WebCore/WebCorePrefix.h	2017-10-03 21:12:38 UTC (rev 222810)
@@ -166,6 +166,15 @@
 #endif
 
 #ifdef __cplusplus
+
+#if !PLATFORM(MAC) || __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300
+#import <wtf/FastMalloc.h>
+#import <wtf/Optional.h>
+#import <wtf/StdLibExtras.h>
+#import <wtf/text/AtomicString.h>
+#import <wtf/text/WTFString.h>
+#endif
+
 #define new ("if you use new/delete make sure to include config.h at the top of the file"()) 
 #define delete ("if you use new/delete make sure to include config.h at the top of the file"()) 
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to