aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/platform/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/platform/mod.rs')
-rw-r--r--components/gfx/platform/mod.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/components/gfx/platform/mod.rs b/components/gfx/platform/mod.rs
index 9a505c14284..897fbe9e8d3 100644
--- a/components/gfx/platform/mod.rs
+++ b/components/gfx/platform/mod.rs
@@ -29,8 +29,14 @@ mod freetype {
pub mod font;
pub mod font_context;
- #[cfg(any(target_os = "linux", target_os = "android"))]
+ #[cfg(target_os = "linux")]
pub mod font_list;
+ #[cfg(target_os = "android")]
+ mod android {
+ pub mod font_list;
+ }
+ #[cfg(target_os = "android")]
+ pub use self::android::font_list;
#[cfg(any(target_os = "linux", target_os = "android"))]
pub mod font_template;