Changeset 237610 in webkit
- Timestamp:
- Oct 30, 2018, 5:15:41 PM (6 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r237607 r237610 1 2018-10-30 Alexey Proskuryakov <ap@apple.com> 2 3 Enable InstallAPI for iOS unconditionally 4 https://bugs.webkit.org/show_bug.cgi?id=191043 5 rdar://problem/32728423 6 7 Reviewed by Dan Bernstein. 8 9 * Configurations/Base.xcconfig: Enabled it. Added NSURLDownloadSPI.h as an 10 excluded header - WebKit doesn't export NSURLDownload, so the definition 11 shouldn't be processed by InstallAPI. 12 1 13 2018-10-30 Alexey Proskuryakov <ap@apple.com> 2 14 -
trunk/Source/WebKit/Configurations/Base.xcconfig
r237606 r237610 125 125 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS); 126 126 127 SUPPORTS_TEXT_BASED_API[sdk=iphone*] = $(USE_INTERNAL_SDK);127 SUPPORTS_TEXT_BASED_API[sdk=iphone*] = YES; 128 128 SUPPORTS_TEXT_BASED_API[sdk=appletv*] = NO; 129 129 SUPPORTS_TEXT_BASED_API[sdk=watch*] = NO; -
trunk/Source/WebKit/Configurations/WebKit.xcconfig
r237606 r237610 140 140 // FIXME: Remove -reexport_install_name once rdar://problem/30820233 is fixed. 141 141 OTHER_TAPI_FLAGS = $(OTHER_TAPI_FLAGS_$(WK_COCOA_TOUCH)); 142 OTHER_TAPI_FLAGS_cocoatouch = $(inherited) -reexport_install_name $(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy -extra-private-header $(SRCROOT)/Platform/ExtraPrivateSymbolsForTAPI.h -extra-public-header $(SRCROOT)/Platform/ExtraPublicSymbolsForTAPI.h ;142 OTHER_TAPI_FLAGS_cocoatouch = $(inherited) -reexport_install_name $(WK_ALTERNATE_WEBKIT_SDK_PATH)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy -extra-private-header $(SRCROOT)/Platform/ExtraPrivateSymbolsForTAPI.h -extra-public-header $(SRCROOT)/Platform/ExtraPublicSymbolsForTAPI.h -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h; 143 143 144 144 SECTORDER_FLAGS = $(SECTORDER_FLAGS_$(CONFIGURATION)); -
trunk/Source/WebKitLegacy/ChangeLog
r237606 r237610 1 2018-10-30 Alexey Proskuryakov <ap@apple.com> 2 3 Enable InstallAPI for iOS unconditionally 4 https://bugs.webkit.org/show_bug.cgi?id=191043 5 rdar://problem/32728423 6 7 Reviewed by Dan Bernstein. 8 9 * WebKitLegacy.xcodeproj/project.pbxproj: Added NSURLDownloadSPI.h. 10 1 11 2018-10-30 Commit Queue <commit-queue@webkit.org> 2 12 -
trunk/Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
r237606 r237610 788 788 DD89682109AA87240097E7F0 /* WebElementDictionary.mm in Sources */ = {isa = PBXBuildFile; fileRef = DD89681F09AA87240097E7F0 /* WebElementDictionary.mm */; }; 789 789 E13E782C1E5A7365001849D1 /* WebCreateFragmentInternal.h in Headers */ = {isa = PBXBuildFile; fileRef = E13E782B1E5A7365001849D1 /* WebCreateFragmentInternal.h */; settings = {ATTRIBUTES = (Private, ); }; }; 790 E1531BD82187B954002E3F81 /* NSURLDownloadSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = E1531BD72187B8F2002E3F81 /* NSURLDownloadSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 790 791 E15663190FB61C1F00C199CA /* WebDownload.mm in Sources */ = {isa = PBXBuildFile; fileRef = E15663180FB61C1F00C199CA /* WebDownload.mm */; }; 791 792 E169836211346D1B00894115 /* ProxyRuntimeObject.h in Headers */ = {isa = PBXBuildFile; fileRef = E169836111346D1B00894115 /* ProxyRuntimeObject.h */; }; … … 1546 1547 DD89681F09AA87240097E7F0 /* WebElementDictionary.mm */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebElementDictionary.mm; sourceTree = "<group>"; tabWidth = 8; usesTabs = 0; }; 1547 1548 E13E782B1E5A7365001849D1 /* WebCreateFragmentInternal.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = WebCreateFragmentInternal.h; sourceTree = "<group>"; }; 1549 E1531BD72187B8F2002E3F81 /* NSURLDownloadSPI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = NSURLDownloadSPI.h; sourceTree = "<group>"; }; 1548 1550 E15663180FB61C1F00C199CA /* WebDownload.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebDownload.mm; sourceTree = "<group>"; }; 1549 1551 E169836111346D1B00894115 /* ProxyRuntimeObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProxyRuntimeObject.h; sourceTree = "<group>"; }; … … 1774 1776 children = ( 1775 1777 A10C1D2018202FAF0036883A /* ios */, 1778 E1531BD72187B8F2002E3F81 /* NSURLDownloadSPI.h */, 1776 1779 29AEF95D134C755400FE5096 /* OutlookQuirksUserScript.js */, 1777 1780 5241ADF30B1BC48A004012BD /* WebCache.h */, … … 2783 2786 93D436AC1D57ABEE00AB85EA /* DOMExtensions.h in Headers */, 2784 2787 93D436AD1D57ABEE00AB85EA /* DOMFile.h in Headers */, 2788 E1531BD82187B954002E3F81 /* NSURLDownloadSPI.h in Headers */, 2785 2789 93D436AF1D57ABEE00AB85EA /* DOMFileInternal.h in Headers */, 2786 2790 93D436B01D57ABEE00AB85EA /* DOMFileList.h in Headers */, -
trunk/Source/WebKitLegacy/mac/ChangeLog
r237607 r237610 1 2018-10-30 Alexey Proskuryakov <ap@apple.com> 2 3 Enable InstallAPI for iOS unconditionally 4 https://bugs.webkit.org/show_bug.cgi?id=191043 5 rdar://problem/32728423 6 7 Reviewed by Dan Bernstein. 8 9 * Configurations/WebKitLegacy.xcconfig: Enabled it. Added NSURLDownloadSPI.h as an 10 excluded header - WebKitLegacy doesn't export NSURLDownload, so the definition 11 shouldn't be processed by InstallAPI. 12 * MigrateHeaders.make: Removed an obsolete workaround. 13 * Misc/NSURLDownloadSPI.h: Added. 14 * Misc/WebDownload.h: Use NSURLDownloadSPI.h instead of defining SPI inline. 15 1 16 2018-10-30 Alexey Proskuryakov <ap@apple.com> 2 17 -
trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
r237606 r237610 136 136 WK_QUOTED_OVERRIDE_FRAMEWORKS_DIR_YES = "$(WK_OVERRIDE_FRAMEWORKS_DIR)"; 137 137 138 // FIXME: Enable TAPI in open source builds once <rdar://problem/24582471> is fixed in all supported SDKs. 139 SUPPORTS_TEXT_BASED_API[sdk=iphone*] = $(USE_INTERNAL_SDK); 138 SUPPORTS_TEXT_BASED_API[sdk=iphone*] = YES; 140 139 SUPPORTS_TEXT_BASED_API[sdk=appletv*] = NO; 141 140 SUPPORTS_TEXT_BASED_API[sdk=watch*] = NO; 142 OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=c++17 -fno-rtti -DRELEASE_WITHOUT_OPTIMIZATIONS ;141 OTHER_TAPI_FLAGS[sdk=iphone*] = -x objective-c++ -std=c++17 -fno-rtti -DRELEASE_WITHOUT_OPTIMIZATIONS -exclude-private-header $(BUILT_PRODUCTS_DIR)/$(PRIVATE_HEADERS_FOLDER_PATH)/NSURLDownloadSPI.h; 143 142 TAPI_VERIFY_MODE[sdk=iphone*] = Pedantic; -
trunk/Source/WebKitLegacy/mac/MigrateHeaders.make
r237606 r237610 88 88 89 89 TAPI_PATH = $(strip $(shell xcrun --find tapi 2>/dev/null)) 90 ifneq (,$(TAPI_PATH))91 REEXPORT_COMMAND = $(TAPI_PATH) reexport -arch $(WK_CURRENT_ARCH) -$(DEPLOYMENT_TARGET_CLANG_FLAG_NAME)=$($(DEPLOYMENT_TARGET_CLANG_ENV_NAME)) -isysroot $(SDK_DIR) $(HEADER_FLAGS) $(FRAMEWORK_FLAGS) $^ -o $@92 else93 # Temporary stub for SDKs that don't have the tapi command, <rdar://problem/24582471>.94 REEXPORT_COMMAND = touch $@95 endif96 90 97 91 $(REEXPORT_FILE) : $(HEADERS) 98 $( REEXPORT_COMMAND)92 $(TAPI_PATH) reexport -arch $(WK_CURRENT_ARCH) -$(DEPLOYMENT_TARGET_CLANG_FLAG_NAME)=$($(DEPLOYMENT_TARGET_CLANG_ENV_NAME)) -isysroot $(SDK_DIR) $(HEADER_FLAGS) $(FRAMEWORK_FLAGS) $^ -o $@ 99 93 100 94 else -
trunk/Source/WebKitLegacy/mac/Misc/WebDownload.h
r237606 r237610 36 36 #import <Foundation/NSURLDownload.h> 37 37 #else 38 @interface NSURLDownload : NSObject 39 @end 40 41 @protocol NSURLDownloadDelegate; 38 #import <WebKitLegacy/NSURLDownloadSPI.h> 42 39 #endif 43 40
Note:
See TracChangeset
for help on using the changeset viewer.