summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_tflite_features.gni
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_tflite_features.gni')
-rw-r--r--www/chromium/files/patch-third__party_tflite_features.gni15
1 files changed, 7 insertions, 8 deletions
diff --git a/www/chromium/files/patch-third__party_tflite_features.gni b/www/chromium/files/patch-third__party_tflite_features.gni
index 910ded3d18b4..e0d03d6ca957 100644
--- a/www/chromium/files/patch-third__party_tflite_features.gni
+++ b/www/chromium/files/patch-third__party_tflite_features.gni
@@ -1,14 +1,13 @@
---- third_party/tflite/features.gni.orig 2023-12-10 06:10:27 UTC
+--- third_party/tflite/features.gni.orig 2024-06-17 12:56:06 UTC
+++ third_party/tflite/features.gni
-@@ -8,9 +8,9 @@ declare_args() {
+@@ -8,8 +8,8 @@ declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
- # Linux or macOS arm64/x64 and Windows x64 targets.
+ # Linux, macOS and Windows arm64/x64/x86 targets.
build_tflite_with_xnnpack =
-- ((is_linux || is_mac) &&
-+ (((is_linux || is_mac) &&
- (current_cpu == "arm64" || current_cpu == "x64")) ||
-- (is_win && current_cpu == "x64")
-+ (is_win && current_cpu == "x64")) && !is_bsd
+- (is_linux || is_mac || is_win) &&
+- (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")
++ ((is_linux || is_mac || is_win) &&
++ (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")) && !is_bsd
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true