From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] wpewebkit: add WebDriver config switch
Date: Tue, 31 Aug 2021 18:46:23 +0200 [thread overview]
Message-ID: <20210831164623.11889-1-bst@pengutronix.de> (raw)
Prior to this commit, WebDriver was always built, but not installed. Now
it is only built *and* installed if the corresponding option is enabled.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/wpewebkit.in | 7 +++++++
rules/wpewebkit.make | 6 +++++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/rules/wpewebkit.in b/rules/wpewebkit.in
index 084874067..8c1f6c50e 100644
--- a/rules/wpewebkit.in
+++ b/rules/wpewebkit.in
@@ -98,4 +98,11 @@ config WPEWEBKIT_ENABLE_LOGGING
Enable this option if you want to get some more logging information. For more
information check https://trac.webkit.org/wiki/WebKitGTK/Debugging.
+config WPEWEBKIT_WEBDRIVER
+ bool
+ prompt "WebDriver support"
+ help
+ WebDriver is a standalone server that implements the W3C WebDriver standard
+ for automated testing.
+
endif
diff --git a/rules/wpewebkit.make b/rules/wpewebkit.make
index 26d2c0e08..d1a7fa120 100644
--- a/rules/wpewebkit.make
+++ b/rules/wpewebkit.make
@@ -43,7 +43,7 @@ WPEWEBKIT_CONF_OPT := \
-DENABLE_GTKDOC=OFF\
-DENABLE_MEDIA_SOURCE=ON \
-DENABLE_VIDEO=$(call ptx/onoff,PTXCONF_WPEWEBKIT_VIDEO) \
- -DENABLE_WEBDRIVER=ON \
+ -DENABLE_WEBDRIVER=$(call ptx/onoff,PTXCONF_WPEWEBKIT_WEBDRIVER) \
-DENABLE_WEB_AUDIO=$(call ptx/onoff,PTXCONF_WPEWEBKIT_AUDIO) \ \
-DENABLE_WEB_CRYPTO=ON \
-DENABLE_WPE_QT_API=$(call ptx/onoff,PTXCONF_WPEWEBKIT_QT) \
@@ -102,6 +102,10 @@ ifdef PTXCONF_WPEWEBKIT_QT
@$(call install_tree, wpewebkit, 0, 0, -, /usr/lib/qt5/qml/org/wpewebkit)
endif
+ifdef PTXCONF_WPEWEBKIT_WEBDRIVER
+ @$(call install_copy, wpewebkit, 0, 0, 0755, -, /usr/bin/WPEWebDriver)
+endif
+
@$(call install_finish, wpewebkit)
@$(call touch)
--
2.30.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-08-31 16:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 16:46 Bastian Krause [this message]
2021-10-07 10:18 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210831164623.11889-1-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox