From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 31 Aug 2021 18:47:01 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mL6ub-0003fO-Qw for lore@lore.pengutronix.de; Tue, 31 Aug 2021 18:47:01 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mL6ub-000671-Ev; Tue, 31 Aug 2021 18:47:01 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7] helo=dude.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mL6u2-00066Y-IW; Tue, 31 Aug 2021 18:46:26 +0200 From: Bastian Krause To: ptxdist@pengutronix.de Date: Tue, 31 Aug 2021 18:46:23 +0200 Message-Id: <20210831164623.11889-1-bst@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [ptxdist] [PATCH] wpewebkit: add WebDriver config switch X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bastian Krause Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 --- 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