Add a canvas create, break script’s dependency on gfx.

The build time on my laptop after touching gfx goes from 1m37s ot 46s.
This commit is contained in:
Simon Sapin 2014-08-28 17:03:51 +01:00
parent f5ebd19c01
commit aa1a5c479a
7 changed files with 29 additions and 14 deletions

View file

@ -33,6 +33,7 @@ extern crate net;
extern crate rustrt;
extern crate serialize;
extern crate time;
extern crate canvas;
extern crate script_traits;
#[phase(plugin)]
extern crate servo_macros = "macros";
@ -42,7 +43,6 @@ extern crate style;
extern crate sync;
extern crate servo_msg = "msg";
extern crate url;
extern crate gfx;
pub mod cors;