mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Build with make instead of rustpkg.
This commit is contained in:
parent
cb336a1831
commit
0c62b99559
21 changed files with 52 additions and 117 deletions
|
@ -12,8 +12,8 @@
|
|||
|
||||
extern mod azure;
|
||||
extern mod extra;
|
||||
extern mod geom = "rust-geom";
|
||||
extern mod layers = "rust-layers";
|
||||
extern mod geom;
|
||||
extern mod layers;
|
||||
extern mod stb_image;
|
||||
extern mod png;
|
||||
extern mod servo_net (name = "net");
|
||||
|
@ -30,9 +30,9 @@ extern mod harfbuzz;
|
|||
#[cfg(target_os="linux")] #[cfg(target_os="android")] extern mod freetype;
|
||||
|
||||
// Mac OS-specific library dependencies
|
||||
#[cfg(target_os="macos")] extern mod core_foundation = "rust-core-foundation";
|
||||
#[cfg(target_os="macos")] extern mod core_graphics = "rust-core-graphics";
|
||||
#[cfg(target_os="macos")] extern mod core_text = "rust-core-text";
|
||||
#[cfg(target_os="macos")] extern mod core_foundation;
|
||||
#[cfg(target_os="macos")] extern mod core_graphics;
|
||||
#[cfg(target_os="macos")] extern mod core_text;
|
||||
|
||||
pub use gfx_font = font;
|
||||
pub use gfx_font_context = font_context;
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
/// Implementation of Quartz (CoreGraphics) fonts.
|
||||
|
||||
extern mod core_foundation = "rust-core-foundation";
|
||||
extern mod core_graphics = "rust-core-graphics";
|
||||
extern mod core_text = "rust-core-text";
|
||||
extern mod core_foundation;
|
||||
extern mod core_graphics;
|
||||
extern mod core_text;
|
||||
|
||||
use font::{CSSFontWeight, FontHandleMethods, FontMetrics, FontTableMethods};
|
||||
use font::{FontTableTag, FontWeight100, FontWeight200, FontWeight300, FontWeight400};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue