aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/lib.rs')
-rw-r--r--components/gfx/lib.rs4
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;