Changeset 232235 in webkit
- Timestamp:
- May 27, 2018 9:17:47 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 52 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r232233 r232235 1 2018-05-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Avoid importing directly from subumbrella frameworks 4 https://bugs.webkit.org/show_bug.cgi?id=186016 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/WebCore.xcconfig: Removed -iframework options from OTHER_CFLAGS and 9 OTHER_CPLUSPLUSFLAGS. 10 * editing/mac/DictionaryLookup.mm: Import Quartz.h instead of a PDFKit header. 11 * html/HTMLKeygenElement.cpp: Removed "using namespace WebCore" from this WebCore 12 implementation file. 13 * platform/mac/PlatformEventFactoryMac.mm: Import Carbon.h instead of HIToolbox headers. 14 * platform/mac/PlatformScreenMac.mm: Import ApplicationServices.h instead of ColorSync.h 15 when using SDKs earlier than 10.13. 16 * platform/mediastream/CaptureDeviceManager.cpp: Enclosed the definitions in the WebCore 17 namespace and removed "using namespace WebCore" from this WebCore implementation file. 18 * platform/text/mac/TextEncodingRegistryMac.mm: Import Carbon.h instead of CarbonCore.h. 19 1 20 2018-05-27 Fujii Hironori <Hironori.Fujii@sony.com> 2 21 -
trunk/Source/WebCore/Configurations/WebCore.xcconfig
r232167 r232235 41 41 42 42 LIBRARY_SEARCH_PATHS = $(inherited) "$(WK_LIBWEBRTC_LIBRARY_DIR)"; 43 ADDITIONAL_CFLAGS = -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks;44 OTHER_CFLAGS = $(inherited) $(ADDITIONAL_CFLAGS);45 OTHER_CPLUSPLUSFLAGS = $(inherited) $(ADDITIONAL_CFLAGS);46 43 47 44 WEBKITADDITIONS_HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include/WebKitAdditions $(SDKROOT)/usr/local/include/WebKitAdditions; -
trunk/Source/WebCore/PAL/ChangeLog
r232201 r232235 1 2018-05-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Avoid importing directly from subumbrella frameworks 4 https://bugs.webkit.org/show_bug.cgi?id=186016 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/PAL.xcconfig: Removed -iframework options from OTHER_CFLAGS and 9 OTHER_CPLUSPLUSFLAGS. 10 * pal/spi/cg/CoreGraphicsSPI.h: Import ApplicationServices.h instead of ColorSync.h 11 when using SDKs earlier than 10.13. 12 * pal/spi/mac/HIToolboxSPI.h: Import CarbonPriv.h instead of HIToolboxPriv.h. 13 * pal/spi/mac/QuickLookMacSPI.h: Import Quartz.h instead of a QuickLookUI header. 14 1 15 2018-05-25 Chris Dumez <cdumez@apple.com> 2 16 -
trunk/Source/WebCore/PAL/Configurations/PAL.xcconfig
r231063 r232235 39 39 SYSTEM_FRAMEWORK_SEARCH_PATHS = $(inherited) $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks; 40 40 41 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/ Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;41 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks; 42 42 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS); 43 43 -
trunk/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h
r230278 r232235 34 34 35 35 #if PLATFORM(MAC) 36 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 36 37 #include <ColorSync/ColorSync.h> 38 #else 39 #include <ApplicationServices/ApplicationServices.h> 40 #endif 37 41 #endif 38 42 … … 40 44 41 45 #if PLATFORM(MAC) 46 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 42 47 #include <ColorSync/ColorSyncPriv.h> 48 #else 49 #include <ApplicationServices/ApplicationServicesPriv.h> 50 #endif 43 51 #endif 44 52 #include <CoreGraphics/CGFontCache.h> -
trunk/Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
r229944 r232235 31 31 32 32 #if PLATFORM(MAC) 33 #import < LaunchServices/LaunchServicesPriv.h>33 #import <ApplicationServices/ApplicationServicesPriv.h> 34 34 #elif PLATFORM(IOS) 35 35 #import <MobileCoreServices/LSAppLinkPriv.h> -
trunk/Source/WebCore/PAL/pal/spi/mac/HIServicesSPI.h
r222150 r232235 30 30 #if USE(APPLE_INTERNAL_SDK) 31 31 32 #include <HIServices/AXTextMarker.h> 33 #include <HIServices/CoreCursor.h> 34 #include <HIServices/CoreDrag.h> 32 #include <ApplicationServices/ApplicationServicesPriv.h> 35 33 36 34 #else -
trunk/Source/WebCore/PAL/pal/spi/mac/HIToolboxSPI.h
r221473 r232235 28 28 #if USE(APPLE_INTERNAL_SDK) 29 29 30 #include < HIToolbox/HIToolboxPriv.h>30 #include <Carbon/CarbonPriv.h> 31 31 32 32 #else -
trunk/Source/WebCore/PAL/pal/spi/mac/MetadataSPI.h
r221291 r232235 28 28 #if USE(APPLE_INTERNAL_SDK) 29 29 30 #include < Metadata/MetadataPriv.h>30 #include <CoreServices/CoreServicesPriv.h> 31 31 32 32 #endif -
trunk/Source/WebCore/PAL/pal/spi/mac/QuickLookMacSPI.h
r220979 r232235 24 24 */ 25 25 26 #import <Qu ickLookUI/QLPreviewItem.h>26 #import <Quartz/Quartz.h> 27 27 28 28 @protocol QLPreviewMenuItemDelegate <NSObject> -
trunk/Source/WebCore/PAL/pal/spi/mac/SpeechSynthesisSPI.h
r222053 r232235 28 28 #if USE(APPLE_INTERNAL_SDK) 29 29 30 #include < SpeechSynthesis/SpeechSynthesisPriv.h>30 #include <ApplicationServices/ApplicationServicesPriv.h> 31 31 32 32 #endif -
trunk/Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
r228531 r232235 36 36 37 37 #if USE(APPLE_INTERNAL_SDK) 38 #include < HIServices/AccessibilityPriv.h>38 #include <ApplicationServices/ApplicationServicesPriv.h> 39 39 #endif 40 40 -
trunk/Source/WebCore/editing/mac/DictionaryLookup.mm
r231691 r232235 43 43 #import "VisibleSelection.h" 44 44 #import "VisibleUnits.h" 45 #import < PDFKit/PDFKit.h>45 #import <Quartz/Quartz.h> 46 46 #import <pal/spi/mac/LookupSPI.h> 47 47 #import <pal/spi/mac/NSImmediateActionGestureRecognizerSPI.h> -
trunk/Source/WebCore/html/HTMLKeygenElement.cpp
r231024 r232235 39 39 #include <wtf/NeverDestroyed.h> 40 40 #include <wtf/StdLibExtras.h> 41 42 using namespace WebCore;43 41 44 42 namespace WebCore { -
trunk/Source/WebCore/platform/mac/PlatformEventFactoryMac.mm
r228531 r232235 34 34 #import "Scrollbar.h" 35 35 #import "WindowsKeyboardCodes.h" 36 #import <HIToolbox/CarbonEvents.h> 37 #import <HIToolbox/Events.h> 36 #import <Carbon/Carbon.h> 38 37 #import <mach/mach_time.h> 39 38 #import <pal/spi/mac/HIToolboxSPI.h> -
trunk/Source/WebCore/platform/mac/PlatformScreenMac.mm
r231980 r232235 33 33 #import "HostWindow.h" 34 34 #import "ScreenProperties.h" 35 #import <ColorSync/ColorSync.h>36 35 #import <pal/spi/cg/CoreGraphicsSPI.h> 37 36 #import <wtf/ProcessPrivilege.h> 37 38 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 39 #import <ColorSync/ColorSync.h> 40 #else 41 #import <ApplicationServices/ApplicationServices.h> 42 #endif 38 43 39 44 extern "C" { -
trunk/Source/WebCore/platform/mediastream/CaptureDeviceManager.cpp
r226160 r232235 37 37 #include <wtf/text/StringHash.h> 38 38 39 using namespace WebCore; 39 namespace WebCore { 40 40 41 41 CaptureDeviceManager::~CaptureDeviceManager() = default; … … 70 70 } 71 71 72 } // namespace WebCore 72 73 73 74 #endif // ENABLE(MEDIA_STREAM) -
trunk/Source/WebCore/platform/text/mac/TextEncodingRegistryMac.mm
r221286 r232235 29 29 #if PLATFORM(MAC) 30 30 31 #import <Carbon Core/CarbonCore.h>31 #import <Carbon/Carbon.h> 32 32 #import <wtf/spi/cf/CFStringSPI.h> 33 33 -
trunk/Source/WebKit/ChangeLog
r232218 r232235 1 2018-05-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Avoid importing directly from subumbrella frameworks 4 https://bugs.webkit.org/show_bug.cgi?id=186016 5 6 Reviewed by Sam Weinig. 7 8 * Configurations/BaseTarget.xcconfig: Removed -iframework options from OTHER_CFLAGS and 9 OTHER_CPLUSPLUSFLAGS. 10 * UIProcess/Automation/mac/WebAutomationSessionMac.mm: Import Carbon.h instead of an 11 HIToolbox header. 12 * UIProcess/Cocoa/WebViewImpl.mm: Ditto. 13 * UIProcess/mac/WKPrintingView.mm: Import Quartz.h instead of a PDFKit header. 14 * UIProcess/mac/WKTextInputWindowController.mm: Import Carbon.h instead of an HIToolbox 15 header. 16 * WebProcess/Plugins/PDF/PDFAnnotationTextWidgetDetails.h: Import Quartz.h instead of a 17 PDFKit header. 18 * WebProcess/Plugins/PDF/PDFLayerControllerSPI.h: Ditto. 19 * WebProcess/Plugins/PDF/PDFPlugin.mm: Ditto. 20 * WebProcess/Plugins/PDF/PDFPluginAnnotation.mm: Ditto. 21 * WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.mm: Ditto. 22 * WebProcess/Plugins/PDF/PDFPluginPasswordField.mm: Ditto. 23 * WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm: Ditto. 24 * WebProcess/WebPage/mac/WebPageMac.mm: Ditto. 25 1 26 2018-05-25 Timothy Hatcher <timothy@apple.com> 2 27 -
trunk/Source/WebKit/Configurations/BaseTarget.xcconfig
r231215 r232235 43 43 HEADER_SEARCH_PATHS = $(BUILT_PRODUCTS_DIR)/usr/local/include "$(WEBCORE_PRIVATE_HEADERS_DIR)/ForwardingHeaders" $(BUILT_PRODUCTS_DIR)/DerivedSources/WebKit2 $(WEBKITADDITIONS_HEADER_SEARCH_PATHS) $(LIBWEBRTC_HEADER_SEARCH_PATHS) $(HEADER_SEARCH_PATHS); 44 44 45 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/ Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;45 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks; 46 46 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders; 47 47 -
trunk/Source/WebKit/Platform/IPC/mac/ConnectionMac.mm
r230314 r232235 57 57 58 58 #if USE(APPLE_INTERNAL_SDK) 59 #import < HIServices/AccessibilityPriv.h>59 #import <ApplicationServices/ApplicationServicesPriv.h> 60 60 #else 61 61 typedef enum { -
trunk/Source/WebKit/Shared/mac/ChildProcessMac.mm
r231239 r232235 38 38 #import <mach/mach.h> 39 39 #import <mach/task.h> 40 #import <pal/spi/cocoa/LaunchServicesSPI.h> 40 41 #import <pwd.h> 41 42 #import <stdlib.h> … … 44 45 #import <wtf/spi/darwin/SandboxSPI.h> 45 46 46 #if USE(APPLE_INTERNAL_SDK)47 #include <HIServices/ProcessesPriv.h>48 #endif49 50 47 typedef bool (^LSServerConnectionAllowedBlock) ( CFDictionaryRef optionsRef ); 51 48 extern "C" void _LSSetApplicationLaunchServicesServerConnectionStatus(uint64_t flags, LSServerConnectionAllowedBlock block); 52 extern "C" CFDictionaryRef _LSApplicationCheckIn( intsessionID, CFDictionaryRef applicationInfo);49 extern "C" CFDictionaryRef _LSApplicationCheckIn(LSSessionID sessionID, CFDictionaryRef applicationInfo); 53 50 54 51 extern "C" OSStatus SetApplicationIsDaemon(Boolean isDaemon); … … 79 76 { 80 77 _LSSetApplicationLaunchServicesServerConnectionStatus(0, 0); 81 RetainPtr<CFDictionaryRef> unused = _LSApplicationCheckIn( -2, CFBundleGetInfoDictionary(CFBundleGetMainBundle()));78 RetainPtr<CFDictionaryRef> unused = _LSApplicationCheckIn(kLSDefaultSessionID, CFBundleGetInfoDictionary(CFBundleGetMainBundle())); 82 79 } 83 80 -
trunk/Source/WebKit/UIProcess/Automation/mac/WebAutomationSessionMac.mm
r230830 r232235 33 33 #import "WebPageProxy.h" 34 34 #import "_WKAutomationSession.h" 35 #import < HIToolbox/Events.h>35 #import <Carbon/Carbon.h> 36 36 #import <WebCore/IntPoint.h> 37 37 #import <WebCore/IntSize.h> -
trunk/Source/WebKit/UIProcess/Cocoa/WebViewImpl.mm
r232218 r232235 68 68 #import "_WKRemoteObjectRegistryInternal.h" 69 69 #import "_WKThumbnailViewInternal.h" 70 #import < HIToolbox/CarbonEventsCore.h>70 #import <Carbon/Carbon.h> 71 71 #import <WebCore/AXObjectCache.h> 72 72 #import <WebCore/ActivityState.h> -
trunk/Source/WebKit/UIProcess/mac/WKPrintingView.mm
r226454 r232235 35 35 #import "ShareableBitmap.h" 36 36 #import "WebPageProxy.h" 37 #import < PDFKit/PDFKit.h>37 #import <Quartz/Quartz.h> 38 38 #import <WebCore/GraphicsContext.h> 39 39 #import <WebCore/WebCoreObjCExtras.h> -
trunk/Source/WebKit/UIProcess/mac/WKTextInputWindowController.mm
r222896 r232235 29 29 #if USE(APPKIT) 30 30 31 #import < HIToolbox/CarbonEventsCore.h>31 #import <Carbon/Carbon.h> 32 32 #import <pal/spi/mac/HIToolboxSPI.h> 33 33 #import <pal/system/mac/WebPanel.h> -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFAnnotationTextWidgetDetails.h
r135958 r232235 24 24 */ 25 25 26 #import < PDFKit/PDFKit.h>26 #import <Quartz/Quartz.h> 27 27 28 28 @interface PDFAnnotationTextWidget (Details) -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFLayerControllerSPI.h
r231535 r232235 29 29 #if ENABLE(PDFKIT_PLUGIN) 30 30 31 #import < PDFKit/PDFKit.h>31 #import <Quartz/Quartz.h> 32 32 33 33 @class CPReadingModel; -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm
r231535 r232235 51 51 #import <JavaScriptCore/JSStringRef.h> 52 52 #import <JavaScriptCore/JSStringRefCF.h> 53 #import < PDFKit/PDFKit.h>53 #import <Quartz/Quartz.h> 54 54 #import <QuartzCore/QuartzCore.h> 55 55 #import <WebCore/AXObjectCache.h> -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginAnnotation.mm
r219743 r232235 34 34 #import "PDFPluginChoiceAnnotation.h" 35 35 #import "PDFPluginTextAnnotation.h" 36 #import < PDFKit/PDFKit.h>36 #import <Quartz/Quartz.h> 37 37 #import <WebCore/CSSPrimitiveValue.h> 38 38 #import <WebCore/CSSPropertyNames.h> -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginChoiceAnnotation.mm
r216810 r232235 31 31 #import "PDFKitImports.h" 32 32 #import "PDFLayerControllerSPI.h" 33 #import < PDFKit/PDFKit.h>33 #import <Quartz/Quartz.h> 34 34 #import <WebCore/CSSPrimitiveValue.h> 35 35 #import <WebCore/CSSPropertyNames.h> -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginPasswordField.mm
r219743 r232235 32 32 #import "PDFLayerControllerSPI.h" 33 33 #import "PDFPlugin.h" 34 #import < PDFKit/PDFKit.h>34 #import <Quartz/Quartz.h> 35 35 #import <WebCore/Event.h> 36 36 #import <WebCore/EventNames.h> -
trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPluginTextAnnotation.mm
r219743 r232235 33 33 #import "PDFLayerControllerSPI.h" 34 34 #import "PDFPlugin.h" 35 #import < PDFKit/PDFKit.h>35 #import <Quartz/Quartz.h> 36 36 #import <WebCore/CSSPrimitiveValue.h> 37 37 #import <WebCore/CSSPropertyNames.h> -
trunk/Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm
r232201 r232235 54 54 #import "WebPreferencesStore.h" 55 55 #import "WebProcess.h" 56 #import < PDFKit/PDFKit.h>56 #import <Quartz/Quartz.h> 57 57 #import <QuartzCore/QuartzCore.h> 58 58 #import <WebCore/AXObjectCache.h> -
trunk/Source/WebKitLegacy/mac/Carbon/CarbonWindowAdapter.h
r165676 r232235 29 29 #import <Foundation/Foundation.h> 30 30 #import <AppKit/AppKit.h> 31 #import <HIToolbox/CarbonEvents.h> 32 #import <HIToolbox/MacWindows.h> 31 #import <Carbon/Carbon.h> 33 32 34 33 @interface CarbonWindowAdapter : NSWindow -
trunk/Source/WebKitLegacy/mac/Carbon/CarbonWindowAdapter.mm
r228218 r232235 66 66 #import <AppKit/AppKit.h> 67 67 //#import <CoreGraphics/CGSWindow.h> 68 #import <HIToolbox/CarbonEvents.h> 69 #import <HIToolbox/Controls.h> 70 #import <HIToolbox/HIView.h> 68 #import <Carbon/Carbon.h> 71 69 #import <assert.h> 72 70 -
trunk/Source/WebKitLegacy/mac/Carbon/CarbonWindowFrame.m
r226499 r232235 32 32 #import "CarbonWindowAdapter.h" 33 33 #import "CarbonWindowContentView.h" 34 #import <Carbon/Carbon.h> 34 35 #import <Foundation/NSGeometry.h> 35 36 #import <Foundation/NSString.h> 36 #import <HIToolbox/MacWindows.h>37 37 38 38 #import "WebTypesInternal.h" -
trunk/Source/WebKitLegacy/mac/Carbon/HIViewAdapter.h
r168047 r232235 28 28 29 29 #import <WebKitLegacy/WebKit.h> 30 #include < HIToolbox/HIView.h>30 #include <Carbon/Carbon.h> 31 31 32 32 @interface HIViewAdapter : NSObject -
trunk/Source/WebKitLegacy/mac/ChangeLog
r232229 r232235 1 2018-05-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Avoid importing directly from subumbrella frameworks 4 https://bugs.webkit.org/show_bug.cgi?id=186016 5 6 Reviewed by Sam Weinig. 7 8 * Carbon/CarbonWindowAdapter.h: Import Carbon.h instead of HIToolbox headers. 9 * Carbon/CarbonWindowAdapter.mm: Ditto. 10 * Carbon/CarbonWindowFrame.m: Ditto. 11 * Carbon/HIViewAdapter.h: Ditto. 12 * Configurations/WebKitLegacy.xcconfig: Removed -iframework options from OTHER_CFLAGS and 13 OTHER_CPLUSPLUSFLAGS. 14 * Plugins/WebNetscapePluginEventHandlerCarbon.mm: Import Carbon.h instead of CarbonEvents.h. 15 * WebView/WebPDFDocumentExtras.mm: Import Quartz.h instead of a PDFKit header. 16 * WebView/WebPDFView.h: Ditto. 17 1 18 2018-05-27 Sam Weinig <sam@webkit.org> 2 19 -
trunk/Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
r232069 r232235 49 49 OTHER_CFLAGS = $(OTHER_CFLAGS_COCOA_TOUCH_$(WK_IS_COCOA_TOUCH)); 50 50 OTHER_CFLAGS_COCOA_TOUCH_YES = $(inherited) -isystem $(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders; 51 OTHER_CFLAGS_COCOA_TOUCH_NO = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks;51 OTHER_CFLAGS_COCOA_TOUCH_NO = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Frameworks; 52 52 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS); 53 53 -
trunk/Source/WebKitLegacy/mac/Plugins/WebNetscapePluginEventHandlerCarbon.mm
r222896 r232235 30 30 #import "WebNetscapePluginView.h" 31 31 #import "WebKitLogging.h" 32 #import < HIToolbox/CarbonEvents.h>32 #import <Carbon/Carbon.h> 33 33 #import <pal/spi/mac/HIToolboxSPI.h> 34 34 #import <pal/spi/mac/NSEventSPI.h> -
trunk/Source/WebKitLegacy/mac/WebView/PDFViewSPI.h
r201758 r232235 26 26 #if USE(APPLE_INTERNAL_SDK) 27 27 28 #import < PDFKit/PDFViewPriv.h>28 #import <Quartz/QuartzPrivate.h> 29 29 30 30 #else -
trunk/Source/WebKitLegacy/mac/WebView/WebPDFDocumentExtras.mm
r189749 r232235 31 31 32 32 #if !PLATFORM(IOS) 33 #import < PDFKit/PDFDocument.h>33 #import <Quartz/Quartz.h> 34 34 #endif 35 35 -
trunk/Source/WebKitLegacy/mac/WebView/WebPDFView.h
r200513 r232235 29 29 #if !PLATFORM(IOS) 30 30 31 #import < PDFKit/PDFKit.h>31 #import <Quartz/Quartz.h> 32 32 #import <WebKitLegacy/WebDocumentInternal.h> 33 33 -
trunk/Tools/ChangeLog
r232234 r232235 1 2018-05-27 Dan Bernstein <mitz@apple.com> 2 3 [Cocoa] Avoid importing directly from subumbrella frameworks 4 https://bugs.webkit.org/show_bug.cgi?id=186016 5 6 Reviewed by Sam Weinig. 7 8 * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Include CoreServices.h instead of a 9 LaunchServices header. 10 * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig: Removed -iframework options from 11 OTHER_CFLAGS and OTHER_CPLUSPLUSFLAGS. 12 * DumpRenderTree/mac/LayoutTestHelper.m: Import ApplicationServices.h instead of ColorSync.h 13 when using SDKs earlier than 10.13. 14 * TestWebKitAPI/Configurations/Base.xcconfig: Removed -iframework options from OTHER_CFLAGS 15 and OTHER_CPLUSPLUSFLAGS. 16 * TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm: Import Carbon.h instead of an 17 HIToolbox header. 18 * WebKitTestRunner/Configurations/BaseTarget.xcconfig: Removed -iframework options from 19 OTHER_CFLAGS and OTHER_CPLUSPLUSFLAGS. 20 * WebKitTestRunner/cg/TestInvocationCG.cpp: Include CoreServices.h instead of a 21 LaunchServices header. 22 1 23 2018-05-27 Fujii Hironori <Hironori.Fujii@sony.com> 2 24 -
trunk/Tools/DumpRenderTree/cg/PixelDumpSupportCG.cpp
r225618 r232235 48 48 #include <CommonCrypto/CommonDigest.h> 49 49 #elif PLATFORM(MAC) 50 #include < LaunchServices/UTCoreTypes.h>50 #include <CoreServices/CoreServices.h> 51 51 #define COMMON_DIGEST_FOR_OPENSSL 52 52 #include <CommonCrypto/CommonDigest.h> -
trunk/Tools/DumpRenderTree/mac/Configurations/BaseTarget.xcconfig
r162573 r232235 22 22 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 23 24 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Frameworks;24 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Frameworks; 25 25 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS); 26 26 GCC_ENABLE_OBJC_EXCEPTIONS = YES; -
trunk/Tools/DumpRenderTree/mac/LayoutTestHelper.m
r229300 r232235 44 44 #if USE(APPLE_INTERNAL_SDK) 45 45 46 #include <ColorSync/ColorSyncPriv.h> 46 #if __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300 47 #import <ColorSync/ColorSyncPriv.h> 48 #else 49 #import <ApplicationServices/ApplicationServicesPriv.h> 50 #endif 47 51 48 52 #else -
trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig
r232069 r232235 98 98 99 99 OTHER_CFLAGS = $(ASAN_OTHER_CFLAGS); 100 OTHER_CFLAGS[sdk=macosx*] = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/ Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks;100 OTHER_CFLAGS[sdk=macosx*] = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/PrivateFrameworks; 101 101 OTHER_CPLUSPLUSFLAGS = $(ASAN_OTHER_CPLUSPLUSFLAGS); 102 102 OTHER_LDFLAGS = $(ASAN_OTHER_LDFLAGS); -
trunk/Tools/TestWebKitAPI/Tests/mac/MediaPlaybackSleepAssertion.mm
r221505 r232235 30 30 #import "PlatformUtilities.h" 31 31 #import "WebCoreTestSupport.h" 32 #import < HIToolbox/CarbonEvents.h>32 #import <Carbon/Carbon.h> 33 33 #import <IOKit/pwr_mgt/IOPMLib.h> 34 34 #import <JavaScriptCore/JSContext.h> -
trunk/Tools/WebKitTestRunner/Configurations/BaseTarget.xcconfig
r189455 r232235 22 22 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 23 24 OTHER_CFLAGS = $(inherited) -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/Quartz.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/ApplicationServices.framework/Frameworks -iframework $(SDKROOT)$(SYSTEM_LIBRARY_DIR)/Frameworks/CoreServices.framework/Frameworks;25 OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS);26 24 INSTALL_PATH = $(SYSTEM_LIBRARY_DIR)/Frameworks/WebKit.framework/Versions/A/Resources; -
trunk/Tools/WebKitTestRunner/cg/TestInvocationCG.cpp
r225618 r232235 36 36 37 37 #if PLATFORM(MAC) && !PLATFORM(IOS) 38 #include < LaunchServices/UTCoreTypes.h>38 #include <CoreServices/CoreServices.h> 39 39 #endif 40 40
Note: See TracChangeset
for help on using the changeset viewer.