diff --git a/Cargo.toml b/Cargo.toml index 44fedb2..6d64adf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ core-text = "20.1.0" [target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios")))'.dependencies] freetype-sys = "0.23" -[target.'cfg(not(any(target_family = "windows", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies] +[target.'cfg(not(any(target_family = "windows", target_os = "android", target_os = "macos", target_os = "ios", target_arch = "wasm32", target_env = "ohos")))'.dependencies] yeslogic-fontconfig-sys = "6.0" [target.'cfg(not(any(target_arch = "wasm32", target_family = "windows", target_os = "android", target_env = "ohos")))'.dependencies] diff --git a/src/sources/mod.rs b/src/sources/mod.rs index 0f89451..5f568d5 100644 --- a/src/sources/mod.rs +++ b/src/sources/mod.rs @@ -22,6 +22,7 @@ pub mod directwrite; #[cfg(any( not(any( + target_os = "android", target_os = "macos", target_os = "ios", target_family = "windows",