Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (289090 => 289091)
--- trunk/Source/_javascript_Core/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/_javascript_Core/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,15 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Updated DYLIB_INSTALL_NAME_BASE for Catalyst builds to use _javascript_CORE_FRAMEWORKS_DIR, which doesn't have the
+ system content path prefix.
+
+ * Configurations/_javascript_Core.xcconfig:
+
2022-02-03 Yusuke Suzuki <ysuz...@apple.com>
[JSC] MultiDeleteByOffset should not define value
Modified: trunk/Source/_javascript_Core/Configurations/_javascript_Core.xcconfig (289090 => 289091)
--- trunk/Source/_javascript_Core/Configurations/_javascript_Core.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/_javascript_Core/Configurations/_javascript_Core.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -46,7 +46,7 @@
INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(_javascript_CORE_FRAMEWORKS_DIR);
DYLIB_INSTALL_NAME_BASE = $(DYLIB_INSTALL_NAME_BASE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_NO = $(NORMAL_JAVASCRIPTCORE_FRAMEWORKS_DIR)
-DYLIB_INSTALL_NAME_BASE_YES = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_YES = $(_javascript_CORE_FRAMEWORKS_DIR);
PRODUCT_NAME = _javascript_Core;
PRODUCT_BUNDLE_IDENTIFIER = com.apple.$(PRODUCT_NAME:rfc1034identifier);
Modified: trunk/Source/ThirdParty/ANGLE/ChangeLog (289090 => 289091)
--- trunk/Source/ThirdParty/ANGLE/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/ThirdParty/ANGLE/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,14 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Updated DYLIB_INSTALL_NAME_BASE for Catalyst builds to not use the system content path prefix.
+
+ * Configurations/ANGLE-dynamic.xcconfig:
+
2022-01-18 Alex Christensen <achristen...@webkit.org>
Use c++2a instead of gnu++2a for Cocoa builds
Modified: trunk/Source/ThirdParty/ANGLE/Configurations/ANGLE-dynamic.xcconfig (289090 => 289091)
--- trunk/Source/ThirdParty/ANGLE/Configurations/ANGLE-dynamic.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/ThirdParty/ANGLE/Configurations/ANGLE-dynamic.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -26,8 +26,8 @@
DYLIB_INSTALL_NAME_BASE[sdk=macosx*] = $(DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_$(WK_RELOCATABLE_FRAMEWORKS));
-DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(DYLIB_INSTALL_NAME_BASE);
-DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_ = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebCore.framework/Versions/A/Frameworks;
+DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_ = $(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Versions/A/Frameworks;
DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_YES = @loader_path/../../../;
HEADER_SEARCH_PATHS = ${DERIVED_FILES_DIR} include src src/common/third_party/numerics third_party/base src/common/third_party/base third_party/zlib/google ${DERIVED_FILES_DIR};
Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (289090 => 289091)
--- trunk/Source/ThirdParty/libwebrtc/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,14 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Updated DYLIB_INSTALL_NAME_BASE for Catalyst builds to not use the system content path prefix.
+
+ * Configurations/libwebrtc.xcconfig:
+
2022-02-02 Elliott Williams <e...@apple.com>
[Xcode] Fix redundant execution of "Check VTables..." script
Modified: trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.xcconfig (289090 => 289091)
--- trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/ThirdParty/libwebrtc/Configurations/libwebrtc.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -42,7 +42,7 @@
DYLIB_INSTALL_NAME_BASE[sdk=macosx*] = $(DYLIB_INSTALL_NAME_BASE_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_$(WK_RELOCATABLE_FRAMEWORKS));
DYLIB_INSTALL_NAME_BASE_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(DYLIB_INSTALL_NAME_BASE);
-DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_ = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_ = $(NORMAL_WEBCORE_FRAMEWORKS_DIR)/WebCore.framework/Versions/A/Frameworks;
DYLIB_INSTALL_NAME_BASE_WK_RELOCATABLE_FRAMEWORKS_YES = @loader_path/../../../;
GCC_WARN_64_TO_32_BIT_CONVERSION = NO;
Modified: trunk/Source/WebCore/ChangeLog (289090 => 289091)
--- trunk/Source/WebCore/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebCore/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,16 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Added WK_USE_ALTERNATE_FRAMEWORKS_DIR based computation to the WEBCORE_FRAMEWORKS_DIR production.
+ This allowed the simplification of NORMAL_PRODUCTION_FRAMEWORKS_DIR.
+ Changed DYLIB_INSTALL_NAME_BASE_PLATFORM for Catalyst builds to use WEBCORE_FRAMEWORKS_DIR.
+
+ * Configurations/WebCore.xcconfig:
+
2022-02-03 Ben Nham <n...@apple.com>
LocalStorage values should be 8-bit strings in memory if possible
Modified: trunk/Source/WebCore/Configurations/WebCore.xcconfig (289090 => 289091)
--- trunk/Source/WebCore/Configurations/WebCore.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebCore/Configurations/WebCore.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -67,7 +67,7 @@
DYLIB_INSTALL_NAME_BASE_PLATFORM[sdk=iphone*] = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
DYLIB_INSTALL_NAME_BASE_PLATFORM[sdk=macosx*] = $(DYLIB_INSTALL_NAME_BASE_PLATFORM_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_PLATFORM_NO = $(NORMAL_WEBCORE_FRAMEWORKS_DIR);
-DYLIB_INSTALL_NAME_BASE_PLATFORM_YES = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_PLATFORM_YES = $(WEBCORE_FRAMEWORKS_DIR);
INSTALLHDRS_COPY_PHASE = YES;
INSTALLHDRS_SCRIPT_PHASE = YES;
PRODUCT_NAME = WebCore;
@@ -158,15 +158,13 @@
NORMAL_WEBCORE_FRAMEWORKS_DIR[sdk=macosx*] = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
WEBCORE_FRAMEWORKS_DIR = $(WEBCORE_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
-WEBCORE_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(NORMAL_WEBCORE_FRAMEWORKS_DIR);
+WEBCORE_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(WEBCORE_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
WEBCORE_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR);
+WEBCORE_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(NORMAL_WEBCORE_FRAMEWORKS_DIR);
+WEBCORE_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
-NORMAL_PRODUCTION_FRAMEWORKS_DIR = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH));
-NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_YES[sdk=iphone*] = $(SYSTEM_CONTENT_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
-NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_YES[sdk=macosx*] = $(SYSTEM_CONTENT_PATH)$(SYSTEM_LIBRARY_DIR)/Frameworks;
-NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_ = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_NO);
-NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_NO[sdk=iphone*] = $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
-NORMAL_PRODUCTION_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_NO[sdk=macosx*] = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks;
+NORMAL_PRODUCTION_FRAMEWORKS_DIR[sdk=iphone*] = $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
+NORMAL_PRODUCTION_FRAMEWORKS_DIR[sdk=macosx*] = $(NEXT_ROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks;
PRODUCTION_FRAMEWORKS_DIR = $(PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_YES = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR);
Modified: trunk/Source/WebKit/ChangeLog (289090 => 289091)
--- trunk/Source/WebKit/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,26 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Refactored build variable computation so that WEBKIT_FRAMEWORKS_DIR doesn't have the system content path
+ prepended. This refactoring includes:
+ - Created INSTALL_PATH_PREFIX to have the system content path when in use.
+ - Changed WEBKIT_FRAMEWORKS_DIR computation to eliminate the inclusion the SYSTEM_CONTENT_PATH.
+ - Added INSTALL_PATH_PREFIX to the various INSTALL_PATH computations.
+ - Changed the various DYLIB_INSTALL_NAME_BASE computations for Catalyst builds to use WEBKIT_FRAMEWORKS_DIR.
+
+ * Configurations/Base.xcconfig:
+ * Configurations/BaseTarget.xcconfig:
+ * Configurations/BaseXPCService.xcconfig:
+ * Configurations/Shim.xcconfig:
+ * Configurations/WebKit.xcconfig:
+ * Configurations/WebKitSwift.xcconfig:
+ * Configurations/adattributiond.xcconfig:
+ * Configurations/webpushd.xcconfig:
+
2022-02-03 Wenson Hsieh <wenson_hs...@apple.com>
Add plumbing to inform WebPageProxy when videos play, pause, seek, and enter or exit fullscreen
Modified: trunk/Source/WebKit/Configurations/Base.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/Base.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/Base.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -29,6 +29,9 @@
USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
+INSTALL_PATH_PREFIX = $(INSTALL_PATH_PREFIX_$(USE_SYSTEM_CONTENT_PATH));
+INSTALL_PATH_PREFIX_YES = $(SYSTEM_CONTENT_PATH);
+
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = c++2a;
Modified: trunk/Source/WebKit/Configurations/BaseTarget.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/BaseTarget.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/BaseTarget.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -66,10 +66,7 @@
NORMAL_WEBKIT_FRAMEWORKS_DIR = $(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/Frameworks;
-WEBKIT_FRAMEWORKS_DIR = $(WEBKIT_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH));
-WEBKIT_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_YES = $(SYSTEM_CONTENT_PATH)$(NORMAL_WEBKIT_FRAMEWORKS_DIR);
-WEBKIT_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_ = $(WEBKIT_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_NO);
-WEBKIT_FRAMEWORKS_DIR_USE_SYSTEM_CONTENT_PATH_NO = $(WEBKIT_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
+WEBKIT_FRAMEWORKS_DIR = $(WEBKIT_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
WEBKIT_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(NORMAL_WEBKIT_FRAMEWORKS_DIR);
WEBKIT_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR);
Modified: trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -29,7 +29,7 @@
EXECUTABLE_SUFFIX = $(WK_XPC_SERVICE_SUFFIX);
-INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)XPCServices;
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)XPCServices;
APP_ICON = $(APP_ICON_$(CONFIGURATION));
APP_ICON_Debug = WebKit.icns;
Modified: trunk/Source/WebKit/Configurations/Shim.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/Shim.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/Shim.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -26,4 +26,4 @@
GCC_DYNAMIC_NO_PIC = NO;
SKIP_INSTALL = YES;
-INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/Frameworks;
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/Versions/A/Frameworks;
Modified: trunk/Source/WebKit/Configurations/WebKit.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/WebKit.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/WebKit.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -33,14 +33,11 @@
MODULEMAP_FILE_cocoatouch = Modules/iOS.modulemap;
MODULEMAP_FILE_ = Modules/OSX.modulemap;
-INSTALL_PATH = $(INSTALL_PATH_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH));
-INSTALL_PATH_USE_SYSTEM_CONTENT_PATH_ = $(INSTALL_PATH_USE_SYSTEM_CONTENT_PATH_NO);
-INSTALL_PATH_USE_SYSTEM_CONTENT_PATH_NO = $(WEBKIT_FRAMEWORKS_DIR);
-INSTALL_PATH_USE_SYSTEM_CONTENT_PATH_YES = $(SYSTEM_CONTENT_PATH)$(NORMAL_WEBKIT_FRAMEWORKS_DIR);
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR);
DYLIB_INSTALL_NAME_BASE = $(DYLIB_INSTALL_NAME_BASE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_NO = $(NORMAL_WEBKIT_FRAMEWORKS_DIR);
-DYLIB_INSTALL_NAME_BASE_YES = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_YES = $(WEBKIT_FRAMEWORKS_DIR);
ALTERNATE_ROOT_PATH = $(NORMAL_WEBKIT_FRAMEWORKS_DIR);
Modified: trunk/Source/WebKit/Configurations/WebKitSwift.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/WebKitSwift.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/WebKitSwift.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -27,8 +27,10 @@
PRODUCT_NAME = libWebKitSwift;
SWIFT_OBJC_INTERFACE_HEADER_NAME = WebKitSwift-Swift.h
-INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Frameworks;
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Frameworks;
+DYLIB_INSTALL_NAME_BASE = $(WEBKIT_FRAMEWORKS_DIR);
+
WK_HAVE_COORDINATOR = $(WK_HAVE_COORDINATOR_$(WK_PLATFORM_NAME));
WK_HAVE_COORDINATOR_macosx = $(WK_HAVE_COORDINATOR$(WK_MACOS_1200));
WK_HAVE_COORDINATOR_MACOS_SINCE_1200 = YES;
Modified: trunk/Source/WebKit/Configurations/adattributiond.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/adattributiond.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/adattributiond.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -34,4 +34,4 @@
WK_CODE_SIGN_FLAGS_iphoneos = --entitlements $(WK_PROCESSED_XCENT_FILE);
OTHER_CODE_SIGN_FLAGS = $(WK_CODE_SIGN_FLAGS);
-INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Daemons;
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Daemons;
Modified: trunk/Source/WebKit/Configurations/webpushd.xcconfig (289090 => 289091)
--- trunk/Source/WebKit/Configurations/webpushd.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKit/Configurations/webpushd.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -41,6 +41,6 @@
OTHER_CODE_SIGN_FLAGS[sdk=macos*] = $(OTHER_CODE_SIGN_FLAGS_$(USE_INTERNAL_SDK));
OTHER_CODE_SIGN_FLAGS_YES = --entitlements $(WK_PROCESSED_XCENT_FILE);
-INSTALL_PATH = $(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Daemons;
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(WEBKIT_FRAMEWORKS_DIR)/WebKit.framework/$(WK_FRAMEWORK_VERSION_PREFIX)Daemons;
SKIP_INSTALL = $(WK_SKIP_INSTALL_WEBPUSHD)
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (289090 => 289091)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2022-02-04 01:16:05 UTC (rev 289091)
@@ -1,3 +1,20 @@
+2022-02-03 Michael Saboff <msab...@apple.com>
+
+ WebKit projects have incorrect install name for the frameworks for Catalyst builds with the system content path
+ https://bugs.webkit.org/show_bug.cgi?id=236105
+
+ Reviewed by Saam Barati.
+
+ Refactored build variable computation so that WEBKIT_LEGACY_FRAMEWORKS_DIR doesn't have the system content path
+ prepended. This refactoring includes:
+ - Created INSTALL_PATH_PREFIX to have the system content path when in use.
+ - Changed WEBKIT_LEGACY_FRAMEWORKS_DIR computation to eliminate the inclusion the SYSTEM_CONTENT_PATH.
+ - Reworked INSTALL_PATH to use INSTALL_PATH_PREFIX in the main productions instead of each of variants.
+ - Changed DYLIB_INSTALL_NAME_BASE computation for Catalyst builds to use WEBKIT_LEGACY_FRAMEWORKS_DIR.
+
+ * Configurations/Base.xcconfig:
+ * Configurations/WebKitLegacy.xcconfig:
+
2022-02-01 Myles C. Maxfield <mmaxfi...@apple.com>
Rename FontCascade::fontMetrics() and RenderStyle::fontMetrics() to fontMetricsOfPrimaryFont()
Modified: trunk/Source/WebKitLegacy/mac/Configurations/Base.xcconfig (289090 => 289091)
--- trunk/Source/WebKitLegacy/mac/Configurations/Base.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKitLegacy/mac/Configurations/Base.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -31,6 +31,9 @@
USE_INTERNAL_SDK_Debug = $(HAVE_INTERNAL_SDK);
USE_INTERNAL_SDK_Release = $(HAVE_INTERNAL_SDK);
+INSTALL_PATH_PREFIX = $(INSTALL_PATH_PREFIX_$(USE_SYSTEM_CONTENT_PATH));
+INSTALL_PATH_PREFIX_YES = $(SYSTEM_CONTENT_PATH);
+
ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_CXX_LANGUAGE_STANDARD = c++2a;
Modified: trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig (289090 => 289091)
--- trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig 2022-02-04 01:06:52 UTC (rev 289090)
+++ trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig 2022-02-04 01:16:05 UTC (rev 289091)
@@ -62,16 +62,13 @@
HEADER_SEARCH_PATHS = "$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders" "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy" "$(BUILT_PRODUCTS_DIR)/usr/local/include" $(WEBGPU_HEADER_SEARCH_PATHS) $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) $(LIBWEBRTC_HEADER_SEARCH_PATHS) $(HEADER_SEARCH_PATHS) $(SRCROOT);
INFOPLIST_FILE = mac/Info.plist;
-INSTALL_PATH_PREFIX = $(INSTALL_PATH_PREFIX_USE_SYSTEM_CONTENT_PATH_$(USE_SYSTEM_CONTENT_PATH));
-INSTALL_PATH_PREFIX_USE_SYSTEM_CONTENT_PATH_YES = $(SYSTEM_CONTENT_PATH);
+INSTALL_PATH = $(INSTALL_PATH_PREFIX)$(INSTALL_PATH_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
+INSTALL_PATH_COCOA_TOUCH_YES = $(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
+INSTALL_PATH_COCOA_TOUCH_NO = $(WEBKIT_LEGACY_FRAMEWORKS_DIR);
-INSTALL_PATH = $(INSTALL_PATH_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
-INSTALL_PATH_COCOA_TOUCH_YES = $(INSTALL_PATH_PREFIX)$(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
-INSTALL_PATH_COCOA_TOUCH_NO = $(INSTALL_PATH_PREFIX)$(WEBKIT_LEGACY_FRAMEWORKS_DIR);
-
DYLIB_INSTALL_NAME_BASE = $(DYLIB_INSTALL_NAME_BASE_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
DYLIB_INSTALL_NAME_BASE_NO = $(NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR);
-DYLIB_INSTALL_NAME_BASE_YES = $(DYLIB_INSTALL_NAME_BASE);
+DYLIB_INSTALL_NAME_BASE_YES = $(WEBKIT_LEGACY_FRAMEWORKS_DIR);
DYLIB_INSTALL_NAME_BASE[sdk=iphone*] = $(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
INSTALLHDRS_COPY_PHASE = YES;
@@ -124,8 +121,10 @@
NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR_COCOA_TOUCH_NO = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Frameworks;
WEBKIT_LEGACY_FRAMEWORKS_DIR = $(WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_$(WK_USE_OVERRIDE_FRAMEWORKS_DIR));
-WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR);
+WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_NO = $(WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_$(WK_USE_ALTERNATE_FRAMEWORKS_DIR));
WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_OVERRIDE_FRAMEWORKS_DIR_YES = $(WK_OVERRIDE_FRAMEWORKS_DIR);
+WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_NO = $(NORMAL_WEBKIT_LEGACY_FRAMEWORKS_DIR);
+WEBKIT_LEGACY_FRAMEWORKS_DIR_USE_ALTERNATE_FRAMEWORKS_DIR_YES = $(WK_ALTERNATE_FRAMEWORKS_DIR)/$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;
NORMAL_PRODUCTION_FRAMEWORKS_DIR = $(NORMAL_PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH));
NORMAL_PRODUCTION_FRAMEWORKS_DIR_COCOA_TOUCH_YES = $(SDKROOT)$(INSTALL_PATH_PREFIX)$(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;