win32: use fontconfig/freetype on windows as well (for now)

This commit is contained in:
Vladimir Vukicevic 2015-10-05 12:06:31 -04:00 committed by Lars Bergstrom
parent 6663f28f0d
commit 025ed57c04
5 changed files with 21 additions and 9 deletions

View file

@ -4,7 +4,7 @@
// For simd (currently x86_64/aarch64)
#![cfg_attr(any(target_arch = "x86_64", target_arch = "aarch64"), feature(convert))]
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(heap_api))]
#![cfg_attr(any(target_os = "linux", target_os = "android", target_os = "windows"), feature(heap_api))]
#![feature(alloc)]
#![feature(box_syntax)]
@ -34,10 +34,10 @@ extern crate canvas_traits;
extern crate euclid;
extern crate fnv;
// Linux and Android-specific library dependencies
#[cfg(any(target_os = "linux", target_os = "android"))]
// Platforms that use Freetype/Fontconfig library dependencies
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
extern crate fontconfig;
#[cfg(any(target_os = "linux", target_os = "android"))]
#[cfg(any(target_os = "linux", target_os = "android", target_os = "windows"))]
extern crate freetype;
extern crate gfx_traits;
@ -75,7 +75,6 @@ extern crate url;
#[macro_use]
extern crate util;
pub use paint_context::PaintContext;
// Misc.