haikuwebkit/Tools/WebKitTestRunner/PlatformWPE.cmake

63 lines
1.7 KiB
CMake
Raw Permalink Normal View History

Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
add_custom_target(WebKitTestRunner-forwarding-headers
COMMAND ${PERL_EXECUTABLE} ${WEBKIT_DIR}/Scripts/generate-forwarding-headers.pl --include-path ${WebKitTestRunner_DIR} --output ${FORWARDING_HEADERS_DIR} --platform wpe
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
)
list(APPEND WebKitTestRunner_DEPENDENCIES WebKitTestRunner-forwarding-headers)
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
list(APPEND WebKitTestRunner_SOURCES
cairo/TestInvocationCairo.cpp
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
wpe/EventSenderProxyWPE.cpp
wpe/PlatformWebViewWPE.cpp
wpe/TestControllerWPE.cpp
wpe/UIScriptControllerWPE.cpp
wpe/main.cpp
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
)
list(APPEND WebKitTestRunner_INCLUDE_DIRECTORIES
${FORWARDING_HEADERS_DIR}
[WPE] Add a MiniBrowser and use it to run WebDriver tests https://bugs.webkit.org/show_bug.cgi?id=186345 Reviewed by Žan Doberšek. .: Add an option to enable building the MiniBrowser. * Source/cmake/FindWaylandProtocols.cmake: Added. * Source/cmake/OptionsWPE.cmake: Source/WebDriver: Use MiniBrowser instead of dyz as the default WebDriver browser for WPE. * wpe/WebDriverServiceWPE.cpp: (WebDriver::WebDriverService::platformParseCapabilities const): Tools: Most of the code is based on dyz and gtk MiniBrowser. This patch adds a new internal library WPEToolingBackends, including the headless view backend and a new window backend to be used by the MiniBrowser. MiniBrowser can also run in headless mode, by using the headless backend instead of the window one, which will allow us to run the WebDriver tests in the bots. * CMakeLists.txt: * MiniBrowser/wpe/CMakeLists.txt: Added. * MiniBrowser/wpe/main.cpp: Added. (automationStartedCallback): (createViewBackend): (main): * Scripts/run-minibrowser: Remove WPE specific code. * Scripts/run-webdriver-tests: Add headless display-server option. * Scripts/webkitdirs.pm: (launcherName): Remove WPE specific code. * Scripts/webkitpy/webdriver_tests/webdriver_driver_wpe.py: (WebDriverWPE.browser_name): Return MiniBrowser. (WebDriverWPE.browser_path): Return the path to the MiniBrowser in build dir. (WebDriverWPE.browser_args): Add --headless when running in headless mode. (WebDriverWPE.capabilities): Use the full browser path. * Scripts/webkitpy/webdriver_tests/webdriver_test_runner_selenium.py: (WebDriverTestRunnerSelenium.collect_tests): Fix early return value. * TestWebKitAPI/PlatformWPE.cmake: Use WPEToolingBackends instead of HeadlessViewBackend. * TestWebKitAPI/PlatformWebView.h: Ditto. * TestWebKitAPI/glib/PlatformWPE.cmake: Ditto * TestWebKitAPI/glib/WebKitGLib/TestMain.h: (Test::createWebViewBackend): Ditto. * TestWebKitAPI/wpe/PlatformWebViewWPE.cpp: (TestWebKitAPI::PlatformWebView::initialize): Ditto. * WebKitTestRunner/PlatformWPE.cmake: Ditto. * WebKitTestRunner/PlatformWebView.h: Ditto. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: (WTR::PlatformWebView::PlatformWebView): Ditto. * wpe/HeadlessViewBackend/CMakeLists.txt: Removed. * wpe/backends/CMakeLists.txt: Added. * wpe/backends/HeadlessViewBackend.cpp: Renamed from Tools/wpe/HeadlessViewBackend/HeadlessViewBackend.cpp. (WPEToolingBackends::getEGLDisplay): (WPEToolingBackends::HeadlessViewBackend::HeadlessViewBackend): (WPEToolingBackends::HeadlessViewBackend::~HeadlessViewBackend): (WPEToolingBackends::HeadlessViewBackend::createSnapshot): (WPEToolingBackends::HeadlessViewBackend::performUpdate): (WPEToolingBackends::HeadlessViewBackend::displayBuffer): * wpe/backends/HeadlessViewBackend.h: Renamed from Tools/wpe/HeadlessViewBackend/HeadlessViewBackend.h. * wpe/backends/ViewBackend.cpp: Added. (WPEToolingBackends::ViewBackend::ViewBackend): (WPEToolingBackends::ViewBackend::~ViewBackend): (WPEToolingBackends::ViewBackend::initialize): (WPEToolingBackends::ViewBackend::setInputClient): (WPEToolingBackends::ViewBackend::backend const): (WPEToolingBackends::ViewBackend::dispatchInputPointerEvent): (WPEToolingBackends::ViewBackend::dispatchInputAxisEvent): (WPEToolingBackends::ViewBackend::dispatchInputKeyboardEvent): * wpe/backends/ViewBackend.h: Added. * wpe/backends/WindowViewBackend.cpp: Added. (WPEToolingBackends::WindowViewBackend::WindowViewBackend): (WPEToolingBackends::WindowViewBackend::~WindowViewBackend): (WPEToolingBackends::WindowViewBackend::displayBuffer): (WPEToolingBackends::WindowViewBackend::handleKeyEvent): * wpe/backends/WindowViewBackend.h: Added. * wpe/jhbuild.modules: Remove dyz and add wayland-protocols. Canonical link: https://commits.webkit.org/201827@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-06-11 06:43:14 +00:00
${TOOLS_DIR}/wpe/backends
)
list(APPEND WebKitTestRunner_SYSTEM_INCLUDE_DIRECTORIES
${ATK_INCLUDE_DIRS}
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
${GLIB_INCLUDE_DIRS}
[WPE] Implement EventSenderProxy in WTR https://bugs.webkit.org/show_bug.cgi?id=173419 Reviewed by Žan Doberšek. Add the implementation of EventSenderProxy to the WTR. This allows us to extend the coverage of the test suite in WKWPE. .: * Source/cmake/FindLibxkbcommon.cmake: Added. Tools: * WebKitTestRunner/EventSenderProxy.h: * WebKitTestRunner/PlatformWPE.cmake: Add dependency on libxkbcommon needed to deal with key events. * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: (WTR::EventSenderProxy::EventSenderProxy): (WTR::senderButtonToWPEButton): (WTR::EventSenderProxy::mouseDown): (WTR::EventSenderProxy::mouseUp): (WTR::EventSenderProxy::mouseMoveTo): (WTR::EventSenderProxy::mouseScrollBy): (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): (WTR::EventSenderProxy::leapForward): (WTR::wkEventModifiersToWPE): (WTR::getXKBKeySymForKeyRef): (WTR::EventSenderProxy::keyDown): (WTR::EventSenderProxy::addTouchPoint): (WTR::EventSenderProxy::updateTouchPoint): (WTR::EventSenderProxy::setTouchModifier): (WTR::EventSenderProxy::setTouchPointRadius): (WTR::EventSenderProxy::getUpdatedTouchEvents): (WTR::EventSenderProxy::removeUpdatedTouchEvents): (WTR::EventSenderProxy::prepareAndDispatchTouchEvent): (WTR::EventSenderProxy::touchStart): (WTR::EventSenderProxy::touchMove): (WTR::EventSenderProxy::touchEnd): (WTR::EventSenderProxy::touchCancel): (WTR::EventSenderProxy::clearTouchPoints): (WTR::EventSenderProxy::releaseTouchPoint): (WTR::EventSenderProxy::cancelTouchPoint): LayoutTests: * platform/wpe/TestExpectations: Unskip fast/events tests, marking failures that are related to features not yet implemented in WPE. Also remove other tests that are now passing thanks to having event injection. * platform/wpe/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.txt: Update. * platform/wpe/fast/dynamic/layer-hit-test-crash-expected.txt: Update. * platform/wpe/fast/events/clientXY-in-zoom-and-scroll-expected.txt: Added. * platform/wpe/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt: Update. Canonical link: https://commits.webkit.org/191729@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-28 10:27:03 +00:00
${LIBXKBCOMMON_INCLUDE_DIRS}
[WPE] Build and link against latest WPEBackend and WPEBackend-fdo https://bugs.webkit.org/show_bug.cgi?id=184643 Reviewed by Žan Doberšek. .: Update find modules to include the API versions. * Source/cmake/FindWPEBackend-fdo.cmake: * Source/cmake/FindWPEBackend.cmake: Source/WebCore: Adapt to single-header WPE includes. * platform/graphics/egl/GLContextEGLWPE.cpp: * platform/graphics/wpe/PlatformDisplayWPE.cpp: * platform/wpe/PlatformPasteboardWPE.cpp: Source/WebKit: Adapt to single-header WPE includes. Null-initialize padding to silence -Wmissing-field-initializers. (Yuck.) * Shared/NativeWebTouchEvent.h: * Shared/wpe/WebEventFactory.cpp: * UIProcess/API/glib/WebKitPrivate.cpp: * UIProcess/API/wpe/CompositingManagerProxy.cpp: * UIProcess/API/wpe/ScrollGestureController.h: * UIProcess/API/wpe/WPEView.cpp: (WKWPE::m_backend): * UIProcess/API/wpe/WebKitWebViewBackend.h: * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: * WebProcess/WebPage/wpe/AcceleratedSurfaceWPE.cpp: (WebKit::AcceleratedSurfaceWPE::initialize): Tools: Add missing INCLUDE_DIRS in many places. Adapt to single-header WPE includes. Null-initialize padding to silence -Wmissing-field-initializers. (Yuck.) * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp: (testWebViewWebBackend): * TestWebKitAPI/glib/PlatformWPE.cmake: * WebKitTestRunner/EventSenderProxy.h: * WebKitTestRunner/PlatformWPE.cmake: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: * wpe/HeadlessViewBackend/CMakeLists.txt: * wpe/HeadlessViewBackend/HeadlessViewBackend.cpp: * wpe/HeadlessViewBackend/HeadlessViewBackend.h: * wpe/jhbuild.modules: Canonical link: https://commits.webkit.org/200511@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-04-26 06:40:04 +00:00
${WPEBACKEND_FDO_INCLUDE_DIRS}
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
)
list(APPEND WebKitTestRunner_LIBRARIES
${GLIB_LIBRARIES}
[WPE] Implement EventSenderProxy in WTR https://bugs.webkit.org/show_bug.cgi?id=173419 Reviewed by Žan Doberšek. Add the implementation of EventSenderProxy to the WTR. This allows us to extend the coverage of the test suite in WKWPE. .: * Source/cmake/FindLibxkbcommon.cmake: Added. Tools: * WebKitTestRunner/EventSenderProxy.h: * WebKitTestRunner/PlatformWPE.cmake: Add dependency on libxkbcommon needed to deal with key events. * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: (WTR::EventSenderProxy::EventSenderProxy): (WTR::senderButtonToWPEButton): (WTR::EventSenderProxy::mouseDown): (WTR::EventSenderProxy::mouseUp): (WTR::EventSenderProxy::mouseMoveTo): (WTR::EventSenderProxy::mouseScrollBy): (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): (WTR::EventSenderProxy::leapForward): (WTR::wkEventModifiersToWPE): (WTR::getXKBKeySymForKeyRef): (WTR::EventSenderProxy::keyDown): (WTR::EventSenderProxy::addTouchPoint): (WTR::EventSenderProxy::updateTouchPoint): (WTR::EventSenderProxy::setTouchModifier): (WTR::EventSenderProxy::setTouchPointRadius): (WTR::EventSenderProxy::getUpdatedTouchEvents): (WTR::EventSenderProxy::removeUpdatedTouchEvents): (WTR::EventSenderProxy::prepareAndDispatchTouchEvent): (WTR::EventSenderProxy::touchStart): (WTR::EventSenderProxy::touchMove): (WTR::EventSenderProxy::touchEnd): (WTR::EventSenderProxy::touchCancel): (WTR::EventSenderProxy::clearTouchPoints): (WTR::EventSenderProxy::releaseTouchPoint): (WTR::EventSenderProxy::cancelTouchPoint): LayoutTests: * platform/wpe/TestExpectations: Unskip fast/events tests, marking failures that are related to features not yet implemented in WPE. Also remove other tests that are now passing thanks to having event injection. * platform/wpe/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.txt: Update. * platform/wpe/fast/dynamic/layer-hit-test-crash-expected.txt: Update. * platform/wpe/fast/events/clientXY-in-zoom-and-scroll-expected.txt: Added. * platform/wpe/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt: Update. Canonical link: https://commits.webkit.org/191729@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-07-28 10:27:03 +00:00
${LIBXKBCOMMON_LIBRARIES}
[WPE] Build and link against latest WPEBackend and WPEBackend-fdo https://bugs.webkit.org/show_bug.cgi?id=184643 Reviewed by Žan Doberšek. .: Update find modules to include the API versions. * Source/cmake/FindWPEBackend-fdo.cmake: * Source/cmake/FindWPEBackend.cmake: Source/WebCore: Adapt to single-header WPE includes. * platform/graphics/egl/GLContextEGLWPE.cpp: * platform/graphics/wpe/PlatformDisplayWPE.cpp: * platform/wpe/PlatformPasteboardWPE.cpp: Source/WebKit: Adapt to single-header WPE includes. Null-initialize padding to silence -Wmissing-field-initializers. (Yuck.) * Shared/NativeWebTouchEvent.h: * Shared/wpe/WebEventFactory.cpp: * UIProcess/API/glib/WebKitPrivate.cpp: * UIProcess/API/wpe/CompositingManagerProxy.cpp: * UIProcess/API/wpe/ScrollGestureController.h: * UIProcess/API/wpe/WPEView.cpp: (WKWPE::m_backend): * UIProcess/API/wpe/WebKitWebViewBackend.h: * UIProcess/Launcher/glib/ProcessLauncherGLib.cpp: * WebProcess/WebPage/wpe/AcceleratedSurfaceWPE.cpp: (WebKit::AcceleratedSurfaceWPE::initialize): Tools: Add missing INCLUDE_DIRS in many places. Adapt to single-header WPE includes. Null-initialize padding to silence -Wmissing-field-initializers. (Yuck.) * TestWebKitAPI/PlatformWPE.cmake: * TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp: (testWebViewWebBackend): * TestWebKitAPI/glib/PlatformWPE.cmake: * WebKitTestRunner/EventSenderProxy.h: * WebKitTestRunner/PlatformWPE.cmake: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: * wpe/HeadlessViewBackend/CMakeLists.txt: * wpe/HeadlessViewBackend/HeadlessViewBackend.cpp: * wpe/HeadlessViewBackend/HeadlessViewBackend.h: * wpe/jhbuild.modules: Canonical link: https://commits.webkit.org/200511@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231042 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-04-26 06:40:04 +00:00
${WPEBACKEND_FDO_LIBRARIES}
Cairo::Cairo
[WPE] Add a MiniBrowser and use it to run WebDriver tests https://bugs.webkit.org/show_bug.cgi?id=186345 Reviewed by Žan Doberšek. .: Add an option to enable building the MiniBrowser. * Source/cmake/FindWaylandProtocols.cmake: Added. * Source/cmake/OptionsWPE.cmake: Source/WebDriver: Use MiniBrowser instead of dyz as the default WebDriver browser for WPE. * wpe/WebDriverServiceWPE.cpp: (WebDriver::WebDriverService::platformParseCapabilities const): Tools: Most of the code is based on dyz and gtk MiniBrowser. This patch adds a new internal library WPEToolingBackends, including the headless view backend and a new window backend to be used by the MiniBrowser. MiniBrowser can also run in headless mode, by using the headless backend instead of the window one, which will allow us to run the WebDriver tests in the bots. * CMakeLists.txt: * MiniBrowser/wpe/CMakeLists.txt: Added. * MiniBrowser/wpe/main.cpp: Added. (automationStartedCallback): (createViewBackend): (main): * Scripts/run-minibrowser: Remove WPE specific code. * Scripts/run-webdriver-tests: Add headless display-server option. * Scripts/webkitdirs.pm: (launcherName): Remove WPE specific code. * Scripts/webkitpy/webdriver_tests/webdriver_driver_wpe.py: (WebDriverWPE.browser_name): Return MiniBrowser. (WebDriverWPE.browser_path): Return the path to the MiniBrowser in build dir. (WebDriverWPE.browser_args): Add --headless when running in headless mode. (WebDriverWPE.capabilities): Use the full browser path. * Scripts/webkitpy/webdriver_tests/webdriver_test_runner_selenium.py: (WebDriverTestRunnerSelenium.collect_tests): Fix early return value. * TestWebKitAPI/PlatformWPE.cmake: Use WPEToolingBackends instead of HeadlessViewBackend. * TestWebKitAPI/PlatformWebView.h: Ditto. * TestWebKitAPI/glib/PlatformWPE.cmake: Ditto * TestWebKitAPI/glib/WebKitGLib/TestMain.h: (Test::createWebViewBackend): Ditto. * TestWebKitAPI/wpe/PlatformWebViewWPE.cpp: (TestWebKitAPI::PlatformWebView::initialize): Ditto. * WebKitTestRunner/PlatformWPE.cmake: Ditto. * WebKitTestRunner/PlatformWebView.h: Ditto. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: (WTR::PlatformWebView::PlatformWebView): Ditto. * wpe/HeadlessViewBackend/CMakeLists.txt: Removed. * wpe/backends/CMakeLists.txt: Added. * wpe/backends/HeadlessViewBackend.cpp: Renamed from Tools/wpe/HeadlessViewBackend/HeadlessViewBackend.cpp. (WPEToolingBackends::getEGLDisplay): (WPEToolingBackends::HeadlessViewBackend::HeadlessViewBackend): (WPEToolingBackends::HeadlessViewBackend::~HeadlessViewBackend): (WPEToolingBackends::HeadlessViewBackend::createSnapshot): (WPEToolingBackends::HeadlessViewBackend::performUpdate): (WPEToolingBackends::HeadlessViewBackend::displayBuffer): * wpe/backends/HeadlessViewBackend.h: Renamed from Tools/wpe/HeadlessViewBackend/HeadlessViewBackend.h. * wpe/backends/ViewBackend.cpp: Added. (WPEToolingBackends::ViewBackend::ViewBackend): (WPEToolingBackends::ViewBackend::~ViewBackend): (WPEToolingBackends::ViewBackend::initialize): (WPEToolingBackends::ViewBackend::setInputClient): (WPEToolingBackends::ViewBackend::backend const): (WPEToolingBackends::ViewBackend::dispatchInputPointerEvent): (WPEToolingBackends::ViewBackend::dispatchInputAxisEvent): (WPEToolingBackends::ViewBackend::dispatchInputKeyboardEvent): * wpe/backends/ViewBackend.h: Added. * wpe/backends/WindowViewBackend.cpp: Added. (WPEToolingBackends::WindowViewBackend::WindowViewBackend): (WPEToolingBackends::WindowViewBackend::~WindowViewBackend): (WPEToolingBackends::WindowViewBackend::displayBuffer): (WPEToolingBackends::WindowViewBackend::handleKeyEvent): * wpe/backends/WindowViewBackend.h: Added. * wpe/jhbuild.modules: Remove dyz and add wayland-protocols. Canonical link: https://commits.webkit.org/201827@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-06-11 06:43:14 +00:00
WPEToolingBackends
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
)
list(APPEND WebKitTestRunnerInjectedBundle_LIBRARIES
${ATK_LIBRARIES}
${GLIB_LIBRARIES}
Cairo::Cairo
)
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
list(APPEND WebKitTestRunnerInjectedBundle_SOURCES
InjectedBundle/atk/AccessibilityControllerAtk.cpp
InjectedBundle/atk/AccessibilityNotificationHandlerAtk.cpp
InjectedBundle/atk/AccessibilityUIElementAtk.cpp
InjectedBundle/wpe/ActivateFontsWPE.cpp
InjectedBundle/wpe/InjectedBundleWPE.cpp
InjectedBundle/wpe/TestRunnerWPE.cpp
)
list(APPEND WebKitTestRunnerInjectedBundle_INCLUDE_DIRECTORIES
${ATK_INCLUDE_DIRS}
${GLIB_INCLUDE_DIRS}
${WebKitTestRunner_DIR}/InjectedBundle/atk
${WebKitTestRunner_DIR}/InjectedBundle/wpe
Upstream the WPE port https://bugs.webkit.org/show_bug.cgi?id=171110 Reviewed by Alex Christensen. .: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html * CMakeLists.txt: Add the WPE port identifier. * Source/cmake/FindLibGBM.cmake: Added. * Source/cmake/FindWPEBackend-mesa.cmake: Added. * Source/cmake/FindWPEBackend.cmake: Added. * Source/cmake/OptionsWPE.cmake: Added. Source/JavaScriptCore: * PlatformWPE.cmake: Added. * shell/PlatformWPE.cmake: Added. Source/ThirdParty/ANGLE: * include/EGL/eglplatform.h: Allow building WPE on platforms that don't provide X11 libraries. Source/WebCore: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files mostly changed to properly use PLATFORM(WPE) build guards. In-file changes removed from this ChangeLog entry for brevity. * CMakeLists.txt: * PlatformWPE.cmake: Added. * accessibility/AccessibilityObject.h: * accessibility/wpe/AXObjectCacheWPE.cpp: Added. * accessibility/wpe/AccessibilityObjectWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * config.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyRSA.h: * editing/Editor.cpp: * editing/Editor.h: * editing/wpe/EditorWPE.cpp: Added. * page/EventHandler.cpp: * page/wpe/EventHandlerWPE.cpp: Added. * platform/Cursor.h: * platform/DragData.h: * platform/DragImage.h: * platform/FileSystem.h: * platform/MainThreadSharedTimer.cpp: * platform/MainThreadSharedTimer.h: * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformPasteboard.h: * platform/SchemeRegistry.cpp: * platform/Widget.h: * platform/audio/glib/AudioBusGLib.cpp: * platform/glib/FileSystemGlib.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/GLContext.cpp: * platform/graphics/GLContext.h: * platform/graphics/GraphicsContext3D.h: * platform/graphics/OpenGLESShims.h: * platform/graphics/PlatformDisplay.cpp: * platform/graphics/PlatformDisplay.h: * platform/graphics/egl/GLContextEGL.cpp: * platform/graphics/egl/GLContextEGL.h: * platform/graphics/egl/GLContextEGLWPE.cpp: Copied from Source/WebCore/platform/audio/glib/AudioBusGLib.cpp. * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/wpe/IconWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/ImageWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/graphics/wpe/PlatformDisplayWPE.cpp: Added. * platform/graphics/wpe/PlatformDisplayWPE.h: Added. * platform/wpe/CursorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/LocalizedStringsWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PasteboardWPE.cpp: Added. * platform/wpe/PlatformKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/PlatformPasteboardWPE.cpp: Added. * platform/wpe/PlatformScreenWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/RenderThemeWPE.cpp: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * platform/wpe/RenderThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ScrollbarThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/SoundWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/ThemeWPE.cpp: Added. * platform/wpe/ThemeWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * platform/wpe/WidgetWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. Source/WebCore/PAL: * pal/PlatformWPE.cmake: Added. Source/WebKit2: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Existing files changed to properly use PLATFORM(WPE) build guards or other WPE-specific additions (e.g. pasteboard support). In-file changes removed from this ChangeLog entry for brevity. * Platform/IPC/glib/GSocketMonitor.cpp: * PlatformWPE.cmake: Added. * Scripts/generate-forwarding-headers.pl: * Shared/API/c/WKBase.h: * Shared/API/c/wpe/WKBaseWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/API/c/wpe/WebKit.h: Added. * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.cpp: * Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp: * Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.h: * Shared/DrawingAreaInfo.h: * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/NativeWebWheelEvent.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebPreferencesDefinitions.h: * Shared/wpe/NativeWebKeyboardEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebMouseEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebTouchEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/NativeWebWheelEventWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * Shared/wpe/ProcessExecutablePathWPE.cpp: Added. * Shared/wpe/WebEventFactory.cpp: Added. * Shared/wpe/WebEventFactory.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/WKAPICast.h: * UIProcess/API/C/wpe/WKAPICastWPE.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/C/wpe/WKView.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/CompositingManagerProxy.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/CompositingManagerProxy.messages.in: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.cpp: Added. * UIProcess/API/wpe/DrawingAreaProxyWPE.h: Copied from Source/WebKit2/Shared/NativeWebWheelEvent.h. * UIProcess/API/wpe/PageClientImpl.cpp: Added. * UIProcess/API/wpe/PageClientImpl.h: Added. * UIProcess/API/wpe/ScrollGestureController.cpp: Added. * UIProcess/API/wpe/ScrollGestureController.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEView.cpp: Added. * UIProcess/API/wpe/WPEView.h: Added. * UIProcess/API/wpe/WPEViewClient.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WPEViewClient.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/API/wpe/WebKit2InspectorGResourceBundle.xml: Added. * UIProcess/ChildProcessProxy.cpp: * UIProcess/Launcher/ProcessLauncher.h: * UIProcess/Launcher/wpe/ProcessLauncherWPE.cpp: Added. * UIProcess/WebInspectorProxy.h: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: * UIProcess/wpe/TextCheckerWPE.cpp: Added. * UIProcess/wpe/WebInspectorProxyWPE.cpp: Added. * UIProcess/wpe/WebPageProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPasteboardProxyWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * UIProcess/wpe/WebPreferencesWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * UIProcess/wpe/WebProcessPoolWPE.cpp: Added. * WebKit2.xcodeproj/project.pbxproj: * WebKit2Prefix.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/wpe/WebContextMenuClientWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebCoreSupport/wpe/WebEditorClientWPE.cpp: Added. * WebProcess/WebCoreSupport/wpe/WebPopupMenuWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/CoordinatedGraphics/ThreadedCoordinatedLayerTreeHost.cpp: * WebProcess/WebPage/DrawingArea.cpp: * WebProcess/WebPage/WebPage.cpp: * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/wpe/CompositingManager.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/CompositingManager.h: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/DrawingAreaWPE.cpp: Added. * WebProcess/WebPage/wpe/DrawingAreaWPE.h: Added. * WebProcess/WebPage/wpe/WebInspectorUIWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebInspectorWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebProcess/WebPage/wpe/WebPageWPE.cpp: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebProcess/wpe/WebProcessMainWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * wpe/wpe-webkit.pc.in: Added. Source/WTF: * wtf/Platform.h: * wtf/PlatformWPE.cmake: Added. * wtf/glib/RunLoopSourcePriority.h: Tools: webkit-dev thread: https://lists.webkit.org/pipermail/webkit-dev/2017-April/028923.html Add WPE support to various tooling scripts, TestWebKitAPI and WebKitTestRunner. In-file changes removed from this ChangeLog entry for brevity. * BuildSlaveSupport/built-product-archive: * BuildSlaveSupport/test-result-archive: * CMakeLists.txt: * ImageDiff/PlatformWPE.cmake: Added. * Scripts/build-dumprendertree: * Scripts/build-webkit: * Scripts/build-webkittestrunner: * Scripts/update-webkit-libs-jhbuild: * Scripts/update-webkitwpe-libs: Added. * Scripts/webkitdirs.pm: * Scripts/webkitperl/FeatureList.pm: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/port/factory.py: * Scripts/webkitpy/port/wpe.py: Added. * TestWebKitAPI/PlatformWPE.cmake: Added. * TestWebKitAPI/wpe/InjectedBundleControllerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * TestWebKitAPI/wpe/PlatformUtilitiesWPE.cpp: Added. * TestWebKitAPI/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityController.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: * WebKitTestRunner/InjectedBundle/TestRunner.h: * WebKitTestRunner/InjectedBundle/wpe/AccessibilityControllerWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/AccessibilityUIElementWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/ActivateFontsWPE.cpp: Added. * WebKitTestRunner/InjectedBundle/wpe/InjectedBundleWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/InjectedBundle/wpe/TestRunnerWPE.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * WebKitTestRunner/PlatformWPE.cmake: Added. * WebKitTestRunner/PlatformWebView.h: * WebKitTestRunner/TestController.cpp: * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.cpp: Added. * WebKitTestRunner/wpe/HeadlessViewBackend.h: Copied from Source/WebKit2/Shared/CoordinatedGraphics/threadedcompositor/CompositingRunLoop.h. * WebKitTestRunner/wpe/PlatformWebViewWPE.cpp: Added. * WebKitTestRunner/wpe/TestControllerWPE.cpp: Added. * WebKitTestRunner/wpe/main.cpp: Copied from Source/WebKit2/Shared/DrawingAreaInfo.h. * jhbuild/jhbuild-wrapper: * wpe/generate-inspector-gresource-manifest.py: Added. * wpe/jhbuild.modules: Added. * wpe/jhbuildrc: Added. * wpe/patches/cairo-egl-device-create-for-egl-surface.patch: Added. * wpe/patches/fontconfig-C-11-requires-a-space-between-literal-and-identifier.patch: Added. * wpe/patches/freetype6-2.4.11-truetype-font-height-fix.patch: Added. * wpe/patches/gdate-suppress-string-format-literal-warning.patch: Added. * wpe/patches/glib-warning-fix.patch: Added. * wpe/patches/gst-plugins-bad-0001-dtls-port-to-OpenSSL-1.1.0.patch: Added. * wpe/patches/gst-plugins-bad-0002-dtlscertificate-Fix-error-checking-in-RSA_generate_k.patch: Added. * wpe/patches/gst-plugins-good-Revert-qtdemux-expose-streams-with-first-moof-for-fr.patch: Added. * wpe/patches/gst-plugins-good-use-the-tfdt-decode-time.patch: Added. * wpe/patches/gstreamer-typefind-Only-push-a-CAPS-event-downstream-if-the-.patch: Added. Canonical link: https://commits.webkit.org/188769@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@216497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-05-09 11:07:57 +00:00
)
add_definitions(
-DFONTS_CONF_DIR="${TOOLS_DIR}/WebKitTestRunner/gtk/fonts"
-DTOP_LEVEL_DIR="${CMAKE_SOURCE_DIR}"
)