mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-25 05:29:36 +00:00
FFI: Add #ifdef for Android and don't generate declarations for Java
bindings.
This commit is contained in:
parent
a868aa670a
commit
af55101824
|
@ -8,6 +8,7 @@ autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't mod
|
|||
rename_variants = "QualifiedScreamingSnakeCase"
|
||||
|
||||
[defines]
|
||||
"target_os = android" = "__ANDROID__"
|
||||
"target_os = linux" = "__linux__"
|
||||
"target_os = macos" = "__APPLE__"
|
||||
"target_arch = wasm32" = "__EMSCRIPTEN__"
|
||||
|
|
|
@ -16,6 +16,7 @@ mod appkit;
|
|||
#[cfg(any(target_os = "macos", target_os = "ios"))]
|
||||
mod av_foundation;
|
||||
|
||||
/// cbindgen:ignore
|
||||
#[cfg(target_os = "android")]
|
||||
mod android;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user