From 6cef3426ed8e176d6c0fe2bf8acd65ff958ed34e Mon Sep 17 00:00:00 2001 From: Mikko Gronoff Date: Mon, 29 Dec 2025 14:00:41 +0200 Subject: [PATCH] qtwebengine: remove obsolete patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If5c1228453331ea5d16f10b4caeeaaecfc71b031 Reviewed-by: Jouni Äijälä --- recipes-qt/qt6/qtwebengine.inc | 1 - ...0003-Do-not-build-webnn-with-xnnpack.patch | 34 ------------------- 2 files changed, 35 deletions(-) delete mode 100644 recipes-qt/qt6/qtwebengine/chromium/0003-Do-not-build-webnn-with-xnnpack.patch diff --git a/recipes-qt/qt6/qtwebengine.inc b/recipes-qt/qt6/qtwebengine.inc index 69aed72..a905d1d 100644 --- a/recipes-qt/qt6/qtwebengine.inc +++ b/recipes-qt/qt6/qtwebengine.inc @@ -43,6 +43,5 @@ SRC_URI += " \ SRC_URI += " \ file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \ file://chromium/0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch;patchdir=src/3rdparty \ - file://chromium/0003-Do-not-build-webnn-with-xnnpack.patch;patchdir=src/3rdparty \ " SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium" diff --git a/recipes-qt/qt6/qtwebengine/chromium/0003-Do-not-build-webnn-with-xnnpack.patch b/recipes-qt/qt6/qtwebengine/chromium/0003-Do-not-build-webnn-with-xnnpack.patch deleted file mode 100644 index 0ece9fa..0000000 --- a/recipes-qt/qt6/qtwebengine/chromium/0003-Do-not-build-webnn-with-xnnpack.patch +++ /dev/null @@ -1,34 +0,0 @@ -From e7f11f7135104d1b05fb26637502ec3d19e4c2cd Mon Sep 17 00:00:00 2001 -From: Michal Klocek -Date: Wed, 14 Aug 2024 13:40:31 +0200 -Subject: [PATCH] Do not build webnn with xnnpack for arm64 - -Upstream-Status: Pending -Signed-off-by: Khem Raj -Change-Id: Ib23b6da98eddc8319fa79e8c1365b4e67d21086d ---- - .../third_party/blink/renderer/modules/ml/webnn/features.gni | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni -index 941740db3e3..50e139dc1af 100644 ---- a/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni -+++ b/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni -@@ -3,12 +3,13 @@ - # found in the LICENSE file. - - import("//build/config/chrome_build.gni") -+import("//build/config/features.gni") - declare_args() { - # This enables building WebNN with XNNPACK. Currently only available for - # Windows, macOS and Linux on x64, x86 and arm64. - build_webnn_with_xnnpack = (is_linux || is_win || is_mac) && - (current_cpu == "x64" || current_cpu == "x86" || -- (current_cpu == "arm64" && !is_win)) -+ (current_cpu == "arm64" && !is_win && !is_qtwebengine)) - - # This build flag enables WebNN to access hardware acceleration using TFLite - # via the ModelLoader mojo interface. --- -2.43.2 -