haikuwebkit/Source/WTF/wtf/PlatformPlayStation.cmake

31 lines
684 B
CMake
Raw Permalink Normal View History

list(APPEND WTF_SOURCES
generic/MainThreadGeneric.cpp
generic/MemoryFootprintGeneric.cpp
generic/RunLoopGeneric.cpp
generic/WorkQueueGeneric.cpp
[PlayStation] Implement FileSystem without std::filesystem https://bugs.webkit.org/show_bug.cgi?id=226197 Reviewed by Chris Dumez. .: Expose the result of the check for <filesystem> support as HAVE_STD_FILESYSTEM. * Source/cmake/OptionsCommon.cmake: Source/WTF: The PlayStation 4 doesn't have support in its SDK for std::filesystem so backport the functions jettisoned from FileSystemPOSIX and add them to a FileSystemPlayStation.cpp. The ordering matches the contents of FileSystem.cpp. Most of the functions ported to std::filesystem were just moved over as is from the commit prior to r276879. Minor changes to the function signatures made when required. The fileTypePotentiallyFollowingSymLinks function was created from the previous behavior of fileMetadataUsingFunction and toFileMetataType. The hardLinkCount was created from looking at the behavior hardLinkCount replaced in r277446. * wtf/FileSystem.cpp: * wtf/PlatformHave.h: * wtf/PlatformPlayStation.cmake: * wtf/StdFilesystem.h: * wtf/playstation/FileSystemPlayStation.cpp: Added. (WTF::FileSystemImpl::fileTypePotentiallyFollowingSymLinks): (WTF::FileSystemImpl::fileExists): (WTF::FileSystemImpl::deleteFile): (WTF::FileSystemImpl::deleteEmptyDirectory): (WTF::FileSystemImpl::moveFile): (WTF::FileSystemImpl::fileSize): (WTF::FileSystemImpl::makeAllDirectories): (WTF::FileSystemImpl::volumeFreeSpace): (WTF::FileSystemImpl::createSymbolicLink): (WTF::FileSystemImpl::hardLink): (WTF::FileSystemImpl::hardLinkOrCopyFile): (WTF::FileSystemImpl::hardLinkCount): (WTF::FileSystemImpl::deleteNonEmptyDirectory): (WTF::FileSystemImpl::fileModificationTime): (WTF::FileSystemImpl::updateFileModificationTime): (WTF::FileSystemImpl::isHiddenFile): (WTF::FileSystemImpl::fileType): (WTF::FileSystemImpl::fileTypeFollowingSymlinks): (WTF::FileSystemImpl::pathFileName): (WTF::FileSystemImpl::parentPath): (WTF::FileSystemImpl::realPath): (WTF::FileSystemImpl::pathByAppendingComponent): (WTF::FileSystemImpl::pathByAppendingComponents): (WTF::FileSystemImpl::listDirectory): Canonical link: https://commits.webkit.org/238124@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-05-25 17:34:01 +00:00
playstation/FileSystemPlayStation.cpp
playstation/LanguagePlayStation.cpp
playstation/UniStdExtrasPlayStation.cpp
posix/CPUTimePOSIX.cpp
Move FileSystem to WTF https://bugs.webkit.org/show_bug.cgi?id=193602 Reviewed by Yusuke Suzuki. Source/WebCore: * Modules/encryptedmedia/CDM.cpp: * Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp: * Modules/entriesapi/DOMFileSystem.cpp: * Modules/entriesapi/FileSystemEntry.cpp: * Modules/indexeddb/IDBDatabaseIdentifier.cpp: * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: * Modules/indexeddb/server/SQLiteIDBTransaction.cpp: * Modules/indexeddb/shared/InProcessIDBServer.cpp: * Modules/webdatabase/DatabaseTracker.cpp: * Modules/webdatabase/OriginLock.cpp: * Modules/webdatabase/OriginLock.h: * Modules/webdatabase/cocoa/DatabaseManagerCocoa.mm: * PlatformMac.cmake: * PlatformPlayStation.cmake: * PlatformWin.cmake: * Sources.txt: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/GCController.cpp: * dom/DataTransferItem.cpp: * editing/cocoa/WebContentReaderCocoa.mm: * fileapi/File.cpp: * fileapi/FileCocoa.mm: * html/FileInputType.cpp: * html/FileListCreator.cpp: * loader/appcache/ApplicationCacheHost.cpp: * loader/appcache/ApplicationCacheStorage.cpp: * page/Page.cpp: * page/SecurityOrigin.cpp: * page/SecurityOriginData.cpp: * platform/FileHandle.h: * platform/FileStream.cpp: * platform/FileStream.h: * platform/SharedBuffer.h: * platform/SourcesGLib.txt: * platform/cocoa/FileMonitorCocoa.mm: * platform/glib/FileMonitorGLib.cpp: * platform/glib/SharedBufferGlib.cpp: * platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm: * platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm: * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: * platform/ios/QuickLook.mm: * platform/ios/WebItemProviderPasteboard.mm: * platform/mediarecorder/cocoa/MediaRecorderPrivateWriterCocoa.mm: * platform/network/BlobDataFileReference.cpp: * platform/network/BlobRegistryImpl.cpp: * platform/network/BlobResourceHandle.cpp: * platform/network/FormData.cpp: * platform/network/cf/FormDataStreamCFNet.cpp: * platform/network/cocoa/ResourceRequestCocoa.mm: * platform/network/curl/CookieJarDB.cpp: * platform/network/curl/CurlCacheEntry.h: * platform/network/curl/CurlCacheManager.cpp: * platform/network/curl/CurlFormDataStream.h: * platform/network/curl/CurlRequest.h: * platform/network/curl/NetworkStorageSessionCurl.cpp: * platform/network/curl/ResourceHandleCurl.cpp: * platform/network/mac/BlobDataFileReferenceMac.mm: * platform/network/soup/ResourceHandleSoup.cpp: * platform/network/soup/SoupNetworkSession.cpp: * platform/posix/SharedBufferPOSIX.cpp: * platform/sql/SQLiteFileSystem.cpp: * platform/text/hyphen/HyphenationLibHyphen.cpp: * platform/win/SearchPopupMenuDB.cpp: * rendering/RenderTheme.cpp: * rendering/RenderThemeGtk.cpp: * rendering/RenderThemeWin.cpp: * workers/service/server/RegistrationDatabase.cpp: Source/WebCore/PAL: * PAL.xcodeproj/project.pbxproj: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp: * NetworkProcess/NetworkDataTaskBlob.h: * NetworkProcess/NetworkProcess.cpp: * NetworkProcess/cache/CacheStorageEngine.cpp: * NetworkProcess/cache/CacheStorageEngineCaches.cpp: * NetworkProcess/cache/NetworkCache.cpp: * NetworkProcess/cache/NetworkCacheBlobStorage.cpp: * NetworkProcess/cache/NetworkCacheData.cpp: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: * NetworkProcess/cache/NetworkCacheFileSystem.h: * NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm: * NetworkProcess/cache/NetworkCacheIOChannelSoup.cpp: * NetworkProcess/cache/NetworkCacheStatistics.cpp: * NetworkProcess/cache/NetworkCacheStorage.cpp: * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: * NetworkProcess/mac/NetworkProcessMac.mm: * NetworkProcess/soup/NetworkProcessSoup.cpp: * PluginProcess/unix/PluginProcessMainUnix.cpp: * Shared/PersistencyUtils.cpp: * Shared/Plugins/Netscape/unix/NetscapePluginModuleUnix.cpp: * Shared/Plugins/unix/PluginSearchPath.cpp: * Shared/WebMemorySampler.h: * Shared/glib/ProcessExecutablePathGLib.cpp: * Shared/ios/ChildProcessIOS.mm: * Shared/mac/ChildProcessMac.mm: * Shared/mac/SandboxExtensionMac.mm: * UIProcess/API/APIContentRuleListStore.cpp: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: * UIProcess/API/glib/APIWebsiteDataStoreGLib.cpp: * UIProcess/API/glib/IconDatabase.cpp: * UIProcess/API/glib/WebKitFaviconDatabase.cpp: * UIProcess/API/glib/WebKitFileChooserRequest.cpp: * UIProcess/API/glib/WebKitWebContext.cpp: * UIProcess/API/glib/WebKitWebsiteDataManager.cpp: * UIProcess/API/win/APIWebsiteDataStoreWin.cpp: * UIProcess/Automation/WebAutomationSession.cpp: * UIProcess/Cocoa/DownloadClient.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.mm: * UIProcess/DeviceIdHashSaltStorage.cpp: * UIProcess/Downloads/DownloadProxy.cpp: * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: * UIProcess/Plugins/gtk/PluginInfoCache.cpp: * UIProcess/Plugins/mac/PluginProcessProxyMac.mm: * UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp: * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp: * UIProcess/ServiceWorkerProcessProxy.cpp: * UIProcess/WebStorage/LocalStorageDatabase.cpp: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/WebsiteData/WebsiteDataStore.cpp: * UIProcess/glib/WebProcessProxyGLib.cpp: * UIProcess/gtk/WebInspectorProxyGtk.cpp: * UIProcess/gtk/WebProcessPoolGtk.cpp: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/mac/WebPageProxyMac.mm: * UIProcess/win/WebProcessPoolWin.cpp: * UIProcess/win/WebView.cpp: * UIProcess/wpe/WebProcessPoolWPE.cpp: * WebProcess/InjectedBundle/API/glib/WebKitExtensionManager.cpp: * WebProcess/InjectedBundle/glib/InjectedBundleGlib.cpp: * WebProcess/MediaCache/WebMediaKeyStorageManager.cpp: * WebProcess/Plugins/Netscape/NetscapePluginStream.h: * WebProcess/Plugins/PluginProcessConnection.cpp: * WebProcess/WebCoreSupport/SessionStateConversion.cpp: * WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: * WebProcess/cocoa/WebProcessCocoa.mm: Source/WebKitLegacy: * Storage/StorageAreaSync.cpp: * Storage/StorageSyncManager.cpp: * Storage/StorageTracker.cpp: Source/WebKitLegacy/mac: * Misc/WebNSFileManagerExtras.mm: * Storage/WebDatabaseProvider.mm: * WebView/WebView.mm: Source/WebKitLegacy/win: * Plugins/PluginDatabase.cpp: * Plugins/PluginPackage.h: * Plugins/PluginStream.h: * WebApplicationCache.cpp: * WebDatabaseManager.cpp: * WebDownloadCurl.cpp: * WebPreferences.cpp: * WebView.cpp: Source/WTF: * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/FileMetadata.h: Renamed from Source/WebCore/platform/FileMetadata.h. * wtf/FileSystem.cpp: Renamed from Source/WebCore/platform/FileSystem.cpp. * wtf/FileSystem.h: Renamed from Source/WebCore/platform/FileSystem.h. * wtf/PlatformGTK.cmake: * wtf/PlatformMac.cmake: * wtf/PlatformPlayStation.cmake: * wtf/PlatformWPE.cmake: * wtf/PlatformWin.cmake: * wtf/cf/FileSystemCF.cpp: Renamed from Source/WebCore/platform/cf/FileSystemCF.cpp. * wtf/cocoa/FileSystemCocoa.mm: Renamed from Source/WebCore/platform/cocoa/FileSystemCocoa.mm. * wtf/glib/FileSystemGlib.cpp: Renamed from Source/WebCore/platform/glib/FileSystemGlib.cpp. * wtf/mac/FileSystemMac.mm: Renamed from Source/WebCore/platform/mac/FileSystemMac.mm. * wtf/posix/FileSystemPOSIX.cpp: Renamed from Source/WebCore/platform/posix/FileSystemPOSIX.cpp. * wtf/spi/mac/MetadataSPI.h: Renamed from Source/WebCore/PAL/pal/spi/mac/MetadataSPI.h. * wtf/win/FileSystemWin.cpp: Renamed from Source/WebCore/platform/win/FileSystemWin.cpp. * wtf/win/PathWalker.cpp: Renamed from Source/WebCore/platform/win/PathWalker.cpp. * wtf/win/PathWalker.h: Renamed from Source/WebCore/platform/win/PathWalker.h. Tools: * DumpRenderTree/win/DumpRenderTree.cpp: * TestWebKitAPI/CMakeLists.txt: * TestWebKitAPI/PlatformGTK.cmake: * TestWebKitAPI/PlatformJSCOnly.cmake: * TestWebKitAPI/PlatformPlayStation.cmake: * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WTF/FileSystem.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebCore/FileSystem.cpp. * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp: * TestWebKitAPI/Tests/WebCore/SharedBufferTest.cpp: * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: * TestWebKitAPI/Tests/WebCore/curl/Cookies.cpp: * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: * TestWebKitAPI/Tests/WebKitCocoa/DownloadProgress.mm: * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Canonical link: https://commits.webkit.org/208283@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-24 17:25:57 +00:00
posix/FileSystemPOSIX.cpp
posix/OSAllocatorPOSIX.cpp
posix/ThreadingPOSIX.cpp
Move FileSystem to WTF https://bugs.webkit.org/show_bug.cgi?id=193602 Reviewed by Yusuke Suzuki. Source/WebCore: * Modules/encryptedmedia/CDM.cpp: * Modules/encryptedmedia/legacy/WebKitMediaKeySession.cpp: * Modules/entriesapi/DOMFileSystem.cpp: * Modules/entriesapi/FileSystemEntry.cpp: * Modules/indexeddb/IDBDatabaseIdentifier.cpp: * Modules/indexeddb/server/SQLiteIDBBackingStore.cpp: * Modules/indexeddb/server/SQLiteIDBTransaction.cpp: * Modules/indexeddb/shared/InProcessIDBServer.cpp: * Modules/webdatabase/DatabaseTracker.cpp: * Modules/webdatabase/OriginLock.cpp: * Modules/webdatabase/OriginLock.h: * Modules/webdatabase/cocoa/DatabaseManagerCocoa.mm: * PlatformMac.cmake: * PlatformPlayStation.cmake: * PlatformWin.cmake: * Sources.txt: * SourcesCocoa.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/GCController.cpp: * dom/DataTransferItem.cpp: * editing/cocoa/WebContentReaderCocoa.mm: * fileapi/File.cpp: * fileapi/FileCocoa.mm: * html/FileInputType.cpp: * html/FileListCreator.cpp: * loader/appcache/ApplicationCacheHost.cpp: * loader/appcache/ApplicationCacheStorage.cpp: * page/Page.cpp: * page/SecurityOrigin.cpp: * page/SecurityOriginData.cpp: * platform/FileHandle.h: * platform/FileStream.cpp: * platform/FileStream.h: * platform/SharedBuffer.h: * platform/SourcesGLib.txt: * platform/cocoa/FileMonitorCocoa.mm: * platform/glib/FileMonitorGLib.cpp: * platform/glib/SharedBufferGlib.cpp: * platform/graphics/avfoundation/objc/CDMSessionAVContentKeySession.mm: * platform/graphics/avfoundation/objc/CDMSessionAVStreamSession.mm: * platform/graphics/avfoundation/objc/CDMSessionMediaSourceAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm: * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: * platform/ios/QuickLook.mm: * platform/ios/WebItemProviderPasteboard.mm: * platform/mediarecorder/cocoa/MediaRecorderPrivateWriterCocoa.mm: * platform/network/BlobDataFileReference.cpp: * platform/network/BlobRegistryImpl.cpp: * platform/network/BlobResourceHandle.cpp: * platform/network/FormData.cpp: * platform/network/cf/FormDataStreamCFNet.cpp: * platform/network/cocoa/ResourceRequestCocoa.mm: * platform/network/curl/CookieJarDB.cpp: * platform/network/curl/CurlCacheEntry.h: * platform/network/curl/CurlCacheManager.cpp: * platform/network/curl/CurlFormDataStream.h: * platform/network/curl/CurlRequest.h: * platform/network/curl/NetworkStorageSessionCurl.cpp: * platform/network/curl/ResourceHandleCurl.cpp: * platform/network/mac/BlobDataFileReferenceMac.mm: * platform/network/soup/ResourceHandleSoup.cpp: * platform/network/soup/SoupNetworkSession.cpp: * platform/posix/SharedBufferPOSIX.cpp: * platform/sql/SQLiteFileSystem.cpp: * platform/text/hyphen/HyphenationLibHyphen.cpp: * platform/win/SearchPopupMenuDB.cpp: * rendering/RenderTheme.cpp: * rendering/RenderThemeGtk.cpp: * rendering/RenderThemeWin.cpp: * workers/service/server/RegistrationDatabase.cpp: Source/WebCore/PAL: * PAL.xcodeproj/project.pbxproj: * pal/PlatformMac.cmake: Source/WebKit: * NetworkProcess/Classifier/ResourceLoadStatisticsPersistentStorage.cpp: * NetworkProcess/NetworkDataTaskBlob.h: * NetworkProcess/NetworkProcess.cpp: * NetworkProcess/cache/CacheStorageEngine.cpp: * NetworkProcess/cache/CacheStorageEngineCaches.cpp: * NetworkProcess/cache/NetworkCache.cpp: * NetworkProcess/cache/NetworkCacheBlobStorage.cpp: * NetworkProcess/cache/NetworkCacheData.cpp: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: * NetworkProcess/cache/NetworkCacheFileSystem.h: * NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm: * NetworkProcess/cache/NetworkCacheIOChannelSoup.cpp: * NetworkProcess/cache/NetworkCacheStatistics.cpp: * NetworkProcess/cache/NetworkCacheStorage.cpp: * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: * NetworkProcess/mac/NetworkProcessMac.mm: * NetworkProcess/soup/NetworkProcessSoup.cpp: * PluginProcess/unix/PluginProcessMainUnix.cpp: * Shared/PersistencyUtils.cpp: * Shared/Plugins/Netscape/unix/NetscapePluginModuleUnix.cpp: * Shared/Plugins/unix/PluginSearchPath.cpp: * Shared/WebMemorySampler.h: * Shared/glib/ProcessExecutablePathGLib.cpp: * Shared/ios/ChildProcessIOS.mm: * Shared/mac/ChildProcessMac.mm: * Shared/mac/SandboxExtensionMac.mm: * UIProcess/API/APIContentRuleListStore.cpp: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: * UIProcess/API/glib/APIWebsiteDataStoreGLib.cpp: * UIProcess/API/glib/IconDatabase.cpp: * UIProcess/API/glib/WebKitFaviconDatabase.cpp: * UIProcess/API/glib/WebKitFileChooserRequest.cpp: * UIProcess/API/glib/WebKitWebContext.cpp: * UIProcess/API/glib/WebKitWebsiteDataManager.cpp: * UIProcess/API/win/APIWebsiteDataStoreWin.cpp: * UIProcess/Automation/WebAutomationSession.cpp: * UIProcess/Cocoa/DownloadClient.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: * UIProcess/Cocoa/WebViewImpl.mm: * UIProcess/DeviceIdHashSaltStorage.cpp: * UIProcess/Downloads/DownloadProxy.cpp: * UIProcess/Launcher/glib/BubblewrapLauncher.cpp: * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: * UIProcess/Plugins/gtk/PluginInfoCache.cpp: * UIProcess/Plugins/mac/PluginProcessProxyMac.mm: * UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp: * UIProcess/Plugins/unix/PluginProcessProxyUnix.cpp: * UIProcess/ServiceWorkerProcessProxy.cpp: * UIProcess/WebStorage/LocalStorageDatabase.cpp: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/WebsiteData/WebsiteDataStore.cpp: * UIProcess/glib/WebProcessProxyGLib.cpp: * UIProcess/gtk/WebInspectorProxyGtk.cpp: * UIProcess/gtk/WebProcessPoolGtk.cpp: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/mac/WebPageProxyMac.mm: * UIProcess/win/WebProcessPoolWin.cpp: * UIProcess/win/WebView.cpp: * UIProcess/wpe/WebProcessPoolWPE.cpp: * WebProcess/InjectedBundle/API/glib/WebKitExtensionManager.cpp: * WebProcess/InjectedBundle/glib/InjectedBundleGlib.cpp: * WebProcess/MediaCache/WebMediaKeyStorageManager.cpp: * WebProcess/Plugins/Netscape/NetscapePluginStream.h: * WebProcess/Plugins/PluginProcessConnection.cpp: * WebProcess/WebCoreSupport/SessionStateConversion.cpp: * WebProcess/WebPage/gtk/WebInspectorUIGtk.cpp: * WebProcess/WebPage/win/WebInspectorUIWin.cpp: * WebProcess/cocoa/WebProcessCocoa.mm: Source/WebKitLegacy: * Storage/StorageAreaSync.cpp: * Storage/StorageSyncManager.cpp: * Storage/StorageTracker.cpp: Source/WebKitLegacy/mac: * Misc/WebNSFileManagerExtras.mm: * Storage/WebDatabaseProvider.mm: * WebView/WebView.mm: Source/WebKitLegacy/win: * Plugins/PluginDatabase.cpp: * Plugins/PluginPackage.h: * Plugins/PluginStream.h: * WebApplicationCache.cpp: * WebDatabaseManager.cpp: * WebDownloadCurl.cpp: * WebPreferences.cpp: * WebView.cpp: Source/WTF: * WTF.xcodeproj/project.pbxproj: * wtf/CMakeLists.txt: * wtf/FileMetadata.h: Renamed from Source/WebCore/platform/FileMetadata.h. * wtf/FileSystem.cpp: Renamed from Source/WebCore/platform/FileSystem.cpp. * wtf/FileSystem.h: Renamed from Source/WebCore/platform/FileSystem.h. * wtf/PlatformGTK.cmake: * wtf/PlatformMac.cmake: * wtf/PlatformPlayStation.cmake: * wtf/PlatformWPE.cmake: * wtf/PlatformWin.cmake: * wtf/cf/FileSystemCF.cpp: Renamed from Source/WebCore/platform/cf/FileSystemCF.cpp. * wtf/cocoa/FileSystemCocoa.mm: Renamed from Source/WebCore/platform/cocoa/FileSystemCocoa.mm. * wtf/glib/FileSystemGlib.cpp: Renamed from Source/WebCore/platform/glib/FileSystemGlib.cpp. * wtf/mac/FileSystemMac.mm: Renamed from Source/WebCore/platform/mac/FileSystemMac.mm. * wtf/posix/FileSystemPOSIX.cpp: Renamed from Source/WebCore/platform/posix/FileSystemPOSIX.cpp. * wtf/spi/mac/MetadataSPI.h: Renamed from Source/WebCore/PAL/pal/spi/mac/MetadataSPI.h. * wtf/win/FileSystemWin.cpp: Renamed from Source/WebCore/platform/win/FileSystemWin.cpp. * wtf/win/PathWalker.cpp: Renamed from Source/WebCore/platform/win/PathWalker.cpp. * wtf/win/PathWalker.h: Renamed from Source/WebCore/platform/win/PathWalker.h. Tools: * DumpRenderTree/win/DumpRenderTree.cpp: * TestWebKitAPI/CMakeLists.txt: * TestWebKitAPI/PlatformGTK.cmake: * TestWebKitAPI/PlatformJSCOnly.cmake: * TestWebKitAPI/PlatformPlayStation.cmake: * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/WTF/FileSystem.cpp: Renamed from Tools/TestWebKitAPI/Tests/WebCore/FileSystem.cpp. * TestWebKitAPI/Tests/WebCore/FileMonitor.cpp: * TestWebKitAPI/Tests/WebCore/SecurityOrigin.cpp: * TestWebKitAPI/Tests/WebCore/SharedBufferTest.cpp: * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: * TestWebKitAPI/Tests/WebCore/curl/Cookies.cpp: * TestWebKitAPI/Tests/WebKitCocoa/Download.mm: * TestWebKitAPI/Tests/WebKitCocoa/DownloadProgress.mm: * TestWebKitAPI/win/PlatformUtilitiesWin.cpp: Canonical link: https://commits.webkit.org/208283@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-01-24 17:25:57 +00:00
text/unix/TextBreakIteratorInternalICUUnix.cpp
Support WTF logging channels https://bugs.webkit.org/show_bug.cgi?id=228768 Source/WebKit: Reviewed by Fujii Hironori. No new tests because there is no behavior change. * GPUProcess/GPUProcess.cpp: (WebKit::GPUProcess::initializeGPUProcess): * GPUProcess/GPUProcessCreationParameters.cpp: (WebKit::GPUProcessCreationParameters::encode const): (WebKit::GPUProcessCreationParameters::decode): * GPUProcess/GPUProcessCreationParameters.h: * Shared/AuxiliaryProcess.cpp: (WebKit::AuxiliaryProcess::initialize): * Shared/WebKit2Initialize.cpp: (WebKit::InitializeWebKit2): * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * UIProcess/Cocoa/GPUProcessProxyCocoa.mm: (WebKit::GPUProcessProxy::platformInitializeGPUProcessParameters): * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformInitializeWebProcess): * UIProcess/GPU/GPUProcessProxy.cpp: (WebKit::GPUProcessProxy::platformInitializeGPUProcessParameters): * UIProcess/WebProcessPool.cpp: * WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess): Source/WebKitLegacy/mac: Reviewed by Fujii Hironori. * WebView/WebView.mm: (-[WebView _commonInitializationWithFrameName:groupName:]): Source/WTF: This patch builds on top of https://bugs.webkit.org/show_bug.cgi?id=228809, which added shared infrastructure for logging. This patch simply triggers that shared infrastructure for WTF. There is no change in behavior - the existing WTF logging channels currently are all implemented independently in custom ways, so this patch just migrates them over to use the shared infrastructure. Reviewed by Fujii Hironori. * WTF.xcodeproj/project.pbxproj: * wtf/Assertions.h: * wtf/CMakeLists.txt: * wtf/LogInitialization.cpp: Added. (WTF::logChannels): * wtf/LogInitialization.h: Added. * wtf/Logging.cpp: Added. * wtf/Logging.h: Added. * wtf/MemoryPressureHandler.cpp: (WTF::MemoryPressureHandler::singleton): * wtf/MemoryPressureHandler.h: * wtf/PlatformFTW.cmake: * wtf/PlatformGTK.cmake: * wtf/PlatformJSCOnly.cmake: * wtf/PlatformMac.cmake: * wtf/PlatformPlayStation.cmake: * wtf/PlatformWPE.cmake: * wtf/PlatformWin.cmake: * wtf/RefCountedLeakCounter.cpp: * wtf/cocoa/LoggingCocoa.mm: Copied from Source/WebKit/UIProcess/Cocoa/GPUProcessProxyCocoa.mm. (WTF::logLevelString): * wtf/cocoa/MachSendRight.cpp: * wtf/cocoa/MainThreadCocoa.mm: * wtf/cocoa/MemoryPressureHandlerCocoa.mm: * wtf/unix/LoggingUnix.cpp: Added. (WTF::logLevelString): * wtf/win/LoggingWin.cpp: Added. (WTF::logLevelString): Canonical link: https://commits.webkit.org/240373@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-09 21:14:53 +00:00
unix/LoggingUnix.cpp
unix/MemoryPressureHandlerUnix.cpp
)
list(APPEND WTF_LIBRARIES
${KERNEL_LIBRARY}
[CMake] Use builtin targets https://bugs.webkit.org/show_bug.cgi?id=205166 Reviewed by Darin Adler. .: Add WebKitFindPackage.cmake which wraps CMake's find_package to provide targets for common libraries. Rationale: 1. There are a number of libraries which are found using CMake's internal Find modules that contain targets but not all of them are available in the minimum version of CMake we support, 3.10. 2. Updating to CMake 3.12 or higher is not possible due to the WebKit GTK's support policy. It looks like the next time we can bump the version is spring 2021. 3. Apple builds, both Mac and Windows, have libraries that won't be found using the stock CMake modules. AppleWin also has internal builds where all libraries have a DEBUG_SUFFIX of _debug that would not be picked up. In the implementation of find_package any Apple specific requirements are dealt with and the expected CMake values are populated. For all other cases CMake's original find_package is called so there's no behavior change. Afterwards if there is a library that has a target but the target was not created it is created from the definitions that are present from the find module at CMake 3.10. This makes it so all ports consistently have targets across all versions of CMake above the current minimum. * Source/cmake/OptionsAppleWin.cmake: * Source/cmake/OptionsPlayStation.cmake: * Source/cmake/WebKitCommon.cmake: * Source/cmake/WebKitFindPackage.cmake: Added. * Source/cmake/target/icu.cmake: Removed. PerformanceTests: * MallocBench/MallocBench/CMakeLists.txt: Source/WebCore: * CMakeLists.txt: * PlatformGTK.cmake: * PlatformMac.cmake: * platform/Curl.cmake: * platform/FreeType.cmake: * platform/ImageDecoders.cmake: Source/WebCore/PAL: * pal/PlatformPlayStation.cmake: Source/WebKit: * PlatformFTW.cmake: * PlatformWPE.cmake: * PlatformWin.cmake: Source/WebKitLegacy: * PlatformFTW.cmake: * PlatformWin.cmake: Source/WTF: * wtf/PlatformGTK.cmake: * wtf/PlatformJSCOnly.cmake: * wtf/PlatformPlayStation.cmake: * wtf/PlatformWPE.cmake: Tools: * TestWebKitAPI/PlatformWin.cmake: Canonical link: https://commits.webkit.org/220799@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-02-17 15:37:39 +00:00
Threads::Threads
)
PLAYSTATION_COPY_REQUIREMENTS(WTF_CopySharedLibs
FILES
${ICU_LIBRARIES}
)