Title: [242581] trunk/Source/WebKitLegacy
- Revision
- 242581
- Author
- [email protected]
- Date
- 2019-03-06 16:51:52 -0800 (Wed, 06 Mar 2019)
Log Message
WebKitLegacy does not need to generate an export file for i386 anymore
https://bugs.webkit.org/show_bug.cgi?id=195380
Patch by Sam Weinig <[email protected]> on 2019-03-06
Reviewed by Dan Bernstein.
Source/WebKitLegacy:
* WebKitLegacy.xcodeproj/project.pbxproj:
Update and simplify the "Generate Export Files" phase now that we don't need
separate export files for i386 and x86_64.
Source/WebKitLegacy/mac:
* Configurations/WebKitLegacy.xcconfig:
Simplify EXPORTED_SYMBOLS_FILE down to just a single path to a generated file.
It still needs to be generated, since we are concatenating the shared exports
file with a macOS or iOS specific one.
* WebKit.mac.exp:
Remove i386 specific symbols that we were previously stripping.
Modified Paths
Diff
Modified: trunk/Source/WebKitLegacy/ChangeLog (242580 => 242581)
--- trunk/Source/WebKitLegacy/ChangeLog 2019-03-07 00:43:24 UTC (rev 242580)
+++ trunk/Source/WebKitLegacy/ChangeLog 2019-03-07 00:51:52 UTC (rev 242581)
@@ -1,3 +1,14 @@
+2019-03-06 Sam Weinig <[email protected]>
+
+ WebKitLegacy does not need to generate an export file for i386 anymore
+ https://bugs.webkit.org/show_bug.cgi?id=195380
+
+ Reviewed by Dan Bernstein.
+
+ * WebKitLegacy.xcodeproj/project.pbxproj:
+ Update and simplify the "Generate Export Files" phase now that we don't need
+ separate export files for i386 and x86_64.
+
2019-03-01 Tim Horton <[email protected]>
Remove unused code in WebKitLegacy
Modified: trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj (242580 => 242581)
--- trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj 2019-03-07 00:43:24 UTC (rev 242580)
+++ trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj 2019-03-07 00:51:52 UTC (rev 242581)
@@ -3226,13 +3226,11 @@
);
name = "Generate Export Files";
outputPaths = (
- "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.LP64.exp",
"$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.generated.exp",
- "$(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.i386.exp",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "mkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKitLegacy\"\n\nfor WK_CURRENT_ARCH in ${ARCHS}; do\n if [[ \"${WK_PLATFORM_NAME}\" != \"macosx\" ]]; then\n EXP_GENERATED=\"${EXPORTED_SYMBOLS_FILE_cocoatouch}\"\n EXP_WEBKIT_PLATFORM=\"${PROJECT_DIR}/ios/WebKit.iOS.exp\"\n else\n eval EXP_GENERATED=\"\\${EXPORTED_SYMBOLS_FILE_${WK_CURRENT_ARCH}}\"\n EXP_WEBKIT_PLATFORM=\"${PROJECT_DIR}/mac/WebKit.mac.exp\"\n fi\n\n [[ -z \"${EXP_GENERATED}\" ]] && exit 1\n\n cat \"${PROJECT_DIR}/mac/WebKit.exp\" > \"${EXP_GENERATED}\"\n cat \"${EXP_WEBKIT_PLATFORM}\" >> \"${EXP_GENERATED}\"\n\n EXP_REEXPORTED=\"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKitLegacy/ReexportedWebCoreSymbols_${WK_CURRENT_ARCH}.exp\"\n [[ -f \"${EXP_REEXPORTED}\" ]] && cat \&
quot;${EXP_REEXPORTED}\" >> \"${EXP_GENERATED}\"\n\n if [[ \"${WK_CURRENT_ARCH}\" == \"i386\" ]]; then\n # exclude OBJC_IVAR for i386\n sed -e 's/.*_OBJC_IVAR.*//' -i \"\" \"${EXP_GENERATED}\"\n elif [[ \"${WK_CURRENT_ARCH}\" == \"x86_64\" ]]; then\n # exclude Carbon functions on 64-bit\n sed -e s/^_HIWebViewCreate$// -e s/^_HIWebViewGetWebView$// -e s/^_WebConvertNSImageToCGImageRef$// -e s/^_WebInitForCarbon$// -i \"\" \"${EXP_GENERATED}\"\n fi\ndone\n";
+ shellScript = "set -e\n\nmkdir -p \"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKitLegacy\"\n\nEXP_GENERATED=\"${EXPORTED_SYMBOLS_FILE}\"\n\n[[ -z \"${EXP_GENERATED}\" ]] && exit 1\n\nif [[ \"${WK_PLATFORM_NAME}\" != \"macosx\" ]]; then\n EXP_WEBKIT_PLATFORM=\"${PROJECT_DIR}/ios/WebKit.iOS.exp\"\nelse\n EXP_WEBKIT_PLATFORM=\"${PROJECT_DIR}/mac/WebKit.mac.exp\"\nfi\n\ncat \"${PROJECT_DIR}/mac/WebKit.exp\" > \"${EXP_GENERATED}\"\ncat \"${EXP_WEBKIT_PLATFORM}\" >> \"${EXP_GENERATED}\"\n\nfor WK_CURRENT_ARCH in ${ARCHS}; do\n EXP_REEXPORTED=\"${BUILT_PRODUCTS_DIR}/DerivedSources/WebKitLegacy/ReexportedWebCoreSymbols_${WK_CURRENT_ARCH}.exp\"\n if [[ -f \"${EXP_REEXPORTED}\" ]]; then\n cat \"${EXP_REEXPORTED}\" >> \"${EXP_GENERATED}\"\n fi\ndone\n";
};
1C6CB0510AA63EB000D23BFD /* Migrate Headers */ = {
isa = PBXShellScriptBuildPhase;
Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (242580 => 242581)
--- trunk/Source/WebKitLegacy/mac/ChangeLog 2019-03-07 00:43:24 UTC (rev 242580)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog 2019-03-07 00:51:52 UTC (rev 242581)
@@ -1,3 +1,18 @@
+2019-03-06 Sam Weinig <[email protected]>
+
+ WebKitLegacy does not need to generate an export file for i386 anymore
+ https://bugs.webkit.org/show_bug.cgi?id=195380
+
+ Reviewed by Dan Bernstein.
+
+ * Configurations/WebKitLegacy.xcconfig:
+ Simplify EXPORTED_SYMBOLS_FILE down to just a single path to a generated file.
+ It still needs to be generated, since we are concatenating the shared exports
+ file with a macOS or iOS specific one.
+
+ * WebKit.mac.exp:
+ Remove i386 specific symbols that we were previously stripping.
+
2019-03-06 Rob Buis <[email protected]>
Consider supporting the `referrerpolicy` attribute.
Modified: trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig (242580 => 242581)
--- trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig 2019-03-07 00:43:24 UTC (rev 242580)
+++ trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig 2019-03-07 00:51:52 UTC (rev 242581)
@@ -28,12 +28,7 @@
EXCLUDED_SOURCE_FILE_NAMES_cocoatouch = *.defs *.xib *.pdf *.tiff CarbonUtils.* CarbonWindowAdapter.* CarbonWindowContentView.* CarbonWindowFrame.* HIViewAdapter.* HIWebView.* OutlookQuirksUserScript.js PopupMenuMac.* SearchPopupMenuMac.* WebClipView.* WebDashboardRegion.* WebDynamicScrollBarsView.* WebIconDatabase.* WebInspectorClient.* WebJavaScriptTextInputPanel.* WebNSEventExtras.* WebNSPasteboardExtras.* WebNSWindowExtras.* WebPanelAuthenticationHandler.* WebPluginsPrivate.* WebStringTruncator.* WebTextCompletionController.*;
EXCLUDED_SOURCE_FILE_NAMES_ = *IOS.mm MemoryMeasure.h WebCaretChangeListener.h WebFixedPositionContent.h WebFrameIOS.h WebFrameIPhone.h WebGeolocationCoreLocationProvider.h WebGeolocationPrivate.h WebGeolocationProviderIOS.h WebMIMETypeRegistry.h WebNSStringExtrasIOS.h WebNSStringExtrasIPhone.h WebPDFViewIOS.h WebPDFViewIPhone.h WebPDFViewPlaceholder.h WebSelectionRect.h WebUIKitDelegate.h WebUIKitSupport.h WebVisiblePosition.h DOMHTMLTextAreaElementPrivate.h DOMUIKitExtensions.h;
-EXPORTED_SYMBOLS_FILE = $(EXPORTED_SYMBOLS_FILE_$(WK_COCOA_TOUCH));
-EXPORTED_SYMBOLS_FILE_cocoatouch = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.generated.exp;
-EXPORTED_SYMBOLS_FILE_[arch=i386] = $(EXPORTED_SYMBOLS_FILE_i386)
-EXPORTED_SYMBOLS_FILE_[arch=x86_64] = $(EXPORTED_SYMBOLS_FILE_x86_64)
-EXPORTED_SYMBOLS_FILE_i386 = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.i386.exp;
-EXPORTED_SYMBOLS_FILE_x86_64 = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.LP64.exp;
+EXPORTED_SYMBOLS_FILE = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKitLegacy/WebKitLegacy.generated.exp;
WK_PRIVATE_FRAMEWORKS_DIR = $(WK_PRIVATE_FRAMEWORKS_DIR_$(USE_INTERNAL_SDK));
WK_PRIVATE_FRAMEWORKS_DIR_[sdk=iphone*] = $(PROJECT_DIR)/../../WebKitLibraries/WebKitPrivateFrameworkStubs/iOS/$(WK_TARGET_IOS_VERSION_MAJOR);
Modified: trunk/Source/WebKitLegacy/mac/WebKit.mac.exp (242580 => 242581)
--- trunk/Source/WebKitLegacy/mac/WebKit.mac.exp 2019-03-07 00:43:24 UTC (rev 242580)
+++ trunk/Source/WebKitLegacy/mac/WebKit.mac.exp 2019-03-07 00:51:52 UTC (rev 242581)
@@ -5,9 +5,6 @@
.objc_class_name_WebPanelAuthenticationHandler
.objc_class_name_WebStringTruncator
.objc_class_name_WebURLsWithTitles
-_HIWebViewCreate
-_HIWebViewGetWebView
-_WebConvertNSImageToCGImageRef
_WebIconDatabaseDidAddIconNotification
_WebIconDatabaseDidRemoveAllIconsNotification
_WebIconDatabaseDirectoryDefaultsKey
@@ -15,7 +12,6 @@
_WebIconMediumSize
_WebIconNotificationUserInfoURLKey
_WebIconSmallSize
-_WebInitForCarbon
_WebURLNamePboardType
_WebURLPboardType
_WebViewProgressFinishedNotification
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes