ports/www/chromium/files/patch-third__party_tflite_features.gni
Robert Nagy acb70e0682 www/chromium: update to 127.0.6533.88
This update also removes the --audio-backend command line switch
in favor of an actual setting in the browser that can be changed
at chrome://flags/#audio-backend

Security:	https://vuxml.freebsd.org/freebsd/15d398ea-4f73-11ef-8a0f-a8a1599412c6.html
2024-07-31 21:32:46 +02:00

13 lines
775 B
Text

--- third_party/tflite/features.gni.orig 2024-07-30 11:12:21 UTC
+++ third_party/tflite/features.gni
@@ -9,8 +9,8 @@ declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
# Linux, macOS and Windows arm64/x64/x86 targets and ChromeOS non-ARM targets.
build_tflite_with_xnnpack =
- (is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) &&
- (current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86")
+ ((is_win || is_mac || is_linux || (is_chromeos && overlay_include_cbx)) &&
+ (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