mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
win32: use fontconfig/freetype on windows as well (for now)
This commit is contained in:
parent
6663f28f0d
commit
025ed57c04
5 changed files with 21 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue