aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_tflite_features.gni
blob: 0c9ee5b5655a925a9088a3a04a7f196f8c50cb34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- third_party/tflite/features.gni.orig	2022-08-31 12:19:35 UTC
+++ third_party/tflite/features.gni
@@ -7,7 +7,7 @@ import("//build/config/chrome_build.gni")
 declare_args() {
   # This enables building TFLite with XNNPACK. Currently only available for
   # Linux x64.
-  build_tflite_with_xnnpack = is_linux && current_cpu == "x64"
+  build_tflite_with_xnnpack = (is_linux && target_cpu == "x64") && !is_bsd
 
   # Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
   build_tflite_with_ruy = true