Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REGRESSION(279376@main): [WPE] Build broken with ENABLE_WEBDRIVER=OFF #29772

Merged

Conversation

aperezdc
Copy link
Contributor

@aperezdc aperezdc commented Jun 12, 2024

03618f4

REGRESSION(279376@main): [WPE] Build broken with ENABLE_WEBDRIVER=OFF
https://bugs.webkit.org/show_bug.cgi?id=275423

Reviewed by Michael Catanzaro.

Move some parts of WebAutomationSession.cpp under their corresponding
guards to avoid trying to build them when ENABLE_WEBDRIVER is disabled.

* Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionWPE.cpp:
(WebKit::deviceScaleLocationInView): Guard with ENABLE(WEBDRIVER) to
avoid defined-but-unused warning when building with WebDriver disabled.
(WebKit::libWPEStateModifierForWPEButton): Guard with
ENABLE(WEBDRIVER_MOUSE_INTERACTIONS), as it's the case with its
declraration.
(WebKit::doMouseEvent): Move under a ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
guard to avoid defined-but-unused compiler warnings.
(WebKit::doMotionEvent): Ditto.
(WebKit::libWPEMouseButtonToWPEButton): Ditto.

Canonical link: https://commits.webkit.org/279973@main

cfb255d

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2 βœ… πŸ§ͺ wincairo-tests
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ›  wpe-cairo
  πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ›  gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2   πŸ§ͺ gtk-wk2
  πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress   πŸ§ͺ api-gtk
βœ… πŸ›  watch
βœ… πŸ›  πŸ§ͺ unsafe-merge   πŸ›  watch-sim

@aperezdc aperezdc requested review from donny-dont, zdobersek and a team as code owners June 12, 2024 22:58
@aperezdc aperezdc self-assigned this Jun 12, 2024
@aperezdc aperezdc added the Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases label Jun 12, 2024
@aperezdc aperezdc requested a review from lauromoura June 12, 2024 22:59
@aperezdc aperezdc added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 13, 2024
https://bugs.webkit.org/show_bug.cgi?id=275423

Reviewed by Michael Catanzaro.

Move some parts of WebAutomationSession.cpp under their corresponding
guards to avoid trying to build them when ENABLE_WEBDRIVER is disabled.

* Source/WebKit/UIProcess/Automation/libwpe/WebAutomationSessionWPE.cpp:
(WebKit::deviceScaleLocationInView): Guard with ENABLE(WEBDRIVER) to
avoid defined-but-unused warning when building with WebDriver disabled.
(WebKit::libWPEStateModifierForWPEButton): Guard with
ENABLE(WEBDRIVER_MOUSE_INTERACTIONS), as it's the case with its
declraration.
(WebKit::doMouseEvent): Move under a ENABLE(WEBDRIVER_MOUSE_INTERACTIONS)
guard to avoid defined-but-unused compiler warnings.
(WebKit::doMotionEvent): Ditto.
(WebKit::libWPEMouseButtonToWPEButton): Ditto.

Canonical link: https://commits.webkit.org/279973@main
@webkit-commit-queue webkit-commit-queue force-pushed the aperezdc/wpe-fix-build-webdriver-off branch from cfb255d to 03618f4 Compare June 13, 2024 01:33
@webkit-commit-queue
Copy link
Collaborator

Committed 279973@main (03618f4): https://commits.webkit.org/279973@main

Reviewed commits have been landed. Closing PR #29772 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 03618f4 into WebKit:main Jun 13, 2024
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools / Tests Tools in the Tools directory, build issues, test infrastructure, and bugs in test cases
Projects
None yet
4 participants