ports/devel/electron28/files/patch-third__party_tflite_features.gni
Hiroki Tagato f88751e60a devel/electron28: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.

It's easier than you think.

If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.

WWW: https://electronjs.org/
2024-01-29 16:47:07 +09:00

14 lines
631 B
Text

--- third_party/tflite/features.gni.orig 2023-11-29 21:40:40 UTC
+++ third_party/tflite/features.gni
@@ -8,9 +8,9 @@ declare_args() {
# This enables building TFLite with XNNPACK. Currently only available for
# Linux or macOS arm64/x64 and Windows x64 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
# Turns on TFLITE_WITH_RUY, using ruy as the gemm backend instead of gemmlowp.
build_tflite_with_ruy = true