aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_modules_ml_webnn_features.gni
blob: 3486073555fc7bf05cfd403f556172935e6d98a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/3rdparty/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni.orig	2023-05-31 08:12:17 UTC
+++ src/3rdparty/chromium/third_party/blink/renderer/modules/ml/webnn/features.gni
@@ -7,7 +7,7 @@ declare_args() {
   # This enables building WebNN with XNNPACK. Currently only available for
   # Windows and Linux on x64 or x86.
   build_webnn_with_xnnpack =
-      (is_linux || is_win) && (current_cpu == "x64" || current_cpu == "x86")
+      !is_bsd && (is_win && (current_cpu == "x64" || current_cpu == "x86"))
 
   # This build flag enables WebNN on ChromeOS platform to access hardware
   # acceleration by using ModelLoader mojo interface.