diff options
author | Imanol Fernandez <mortimergoro@gmail.com> | 2017-06-02 18:40:08 +0200 |
---|---|---|
committer | Imanol Fernandez <mortimergoro@gmail.com> | 2017-06-02 18:40:08 +0200 |
commit | 19fbec9d546a31af072b9552eecc0541dc7b36a8 (patch) | |
tree | 7ff2f560daebafc768be94939ed52d69b54bc992 /components/gfx/lib.rs | |
parent | fa158a78b6f976156a93bcccae3fdd27046faf50 (diff) | |
download | servo-19fbec9d546a31af072b9552eecc0541dc7b36a8.tar.gz servo-19fbec9d546a31af072b9552eecc0541dc7b36a8.zip |
Ged rid of libfontconfig in Android. Query available fonts from Android system font configuration files.
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r-- | components/gfx/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/gfx/lib.rs b/components/gfx/lib.rs index b7e23df0d83..3f356bb0cea 100644 --- a/components/gfx/lib.rs +++ b/components/gfx/lib.rs @@ -33,7 +33,7 @@ extern crate bitflags; extern crate euclid; extern crate fnv; -#[cfg(any(target_os = "linux", target_os = "android"))] +#[cfg(target_os = "linux")] extern crate fontconfig; extern crate fontsan; #[cfg(any(target_os = "linux", target_os = "android"))] @@ -73,6 +73,8 @@ extern crate unicode_bidi; extern crate unicode_script; extern crate webrender_traits; extern crate xi_unicode; +#[cfg(target_os = "android")] +extern crate xml5ever; #[deny(unsafe_code)] pub mod display_list; |