Reorder gfx lib creates

This commit is contained in:
kingdido999 2018-09-08 14:24:56 +08:00
parent 3a3c4b8c8e
commit c0da829e33

View file

@ -21,8 +21,6 @@ extern crate core_text;
// Windows-specific library dependencies // Windows-specific library dependencies
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
extern crate dwrote; extern crate dwrote;
#[cfg(target_os = "windows")]
extern crate truetype;
extern crate euclid; extern crate euclid;
extern crate fnv; extern crate fnv;
@ -32,8 +30,6 @@ extern crate fontconfig;
extern crate fontsan; extern crate fontsan;
#[cfg(any(target_os = "linux", target_os = "android"))] #[cfg(any(target_os = "linux", target_os = "android"))]
extern crate freetype; extern crate freetype;
#[cfg(any(target_os = "linux", target_os = "android"))]
extern crate servo_allocator;
extern crate gfx_traits; extern crate gfx_traits;
// Eventually we would like the shaper to be pluggable, as many operating systems have their own // Eventually we would like the shaper to be pluggable, as many operating systems have their own
@ -59,6 +55,8 @@ extern crate packed_simd;
extern crate range; extern crate range;
#[macro_use] #[macro_use]
extern crate serde; extern crate serde;
#[cfg(any(target_os = "linux", target_os = "android"))]
extern crate servo_allocator;
extern crate servo_arc; extern crate servo_arc;
#[macro_use] #[macro_use]
extern crate servo_atoms; extern crate servo_atoms;
@ -66,6 +64,8 @@ extern crate servo_url;
extern crate smallvec; extern crate smallvec;
extern crate style; extern crate style;
extern crate time; extern crate time;
#[cfg(target_os = "windows")]
extern crate truetype;
extern crate ucd; extern crate ucd;
extern crate unicode_bidi; extern crate unicode_bidi;
extern crate unicode_script; extern crate unicode_script;