Refactor flutter to support Android (#1072)
This commit is contained in:
17
flutter/sherpa_onnx_windows/windows/.gitignore
vendored
Normal file
17
flutter/sherpa_onnx_windows/windows/.gitignore
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
flutter/
|
||||
|
||||
# Visual Studio user-specific files.
|
||||
*.suo
|
||||
*.user
|
||||
*.userosscache
|
||||
*.sln.docstates
|
||||
|
||||
# Visual Studio build-related files.
|
||||
x64/
|
||||
x86/
|
||||
|
||||
# Visual Studio cache files
|
||||
# files ending in .cache can be ignored
|
||||
*.[Cc]ache
|
||||
# but keep track of directories ending in .cache
|
||||
!*.[Cc]ache/
|
||||
28
flutter/sherpa_onnx_windows/windows/CMakeLists.txt
Normal file
28
flutter/sherpa_onnx_windows/windows/CMakeLists.txt
Normal file
@@ -0,0 +1,28 @@
|
||||
# The Flutter tooling requires that developers have a version of Visual Studio
|
||||
# installed that includes CMake 3.14 or later. You should not increase this
|
||||
# version, as doing so will cause the plugin to fail to compile for some
|
||||
# customers of the plugin.
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
|
||||
# Project-level configuration.
|
||||
set(PROJECT_NAME "sherpa_onnx_windows")
|
||||
project(${PROJECT_NAME} LANGUAGES CXX)
|
||||
|
||||
# List of absolute paths to libraries that should be bundled with the plugin.
|
||||
# This list could contain prebuilt libraries, or libraries created by an
|
||||
# external build triggered from this build file.
|
||||
set(sherpa_onnx_windows_bundled_libraries
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/sherpa-onnx-c-api.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/sherpa-onnx-core.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/kaldi-decoder-core.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/sherpa-onnx-kaldifst-core.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/sherpa-onnx-fstfar.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/sherpa-onnx-fst.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/kaldi-native-fbank-core.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/piper_phonemize.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/espeak-ng.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ucd.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/onnxruntime.dll"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ssentencepiece_core.dll"
|
||||
PARENT_SCOPE
|
||||
)
|
||||
5
flutter/sherpa_onnx_windows/windows/README.md
Normal file
5
flutter/sherpa_onnx_windows/windows/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Introduction
|
||||
|
||||
`*.dll` files are generated dynamically using GitHub actions during a new release.
|
||||
|
||||
We don't check-in pre-built library files into git.
|
||||
Reference in New Issue
Block a user