Title: [273849] trunk/Source/WTF
Revision
273849
Author
ysuz...@apple.com
Date
2021-03-03 15:31:21 -0800 (Wed, 03 Mar 2021)

Log Message

[WTF] Add System.framework PrivateHeaders to header path of WTF
https://bugs.webkit.org/show_bug.cgi?id=222688

Reviewed by Tim Horton.

The other non-third-party components excluding WTF have System.framework PrivateHeaders in their header search path.
This causes the problem that we cannot use some system headers (e.g. `<machine/cpu_capabilities.h>`) in WTF while it is
usable in _javascript_Core and the other components. This patch adds it as the other components did.

* Configurations/Base.xcconfig:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (273848 => 273849)


--- trunk/Source/WTF/ChangeLog	2021-03-03 23:07:08 UTC (rev 273848)
+++ trunk/Source/WTF/ChangeLog	2021-03-03 23:31:21 UTC (rev 273849)
@@ -1,3 +1,16 @@
+2021-03-03  Yusuke Suzuki  <ysuz...@apple.com>
+
+        [WTF] Add System.framework PrivateHeaders to header path of WTF
+        https://bugs.webkit.org/show_bug.cgi?id=222688
+
+        Reviewed by Tim Horton.
+
+        The other non-third-party components excluding WTF have System.framework PrivateHeaders in their header search path.
+        This causes the problem that we cannot use some system headers (e.g. `<machine/cpu_capabilities.h>`) in WTF while it is
+        usable in _javascript_Core and the other components. This patch adds it as the other components did.
+
+        * Configurations/Base.xcconfig:
+
 2021-03-03  Michael Catanzaro  <mcatanz...@gnome.org>
 
         std::is_literal_type causes -Wdeprecated-declarations warning with GCC 11

Modified: trunk/Source/WTF/Configurations/Base.xcconfig (273848 => 273849)


--- trunk/Source/WTF/Configurations/Base.xcconfig	2021-03-03 23:07:08 UTC (rev 273848)
+++ trunk/Source/WTF/Configurations/Base.xcconfig	2021-03-03 23:31:21 UTC (rev 273849)
@@ -128,6 +128,8 @@
 
 SDKROOT = macosx.internal;
 
+OTHER_CPLUSPLUSFLAGS = $(inherited) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders;
+
 LLVM_LTO = $(WK_LLVM_LTO_$(WK_XCODE_SUPPORTS_LTO));
 WK_LLVM_LTO_NO = NO;
 WK_LLVM_LTO_YES = $(WK_USER_LTO_MODE);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to